diff options
author | MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> | 2021-05-22 22:45:54 +0530 |
---|---|---|
committer | MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> | 2021-05-31 20:09:45 +0530 |
commit | 7d9a8742d4bf5f0d98003b6836b09f6ff17b0331 (patch) | |
tree | b10904d6faaca5e9264bc3874d6b61273bb47651 /plans/so/macroflow | |
parent | 14e7ac625932814feaa8fb5f0545f327a5766a2d (diff) |
Added CSIT for Macroflow with HELM
Issue-ID: SO-3585
Signed-off-by: MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com>
Change-Id: I3eb3ec1005f19fc109e28b1e709bdc0d32f1180a
Diffstat (limited to 'plans/so/macroflow')
-rwxr-xr-x | plans/so/macroflow/config/distribution-test-zip/macro_helm_zipped_sdc_csar.tar.gz | bin | 0 -> 88510 bytes | |||
-rw-r--r-- | plans/so/macroflow/config/env | 1 | ||||
-rw-r--r-- | plans/so/macroflow/config/override-files/cnf-adapter/onapheat/override.yaml | 56 | ||||
-rw-r--r-- | plans/so/macroflow/config/override-files/openstack-adapter/onapheat/override.yaml | 4 | ||||
-rw-r--r-- | plans/so/macroflow/docker-compose.local.yml | 3 | ||||
-rw-r--r-- | plans/so/macroflow/docker-compose.yml | 42 | ||||
-rw-r--r-- | plans/so/macroflow/testplan.txt | 1 |
7 files changed, 99 insertions, 8 deletions
diff --git a/plans/so/macroflow/config/distribution-test-zip/macro_helm_zipped_sdc_csar.tar.gz b/plans/so/macroflow/config/distribution-test-zip/macro_helm_zipped_sdc_csar.tar.gz Binary files differnew file mode 100755 index 00000000..c06f4907 --- /dev/null +++ b/plans/so/macroflow/config/distribution-test-zip/macro_helm_zipped_sdc_csar.tar.gz diff --git a/plans/so/macroflow/config/env b/plans/so/macroflow/config/env index f5453e95..86a88274 100644 --- a/plans/so/macroflow/config/env +++ b/plans/so/macroflow/config/env @@ -4,4 +4,5 @@ TAG=1.8.0-STAGING-latest TIME_OUT_DEFAULT_VALUE_SEC=1200 PROJECT_NAME=macroflowintegrationtesting DEFAULT_NETWORK_NAME=macroflowintegrationtesting_default +CNF_ADAPTER_IMAGE_VERSION=1.8.2 MARIADB_VERSION=10.5.8 diff --git a/plans/so/macroflow/config/override-files/cnf-adapter/onapheat/override.yaml b/plans/so/macroflow/config/override-files/cnf-adapter/onapheat/override.yaml new file mode 100644 index 00000000..27425833 --- /dev/null +++ b/plans/so/macroflow/config/override-files/cnf-adapter/onapheat/override.yaml @@ -0,0 +1,56 @@ +# Copyright 2020 Huawei Technologies Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +logging: + path: logs + +server: + port: 8090 + tomcat: + max-threads: 50 + +mso: + auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4 + msoKey: 07a7159d3bf51a0e53be7a8f89699be7 + logPath: ./logs/cnf + msb-ip: multicloud-k8s + msb-port: 9015 + msb-scheme: http +spring: + security: + usercredentials: + - + username: apihBpmn + password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke' + role: BPMN-Client + - + username: sdncaBpmn + password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke' + role: BPMN-Client + - + username: poBpmn + password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke' + role: BPMN-Client + - + username: wmaBpmn + password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke' + role: BPMN-Client + - + username: sniro + password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke' + role: SNIRO-Client + - + username: mso_admin + password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke' + role: ACTUATOR diff --git a/plans/so/macroflow/config/override-files/openstack-adapter/onapheat/override.yaml b/plans/so/macroflow/config/override-files/openstack-adapter/onapheat/override.yaml index 7e2afa85..1b5e9966 100644 --- a/plans/so/macroflow/config/override-files/openstack-adapter/onapheat/override.yaml +++ b/plans/so/macroflow/config/override-files/openstack-adapter/onapheat/override.yaml @@ -93,8 +93,8 @@ mso: auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4 msoKey: 07a7159d3bf51a0e53be7a8f89699be7 logPath: ./logs/openstack - msb-ip: multicloud-simulator - msb-port: 9996 + msb-ip: multicloud-k8s + msb-port: 9015 msb-scheme: http workflow: endpoint: http://bpmn-infra:8081/sobpmnengine diff --git a/plans/so/macroflow/docker-compose.local.yml b/plans/so/macroflow/docker-compose.local.yml index a796b379..34a5419b 100644 --- a/plans/so/macroflow/docker-compose.local.yml +++ b/plans/so/macroflow/docker-compose.local.yml @@ -16,6 +16,9 @@ services: openstack-adapter: image: onap/so/openstack-adapter:${TAG} ################################################################################ + so-cnf-adapter: + image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/so-cnf-adapter:${TAG} +################################################################################ sdc-controller: image: onap/so/sdc-controller:${TAG} ################################################################################ diff --git a/plans/so/macroflow/docker-compose.yml b/plans/so/macroflow/docker-compose.yml index 5b6bfb23..1bd3fb11 100644 --- a/plans/so/macroflow/docker-compose.yml +++ b/plans/so/macroflow/docker-compose.yml @@ -135,6 +135,36 @@ services: user: root entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"' ################################################################################ + so-cnf-adapter: + image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/so-cnf-adapter:${CNF_ADAPTER_IMAGE_VERSION} + ports: + - "8090:8090" + volumes: + - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates + - ${CONFIG_DIR_PATH_MACRO}/override-files/cnf-adapter/onapheat:/app/config + environment: + - APP=so-cnf-adapter + - JVM_ARGS=-Xms64m -Xmx512m + - DB_HOST=mariadb + - DB_PORT=3306 + - DB_USERNAME=so_user + - DB_PASSWORD=so_User123 + - DB_ADMIN_USERNAME=so_admin + - DB_ADMIN_PASSWORD=so_Admin123 + hostname: + so-cnf-adapter.so.testlab.onap.org + depends_on: + - mariadb + - catalog-db-adapter + - request-db-adapter + logging: + driver: "json-file" + options: + max-size: "30m" + max-file: "5" + user: root + entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"' +#################################################################################### sdc-controller: image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdc-controller:${TAG} ports: @@ -164,7 +194,7 @@ services: max-size: "30m" max-file: "5" user: root - entrypoint: /bin/sh -c 'mkdir -p /distribution-test-zip/unzipped && tar -xvzf /distribution-test-zip/macro_zipped_sdc_csar.tar.gz -C /distribution-test-zip/unzipped && chmod 777 -R /distribution-test-zip/ && /app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"' + entrypoint: /bin/sh -c 'mkdir -p /distribution-test-zip/unzipped && tar -xvzf /distribution-test-zip/macro_zipped_sdc_csar.tar.gz -C /distribution-test-zip/unzipped && tar -xvzf /distribution-test-zip/macro_helm_zipped_sdc_csar.tar.gz -C /distribution-test-zip/unzipped && chmod 777 -R /distribution-test-zip/ && /app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"' ################################################################################ bpmn-infra: image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/bpmn-infra:${TAG} @@ -294,17 +324,17 @@ services: max-size: "30m" max-file: "5" ################################################################################# - multicloud-simulator: + multicloud-k8s: image: simulators/multicloud-simulator:latest ports: - - "9996:9996" + - "9015:9015" environment: - - APP=MULTICLOUD-SIMULATOR + - APP=multicloud-k8s - JVM_ARGS=-Xms64m -Xmx512m hostname: - multicloud-simulator + multicloud-k8s depends_on: - - mariadb + - mariadb logging: driver: "json-file" options: diff --git a/plans/so/macroflow/testplan.txt b/plans/so/macroflow/testplan.txt index 00a8d8b7..3e4ff102 100644 --- a/plans/so/macroflow/testplan.txt +++ b/plans/so/macroflow/testplan.txt @@ -1,3 +1,4 @@ # Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. so/sanity-check/macroflow.robot +so/sanity-check/macroflow_helm.robot |