aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-07-15 12:04:26 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-07-15 12:09:28 +0200
commitd9e5864f48d261c06de1f1d34000ff6156155569 (patch)
treed66524e395f403d57f27d25cfdcab5dcd25511e4 /src/main/resources
parent25d68c8900c2cc791f03ea3db173955ca237fd55 (diff)
downloadmoa-zs-d9e5864f48d261c06de1f1d34000ff6156155569.tar.gz
moa-zs-d9e5864f48d261c06de1f1d34000ff6156155569.tar.bz2
moa-zs-d9e5864f48d261c06de1f1d34000ff6156155569.zip
Save Response To File Sink: Add Path to Configuration + Fix
- Fix in ConfigUtil: SaveResponseToFile boolean would override LogResponse configuration (Copy Paste Error).
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/application.yaml6
-rw-r--r--src/main/resources/mzs/app2mzs.xsd9
2 files changed, 12 insertions, 3 deletions
diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml
index a04a903..2d0bed3 100644
--- a/src/main/resources/application.yaml
+++ b/src/main/resources/application.yaml
@@ -30,9 +30,11 @@ delivery-request-configuration-profiles:
# 0 means indefinitely.
receive-timeout: 0
- # Specifies how MoaZS should
+ # Specifies how MoaZS should a synchronous responses from msg.
msg-response-sinks:
- save-response-to-file: false
+ save-response-to-file:
+ active: false
+ path: /msg-responses/
log-response: true
ssl-profile:
diff --git a/src/main/resources/mzs/app2mzs.xsd b/src/main/resources/mzs/app2mzs.xsd
index ba99eab..5733a00 100644
--- a/src/main/resources/mzs/app2mzs.xsd
+++ b/src/main/resources/mzs/app2mzs.xsd
@@ -132,10 +132,17 @@
<xs:element name="MsgResponseSinks" type="MsgResponseSinksType"/>
<xs:complexType name="MsgResponseSinksType">
<xs:sequence>
- <xs:element name="SafeResponseToFile" type="xs:boolean" minOccurs="0" />
+ <xs:element ref="SaveResponseToFile" minOccurs="0" />
<xs:element name="LogResponse" type="xs:boolean" minOccurs="0" />
</xs:sequence>
</xs:complexType>
+ <xs:element name="SaveResponseToFile" type="SaveResponseToFileType" />
+ <xs:complexType name="SaveResponseToFileType">
+ <xs:sequence>
+ <xs:element name="Active" type="xs:boolean" minOccurs="0"/>
+ <xs:element name="Path" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
<xs:element name="DeliveryResponse" type="DeliveryResponseType"/>
<xs:complexType name="DeliveryResponseType">
<xs:choice>