summaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authormukesh.paliwal <mukesh.paliwal1@huawei.com>2021-02-05 17:17:04 +0530
committermukesh.paliwal <mukesh.paliwal1@huawei.com>2021-02-05 17:17:04 +0530
commitfcfabcf68813244f5e1477579d04c9336515a8b1 (patch)
treec42ecb8c672fe60e998903a45b8f9a8f5215a7ae /src/main/resources
parent87d7df45940c72aee1da6d9d1a1d501d103a365a (diff)
Split mso-nssmf-adapter from SO
Issue-ID: SO-3519 Signed-off-by: mukesh.paliwal <mukesh.paliwal1@huawei.com> Change-Id: I103133644417f54aa53e04f141196aef92c40f40
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/META-INF/services/org.onap.so.client.RestProperties1
-rw-r--r--src/main/resources/application-aaf.yaml0
-rw-r--r--src/main/resources/application-basic.yaml0
-rw-r--r--src/main/resources/application-test.yaml60
-rw-r--r--src/main/resources/application.yaml77
-rw-r--r--src/main/resources/org.onap.so.p12bin0 -> 4095 bytes
-rw-r--r--src/main/resources/org.onap.so.trust.jksbin0 -> 1413 bytes
-rw-r--r--src/main/resources/subnetCapability.json10
8 files changed, 148 insertions, 0 deletions
diff --git a/src/main/resources/META-INF/services/org.onap.so.client.RestProperties b/src/main/resources/META-INF/services/org.onap.so.client.RestProperties
new file mode 100644
index 0000000..f93ec63
--- /dev/null
+++ b/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/src/main/resources/application-aaf.yaml b/src/main/resources/application-aaf.yaml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/main/resources/application-aaf.yaml
diff --git a/src/main/resources/application-basic.yaml b/src/main/resources/application-basic.yaml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/main/resources/application-basic.yaml
diff --git a/src/main/resources/application-test.yaml b/src/main/resources/application-test.yaml
new file mode 100644
index 0000000..8e10dfb
--- /dev/null
+++ b/src/main/resources/application-test.yaml
@@ -0,0 +1,60 @@
+
+aai:
+ auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
+ endpoint: https://aai.onap:30233
+logging:
+ path: logs
+
+spring:
+ datasource:
+ jdbcUrl: jdbc:mariadb://49.232.146.162:8989/requestdb
+ username: root
+ password: 123456
+ driver-class-name: org.mariadb.jdbc.Driver
+ initialization-mode: always
+ jpa:
+ generate-ddl: false
+ show-sql: false
+ hibernate:
+ ddl-auto: none
+ naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
+ enable-lazy-load-no-trans: true
+ database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
+ security:
+ usercredentials:
+ - username: bpel
+ password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
+ role: BPEL-Client
+ - username: mso_admin
+ password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
+ role: ACTUATOR
+server:
+ port: 8080
+ tomcat:
+ max-threads: 50
+
+mso:
+ key: 07a7159d3bf51a0e53be7a8f89699be7
+ site-name: localSite
+ logPath: ./logs/nssmf
+ adapters:
+ requestDb:
+ endpoint: https://so-request-db-adapter.onap:8083
+ auth: Basic YnBlbDpwYXNzd29yZDEk
+ infra:
+ endpoint: https://so.onap:8080
+ auth: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==
+
+#Actuator
+management:
+ endpoints:
+ web:
+ base-path: /manage
+ exposure:
+ include: "*"
+ metrics:
+ se-global-registry: false
+ export:
+ prometheus:
+ enabled: true # Whether exporting of metrics to Prometheus is enabled.
+ step: 1m # Step size (i.e. reporting frequency) to use. \ No newline at end of file
diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml
new file mode 100644
index 0000000..5501fba
--- /dev/null
+++ b/src/main/resources/application.yaml
@@ -0,0 +1,77 @@
+#
+# ============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:
+ jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
+ username: ${DB_USERNAME}
+ password: ${DB_PASSWORD}
+ driver-class-name: org.mariadb.jdbc.Driver
+ 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
+ security:
+ usercredentials:
+ - username: bpel
+ password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
+ role: BPEL-Client
+ - username: mso_admin
+ password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
+ role: ACTUATOR
+
+server:
+ port: 8080
+ tomcat:
+ max-threads: 50
+
+mso:
+ key: 07a7159d3bf51a0e53be7a8f89699be7
+ site-name: localSite
+ logPath: ./logs/nssmf
+ adapters:
+ requestDb:
+ endpoint: https://so-request-db-adapter.{{ include "common.namespace" . }}:8083
+ auth: Basic YnBlbDpwYXNzd29yZDEk
+ infra:
+ endpoint: http://so.onap:8080
+ auth: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==
+
+#Actuator
+management:
+ endpoints:
+ web:
+ base-path: /manage
+ exposure:
+ include: "*"
+ metrics:
+ se-global-registry: false
+ export:
+ prometheus:
+ enabled: true # Whether exporting of metrics to Prometheus is enabled.
+ step: 1m # Step size (i.e. reporting frequency) to use.
diff --git a/src/main/resources/org.onap.so.p12 b/src/main/resources/org.onap.so.p12
new file mode 100644
index 0000000..79631bf
--- /dev/null
+++ b/src/main/resources/org.onap.so.p12
Binary files differ
diff --git a/src/main/resources/org.onap.so.trust.jks b/src/main/resources/org.onap.so.trust.jks
new file mode 100644
index 0000000..6f8168d
--- /dev/null
+++ b/src/main/resources/org.onap.so.trust.jks
Binary files differ
diff --git a/src/main/resources/subnetCapability.json b/src/main/resources/subnetCapability.json
new file mode 100644
index 0000000..8753e85
--- /dev/null
+++ b/src/main/resources/subnetCapability.json
@@ -0,0 +1,10 @@
+{
+ "AN": {
+ "latency": 5,
+ "maxNumberofUEs": "100"
+ },
+ "CN": {
+ "latency": 5,
+ "maxNumberofConns": "100"
+ }
+}