improve dockerized test
[nonrtric.git] / near-rt-ric-simulator / common / test_env.sh
1 #!/usr/bin/env bash
2
3 # Set the images for the Policy agent app to use for the auto tests. Do not add the image tag.
4 #
5 # Local Policy Agent image and tag, shall point to locally built image (non-nexus path)
6 export POLICY_AGENT_LOCAL_IMAGE=o-ran-sc/nonrtric-policy-agent
7 # Remote image
8 export POLICY_AGENT_REMOTE_IMAGE=nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent
9 # SDNC A1 Adapter remote image
10 export SDNC_A1_ADAPTER_IMAGE=nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-a1-controller:1.7.4
11 # Dashboard remote image
12 export DASHBOARD_IMAGE=nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-dashboard:1.0.1
13
14 # Common env var for auto-test.
15
16 POLICY_AGENT_PORT=8081
17 POLICY_AGENT_LOGPATH="/var/log/policy-agent/application.log"  #Path the application log in the policy agent container
18 DOCKER_SIM_NWNAME="nonrtric-docker-net"                       #Name of docker private network
19 CONSUL_HOST="consul-server"                                   #Host name of consul
20 CONSUL_PORT=8500                                              #Port number of consul
21 CONFIG_BINDING_SERVICE="config-binding-service"               #Host name of CBS
22 PA_APP_BASE="policy-agent"                                    #Base name for policy agent container