From 9e374ff74271522be59970172691c730fbe9fd5b Mon Sep 17 00:00:00 2001 From: "mukesh.paliwal1@huawei.com" Date: Wed, 12 Aug 2020 18:05:03 +0530 Subject: [PATCH] Add new ve-vnfm adapter in docker-config Issue-ID: SO-3148 Signed-off-by: mukesh.paliwal1@huawei.com Change-Id: I2069e38c4499308df849db2435e5930fbafc8ba0 --- docker-compose.yml | 32 ++++++++++++++ .../config/ve-vnfm-adapter/onapheat/override.yaml | 49 ++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 volumes/so/config/ve-vnfm-adapter/onapheat/override.yaml diff --git a/docker-compose.yml b/docker-compose.yml index 61695af..e042867 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -375,3 +375,35 @@ services: - request-db-adapter:8083 - -- - "/app/start-app.sh" + ################################################################################ + ve-vnfm-adapter: + image: onap/so/ve-vnfm-adapter + ports: + - "8089:8089" + volumes: + - ./volumes/so/ca-certificates/onapheat:/app/ca-certificates + - ./volumes/so/config/ve-vnfm-adapter/onapheat:/app/config + environment: + - APP=ve-vnfm-adapter + - JVM_ARGS=-Xms64m -Xmx512m + - DB_HOST=mariadb + hostname: + ve-vnfm-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" + command: + - /app/wait-for.sh + - -q + - -t + - "300" + - request-db-adapter:8083 + - -- + - "/app/start-app.sh" + diff --git a/volumes/so/config/ve-vnfm-adapter/onapheat/override.yaml b/volumes/so/config/ve-vnfm-adapter/onapheat/override.yaml new file mode 100644 index 0000000..ef71544 --- /dev/null +++ b/volumes/so/config/ve-vnfm-adapter/onapheat/override.yaml @@ -0,0 +1,49 @@ +# 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. + +server: + port: 8089 + +mso: + key: 07a7159d3bf51a0e53be7a8f89699be7 + +vevnfmadapter: + endpoint: https://msb-iag:30283/api/{{ include "common.servicename" . }}/v1 + +aai: + endpoint: https://aai.onap:30233 + auth: 75C4483F9C05E2C33A8602635FA532397EC44AB667A2B64DED4FEE08DD932F2E3C1FEE + +vnfm: + default-endpoint: https://so-vnfm-simulator.onap:9092 + subscription: /vnflcm/v1/subscriptions + notification: /lcm/v1/vnf/instances/notifications + +notification: + vnf-filter-type: NONE + +dmaap: + endpoint: http://message-router:30227 + topic: /events/unauthenticated.DCAE_CL_OUTPUT + +spring: + security: + usercredentials: + - username: admin + openpass: a4b3c2d1 + password: '$2a$10$vU.mWyNTsikAxXIA5c269ewCpAbYTiyMS0m1N.kn4F2CSGEnrKN7K' + role: USER + http: + converters: + preferred-json-mapper: gson \ No newline at end of file -- 2.16.6