Enable dependency injection for some aai-common classes 23/137223/1
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Thu, 15 Feb 2024 16:10:02 +0000 (17:10 +0100)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Thu, 15 Feb 2024 16:10:02 +0000 (17:10 +0100)
commit583288aa1d1871c171c0d939a67a10d81029a0c4
tree029bb6aed17b827908c8e4ae27838998b87604fa
parentdc041e1c41c78dfc9f62cdb64280b69299c5ffd0
Enable dependency injection for some aai-common classes

- minor refactorings in SchemaServiceTranslator
- annotate the other classes with @Component to make them available for dependency injection

Issue-ID: AAI-3780
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ia48743b81de36e1da3e71eee8821baa526c86885
aai-schema-ingest/src/main/java/org/onap/aai/setup/SchemaServiceTranslator.java
aai-schema-ingest/src/main/java/org/onap/aai/validation/edges/CousinDefaultingValidationModule.java
aai-schema-ingest/src/main/java/org/onap/aai/validation/edges/DefaultEdgeFieldsValidationModule.java
aai-schema-ingest/src/main/java/org/onap/aai/validation/edges/SingleContainmentValidationModule.java
aai-schema-ingest/src/main/java/org/onap/aai/validation/edges/UniqueLabelValidationModule.java