diff options
author | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-06-27 14:41:51 +0200 |
---|---|---|
committer | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-06-27 14:47:22 +0200 |
commit | 9556dc6bd7e327dfbfc3c2d5228ad920ad7b9f8e (patch) | |
tree | 01db0a1c4c94c66118256e17ecdb821e04ed657c /src/main/resources/application.yaml | |
parent | a8e726382b0472ad030d7a579fe8d6878a216bd4 (diff) | |
download | moa-zs-9556dc6bd7e327dfbfc3c2d5228ad920ad7b9f8e.tar.gz moa-zs-9556dc6bd7e327dfbfc3c2d5228ad920ad7b9f8e.tar.bz2 moa-zs-9556dc6bd7e327dfbfc3c2d5228ad920ad7b9f8e.zip |
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
Diffstat (limited to 'src/main/resources/application.yaml')
-rw-r--r-- | src/main/resources/application.yaml | 11 |
1 files changed, 9 insertions, 2 deletions
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 |