Move DDIStore with server-side implementation details to war-project
Problem
-
DDIStoreclass instardat-ddiflatdb-resthas too many responsibilities: - database entity (Hibernate),
- audited entity (Hibernate Envers),
- search index entity (Hibernate Search)
- DTO for REST communication
- Thereby
stardat-ddiflatdb-restmust hold dependencies on Hibernate and others. - These dependencies, which are actually implementation details of the microservice backend, are pulled into actually independent clients.
- In the case of
stardat-reportingthis coupling made it even impossible to compile (!!!) its code base, because it uses Hibernate 4, butstardat-ddiflatdb-restuses Hibernate 5. Astardat-reportingdeveloper gets an exception about his implementation details caused by a very specific dep-conflict of a third compoment. More coupling is presumably not possible.
Solution
-
DoneCopyDDIStoreas it is tostardat-ddiflatdb -
DoneRemove all server-side impl-details fromDDIStore - See template for microservice setup
