Skip to content

Commit

Permalink
Merge branch 'dev' into STNG-195_re-enable-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkosternl committed Oct 4, 2024
2 parents 3f0f8ab + 99a4a16 commit 667e2f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ protected Stream<? extends ConformanceCheck> createSubChecks() {
return Stream.of(
new UrlPathCheck(
EblIssuanceRole::isCarrier, getMatchedExchangeUuid(), "/ebl-issuance-requests"),
new HttpMethodCheck(EblIssuanceRole::isCarrier,getMatchedExchangeUuid(),"PUT"),
new ResponseStatusCheck(
EblIssuanceRole::isPlatform, getMatchedExchangeUuid(), expectedStatus),
new ApiHeaderCheck(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ protected Stream<? extends ConformanceCheck> createSubChecks() {
return Stream.of(
new UrlPathCheck(
EblIssuanceRole::isPlatform, getMatchedExchangeUuid(), "/ebl-issuance-responses"),
new HttpMethodCheck(EblIssuanceRole::isPlatform, getMatchedExchangeUuid(), "POST"),
new ResponseStatusCheck(
EblIssuanceRole::isCarrier, getMatchedExchangeUuid(), expectedStatus),
new ApiHeaderCheck(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private void sendIssuanceRequest(JsonNode actionPrompt) {

jsonRequestBody.put("issuanceManifestSignedContent", payloadSigner.sign(issuanceManifest.toString()));

syncCounterpartPost(
syncCounterpartPut(
"/v%s/ebl-issuance-requests".formatted(apiVersion.charAt(0)),
jsonRequestBody);

Expand Down

0 comments on commit 667e2f0

Please sign in to comment.