@@ -30,7 +30,7 @@ func GetNocX509Cert(suite *utils.TestSuite, subject string, subjectKeyID string)
30
30
var resp pkitypes.QueryGetNocCertificatesResponse
31
31
err := suite .QueryREST (
32
32
fmt .Sprintf (
33
- "/dcl/pki/noc-certificates/%s/%s" ,
33
+ "/dcl/pki/all- noc-certificates/%s/%s" ,
34
34
url .QueryEscape (subject ), url .QueryEscape (subjectKeyID ),
35
35
),
36
36
& resp ,
@@ -67,7 +67,7 @@ func GetAllNocX509CertsBySubject(suite *utils.TestSuite, subject string) (*pkity
67
67
var resp pkitypes.QueryGetNocCertificatesBySubjectResponse
68
68
err := suite .QueryREST (
69
69
fmt .Sprintf (
70
- "/dcl/pki/noc-certificates/%s" ,
70
+ "/dcl/pki/all- noc-certificates/%s" ,
71
71
url .QueryEscape (subject ),
72
72
),
73
73
& resp ,
@@ -108,7 +108,7 @@ func GetAllNocX509certsBySubjectKeyID(suite *utils.TestSuite, subjectKeyID strin
108
108
func getAllNocX509Certs (suite * utils.TestSuite , subjectKeyID string ) (res []pkitypes.NocCertificates , err error ) {
109
109
if suite .Rest {
110
110
var resp pkitypes.QueryNocCertificatesResponse
111
- err := suite .QueryREST (fmt .Sprintf ("/dcl/pki/noc-certificates?subjectKeyId=%s" , subjectKeyID ), & resp )
111
+ err := suite .QueryREST (fmt .Sprintf ("/dcl/pki/all- noc-certificates?subjectKeyId=%s" , subjectKeyID ), & resp )
112
112
if err != nil {
113
113
return nil , err
114
114
}
@@ -290,7 +290,7 @@ func GetRevokedNocX509RootCert(suite *utils.TestSuite, subject string, subjectKe
290
290
var resp pkitypes.QueryGetRevokedNocRootCertificatesResponse
291
291
err := suite .QueryREST (
292
292
fmt .Sprintf (
293
- "/dcl/pki/evoked -noc-root-certificates/%s/%s" ,
293
+ "/dcl/pki/revoked -noc-root-certificates/%s/%s" ,
294
294
url .QueryEscape (subject ), url .QueryEscape (subjectKeyID ),
295
295
),
296
296
& resp ,
@@ -327,7 +327,7 @@ func GetRevokedNocX509IcaCert(suite *utils.TestSuite, subject string, subjectKey
327
327
var resp pkitypes.QueryGetRevokedNocIcaCertificatesResponse
328
328
err := suite .QueryREST (
329
329
fmt .Sprintf (
330
- "/dcl/pki/evoked -noc-ica-certificates/%s/%s" ,
330
+ "/dcl/pki/revoked -noc-ica-certificates/%s/%s" ,
331
331
url .QueryEscape (subject ), url .QueryEscape (subjectKeyID ),
332
332
),
333
333
& resp ,
0 commit comments