aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/moazs/backend/ForwardResponseToServiceSink.java
AgeCommit message (Collapse)AuthorFilesLines
2019-10-30Refactor: Rename ClientFactory.create InterfaceChristof Rabensteiner1-1/+1
- Reason: Consistency
2019-10-04Add @author Tag Where It Was MissingChristof Rabensteiner1-0/+4
2019-10-04Add Licenses, NOTICE, and License HeaderChristof Rabensteiner1-0/+21
2019-10-02For {TNVZ, MSG}: Switch to Soap 1.2Christof Rabensteiner1-1/+1
- But: Leave MZS Interface at Soap 1.1 - Add ClientFactory.createSOAP11 to ensure that we can talk back to the app.
2019-09-03Rename MzsClient to AppClientChristof Rabensteiner1-1/+1
...since it's a client that communicates with the app.
2019-08-28Ensure that Each Step of Each Backend Process is LoggedChristof Rabensteiner1-0/+6
2019-07-16Implement ForwardResponseToService Sink And All Its ImplicationsChristof Rabensteiner1-0/+33
MZS Schema Change: - Add configuration for ForwardResponseToServiceSink (add parameters in mzs:DeliveryRequest/Config) - Add sink configuration in application.yaml, convert from Spring Environment to ConfigType, and merge ConfigTypes. - Validate sink configuration completeness. Contract added: - Add contract mzs2app.wsdl: This contract specifies how mzs:DeliveryRequestStatus' and mzs:DeliveryNotifications are forwarded to the sender application. - Implement "ForwardResponseToService" Sink. - Add and implement MsgResponse.sendToMzsClient() : This is a somewhat unfortunate solution because, intuitively, sending should be done by it's caller, the "ForwardResponseToService"-sink. However, this solution prevents differences between msg:DeliveryRequestStatus and msg:DeliveryNotification (and code that needs to handle differences, i.e. sending) from sprawling outside of the respective MsgResponse derivatives. We move the entire "send" process into MsgResponse to prevent a hard-to-maintain "if type == notification then do x else to y" construct in ForwardResponseToServiceSink. Otherwise, introducing the MsgResponse wrapper was pointless.