aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/application.yaml
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-08-20 11:13:28 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-08-20 11:13:28 +0200
commit2b8a7df25878f546ace25373f44baeb026cf6d2b (patch)
tree8b236fdc42bc66beb16cc59b86258a7794285420 /src/main/resources/application.yaml
parent488ecf8632b7204b5da218643eb1631e2d3386ff (diff)
downloadmoa-zs-2b8a7df25878f546ace25373f44baeb026cf6d2b.tar.gz
moa-zs-2b8a7df25878f546ace25373f44baeb026cf6d2b.tar.bz2
moa-zs-2b8a7df25878f546ace25373f44baeb026cf6d2b.zip
Add Custom Http Headers to HTTP Clients
- Change app2mzs schema: Add Custom Headers to ClientType Element. - Set custom headers in ClientFactory. - Parse custom headers from spring environment. - Merge custom headers from two different profiles. - Add example to application.yaml. - Test conversion of custom headers from spring profile - Test merging and overriding custom headers.
Diffstat (limited to 'src/main/resources/application.yaml')
-rw-r--r--src/main/resources/application.yaml10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml
index ce4d892..0380cf5 100644
--- a/src/main/resources/application.yaml
+++ b/src/main/resources/application.yaml
@@ -61,11 +61,15 @@ delivery-request-configuration-profiles:
# Mandatory
url: http://localhost:8082/tnvz/
+ connection-timeout: 0
+ receive-timeout: 0
# Optional
- # ssl: ...
- # connection-timeout: ...
- # receive-timeout: ...
+ #ssl: ...
+ #custom-http-headers:
+ # X-PVP-NAME-1: VALUE-X
+ # X-PVP-NAME-2: VALUE-Y
+ # ...
# Mandatory
# Parameters for the connection to msg.