<feed xmlns='http://www.w3.org/2005/Atom'>
<title>moa-zs/src/main/java/at/gv/egiz/moazs/repository, branch master</title>
<subtitle>Middleware that allows a sender application to send delivery requests to delivery services</subtitle>
<id>https://git.egiz.gv.at/moa-zs/atom?h=master</id>
<link rel='self' href='https://git.egiz.gv.at/moa-zs/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/'/>
<updated>2020-03-03T07:53:43+00:00</updated>
<entry>
<title>Update Copyright to 2020</title>
<updated>2020-03-03T07:53:43+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2020-03-03T07:53:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=260200a55c07a9a5a8beab70dcf1980e522c438b'/>
<id>urn:sha1:260200a55c07a9a5a8beab70dcf1980e522c438b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add @author Tag Where It Was Missing</title>
<updated>2019-10-04T09:20:20+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-10-04T09:17:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=0727f68a2b899540fa951bfb22f9168bb1604b89'/>
<id>urn:sha1:0727f68a2b899540fa951bfb22f9168bb1604b89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add Licenses, NOTICE, and License Header</title>
<updated>2019-10-04T08:28:56+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-10-04T08:28:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=525c763bb99bc986543d0f1729228318d7c0ebcb'/>
<id>urn:sha1:525c763bb99bc986543d0f1729228318d7c0ebcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ensure that Each Step of Each Backend Process is Logged</title>
<updated>2019-08-28T09:02:18+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-08-28T08:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=d31538c3d0694c3d2cb5d65c6670b84b2e6fb0f4'/>
<id>urn:sha1:d31538c3d0694c3d2cb5d65c6670b84b2e6fb0f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove Dependency to Apache Ant</title>
<updated>2019-08-28T07:24:36+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-08-28T07:24:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=0a2e84daf88b908f1580168c3d6fdc28ba904a33'/>
<id>urn:sha1:0a2e84daf88b908f1580168c3d6fdc28ba904a33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Test Flow of DeliveryRequest from "End-To-End" &amp; Fix Bugs</title>
<updated>2019-07-22T11:02:19+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-07-22T11:02:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=cb9a76eaafd37f921006822bcfe043655288bc63'/>
<id>urn:sha1:cb9a76eaafd37f921006822bcfe043655288bc63</id>
<content type='text'>
Schema Changes:
- Remove mzs:DeliveryRequest/TnvzMetaData because all metadata fields
  can be collected from DeliveryRequest and redundancy is not needed.

Fixes and Refactoring in preprocess:
- MzsDeliveryRequestValidator: Instead of returning false, throw an
  exception when a condition is not met, and explain which condition
  is not met / why it is not met in the exception's message.
- Integrate interface change in ConfigProfileGenerator and
  DeliveryRequestAugmenter.
- Rewrite and simplify DeliveryRequestAugmenter's augmentation.
- ConfigUtil Fixes: Ensure that we do not override the wrong
  parameters while merging. This error appeared in tnvz / msg client,
  connection / receive timeout, key / trust store, and lax hostname
  verification / trust all.

Fix Bugs in Interceptor / SoapUtils:
- Problem: DOM access and information extraction was implemented
  somewhat sloppy.
- SolutioN: Change DOM access interface to access DOM more
  efficiently. Add boundary checks and handle edge cases while
  extracting information from SOAP Messages.
- Test those changes properly.

Testing:
- Implement Delivery Request Flow in ITEndToEndTest.
- Start application on random port instead of fixed port when running
  integration tests.
- Add assertions to tests in ITMzsServiceTest suite.

Others Bug Fixes:
- ServicesConfig: Ensure that mzs service and msg service run on
  different endpoint addresses (/msg and /mzs).
- DeliveryRequestBackend: Throw exception when binary message is
  missing. Don't wrap the exception.
- SaveResponseToFileSink: Wrap Response in JAXB Element (otherwise,
  marshaller does not recognize it)
</content>
</entry>
<entry>
<title>Refactor: Merge BinaryRepository into DeliveryRepository</title>
<updated>2019-07-09T09:13:35+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-07-09T09:13:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=8e36fa01ea42d282eacdc78d6749daf9ae1ede9c'/>
<id>urn:sha1:8e36fa01ea42d282eacdc78d6749daf9ae1ede9c</id>
<content type='text'>
- Reason: Components, which rely on one of those, usually also rely on
  the other, so merging them reduces amount of dependencies.
