@@ -110,7 +110,7 @@ void setup(MockServer mockServer) throws Exception {
110
110
dispatch = new TpsApiDispatch (featureConfig , tpsConfig );
111
111
}
112
112
113
- @ Pact (consumer = "wsm " , provider = "tps" )
113
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
114
114
public RequestResponsePact createPaoWithNoExistingPolicy (PactDslWithProvider builder ) {
115
115
return builder
116
116
.uponReceiving ("A request to create a policy" )
@@ -134,7 +134,7 @@ public void testCreatingAPolicyWithNoExistingPolicy() throws Exception {
134
134
TpsObjectType .WORKSPACE );
135
135
}
136
136
137
- @ Pact (consumer = "wsm " , provider = "tps" )
137
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
138
138
public RequestResponsePact createPaoWithAPreexistingPolicy (PactDslWithProvider builder ) {
139
139
return builder
140
140
.given (existingPolicyState )
@@ -164,7 +164,7 @@ public void creatingAPolicyThatAlreadyExists() {
164
164
TpsObjectType .WORKSPACE ));
165
165
}
166
166
167
- @ Pact (consumer = "wsm " , provider = "tps" )
167
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
168
168
public RequestResponsePact deletePaoThatExists (PactDslWithProvider builder ) {
169
169
return builder
170
170
.given (existingPolicyState )
@@ -184,7 +184,7 @@ public void deletingAnExistingPolicy() throws Exception {
184
184
dispatch .deletePao (existingPolicyId );
185
185
}
186
186
187
- @ Pact (consumer = "wsm " , provider = "tps" )
187
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
188
188
public RequestResponsePact getPaoWithAnExistingPolicy (PactDslWithProvider builder ) {
189
189
var policyResponseShape =
190
190
new PactDslJsonBody ()
@@ -226,7 +226,7 @@ public void retrievingAnExistingPolicy() throws Exception {
226
226
assertFalse (policy .getNamespace ().isEmpty ());
227
227
}
228
228
229
- @ Pact (consumer = "wsm " , provider = "tps" )
229
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
230
230
public RequestResponsePact getPaoThatDoesNotExist (PactDslWithProvider builder ) {
231
231
return builder
232
232
.uponReceiving ("A request to retrieve a policy that doesn't exist" )
@@ -243,7 +243,7 @@ public void retrievingAPolicyThatDoesNotExist() {
243
243
assertThrows (PolicyServiceNotFoundException .class , () -> dispatch .getPao (existingPolicyId ));
244
244
}
245
245
246
- @ Pact (consumer = "wsm " , provider = "tps" )
246
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
247
247
public RequestResponsePact linkPaoWhenBothExist (PactDslWithProvider builder ) {
248
248
var linkRequestShape =
249
249
new PactDslJsonBody ()
@@ -280,7 +280,7 @@ public void linkTwoExistingPaosWithNoConflicts() throws Exception {
280
280
assertNotNull (result );
281
281
}
282
282
283
- @ Pact (consumer = "wsm " , provider = "tps" )
283
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
284
284
public RequestResponsePact mergePaoWhenBothExist (PactDslWithProvider builder ) {
285
285
var linkRequestShape =
286
286
new PactDslJsonBody ()
@@ -318,7 +318,7 @@ public void mergingTwoExistingPaos() throws Exception {
318
318
assertNotNull (result );
319
319
}
320
320
321
- @ Pact (consumer = "wsm " , provider = "tps" )
321
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
322
322
public RequestResponsePact replacePaoThatExists (PactDslWithProvider builder ) {
323
323
var updateRequestShape =
324
324
new PactDslJsonBody ()
@@ -354,7 +354,7 @@ public void replacingAnExistingPaoWithNoConflicts() throws Exception {
354
354
assertNotNull (result );
355
355
}
356
356
357
- @ Pact (consumer = "wsm " , provider = "tps" )
357
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
358
358
public RequestResponsePact updatePaoPreexistingNoConflicts (PactDslWithProvider builder ) {
359
359
var updateRequestShape =
360
360
new PactDslJsonBody ()
@@ -394,7 +394,7 @@ public void updatingAnExistingPaoWithNoConflicts() throws Exception {
394
394
assertNotNull (result );
395
395
}
396
396
397
- @ Pact (consumer = "wsm " , provider = "tps" )
397
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
398
398
public RequestResponsePact listValidRegions (PactDslWithProvider builder ) {
399
399
return builder
400
400
.given (existingPolicyState )
@@ -417,7 +417,7 @@ public void listingValidRegionsOnAWorkspace() throws Exception {
417
417
assertNotNull (result );
418
418
}
419
419
420
- @ Pact (consumer = "wsm " , provider = "tps" )
420
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
421
421
public RequestResponsePact listValidByPolicyInput (PactDslWithProvider builder ) {
422
422
return builder
423
423
.given (existingPolicyState )
@@ -448,7 +448,7 @@ public void listingValidRegionsOnAPolicy() throws Exception {
448
448
assertNotNull (result );
449
449
}
450
450
451
- @ Pact (consumer = "wsm " , provider = "tps" )
451
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
452
452
public RequestResponsePact explainingAWorkspacePolicy (PactDslWithProvider builder ) {
453
453
var explainResponse =
454
454
new PactDslJsonBody ()
@@ -494,7 +494,7 @@ public void explainingAPolicy() throws Exception {
494
494
assertNotNull (result .toApi ());
495
495
}
496
496
497
- @ Pact (consumer = "wsm " , provider = "tps" )
497
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
498
498
public RequestResponsePact getLocationInfo (PactDslWithProvider builder ) {
499
499
var locationArray =
500
500
new PactDslJsonArray ()
@@ -529,7 +529,7 @@ public void retrievingInformationOnALocation() throws Exception {
529
529
assertNotNull (result );
530
530
}
531
531
532
- @ Pact (consumer = "wsm " , provider = "tps" )
532
+ @ Pact (consumer = "workspacemanager " , provider = "tps" )
533
533
public RequestResponsePact getLocationInfoWithNullLocation (PactDslWithProvider builder ) {
534
534
var locationArray =
535
535
new PactDslJsonArray ()
0 commit comments