Align HV-VES tests to use mounted config file instead of Consul
[integration/csit.git] / plans / dcaegen2-collectors-hv-ves / testsuites / env_local.sh
1 #!/usr/bin/env bash
2 # ============LICENSE_START=======================================================
3 # csit-dcaegen2-collectors-hv-ves
4 # ================================================================================
5 # Copyright (C) 2019 NOKIA
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #      http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
19
20 export WORKSPACE=$(git rev-parse --show-toplevel)
21 export ROBOT_VARIABLES="--pythonpath ${WORKSPACE}/tests/dcaegen2-collectors-hv-ves/testcases/libraries --noncritical non-critical"
22
23 export JAVA_OPTS="-Dio.netty.leakDetection.level=paranoid"
24 export CONSUL_HOST="consul-server"
25 export CONFIG_BINDING_SERVICE="config-binding-service"
26 export CONFIG_BINDING_SERVICE_SERVICE_PORT="10000"
27 export CBS_CLIENT_CONFIG_PATH=/etc/ves-hv/configuration/hv-ves-configuration.yaml
28
29 export ONAP_NEXUS_REGISTRY="nexus3.onap.org:10001"
30 export DOCKER_REGISTRY=${ONAP_NEXUS_REGISTRY}
31 export DOCKER_REGISTRY_PREFIX="${DOCKER_REGISTRY}/"
32
33 export KAFKA_IMAGE_FULL_NAME="${ONAP_NEXUS_REGISTRY}/onap/dmaap/kafka111:0.0.6"
34 export ZOOKEEPER_IMAGE_FULL_NAME="${ONAP_NEXUS_REGISTRY}/onap/dmaap/zookeeper:4.0.0"
35
36 export CONTAINERS_NETWORK="hv-ves-${RANDOM}"
37 export HV_VES_SERVICE_NAME="hv-ves-collector"
38 export UNENCRYPTED_HV_VES_SERVICE_NAME="unencrypted-hv-ves-collector"
39
40 export HV_VES_GROUP_ID="org.onap.dcaegen2.collectors.hv-ves"
41 export HV_VES_HOSTNAME="dcae-hv-ves-collector"
42 export HV_VES_COLLECTOR_NAMESPACE="onap"
43 export HV_VES_HEALTHCHECK_CMD="curl --request GET --fail --silent --show-error localhost:6060/health/ready && nc -vz localhost 6061"
44 export HV_VES_VERSION="latest"
45 export HV_VES_IMAGE="hv-collector-main"
46 export DCAE_APP_SIMULATOR_IMAGE="hv-collector-dcae-app-simulator"
47 export XNF_SIMULATOR_IMAGE="hv-ves-collector-xnf-simulator"