- Frame operations in DeliveryRepository API as "store" and "retrieve"
  operations.
- Rename: Convert *Id in local variable names to upper case.
</content>
</entry>
<entry>
<title>Refactor MsgResponse and its IDs</title>
<updated>2019-07-09T08:32:54+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-07-09T08:32:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=d8c668bbca31a835c387a3d52293c9938c424f58'/>
<id>urn:sha1:d8c668bbca31a835c387a3d52293c9938c424f58</id>
<content type='text'>
StoreSOAPBodyBinaryInRepositoryInterceptor:
- Replace "generate body's id via concatenation" with "give the right
  generator function the app delivery id and let the generator
  function do the work". Reason: Prevent the logistics of deriving IDs
  to spill into unrelated components.

MsgResponse refactor:
- Make MsgResponse an abstract class.
- Derive ResponseID's  ONLY in MsgResponse::createResponseID.

Others:
- Ensure that all invocations to DeliveryRepository.getResponse and
  BinaryRepository.get use "responseID" instead of ambiguous "id" or
  incorrect "appDeliveryID".
- Move SingleThreadedDeliveryPipeline into process package.
</content>
</entry>
<entry>
<title>Implement Zuse2App Services</title>
<updated>2019-07-08T16:02:37+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-07-08T16:02:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=c1a1a5130a4ecf755da72941ad3525beb919447f'/>
<id>urn:sha1:c1a1a5130a4ecf755da72941ad3525beb919447f</id>
<content type='text'>
- Add zuse2app.wsdl contract.
- Add MsgResponse as an type-agnostic view for DeliveryRequestStatus
  and DeliveryNotification messages. Reason: Both DeliveryNotification
  and DeliveryRequestStatus messages have similar fields and need to
  be treated similarly (e.g.: receive from msg service, store to
  repository, verify signature, store to file...). In order to prevent
  duplicated code, the wrapper interface provides a type-agnostic view
  onto these messages for depending components to operate on.
- Add MsgResponseHandler interface; decides how to process
  MsgResponse. Also implement this handler with a multi-threaded
  single-node implementation.
- Add MsgResponseSink interface; decides how to archive MsgResponse.
- Implement and test SafeResponseToFileSink.

Change Identifier for MsgResponses:
- Before, DeliveryRequestStatus and DeliveryNotifications had their
  own repositories. Now, both types are stored in the same repository
  (the MsgResponse repository) to streamline the handling of
  MsgResponses. We need to change the identification of MsgReponses,
  otherwise the identifiers (AppDeliveryID) clash.
- MsgResponses are not identified by:
  &lt;AppDeliveryId&gt;+&lt;typeSpecificSuffix&gt;
- Rewrite StoreSOAPInterceptor to accommodate fact that, both
  DeliveryRequestStatus and DeliveryNotification messages have
  different IDs upon storage / retrieval.

Restructure packages and components as follows:
- client: All components that are involved when consuming a web service.
- process: "fabric" of MoaZS; contains business logic that
  orchestrates back-end tasks of MoaZS's operational services, e.g.:
  by processing a delivery request.
- service: Implementation of MoaZS's front-end services.

Refactoring:
- MoaZSException: Remove unused fields. Before: Store mzsrequest,
  tnvzresult, msgrequest and msgresult as members. Now: Only keep the
  fields that are needed later, e.g for generating a
  msg:DeliveryRequestStatus element. Add copy constructor to Builder.
- Put storage of byte[] into a dedicated "BinaryRepository". Reason:
  This was useful in a former design. Now it's not really needed
  anymore.
- Put "create Endpoint" code into EndpointFactory. Reason: Eliminate
  duplicated code when configuring a service.

Testing:
- Activate Stacktraces in surefire.
</content>
</entry>
<entry>
<title>Unify AppDeliveryID Spelling</title>
<updated>2019-06-19T11:35:14+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-06-19T11:35:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=97aadc426ca2f61dccd58a05f37d065b2752ef6d'/>
<id>urn:sha1:97aadc426ca2f61dccd58a05f37d065b2752ef6d</id>
<content type='text'>
</content>
</entry>
</feed>
