Replace deprecated methods in model-loader 67/132267/1 master
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Wed, 16 Nov 2022 15:03:38 +0000 (15:03 +0000)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Wed, 16 Nov 2022 15:03:38 +0000 (15:03 +0000)
commit0b4016fbde53d49f9511a4253e22285681840572
tree284fc336fe2d9e1f4d93335293143f739d371bbd
parent50889fa7107127868a9a4391218772ff58d0ac2e
Replace deprecated methods in model-loader

- junit's assertThat was deprecated in favour of hamcrest
- apache-commons now requires a Charset argument

Issue-ID: AAI-3604

Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I10bf46922e44b3a3adcc14eab6486401a5cf14e1
23 files changed:
src/main/java/org/onap/aai/modelloader/config/ModelLoaderConfig.java
src/main/java/org/onap/aai/modelloader/extraction/VnfCatalogExtractor.java
src/test/java/org/onap/aai/modelloader/csar/extractor/VnfCatalogExtractorTest.java
src/test/java/org/onap/aai/modelloader/entity/catalog/TestVnfCatalogArtifactHandler.java
src/test/java/org/onap/aai/modelloader/entity/catalog/TestVnfImageException.java
src/test/java/org/onap/aai/modelloader/entity/model/ModelSorterTest.java
src/test/java/org/onap/aai/modelloader/entity/model/TestModelArtifactHandler.java
src/test/java/org/onap/aai/modelloader/entity/model/TestModelArtifactParser.java
src/test/java/org/onap/aai/modelloader/entity/model/TestNamedQueryArtifactParser.java
src/test/java/org/onap/aai/modelloader/notification/ArtifactDownloadManagerVnfcTest.java
src/test/java/org/onap/aai/modelloader/notification/TestArtifactDeploymentManager.java
src/test/java/org/onap/aai/modelloader/notification/TestArtifactDownloadManager.java
src/test/java/org/onap/aai/modelloader/notification/TestEventCallback.java
src/test/java/org/onap/aai/modelloader/notification/TestNotificationDataImpl.java
src/test/java/org/onap/aai/modelloader/restclient/TestAaiRestClient.java
src/test/java/org/onap/aai/modelloader/restclient/TestAaiServiceClient.java
src/test/java/org/onap/aai/modelloader/restclient/TestBabelServiceClient.java
src/test/java/org/onap/aai/modelloader/service/TestArtifactInfoImpl.java
src/test/java/org/onap/aai/modelloader/service/TestModelLoaderService.java
src/test/java/org/onap/aai/modelloader/service/TestModelLoaderServiceWithSdc.java
src/test/java/org/onap/aai/modelloader/util/ArtifactTestUtils.java
src/test/java/org/onap/aai/modelloader/util/TestGizmoTranslator.java
src/test/java/org/onap/aai/modelloader/util/TestJsonXmlConverter.java