diff --git a/connector/rest/src/main/resources/config/user-rest-client.properties b/connector/rest/src/main/resources/config/user-rest-client.properties new file mode 100644 index 000000000..6731874f0 --- /dev/null +++ b/connector/rest/src/main/resources/config/user-rest-client.properties @@ -0,0 +1,9 @@ +rest-client.user-ms.base-url=${SELFCARE_USER_URL:http://localhost:8080} +rest-client.user-ms.serviceCode=user-ms +rest-client.user-ms.institution.serviceCode=user-institution-ms +rest-client.user-permission.serviceCode=user-permission +feign.client.config.user-ms.requestInterceptors[0]=it.pagopa.selfcare.commons.connector.rest.interceptor.AuthorizationHeaderInterceptor +feign.client.config.user-ms.connectTimeout=${SELFCARE_USER_REST_CLIENT_CONNECT_TIMEOUT:${REST_CLIENT_CONNECT_TIMEOUT:5000}} +feign.client.config.user-ms.readTimeout=${SELFCARE_USER_REST_CLIENT_READ_TIMEOUT:${REST_CLIENT_READ_TIMEOUT:5000}} +feign.client.config.user-ms.loggerLevel=${SELFCARE_USER_REST_CLIENT_LOGGER_LEVEL:${REST_CLIENT_LOGGER_LEVEL:FULL}} +feign.client.config.user-ms.errorDecoder=it.pagopa.selfcare.mscore.connector.rest.decoder.FeignErrorDecoder \ No newline at end of file