From 226f1281ff1c66031c52040e3558ecabddbd6253 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Sun, 13 Oct 2024 13:06:52 +0200 Subject: Upgrade aai-common dependency to 1.15.1-SNAPSHOT - get rid of ActiveMQ (which was part of the eventing) - now really use Janusgraph 1.0 Issue-ID: AAI-4017 Change-Id: Icfe166b96bee5d2ffad3f3cd3d67e8a286424bfc Signed-off-by: Fiete Ostkamp --- aai-resources/pom.xml | 32 ++-------------------- .../src/main/resources/application.properties | 5 ++-- .../src/test/java/org/onap/aai/AAISetup.java | 3 +- .../src/test/resources/application-test.properties | 2 ++ pom.xml | 6 ++-- version.properties | 2 +- 6 files changed, 13 insertions(+), 37 deletions(-) diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml index 52701315..4a409c0e 100644 --- a/aai-resources/pom.xml +++ b/aai-resources/pom.xml @@ -28,7 +28,7 @@ org.onap.aai.resources resources - 1.15.0-SNAPSHOT + 1.15.1-SNAPSHOT 11 @@ -79,8 +79,8 @@ ${project.basedir}/src/main/resources/application.properties - 0.6.4 - 3.5.8 + 4.0.1 11.0.2 @@ -505,17 +505,6 @@ com.jayway.jsonpath json-path - - - org.apache.activemq - activemq-broker - - - org.apache.activemq - activemq-client - org.onap.aai.aai-common aai-core @@ -524,10 +513,6 @@ com.sun.jersey jersey-core - - org.codehaus.jackson - jackson-mapper-asl - org.eclipse.jetty jetty-http @@ -550,17 +535,6 @@ org.onap.aai.aai-common aai-schema-ingest - - - org.springframework - spring-jms - - - com.sun.jersey - jersey-core - - - diff --git a/aai-resources/src/main/resources/application.properties b/aai-resources/src/main/resources/application.properties index f4eccca3..204197c7 100644 --- a/aai-resources/src/main/resources/application.properties +++ b/aai-resources/src/main/resources/application.properties @@ -55,9 +55,6 @@ server.ssl.key-store-type=JKS null.db.serialization.enabled=true -# JMS bind address host port -jms.bind.address=tcp://localhost:61647 - # dmaap is deprecated and now replaced with kafka # dmaap.ribbon.listOfServers=localhost:3904 spring.kafka.producer.bootstrap-servers=${BOOTSTRAP_SERVERS} @@ -161,3 +158,5 @@ AJSC_HOME=./ # this does the same as the /echo endpoint, # but doesn't show up in micrometer metrics aai.actuator.echo.enabled=false + +aai.notifications.enabled=false diff --git a/aai-resources/src/test/java/org/onap/aai/AAISetup.java b/aai-resources/src/test/java/org/onap/aai/AAISetup.java index 35671876..d672bc7b 100644 --- a/aai-resources/src/test/java/org/onap/aai/AAISetup.java +++ b/aai-resources/src/test/java/org/onap/aai/AAISetup.java @@ -32,6 +32,7 @@ import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.extension.ExtendWith; import org.onap.aai.config.ConfigConfiguration; import org.onap.aai.config.IntrospectionConfig; +import org.onap.aai.config.KafkaConfig; import org.onap.aai.config.RestBeanConfig; import org.onap.aai.config.SpringContextAware; import org.onap.aai.config.XmlFormatTransformerConfiguration; @@ -54,7 +55,7 @@ import org.springframework.test.context.junit.jupiter.SpringJUnitConfig; @SpringJUnitConfig( classes = {ConfigConfiguration.class, AAIConfigTranslator.class, NodeIngestor.class, EdgeIngestor.class, EdgeSerializer.class, SpringContextAware.class, IntrospectionConfig.class, - XmlFormatTransformerConfiguration.class, RestBeanConfig.class, LoaderFactory.class, NotificationService.class}) + XmlFormatTransformerConfiguration.class, RestBeanConfig.class, LoaderFactory.class, NotificationService.class, KafkaConfig.class}) @TestPropertySource( properties = {"schema.uri.base.path = /aai", "schema.ingest.file = src/test/resources/application-test.properties"}) diff --git a/aai-resources/src/test/resources/application-test.properties b/aai-resources/src/test/resources/application-test.properties index 3fcab507..8057117f 100644 --- a/aai-resources/src/test/resources/application-test.properties +++ b/aai-resources/src/test/resources/application-test.properties @@ -82,3 +82,5 @@ management.endpoints.enabled-by-default=true management.endpoints.web.exposure.include=info, health, prometheus management.metrics.web.server.request.autotime.enabled=false scrape.uri.metrics=true + +aai.notifications.enabled=false diff --git a/pom.xml b/pom.xml index c3175ca2..e1ef5cd7 100644 --- a/pom.xml +++ b/pom.xml @@ -26,11 +26,11 @@ org.onap.aai.aai-common aai-parent - 1.15.0 + 1.15.1-SNAPSHOT org.onap.aai.resources resources - 1.15.0-SNAPSHOT + 1.15.1-SNAPSHOT aai-resources pom @@ -49,7 +49,7 @@ /content/repositories/staging/ ${project.version} - 1.15.0 + 1.15.1-SNAPSHOT 1.12.5 diff --git a/version.properties b/version.properties index 039d36d6..bcf6bda9 100644 --- a/version.properties +++ b/version.properties @@ -5,7 +5,7 @@ major_version=1 minor_version=15 -patch_version=0 +patch_version=1 base_version=${major_version}.${minor_version}.${patch_version} -- cgit