summaryrefslogtreecommitdiffstats
path: root/compose
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-03-25 15:56:21 +0000
committeradheli.tavares <adheli.tavares@est.tech>2024-04-10 14:47:41 +0100
commitf35d01581c8da55946d604e5a444972fe4b0d318 (patch)
treeb4eb14bf45c68cdad142ace5df29c6022bd6f3f7 /compose
parentc5936fb131831992ac8da40fb56599dfb0ae1b5e (diff)
Improvements to CSIT
Issue-ID: POLICY-4868 Change-Id: If2fe23e18f500fc777091b26016180521e4fa852 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'compose')
-rw-r--r--compose/config/drools-applications/env/base.conf6
-rw-r--r--compose/config/drools-applications/env/feature-pooling-messages.conf (renamed from compose/config/drools-applications/env/feature-pooling-kafka.conf)0
-rw-r--r--compose/config/drools-pdp/env/base.conf8
-rw-r--r--compose/config/xacml-pdp/defaultConfig.json4
-rw-r--r--compose/docker-compose.yml9
5 files changed, 6 insertions, 21 deletions
diff --git a/compose/config/drools-applications/env/base.conf b/compose/config/drools-applications/env/base.conf
index 76e42570..7f213ead 100644
--- a/compose/config/drools-applications/env/base.conf
+++ b/compose/config/drools-applications/env/base.conf
@@ -55,12 +55,6 @@ JDBC_URL=jdbc:mariadb://mariadb:3306/
JDBC_OPTS=
MYSQL_CMD=
-# AAF
-
-AAF=false
-AAF_NAMESPACE=org.onap.policy
-AAF_HOST=aaf.api.simpledemo.onap.org
-
# HTTP Servers
HTTP_SERVER_HTTPS=false
diff --git a/compose/config/drools-applications/env/feature-pooling-kafka.conf b/compose/config/drools-applications/env/feature-pooling-messages.conf
index f90a9f04..f90a9f04 100644
--- a/compose/config/drools-applications/env/feature-pooling-kafka.conf
+++ b/compose/config/drools-applications/env/feature-pooling-messages.conf
diff --git a/compose/config/drools-pdp/env/base.conf b/compose/config/drools-pdp/env/base.conf
index 2625b76d..a0b2a923 100644
--- a/compose/config/drools-pdp/env/base.conf
+++ b/compose/config/drools-pdp/env/base.conf
@@ -55,13 +55,6 @@ JDBC_URL=jdbc:mariadb://mariadb:3306/
JDBC_OPTS=
MYSQL_CMD=
-
-# AAF
-
-AAF=false
-AAF_NAMESPACE=org.onap.policy
-AAF_HOST=aaf.api.simpledemo.onap.org
-
# HTTP Servers
HTTP_SERVER_HTTPS=false
@@ -110,7 +103,6 @@ DCAE_CONSUMER_GROUP=dcae.policy.shared
KAFKA_SERVERS=kafka:9092
-
# AAI
AAI_HOST=aai.api.simpledemo.onap.org
diff --git a/compose/config/xacml-pdp/defaultConfig.json b/compose/config/xacml-pdp/defaultConfig.json
index ba587f1a..6c72498d 100644
--- a/compose/config/xacml-pdp/defaultConfig.json
+++ b/compose/config/xacml-pdp/defaultConfig.json
@@ -8,7 +8,6 @@
"userName": "policyadmin",
"password": "zb!XztG34",
"https": false,
- "aaf": false,
"prometheus": true
},
"policyApiParameters": {
@@ -16,8 +15,7 @@
"port": 6969,
"userName": "policyadmin",
"password": "zb!XztG34",
- "useHttps": false,
- "aaf": false
+ "useHttps": false
},
"applicationParameters": {
"applicationPath": "/opt/app/policy/pdpx/apps"
diff --git a/compose/docker-compose.yml b/compose/docker-compose.yml
index 0264b290..3d7c1462 100644
--- a/compose/docker-compose.yml
+++ b/compose/docker-compose.yml
@@ -177,7 +177,7 @@ services:
env_file:
- ./config/drools-applications/env/base.conf
- ./config/drools-applications/env/feature-healthcheck.conf
- - ./config/drools-applications/env/feature-pooling-kafka.conf
+ - ./config/drools-applications/env/feature-pooling-messages.conf
entrypoint: /opt/app/policy/bin/wait_for_port.sh
command: [
'-c', '/opt/app/policy/bin/pdpd-cl-entrypoint.sh boot',
@@ -392,11 +392,12 @@ services:
zookeeper:
image: confluentinc/cp-zookeeper:latest
+ container_name: zookeeper
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
ports:
- - 2181:2181
+ - "2181:2181"
kafka:
image: confluentinc/cp-kafka:latest
@@ -404,8 +405,8 @@ services:
depends_on:
- zookeeper
ports:
- - 29092:29092
- - 9092:9092
+ - "29092:29092"
+ - "9092:9092"
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181