POLICY_PAP_IP=`get-instance-ip.sh policy-pap`
MARIADB_IP=`get-instance-ip.sh mariadb`
APEX_IP=`get-instance-ip.sh policy-apex-pdp`
-DMAAP_IP=`get-instance-ip.sh message-router`
+DMAAP_IP=`get-instance-ip.sh simulator`
echo PAP IP IS ${POLICY_PAP_IP}
echo MARIADB IP IS ${MARIADB_IP}
DNS:policy-pap.onap, \
DNS:policy-xacml-pdp, \
DNS:policy-xacml-pdp.onap, \
+ DNS:simulator, \
+ DNS:aai-sim, \
+ DNS:grpc-sim, \
+ DNS:sdnc-sim, \
+ DNS:so-sim, \
+ DNS:vfc-sim, \
DNS:message-router
# AAI
-AAI_HOST=message-router
+AAI_HOST=aai-sim
AAI_PORT=6666
AAI_CONTEXT_URI=
AAI_USERNAME=policy@policy.onap.org
# MSO
-SO_HOST=message-router
+SO_HOST=so-sim
SO_PORT=6669
SO_CONTEXT_URI=
SO_URL=https://message-router:6669/
# VFC
-VFC_HOST=message-router
+VFC_HOST=vfc-sim
VFC_PORT=6670
VFC_CONTEXT_URI=
VFC_USERNAME=
# SDNC
-SDNC_HOST=message-router
+SDNC_HOST=sdnc-sim
SDNC_PORT=6668
SDNC_CONTEXT_URI=
SDNC_USERNAME=
POLICY_PAP_IP=`get-instance-ip.sh policy-pap`
MARIADB_IP=`get-instance-ip.sh mariadb`
APEX_IP=`get-instance-ip.sh policy-apex-pdp`
-DMAAP_IP=`get-instance-ip.sh message-router`
+DMAAP_IP=`get-instance-ip.sh simulator`
POLICY_DISTRIBUTION_IP=`get-instance-ip.sh policy-distribution`
echo PAP IP IS ${POLICY_PAP_IP}
- ./config/db:/docker-entrypoint-initdb.d:ro
expose:
- 3306
- message-router:
+ simulator:
image: nexus3.onap.org:10001/onap/policy-models-simulator:${POLICY_MODELS_VERSION}
- container_name: message-router
- hostname: message-router
+ container_name: simulator
+ hostname: simulator
+ networks:
+ default:
+ aliases:
+ - message-router
+ - aai-sim
+ - grpc-sim
+ - sdnc-sim
+ - so-sim
+ - vfc-sim
volumes:
- ./config/sim-all:/opt/app/policy/simulators/etc/mounted:ro
- ./config/ks.jks:/opt/app/policy/simulators/etc/ssl/policy-keystore:ro
container_name: policy-pap
depends_on:
- mariadb
- - message-router
+ - simulator
- api
hostname: policy-pap
expose:
container_name: policy-xacml-pdp
depends_on:
- mariadb
- - message-router
+ - simulator
- pap
hostname: policy-xacml-pdp
expose:
container_name: drools
depends_on:
- mariadb
- - message-router
+ - simulator
- pap
hostname: drools
expose:
container_name: drools-apps
depends_on:
- mariadb
- - message-router
+ - simulator
- pap
- xacml-pdp
hostname: drools-apps
'mariadb', '3306',
'message-router', '3905',
'pap', '6969',
- 'message-router', '6666',
- 'message-router', '6668',
- 'message-router', '6669',
- 'message-router', '6670'
+ 'aai-sim', '6666',
+ 'sdnc-sim', '6668',
+ 'so-sim', '6669',
+ 'vfc-sim', '6670'
]
apex-pdp:
image: nexus3.onap.org:10001/onap/policy-apex-pdp:${POLICY_APEX_PDP_VERSION}
container_name: policy-apex-pdp
depends_on:
- mariadb
- - message-router
+ - simulator
- pap
hostname: policy-apex-pdp
expose:
API_IP=`get-instance-ip.sh policy-api`
PAP_IP=`get-instance-ip.sh policy-pap`
XACML_IP=`get-instance-ip.sh policy-xacml-pdp`
-SIM_IP=`get-instance-ip.sh message-router`
+SIM_IP=`get-instance-ip.sh simulator`
export SIM_IP
echo DROOLS IP IS ${DROOLS_IP}
POLICY_API_IP=`get-instance-ip.sh policy-api`
MARIADB_IP=`get-instance-ip.sh mariadb`
POLICY_PDPX_IP=`get-instance-ip.sh policy-xacml-pdp`
-SIM_IP=`get-instance-ip.sh message-router`
+SIM_IP=`get-instance-ip.sh simulator`
POLICY_PAP_IP=`get-instance-ip.sh policy-pap`
echo PDP IP IS ${POLICY_PDPX_IP}