From 08a83ba5c0e9a442d13decb61e17c4d34e953f4c Mon Sep 17 00:00:00 2001 From: jananib Date: Fri, 28 Feb 2020 18:25:01 +0530 Subject: Adding resources for adapter Resource in NSSMF adapter Change-Id: Iead3bab39d9699354ef8f370f6d658c144ad3f2c Issue-ID: SO-2544 Signed-off-by: jananib --- .../services/org.onap.so.client.RestProperties | 1 + .../src/main/resources/application.yaml | 61 +++++++++++++++++++++ .../mso-nssmf-adapter/src/main/resources/nssmf.jks | Bin 0 -> 1386 bytes .../mso-nssmf-adapter/src/main/resources/nssmf.p12 | Bin 0 -> 1616 bytes .../src/main/resources/org.onap.so.jks | Bin 0 -> 1386 bytes .../src/main/resources/org.onap.so.p12 | Bin 0 -> 1616 bytes 6 files changed, 62 insertions(+) create mode 100644 adapters/mso-nssmf-adapter/src/main/resources/META-INF/services/org.onap.so.client.RestProperties create mode 100644 adapters/mso-nssmf-adapter/src/main/resources/application.yaml create mode 100644 adapters/mso-nssmf-adapter/src/main/resources/nssmf.jks create mode 100644 adapters/mso-nssmf-adapter/src/main/resources/nssmf.p12 create mode 100644 adapters/mso-nssmf-adapter/src/main/resources/org.onap.so.jks create mode 100644 adapters/mso-nssmf-adapter/src/main/resources/org.onap.so.p12 diff --git a/adapters/mso-nssmf-adapter/src/main/resources/META-INF/services/org.onap.so.client.RestProperties b/adapters/mso-nssmf-adapter/src/main/resources/META-INF/services/org.onap.so.client.RestProperties new file mode 100644 index 0000000000..f93ec63f37 --- /dev/null +++ b/adapters/mso-nssmf-adapter/src/main/resources/META-INF/services/org.onap.so.client.RestProperties @@ -0,0 +1 @@ +org.onap.so.adapters.nssmf.extclients.aai.AaiClientPropertiesImpl \ No newline at end of file diff --git a/adapters/mso-nssmf-adapter/src/main/resources/application.yaml b/adapters/mso-nssmf-adapter/src/main/resources/application.yaml new file mode 100644 index 0000000000..cb2f04d7ec --- /dev/null +++ b/adapters/mso-nssmf-adapter/src/main/resources/application.yaml @@ -0,0 +1,61 @@ +# +# ============LICENSE_START======================================================= +# ONAP - SO +# ================================================================================ +# Copyright (C) 2020 Huawei Technologies Co., Ltd. All rights reserved. +# ================================================================================ +# 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. +# ============LICENSE_END========================================================= +#/ +aai: + auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586 + endpoint: https://aai.onap:30233 +logging: + path: logs + +spring: + datasource: + driver-class-name: org.mariadb.jdbc.Driver + jdbcUrl: jdbc:mariadb://192.168.235.44:30444/requestdb + username: root + password: secretpassword + + jpa: + show-sql: false + hibernate: + dialect: org.hibernate.dialect.MySQL5Dialect + ddl-auto: validate + naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy + enable-lazy-load-no-trans: true +server: + port: 8080 + tomcat: + max-threads: 50 + +mso: + key: 07a7159d3bf51a0e53be7a8f89699be7 + site-name: localSite + logPath: ./logs/nssmf + msb-ip: msb-iag.{{ include "common.namespace" . }} + msb-port: 80 + adapters: + requestDb: + endpoint: https://so-request-db-adapter.{{ include "common.namespace" . }}:8083 + auth: Basic YnBlbDpwYXNzd29yZDEk + +#Actuator +management: + security: + enabled: false + basic: + enabled: false \ No newline at end of file diff --git a/adapters/mso-nssmf-adapter/src/main/resources/nssmf.jks b/adapters/mso-nssmf-adapter/src/main/resources/nssmf.jks new file mode 100644 index 0000000000..2ecce5bd3d Binary files /dev/null and b/adapters/mso-nssmf-adapter/src/main/resources/nssmf.jks differ diff --git a/adapters/mso-nssmf-adapter/src/main/resources/nssmf.p12 b/adapters/mso-nssmf-adapter/src/main/resources/nssmf.p12 new file mode 100644 index 0000000000..25e7fbfca9 Binary files /dev/null and b/adapters/mso-nssmf-adapter/src/main/resources/nssmf.p12 differ diff --git a/adapters/mso-nssmf-adapter/src/main/resources/org.onap.so.jks b/adapters/mso-nssmf-adapter/src/main/resources/org.onap.so.jks new file mode 100644 index 0000000000..f7cd9e8f86 Binary files /dev/null and b/adapters/mso-nssmf-adapter/src/main/resources/org.onap.so.jks differ diff --git a/adapters/mso-nssmf-adapter/src/main/resources/org.onap.so.p12 b/adapters/mso-nssmf-adapter/src/main/resources/org.onap.so.p12 new file mode 100644 index 0000000000..1927b1f13f Binary files /dev/null and b/adapters/mso-nssmf-adapter/src/main/resources/org.onap.so.p12 differ -- cgit 1.2.3-korg