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
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
KAFKA_SERVERS=kafka:9092
-
# AAI
AAI_HOST=aai.api.simpledemo.onap.org
"userName": "policyadmin",
"password": "zb!XztG34",
"https": false,
- "aaf": false,
"prometheus": true
},
"policyApiParameters": {
"port": 6969,
"userName": "policyadmin",
"password": "zb!XztG34",
- "useHttps": false,
- "aaf": false
+ "useHttps": false
},
"applicationParameters": {
"applicationPath": "/opt/app/policy/pdpx/apps"
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',
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
depends_on:
- zookeeper
ports:
- - 29092:29092
- - 9092:9092
+ - "29092:29092"
+ - "9092:9092"
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
export KAFKA_IP="localhost:${KAFKA_PORT}"
# wait for the app to start up
+"${SCRIPTS}"/wait_for_rest.sh localhost ${PAP_PORT}
"${SCRIPTS}"/wait_for_rest.sh localhost ${DROOLS_APPS_PORT}
+"${SCRIPTS}"/wait_for_rest.sh localhost ${DROOLS_APPS_TELEMETRY_PORT}
# give enough time for the controllers to come up
sleep 15
docker_stats
source_safely ${WORKSPACE}/compose/stop-compose.sh
+ rsync "${WORKSPACE}/compose/docker_compose.log" "${WORKSPACE}/csit/archives/${PROJECT}"
if [[ ${WORKDIR} ]]; then
rsync -av "${WORKDIR}/" "${WORKSPACE}/csit/archives/${PROJECT}"
- mountPath: /tmp/policy-install/config/engine-system.properties
name: drools-config
subPath: engine-system.properties
- - mountPath: /tmp/policy-install/config/feature-pooling-kafka.conf
+ - mountPath: /tmp/policy-install/config/feature-pooling-messages.conf
name: drools-config
- subPath: feature-pooling-kafka.conf
+ subPath: feature-pooling-messages.conf
- mountPath: /tmp/policy-install/config/logback.xml
name: drools-config
subPath: logback.xml
- key: engine-system.properties
path: engine-system.properties
mode: 0755
- - key: feature-pooling-kafka.conf
- path: feature-pooling-kafka.conf
+ - key: feature-pooling-messages.conf
+ path: feature-pooling-messages.conf
mode: 0755
- key: logback.xml
path: logback.xml