X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Ftest_env-onap-master.sh;h=29647bd2f88284b2c1069ebf713e4462f9633508;hb=5343c3097bd7ae1c1c8d5f0409803c0c60034805;hp=da6906dc6dc5bab6fa506a27619faa9bed4926a0;hpb=b65d77a754c356931b82c8edf6b29759d294ea51;p=nonrtric.git diff --git a/test/common/test_env-onap-master.sh b/test/common/test_env-onap-master.sh index da6906dc..29647bd2 100644 --- a/test/common/test_env-onap-master.sh +++ b/test/common/test_env-onap-master.sh @@ -16,6 +16,9 @@ # limitations under the License. # ============LICENSE_END================================================= # +#Profile for ONAP master +TEST_ENV_PROFILE="ONAP-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. @@ -51,7 +54,7 @@ SDNC_A1_CONTROLLER_REMOTE_IMAGE_TAG="2.1.0-STAGING-latest" #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,7 +67,7 @@ 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 @@ -98,7 +101,7 @@ export POLICY_AGENT_INTERNAL_PORT=8081 # Policy Agent c 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" +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 @@ -112,6 +115,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) @@ -126,6 +131,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 +193,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