From 9556dc6bd7e327dfbfc3c2d5228ad920ad7b9f8e Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Thu, 27 Jun 2019 14:41:51 +0200 Subject: Inject Configurable HTTP Policies to MsgClient - Refactor: Get rid of MsgClient, because MsgClientFactory can do all the work. - Add Connection Timeout and Request Timeout (Policies of HTTP Client) to mzs:DeliveryRequest/Config and application.yaml. - Update readme: Add JDK 12 Requirement --- src/main/resources/application.yaml | 11 +++++++++-- src/main/resources/mzs/app2mzs.xsd | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 2d376a8..1903067 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -9,12 +9,19 @@ spring: # Configure parameters here or in DeliveryRequest/Config. # Choose a profile in DeliveryRequest/Config/ProfileId. -# If a parameter is missing, moa zs falls back to default +# If a parameter is missing, moa zs falls back to "default" # Order: DeliveryRequest/Config > [chosen-profile] > default delivery-request-configuration-profiles: default: perform-query-person-request: false - msg-client.url: http://localhost:8081/services/DeliveryRequest + msg-client: + url: http://localhost:8081/services/DeliveryRequest + # Time in ms after which a connection will be closed. + # 0 means indefinitely. + connection-timeout: 0 + # Time in ms that the client waits after having sent the request. + # 0 means indefinitely. + receive-timeout: 0 ssl-profile: perform-query-person-request: false diff --git a/src/main/resources/mzs/app2mzs.xsd b/src/main/resources/mzs/app2mzs.xsd index 956cd31..d99b248 100644 --- a/src/main/resources/mzs/app2mzs.xsd +++ b/src/main/resources/mzs/app2mzs.xsd @@ -92,6 +92,8 @@ + + -- cgit v1.2.3