3 # Copyright (c) 2017-2022 AT&T, IBM, Bell Canada, Nordix Foundation.
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
18 ### START -Controller Blueprints Properties
19 # Load Resource Source Mappings
21 resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,sdnc=source-rest,aai-data=source-rest,capability=source-capability,rest=source-rest,vault-data=source-rest,script=source-capability,cps-data=source-rest
23 # Blueprint Processor File Execution and Handling Properties
24 blueprintsprocessor.blueprintDeployPath=/opt/app/onap/blueprints/deploy
25 blueprintsprocessor.blueprintArchivePath=/opt/app/onap/blueprints/archive
26 blueprintsprocessor.blueprintWorkingPath=/opt/app/onap/blueprints/working
28 # blueprints.load.initial-data may be overridden by ENV variables
29 blueprintsprocessor.loadInitialData=true
30 blueprintsprocessor.loadBluePrint=true
31 blueprintsprocessor.loadBluePrintPaths=/opt/app/onap/model-catalog/blueprint-model/service-blueprint
32 blueprintsprocessor.loadModelType=true
33 blueprintsprocessor.loadModeTypePaths=/opt/app/onap/model-catalog/definition-type/starter-type
34 blueprintsprocessor.loadResourceDictionary=true
35 blueprintsprocessor.loadResourceDictionaryPaths=/opt/app/onap/model-catalog/resource-dictionary/starter-dictionary
38 controllerblueprints.loadCbaExtension=zip
40 ### END -Controller Blueprints Properties
42 blueprintsprocessor.grpcEnable=true
43 blueprintsprocessor.httpPort=8080
44 blueprintsprocessor.grpcPort=9111
47 blueprintsprocessor.db.url=jdbc:mysql://{{.Values.config.cdsDB.dbServer}}:{{.Values.config.cdsDB.dbPort}}/{{.Values.config.cdsDB.dbName}}
48 blueprintsprocessor.db.username=${CDS_DB_USERNAME}
49 blueprintsprocessor.db.password=${CDS_DB_PASSWORD}
50 blueprintsprocessor.db.driverClassName=org.mariadb.jdbc.Driver
51 blueprintsprocessor.db.hibernateHbm2ddlAuto=update
52 blueprintsprocessor.db.hibernateDDLAuto=update
53 blueprintsprocessor.db.hibernateNamingStrategy=org.hibernate.cfg.ImprovedNamingStrategy
54 blueprintsprocessor.db.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialect
56 # processor-db endpoint
57 blueprintsprocessor.db.processor-db.type=maria-db
58 blueprintsprocessor.db.processor-db.url=jdbc:mysql://{{ .Values.config.sdncDB.dbService }}:{{ .Values.config.sdncDB.dbPort }}/{{.Values.config.sdncDB.dbName}}
59 blueprintsprocessor.db.processor-db.username=${SDNC_DB_USERNAME}
60 blueprintsprocessor.db.processor-db.password=${SDNC_DB_PASSWORD}
63 blueprints.processor.functions.python.executor.executionPath=/opt/app/onap/scripts/jython/ccsdk_blueprints
64 blueprints.processor.functions.python.executor.modulePaths=/opt/app/onap/scripts/jython/ccsdk_blueprints,/opt/app/onap/scripts/jython/ccsdk_netconf,/opt/app/onap/scripts/jython/ccsdk_restconf
66 security.user.password: {bcrypt}$2a$10$duaUzVUVW0YPQCSIbGEkQOXwafZGwQ/b32/Ys4R1iwSSawFgz7QNu
67 security.user.name: ccsdkapps
70 error.catalog.applicationId=cds
71 error.catalog.type=properties
72 error.catalog.errorDefinitionFileDirectory=/opt/app/onap/config
74 # SDN-C's ODL Restconf Connection Details
75 blueprintsprocessor.restconfEnabled=true
76 blueprintsprocessor.restclient.sdncodl.type=basic-auth
77 blueprintsprocessor.restclient.sdncodl.url=http://{{ .Values.global.sdncOamService }}:{{ .Values.global.sdncOamPort }}/
78 blueprintsprocessor.restclient.sdncodl.username=admin
79 blueprintsprocessor.restclient.sdncodl.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
82 blueprintprocessor.resourceResolution.enabled=true
83 blueprintprocessor.netconfExecutor.enabled=true
84 blueprintprocessor.restConfExecutor.enabled=true
85 blueprintprocessor.remoteScriptCommand.enabled=true
86 blueprintsprocessor.remote-script-command.response.log.enabled=false
89 blueprintsprocessor.grpcclient.remote-python.type=token-auth
90 blueprintsprocessor.grpcclient.remote-python.host=cds-command-executor
91 blueprintsprocessor.grpcclient.remote-python.port=50051
92 blueprintsprocessor.grpcclient.remote-python.token=Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
93 blueprintsprocessor.grpcclient.py-executor.host=py-executor-default:50052
94 blueprintsprocessor.grpcclient.py-executor.trustCertCollection=/opt/app/onap/config/certs/py-executor/py-executor-chain.pem
95 blueprintsprocessor.grpcclient.py-executor.type=tls-auth
96 # Config Data REST client settings
97 blueprintsprocessor.restclient.sdnc.type=basic-auth
98 blueprintsprocessor.restclient.sdnc.url=http://{{ .Values.global.sdncOamService }}:{{ .Values.global.sdncOamPort }}
99 blueprintsprocessor.restclient.sdnc.username=admin
100 blueprintsprocessor.restclient.sdnc.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
102 # AAI Data REST Client settings
103 blueprintsprocessor.restclient.aai-data.type=basic-auth
104 {{ if ( include "common.needTLS" .) }}
105 blueprintsprocessor.restclient.aai-data.url=https://{{ .Values.global.aaiData.ServiceName }}:8443
107 blueprintsprocessor.restclient.aai-data.url=http://{{ .Values.global.aaiData.ServiceName }}:{{ .Values.global.aaiData.ExternalPlainPort }}
109 blueprintsprocessor.restclient.aai-data.username=aai@aai.onap.org
110 blueprintsprocessor.restclient.aai-data.password=demo123456!
111 blueprintsprocessor.restclient.aai-data.additionalHeaders.X-TransactionId=cds-transaction-id
112 blueprintsprocessor.restclient.aai-data.additionalHeaders.X-FromAppId=cds-app-id
113 blueprintsprocessor.restclient.aai-data.additionalHeaders.Accept=application/json
116 blueprintsprocessor.restclient.cps-data.type=basic-auth
117 blueprintsprocessor.restclient.cps-data.url=http://cps-core:8080
118 blueprintsprocessor.restclient.cps-data.username=${CPS_USER}
119 blueprintsprocessor.restclient.cps-data.password=${CPS_PASS_PLAIN}
120 blueprintsprocessor.restclient.cps-data.additionalHeaders.Accept=application/json
121 blueprintsprocessor.restclient.cps-data.additionalHeaders.Content-Type=application/json
123 # Self Service Request Kafka Message Consumer
124 blueprintsprocessor.messageconsumer.self-service-api.kafkaEnable={{ .Values.kafkaRequestConsumer.enabled }}
125 blueprintsprocessor.messageconsumer.self-service-api.type={{ .Values.kafkaRequestConsumer.type }}
126 {{ if eq .Values.useStrimziKafka true }}
127 blueprintsprocessor.messageconsumer.self-service-api.bootstrapServers={{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
129 blueprintsprocessor.messageconsumer.self-service-api.bootstrapServers={{ .Values.kafkaRequestConsumer.bootstrapServers }}
131 blueprintsprocessor.messageconsumer.self-service-api.groupId={{ .Values.kafkaRequestConsumer.groupId }}
132 blueprintsprocessor.messageconsumer.self-service-api.topic={{ .Values.kafkaRequestConsumer.topic }}
133 blueprintsprocessor.messageconsumer.self-service-api.clientId={{ .Values.kafkaRequestConsumer.clientId }}
134 blueprintsprocessor.messageconsumer.self-service-api.pollMillSec={{ .Values.kafkaRequestConsumer.pollMillSec }}
135 {{ if and (eq .Values.kafkaRequestConsumer.type "kafka-scram-plain-text-auth") (eq .Values.useStrimziKafka true) }}
137 blueprintsprocessor.messageconsumer.self-service-api.scramUsername={{ include "common.release" . }}-{{ .Values.cdsKafkaUser }}
138 blueprintsprocessor.messageconsumer.self-service-api.scramPassword=${JAAS_PASS}
141 # Self Service Response Kafka Message Producer
142 blueprintsprocessor.messageproducer.self-service-api.type={{ .Values.kafkaRequestProducer.type }}
143 {{ if eq .Values.useStrimziKafka true }}
144 blueprintsprocessor.messageproducer.self-service-api.bootstrapServers={{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
146 blueprintsprocessor.messageproducer.self-service-api.bootstrapServers={{ .Values.kafkaRequestProducer.bootstrapServers }}
148 blueprintsprocessor.messageproducer.self-service-api.clientId={{ .Values.kafkaRequestProducer.clientId }}
149 blueprintsprocessor.messageproducer.self-service-api.topic={{ .Values.kafkaRequestProducer.topic }}
150 {{ if and (eq .Values.kafkaRequestConsumer.type "kafka-scram-plain-text-auth") (eq .Values.useStrimziKafka true) }}
152 blueprintsprocessor.messageproducer.self-service-api.scramUsername={{ include "common.release" . }}-{{ .Values.cdsKafkaUser }}
153 blueprintsprocessor.messageproducer.self-service-api.scramPassword=${JAAS_PASS}
156 # AUDIT KAFKA FEATURE CONFIGURATION
157 # Audit feature dumps CDS request to a topic as well as a truncated response message to another topic.
159 blueprintsprocessor.messageproducer.self-service-api.audit.kafkaEnable={{ .Values.kafkaAuditRequest.enabled }}
160 blueprintsprocessor.messageproducer.self-service-api.audit.request.type={{ .Values.kafkaAuditRequest.type }}
161 {{ if eq .Values.useStrimziKafka true }}
162 blueprintsprocessor.messageproducer.self-service-api.audit.request.bootstrapServers={{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
164 blueprintsprocessor.messageproducer.self-service-api.audit.request.bootstrapServers={{ .Values.kafkaAuditRequest.bootstrapServers }}
166 blueprintsprocessor.messageproducer.self-service-api.audit.request.clientId={{ .Values.kafkaAuditRequest.clientId }}
167 blueprintsprocessor.messageproducer.self-service-api.audit.request.topic={{ .Values.kafkaAuditRequest.topic }}
168 {{ if and (eq .Values.kafkaRequestConsumer.type "kafka-scram-plain-text-auth") (eq .Values.useStrimziKafka true) }}
170 blueprintsprocessor.messageproducer.self-service-api.audit.request.scramUsername={{ include "common.release" . }}-{{ .Values.cdsKafkaUser }}
171 blueprintsprocessor.messageproducer.self-service-api.audit.request.scramPassword=${JAAS_PASS}
175 blueprintsprocessor.messageproducer.self-service-api.audit.response.type={{ .Values.kafkaAuditResponse.type }}
176 {{ if eq .Values.useStrimziKafka true }}
177 blueprintsprocessor.messageproducer.self-service-api.audit.response.bootstrapServers={{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
179 blueprintsprocessor.messageproducer.self-service-api.audit.response.bootstrapServers={{ .Values.kafkaAuditRequest.bootstrapServers }}
181 blueprintsprocessor.messageproducer.self-service-api.audit.response.clientId={{ .Values.kafkaAuditResponse.clientId }}
182 blueprintsprocessor.messageproducer.self-service-api.audit.response.topic={{ .Values.kafkaAuditResponse.topic }}
183 {{ if and (eq .Values.kafkaRequestConsumer.type "kafka-scram-plain-text-auth") (eq .Values.useStrimziKafka true) }}
185 blueprintsprocessor.messageproducer.self-service-api.audit.response.scramUsername={{ include "common.release" . }}-{{ .Values.cdsKafkaUser }}
186 blueprintsprocessor.messageproducer.self-service-api.audit.response.scramPassword=${JAAS_PASS}
190 blueprintsprocessor.resourceResolution.enabled=true
191 blueprintsprocessor.netconfExecutor.enabled=true
192 blueprintsprocessor.restConfExecutor.enabled=true
193 blueprintsprocessor.cliExecutor.enabled=true
194 blueprintsprocessor.remoteScriptCommand.enabled=true
195 ## Enable py-executor
196 blueprintsprocessor.streamingRemoteExecution.enabled=true
198 ## Used in Health Check
199 #blueprintsprocessor.messageproducer.self-service-api.type=kafka-basic-auth
200 #blueprintsprocessor.messageproducer.self-service-api.clientId=cds-client
201 #blueprintsprocessor.messageproducer.self-service-api.topic=cds-producer
204 #Encrypted username and password for health check service
205 endpoints.user.name=eHbVUbJAj4AG2522cSbrOQ==
206 endpoints.user.password=eHbVUbJAj4AG2522cSbrOQ==
208 #BaseUrls for health check blueprint processor services
209 blueprintprocessor.healthcheck.baseUrl=http://cds-blueprints-processor-http:8080/
210 blueprintprocessor.healthcheck.mapping-service-name-with-service-link=[Execution service,/api/v1/execution-service/health-check],[Resources service,/api/v1/resources/health-check],[Template service,/api/v1/template/health-check]
212 #BaseUrls for health check Cds Listener services
213 cdslistener.healthcheck.baseUrl=http://cds-sdc-listener:8080/
214 cdslistener.healthcheck.mapping-service-name-with-service-link=[SDC Listener service,/api/v1/sdclistener/healthcheck]
217 management.endpoints.web.exposure.include=*
218 management.endpoint.health.show-details=always
220 #K8s Plugin properties
221 #Credentials are placeholders as k8s plugin has not authentication atm
222 blueprintprocessor.k8s.plugin.username=unused
223 blueprintprocessor.k8s.plugin.password=unused
224 blueprintprocessor.k8s.plugin.url=http://multicloud-k8s:9015/
226 #Workflow audit store configuration
227 blueprintsprocessor.workflow.self-service-api.audit.storeEnable={{ .Values.workflow.storeEnabled }}