[DMAAP-DR] Remove more AAF junk 52/133552/1
authorefiacor <fiachra.corcoran@est.tech>
Mon, 6 Mar 2023 14:22:56 +0000 (14:22 +0000)
committerefiacor <fiachra.corcoran@est.tech>
Mon, 6 Mar 2023 14:23:01 +0000 (14:23 +0000)
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I1a6c6f018d20ecde6221d345602157dd1fb81947
Issue-ID: DMAAP-1642

datarouter-docker-compose/src/main/resources/database/sql_init_01.sql
datarouter-docker-compose/src/main/resources/node_data/node.properties
datarouter-docker-compose/src/main/resources/prov_data/provserver.properties
datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeConfigManager.java
pom.xml

index d2bd1cb..61079fa 100644 (file)
@@ -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
 
 );
 
index ddd4ebc..e605014 100644 (file)
@@ -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
 #
index b620f1f..de83456 100755 (executable)
@@ -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
index d02bedb..2e2dc5f 100644 (file)
@@ -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 75bc06c..40357b0 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
@@ -64,7 +64,6 @@
         <javax.servlet-api.version>4.0.1</javax.servlet-api.version>
         <qos.logback.version>1.2.7</qos.logback.version>
         <qos.logback.classic.version>1.2.3</qos.logback.classic.version>
-        <aaf-cadi-aaf.version>2.1.15</aaf-cadi-aaf.version>
         <commons-codec.version>1.15</commons-codec.version>
         <gmaven-plugin.version>1.5</gmaven-plugin.version>
         <io.fabric8.version>0.33.0</io.fabric8.version>
                 <artifactId>cdi-websocket</artifactId>
                 <version>${jetty.version}</version>
             </dependency>
-            <dependency>
-                <groupId>org.onap.aaf.authz</groupId>
-                <artifactId>aaf-cadi-core</artifactId>
-                <version>${aaf-cadi-aaf.version}</version>
-            </dependency>
             <dependency>
                 <groupId>commons-io</groupId>
                 <artifactId>commons-io</artifactId>