update runner
This commit is contained in:
parent
4afe9361d3
commit
11bf216e9c
Binary file not shown.
@ -17,6 +17,8 @@ import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import java.lang.reflect.ParameterizedType;
|
||||
import java.lang.reflect.Type;
|
||||
import java.net.URLEncoder;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
@ -132,9 +134,12 @@ public class HttpClientService implements HttpClientUseCase {
|
||||
urlBuilder.append("&");
|
||||
}
|
||||
|
||||
urlBuilder.append(entry.getKey())
|
||||
.append("=")
|
||||
.append(entry.getValue() != null ? entry.getValue() : "");
|
||||
String encodedKey = URLEncoder.encode(entry.getKey(), StandardCharsets.UTF_8);
|
||||
String encodedValue = entry.getValue() != null
|
||||
? URLEncoder.encode(entry.getValue(), StandardCharsets.UTF_8)
|
||||
: "";
|
||||
|
||||
urlBuilder.append(encodedKey).append("=").append(encodedValue);
|
||||
}
|
||||
|
||||
return urlBuilder.toString();
|
||||
|
||||
@ -41,7 +41,7 @@ public class ServiceOrderPaymentSearchRequest {
|
||||
.getDate();
|
||||
}
|
||||
|
||||
public String getPaymentRequestId() {
|
||||
public String getInstructionRequestId() {
|
||||
return getProcedureRequest()
|
||||
.getInstructionIdentifier()
|
||||
.getIdentification()
|
||||
@ -68,7 +68,7 @@ public class ServiceOrderPaymentSearchRequest {
|
||||
entry("appId", Objects.toString(getAppId(), "")),
|
||||
entry("customerReferenceFintechId", Objects.toString(getCustomerReferenceFintechId(), "")),
|
||||
entry("initiatedDate", Objects.toString(getInitiatedDate(), "")),
|
||||
entry("paymentRequestId", Objects.toString(getPaymentRequestId(), ""))
|
||||
entry("instructionRequestId", Objects.toString(getInstructionRequestId(), ""))
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -47,8 +47,6 @@ public class DomServiceOrderPaymentSearchClient implements DomainUseCase {
|
||||
domainConfig.getTimeout().getResponse()
|
||||
);
|
||||
|
||||
log.debug("Request configurado: {}", request);
|
||||
|
||||
try {
|
||||
ApiResponse<T> response = httpClientUseCase.executeApiResponse(request);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user