aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc
diff options
context:
space:
mode:
authorJerome Doucerain <jerome.doucerain@bell.ca>2018-09-21 13:55:52 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-21 13:55:52 +0000
commit2ddb1640aa71d3114d515d0c912bfdce848e28bd (patch)
tree95b5dbd44b0ad79bc1efd9f7b73efc0bc8f8b818 /kubernetes/sdnc
parent885cc2df865888d8f68b218e8fe30f40d62b4fde (diff)
parent43c67e08c6ea24689a6d06a56b601a827a6e912e (diff)
Merge "Add missing properties files to SDNC"
Diffstat (limited to 'kubernetes/sdnc')
-rw-r--r--kubernetes/sdnc/resources/config/conf/blueprints-processor-adaptor.properties35
-rw-r--r--kubernetes/sdnc/templates/statefulset.yaml6
2 files changed, 41 insertions, 0 deletions
diff --git a/kubernetes/sdnc/resources/config/conf/blueprints-processor-adaptor.properties b/kubernetes/sdnc/resources/config/conf/blueprints-processor-adaptor.properties
new file mode 100644
index 0000000000..eb17d09882
--- /dev/null
+++ b/kubernetes/sdnc/resources/config/conf/blueprints-processor-adaptor.properties
@@ -0,0 +1,35 @@
+###
+# Copyright � 2017-2018 AT&T Intellectual Property.
+# Modifications Copyright � 2018 IBM.
+#
+# 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.
+###
+#
+# Configuration file for SDNC Controller Module
+#
+
+org.onap.ccsdk.features.rest.adaptors.envtype=solo
+
+# Config Generator Microservices
+org.onap.ccsdk.features.rest.adaptors.modelservice.type=generic
+org.onap.ccsdk.features.rest.adaptors.modelservice.enable=true
+org.onap.ccsdk.features.rest.adaptors.modelservice.url=http://controller-blueprints:8080/api/v1/
+org.onap.ccsdk.features.rest.adaptors.modelservice.user=ccsdkapps
+org.onap.ccsdk.features.rest.adaptors.modelservice.passwd=ccsdkapps
+
+# Generic RESTCONF Adaptor
+org.onap.ccsdk.features.rest.adaptors.restconf.type=generic
+org.onap.ccsdk.features.rest.adaptors.restconf.enable=true
+org.onap.ccsdk.features.rest.adaptors.restconf.user=admin
+org.onap.ccsdk.features.rest.adaptors.restconf.passwd={{ .Values.config.odlPassword}}
+org.onap.ccsdk.features.rest.adaptors.restconf.url=http://sdnc:8282/restconf/
diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml
index 8c52e5c20e..784bc6982f 100644
--- a/kubernetes/sdnc/templates/statefulset.yaml
+++ b/kubernetes/sdnc/templates/statefulset.yaml
@@ -123,6 +123,12 @@ spec:
- mountPath: /opt/onap/sdnc/svclogic/config/svclogic.properties
name: properties
subPath: svclogic.properties
+ - mountPath: {{ .Values.config.configDir }}/netbox.properties
+ name: properties
+ subPath: netbox.properties
+ - mountPath: {{ .Values.config.configDir }}/blueprints-processor-adaptor.properties
+ name: properties
+ subPath: blueprints-processor-adaptor.properties
- mountPath: {{ .Values.persistence.mdsalPath }}
name: {{ include "common.fullname" . }}-mdsal
- mountPath: /var/log/onap