Merge "Add message-router dependency in blueprint-processor for kafka-listener."
[oom.git] / kubernetes / cds / charts / cds-blueprints-processor / resources / config / application.properties
1 #
2 #  Copyright (c) 2017-2019 AT&T, IBM, Bell Canada, Nordix Foundation.
3 #
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #
16 # Web server config
17 ### START -Controller Blueprints Properties
18 # Load Resource Source Mappings
19 resourceSourceMappings=processor-db=source-processor-db,primary-db=source-processor-db,input=source-input,default=source-default,primary-config-data=source-rest,primary-aai-data=source-rest,capability=source-capability
20
21 # Controller Blueprints Core Configuration
22 controllerblueprints.blueprintDeployPath=/opt/app/onap/blueprints/deploy
23 controllerblueprints.blueprintArchivePath=/opt/app/onap/blueprints/archive
24 controllerblueprints.blueprintWorkingPath=/opt/app/onap/blueprints/working
25
26 # Controller Blueprint Load Configurations
27 # blueprints.load.initial-data may be overridden by ENV variables
28 controllerblueprints.loadInitialData=false
29 controllerblueprints.loadBluePrint=false
30 controllerblueprints.loadBluePrintPaths=/opt/app/onap/model-catalog/blueprint-model/service-blueprint
31 controllerblueprints.loadModelType=false
32 controllerblueprints.loadModeTypePaths=/opt/app/onap/model-catalog/definition-type/starter-type
33 controllerblueprints.loadResourceDictionary=false
34 controllerblueprints.loadResourceDictionaryPaths=/opt/app/onap/model-catalog/resource-dictionary/starter-dictionary
35
36 # CBA file extension
37 controllerblueprints.loadCbaExtension=zip
38
39 ### END -Controller Blueprints Properties
40
41 blueprintsprocessor.grpcEnable=true
42 blueprintsprocessor.httpPort=8080
43 blueprintsprocessor.grpcPort=9111
44
45 # Blueprint Processor File Execution and Handling Properties
46 blueprintsprocessor.blueprintDeployPath=/opt/app/onap/blueprints/deploy
47 blueprintsprocessor.blueprintArchivePath=/opt/app/onap/blueprints/archive
48 blueprintsprocessor.blueprintWorkingPath=/opt/app/onap/blueprints/work
49
50 # Primary Database Configuration
51 blueprintsprocessor.db.primary.url=jdbc:mysql://cds-db:3306/sdnctl
52 blueprintsprocessor.db.primary.username=sdnctl
53 blueprintsprocessor.db.primary.password=sdnctl
54 blueprintsprocessor.db.primary.driverClassName=org.mariadb.jdbc.Driver
55 blueprintsprocessor.db.primary.hibernateHbm2ddlAuto=update
56 blueprintsprocessor.db.primary.hibernateDDLAuto=update
57 blueprintsprocessor.db.primary.hibernateNamingStrategy=org.hibernate.cfg.ImprovedNamingStrategy
58 blueprintsprocessor.db.primary.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialect
59
60 # Python executor
61 blueprints.processor.functions.python.executor.executionPath=/opt/app/onap/scripts/jython/ccsdk_blueprints
62 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
63
64 security.user.password: {bcrypt}$2a$10$duaUzVUVW0YPQCSIbGEkQOXwafZGwQ/b32/Ys4R1iwSSawFgz7QNu
65 security.user.name: ccsdkapps
66
67 # SDN-C's ODL Restconf Connection Details
68 blueprintsprocessor.restconfEnabled=true
69 blueprintsprocessor.restclient.sdncodl.type=basic-auth
70 blueprintsprocessor.restclient.sdncodl.url=http://sdnc:8282/
71 blueprintsprocessor.restclient.sdncodl.username=admin
72 blueprintsprocessor.restclient.sdncodl.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
73
74 # Executor Options
75 blueprintprocessor.resourceResolution.enabled=true
76 blueprintprocessor.netconfExecutor.enabled=true
77 blueprintprocessor.restConfExecutor.enabled=true
78 blueprintprocessor.remoteScriptCommand.enabled=true
79
80 # Command executor
81 blueprintsprocessor.grpcclient.remote-python.type=token-auth
82 blueprintsprocessor.grpcclient.remote-python.host=cds-command-executor
83 blueprintsprocessor.grpcclient.remote-python.port=50051
84 blueprintsprocessor.grpcclient.remote-python.token=Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
85
86 # Primary Config Data REST client settings
87 blueprintsprocessor.restclient.primary-config-data.type=basic-auth
88 blueprintsprocessor.restclient.primary-config-data.url=http://sdnc:8282
89 blueprintsprocessor.restclient.primary-config-data.username=admin
90 blueprintsprocessor.restclient.primary-config-data.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
91
92 # Primary AAI Data REST Client settings
93 blueprintsprocessor.restclient.primary-aai-data.type=basic-auth
94 blueprintsprocessor.restclient.primary-aai-data.url=https://aai.onap:8443
95 blueprintsprocessor.restclient.primary-aai-data.username=aai@aai.onap.org
96 blueprintsprocessor.restclient.primary-aai-data.password=demo123456!
97
98 # Kafka-message-lib Configuration
99 blueprintsprocessor.messageclient.self-service-api.topic=cds-producer
100 blueprintsprocessor.messageclient.self-service-api.type=kafka-basic-auth
101
102 ##ONAP Message Router Kafka Service##
103 blueprintsprocessor.messageclient.self-service-api.bootstrapServers=message-router-kafka:9092
104
105 blueprintsprocessor.messageclient.self-service-api.consumerTopic=cds-consumer
106 blueprintsprocessor.messageclient.self-service-api.groupId=cds-consumer-group
107 blueprintsprocessor.messageclient.self-service-api.clientId=cds-client
108 blueprintsprocessor.messageclient.self-service-api.kafkaEnable=false
109