Move GraphChecker to aai-common 57/139457/3
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Tue, 19 Nov 2024 13:20:15 +0000 (14:20 +0100)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Tue, 19 Nov 2024 14:08:06 +0000 (15:08 +0100)
commit56da09aae132118a55af3cad601fff7b1cc70390
tree1a95fac9d948cc0e0af265517050cdda368ba109
parenta559cb58bcf4a55ce58b9fc3b3480db371827edd
Move GraphChecker to aai-common

- define GraphCheck class that tests connection to storage backend
- disable caching for the db transaction to make sure that the real connection is tested
- define GraphConfig class that defines a Graph bean. This is an alternative to the AAIGraph class

Issue-ID: AAI-4060
Change-Id: Id6d20adc8a8bab8bc914fb47353c37fd80905896
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
aai-core/src/main/java/org/onap/aai/config/GraphConfig.java [new file with mode: 0644]
aai-core/src/main/java/org/onap/aai/util/GraphChecker.java [new file with mode: 0644]
aai-core/src/main/resources/application.properties [new file with mode: 0644]
aai-core/src/test/java/org/onap/aai/util/GraphCheckerTest.java [new file with mode: 0644]
aai-core/src/test/resources/application.properties [new file with mode: 0644]
aai-core/src/test/resources/bundleconfig-local/etc/appprops/janusgraph-cached.properties [deleted file]