Skip to content

Commit

Permalink
[PPANTT-131] feat: Updated CreditorInstitutionRestClient
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio-cialini committed Sep 30, 2024
1 parent 1b62d22 commit b6ea4e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public PaymentOptionsResponse callEcPaymentOptionsVerify(
CreditorInstitutionRestClientInterface.class);

try (Response response = ecRestClientInterface.verifyPaymentOptions(
targetHost, targetPort.intValue(), targetPath)) {
targetHost, targetPort.intValue(), targetPath, "")) {

return objectMapper.readValue(
response.readEntity(String.class), PaymentOptionsResponse.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import jakarta.ws.rs.PathParam;
import jakarta.ws.rs.core.Response;
import org.eclipse.microprofile.rest.client.annotation.ClientHeaderParam;
import org.jboss.resteasy.reactive.RestForm;

/**
* Template for the creditor institution REST client
Expand All @@ -19,7 +20,8 @@ public interface CreditorInstitutionRestClientInterface {
Response verifyPaymentOptions(
@HeaderParam("X-Host-Url") String hostUrl,
@HeaderParam("X-Host-Port") Integer hostPort,
@HeaderParam("X-Host-Path") String hostPath
@HeaderParam("X-Host-Path") String hostPath,
@RestForm String data
);

}

0 comments on commit b6ea4e4

Please sign in to comment.