From 8b695ac559bda388781e5ad0e4b02d1e82dc9cef Mon Sep 17 00:00:00 2001 From: efiacor Date: Mon, 6 Mar 2023 14:22:56 +0000 Subject: [DMAAP-DR] Remove more AAF junk Signed-off-by: efiacor Change-Id: I1a6c6f018d20ecde6221d345602157dd1fb81947 Issue-ID: DMAAP-1642 --- .../src/main/resources/database/sql_init_01.sql | 6 ++---- .../src/main/resources/node_data/node.properties | 3 +++ .../src/main/resources/prov_data/provserver.properties | 12 ++---------- .../org/onap/dmaap/datarouter/node/NodeConfigManager.java | 2 +- pom.xml | 6 ------ 5 files changed, 8 insertions(+), 21 deletions(-) diff --git a/datarouter-docker-compose/src/main/resources/database/sql_init_01.sql b/datarouter-docker-compose/src/main/resources/database/sql_init_01.sql index d2bd1cb3..61079faa 100644 --- a/datarouter-docker-compose/src/main/resources/database/sql_init_01.sql +++ b/datarouter-docker-compose/src/main/resources/database/sql_init_01.sql @@ -16,8 +16,7 @@ CREATE TABLE FEEDS ( DELETED BOOLEAN DEFAULT FALSE, LAST_MOD TIMESTAMP DEFAULT CURRENT_TIMESTAMP, SUSPENDED BOOLEAN DEFAULT FALSE, - CREATED_DATE TIMESTAMP DEFAULT CURRENT_TIMESTAMP, - AAF_INSTANCE VARCHAR(256) + CREATED_DATE TIMESTAMP DEFAULT CURRENT_TIMESTAMP ); CREATE TABLE FEED_ENDPOINT_IDS ( @@ -48,8 +47,7 @@ CREATE TABLE SUBSCRIPTIONS ( SUSPENDED BOOLEAN DEFAULT FALSE, PRIVILEGED_SUBSCRIBER BOOLEAN DEFAULT FALSE, CREATED_DATE TIMESTAMP DEFAULT CURRENT_TIMESTAMP, - DECOMPRESS BOOLEAN DEFAULT FALSE, - AAF_INSTANCE VARCHAR(256) + DECOMPRESS BOOLEAN DEFAULT FALSE ); diff --git a/datarouter-docker-compose/src/main/resources/node_data/node.properties b/datarouter-docker-compose/src/main/resources/node_data/node.properties index ddd4ebc8..e6050140 100644 --- a/datarouter-docker-compose/src/main/resources/node_data/node.properties +++ b/datarouter-docker-compose/src/main/resources/node_data/node.properties @@ -56,6 +56,9 @@ SpoolDir = /opt/app/datartr/spool # The path to the redirection data file RedirectionFile = etc/redirections.dat # +# https security required for publish request +TlsEnabled = false +# # The type of keystore for https KeyStoreType = PKCS12 # diff --git a/datarouter-docker-compose/src/main/resources/prov_data/provserver.properties b/datarouter-docker-compose/src/main/resources/prov_data/provserver.properties index b620f1fa..de83456d 100755 --- a/datarouter-docker-compose/src/main/resources/prov_data/provserver.properties +++ b/datarouter-docker-compose/src/main/resources/prov_data/provserver.properties @@ -27,8 +27,6 @@ org.onap.dmaap.datarouter.provserver.http.port = 8080 org.onap.dmaap.datarouter.provserver.https.port = 8443 org.onap.dmaap.datarouter.provserver.https.relaxation = true -org.onap.dmaap.datarouter.provserver.aafprops.path = /opt/app/osaaf/local/org.onap.dmaap-dr.props - org.onap.dmaap.datarouter.provserver.accesslog.dir = /opt/app/datartr/logs org.onap.dmaap.datarouter.provserver.spooldir = /opt/app/datartr/spool org.onap.dmaap.datarouter.provserver.dbscripts = /opt/app/datartr/etc/misc @@ -36,7 +34,6 @@ org.onap.dmaap.datarouter.provserver.logretention = 30 #DMAAP-597 (Tech Dept) REST request source IP auth # relaxation to accommodate OOM kubernetes deploy -org.onap.dmaap.datarouter.provserver.isaddressauthenabled = false #Localhost address config org.onap.dmaap.datarouter.provserver.localhost = 127.0.0.1 @@ -51,10 +48,5 @@ org.onap.dmaap.datarouter.db.password = datarouter org.onap.dmaap.datarouter.provserver.https.include.protocols = TLSv1.1|TLSv1.2 # AAF config -org.onap.dmaap.datarouter.provserver.cadi.enabled = false - -org.onap.dmaap.datarouter.provserver.aaf.feed.type = org.onap.dmaap-dr.feed -org.onap.dmaap.datarouter.provserver.aaf.sub.type = org.onap.dmaap-dr.sub -org.onap.dmaap.datarouter.provserver.aaf.instance = legacy -org.onap.dmaap.datarouter.provserver.aaf.action.publish = publish -org.onap.dmaap.datarouter.provserver.aaf.action.subscribe = subscribe \ No newline at end of file +org.onap.dmaap.datarouter.provserver.isaddressauthenabled = false +org.onap.dmaap.datarouter.provserver.tlsenabled = false diff --git a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeConfigManager.java b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeConfigManager.java index d02bedb2..2e2dc5f0 100644 --- a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeConfigManager.java +++ b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeConfigManager.java @@ -142,7 +142,7 @@ public class NodeConfigManager implements DeliveryQueueHelper { } eelfLogger.debug("NODE0304 My certificate says my name is {}", myname); } catch (Exception e) { - eelfLogger.error("NODE0314 Failed to load AAF props. Exiting", e); + eelfLogger.error("NODE0314 Failed to set up TLS config. Exiting", e); exit(1); } } diff --git a/pom.xml b/pom.xml index 75bc06c4..40357b09 100755 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,6 @@ 4.0.1 1.2.7 1.2.3 - 2.1.15 1.15 1.5 0.33.0 @@ -181,11 +180,6 @@ cdi-websocket ${jetty.version} - - org.onap.aaf.authz - aaf-cadi-core - ${aaf-cadi-aaf.version} - commons-io commons-io -- cgit 1.2.3-korg