Improve auto test for policy agent
[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 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
10 # Common env var for auto-test.
11
12 POLICY_AGENT_PORT=8081
13 POLICY_AGENT_LOGPATH="/var/log/policy-agent/application.log"  #Path the application log in the policy agent container
14 DOCKER_SIM_NWNAME="nonrtric-docker-net"                       #Name of docker private network
15 CONSUL_HOST="consul-server"                                   #Host name of consul
16 CONSUL_PORT=8500                                              #Port number of consul
17 CONFIG_BINDING_SERVICE="config-binding-service"               #Host name of CBS
18 PA_APP_BASE="policy-agent"                                    #Base name for policy agent container