Model distribution from model-loader is failing with resources service version >... 96/136396/3
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Tue, 7 Nov 2023 13:16:24 +0000 (14:16 +0100)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Tue, 7 Nov 2023 15:03:55 +0000 (16:03 +0100)
commit7b1baebc0dd9f75bcfe0e56796c5116a77c1e3aa
treeab77117cd44212446cce952fbcf0b3e5c1f5e6dc
parentc0b226153be760f3a93102e8a3886f52faed4b4b
Model distribution from model-loader is failing with resources service version >= 1.12.1

- pin eclipse.persistence version to last-working 2.6.2
- add test case to validate correct behaviour
- make api-version related assertions in LegacyMoxyConsumerTest dynamic based on default api version

Issue-ID: AAI-3675
Change-Id: I655ed28b1d0a6f94c788d68ff2d05ba9f30c4793
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
aai-resources/pom.xml
aai-resources/src/test/java/org/onap/aai/rest/LegacyMoxyConsumerTest.java
aai-resources/src/test/java/org/onap/aai/rest/ModelDistributionTest.java [new file with mode: 0644]
aai-resources/src/test/resources/application-test.properties
aai-resources/src/test/resources/payloads/models/network-service.xml [new file with mode: 0644]
aai-resources/src/test/resources/payloads/relationship/pserver-complex-relationship-list2.json
aai-resources/src/test/resources/payloads/relationship/pserver-complex-relationship-list3.json
aai-resources/src/test/resources/payloads/resource/vserver2.json