aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormukesh.paliwal1@huawei.com <mukesh.paliwal1@huawei.com>2020-08-12 18:05:03 +0530
committermukesh.paliwal1@huawei.com <mukesh.paliwal1@huawei.com>2020-08-12 18:05:03 +0530
commit9e374ff74271522be59970172691c730fbe9fd5b (patch)
tree050d1cdfa07b2f9e46190f31169b95456e59a320
parent5da344340bb10fdc06fcbb2c831bc6778fa78aa5 (diff)
Add new ve-vnfm adapter in docker-config
Issue-ID: SO-3148 Signed-off-by: mukesh.paliwal1@huawei.com <mukesh.paliwal1@huawei.com> Change-Id: I2069e38c4499308df849db2435e5930fbafc8ba0
-rw-r--r--docker-compose.yml32
-rw-r--r--volumes/so/config/ve-vnfm-adapter/onapheat/override.yaml49
2 files changed, 81 insertions, 0 deletions
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