File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
charts/probate-orchestrator-service
src/main/java/uk/gov/hmcts/probate Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1515 SERVICES_AUTH_PROVIDER_BASEURL : " http://rpe-service-auth-provider-{{ .Values.global.environment }}.service.core-compute-{{ .Values.global.environment }}.internal"
1616 AUTH_IDAM_CLIENT_BASEURL : " https://idam-api.{{ .Values.global.environment }}.platform.hmcts.net"
1717 SUBMIT_SERVICE_API_URL : " http://probate-submit-service-pr-1148-java"
18- BUSINESS_SERVICE_API_URL : " http://probate-business-service-{{ .Values.global.environment }}.service.core-compute-{{ .Values.global.environment }}.internal "
18+ BUSINESS_SERVICE_API_URL : " http://probate-business-service-pr-1092-java/ "
1919 BACK_OFFICE_API_URL : " http://probate-back-office-pr-3194-java"
2020 MAIL_JAVAMAILPROPERTIES_MAIL_SMTP_SSL_ENABLE : false
2121 MAIL_JAVAMAILPROPERTIES_MAIL_SMTP_AUTH : false
Original file line number Diff line number Diff line change 99import uk .gov .hmcts .reform .probate .model .client .ErrorResponse ;
1010
1111import java .io .IOException ;
12+ import java .nio .charset .StandardCharsets ;
1213
1314@ Slf4j
1415public class ResponseDecorator {
@@ -27,7 +28,7 @@ public String bodyToString() {
2728 String apiError = "" ;
2829 try {
2930 if (this .response .body () != null ) {
30- apiError = Util .toString (this .response .body ().asReader ());
31+ apiError = Util .toString (this .response .body ().asReader (StandardCharsets . UTF_8 ));
3132 }
3233 } catch (IOException ignored ) {
3334 log .debug ("Unable to read response body" );
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public class ObjectMapperConfiguration {
2222 @ Bean
2323 @ Primary
2424 public ObjectMapper objectMapper () {
25- ObjectMapper objectMapper = JsonMapper
25+ return JsonMapper
2626 .builder ()
2727 .addModule (new JavaTimeModule ())
2828 .addModule (new Jdk8Module ())
@@ -32,7 +32,6 @@ public ObjectMapper objectMapper() {
3232 .disable (JsonGenerator .Feature .AUTO_CLOSE_JSON_CONTENT )
3333 .build ();
3434
35- return objectMapper ;
3635 }
3736
3837}
You can’t perform that action at this time.
0 commit comments