X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Ftest_env-oran-master.sh;h=c0e28f6b49971b8c817c169f6a7f0a67bb04c664;hb=7b36db6ef1b31daa41e115b7f199bb04f1cd0725;hp=b24ecae02cae81002957763776206e291a6fb034;hpb=39ad50eaea46a2fadb4f85ffda02cc90acd0d8d5;p=nonrtric.git diff --git a/test/common/test_env-oran-master.sh b/test/common/test_env-oran-master.sh index b24ecae0..c0e28f6b 100755 --- a/test/common/test_env-oran-master.sh +++ b/test/common/test_env-oran-master.sh @@ -16,6 +16,9 @@ # limitations under the License. # ============LICENSE_END================================================= # +#Profile for ORAN master +TEST_ENV_PROFILE="ORAN-MASTER" +NEXUS_PROXY_REPO="nexus3.onap.org:10001/" # Set up the image and tags for the test. Do not add the image tag to the image names. @@ -54,7 +57,7 @@ SDNC_A1_CONTROLLER_REMOTE_IMAGE_TAG="2.1.0" #SDNC DB remote image and tag -SDNC_DB_REMOTE_IMAGE="mysql/mysql-server" +SDNC_DB_REMOTE_IMAGE=$NEXUS_PROXY_REPO"mysql/mysql-server" SDNC_DB_REMOTE_IMAGE_TAG="5.6" #No local image for DB, remote image always used @@ -64,11 +67,11 @@ RIC_SIM_LOCAL_IMAGE="o-ran-sc/a1-simulator" RIC_SIM_LOCAL_IMAGE_TAG="latest" # Near RT RIC Simulator remote image and tag RIC_SIM_REMOTE_IMAGE="nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator" -RIC_SIM_REMOTE_IMAGE_TAG="2.0.0" +RIC_SIM_REMOTE_IMAGE_TAG="2.1.0" #Consul remote image and tag -CONSUL_REMOTE_IMAGE="consul" +CONSUL_REMOTE_IMAGE=$NEXUS_PROXY_REPO"consul" CONSUL_REMOTE_IMAGE_TAG="1.7.2" #No local image for Consul, remote image always used @@ -101,6 +104,8 @@ export POLICY_AGENT_EXTERNAL_PORT=8081 # Policy Agent c export POLICY_AGENT_INTERNAL_PORT=8081 # Policy Agent container internal port (container -> container) export POLICY_AGENT_EXTERNAL_SECURE_PORT=8433 # Policy Agent container external secure port (host -> container) export POLICY_AGENT_INTERNAL_SECURE_PORT=8433 # Policy Agent container internal secure port (container -> container) +export POLICY_AGENT_APIS="V1 V2" # Supported northbound api versions +export PMS_VERSION="V2" # Tested version of northbound API export POLICY_AGENT_APP_NAME="policy-agent" # Name for Policy Agent container POLICY_AGENT_LOGPATH="/var/log/policy-agent/application.log" # Path the application log in the Policy Agent container @@ -114,6 +119,8 @@ export ECS_INTERNAL_SECURE_PORT=8434 # ECS container export ECS_APP_NAME="ecs" # Name for ECS container ECS_LOGPATH="/var/log/enrichment-coordinator-service/application.log" # Path the application log in the ECS container export ECS_APP_NAME_ALIAS="enrichment-service-container" # Alias name, name used by the control panel +export ECS_HOST_MNT_DIR="./mnt" # Mounted dir, relative to compose file, on the host +export ECS_CONTAINER_MNT_DIR="/var/enrichment-coordinator-service" # Mounted dir in the container export MR_EXTERNAL_PORT=3905 # MR stub container external port (host -> container) export MR_INTERNAL_PORT=3905 # MR stub container internal port (container -> container) @@ -128,6 +135,7 @@ export CR_INTERNAL_PORT=8090 # Callback recei export CR_EXTERNAL_SECURE_PORT=8091 # Callback receiver container external secure port (host -> container) export CR_INTERNAL_SECURE_PORT=8091 # Callback receiver container internal secure port (container -> container) export CR_APP_NAME="callback-receiver" # Name for the Callback receiver +export CR_APP_CALLBACK="/callbacks" # Url for callbacks export PROD_STUB_EXTERNAL_PORT=8092 # Producer stub container external port (host -> container) export PROD_STUB_INTERNAL_PORT=8092 # Producer stub container internal port (container -> container) @@ -187,4 +195,9 @@ ECS_RESTBASE_SECURE="https://localhost:"$ECS_EXTERNAL_SECURE_PORT # Base url to ECS_DMAAPBASE="http://localhost:"$MR_EXTERNAL_PORT # Base url to the Dmaap adapter, http ECS_DMAAPBASE_SECURE="https://localhost:"$MR_EXTERNAL_SECURE_PORT # Base url to the Dmaap adapter, https ECS_ADAPTER=$ECS_RESTBASE # Adapter holds the address the ECS R-APP interface (REST OR DMAAP) - # The values of this var is swiched between the four base url when needed \ No newline at end of file + # The values of this var is swiched between the four base url when needed + +CR_RESTBASE="http://localhost:"$CR_EXTERNAL_PORT # Base url to the Callback receiver REST interface +CR_RESTBASE_SECURE="https://localhost:"$CR_EXTERNAL_SECURE_PORT # Base url to the secure Callback receiver REST interface +CR_ADAPTER=$CR_RESTBASE # Adapter holds the address the CR admin interface (REST only) + # The values of this var is swiched between the two base url when needed \ No newline at end of file