Merge "Align blueprint oom application properties."
[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-db,input=source-input,default=source-default,config-data=source-rest,aai-data=source-rest,capability=source-capability
20
21 # Controller Blueprints Core Configuration
22 # Blueprint Processor File Execution and Handling Properties
23 blueprintsprocessor.blueprintDeployPath=/opt/app/onap/blueprints/deploy
24 blueprintsprocessor.blueprintArchivePath=/opt/app/onap/blueprints/archive
25 blueprintsprocessor.blueprintWorkingPath=/opt/app/onap/blueprints/working
26
27 # Controller Blueprint Load Configurations
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
36
37 # CBA file extension
38 controllerblueprints.loadCbaExtension=zip
39
40 ### END -Controller Blueprints Properties
41
42 blueprintsprocessor.grpcEnable=true
43 blueprintsprocessor.httpPort=8080
44 blueprintsprocessor.grpcPort=9111
45
46 # Primary Database Configuration
47 blueprintsprocessor.db.url=jdbc:mysql://cds-db:3306/sdnctl
48 blueprintsprocessor.db.username=sdnctl
49 blueprintsprocessor.db.password=sdnctl
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
55
56 # Python executor
57 blueprints.processor.functions.python.executor.executionPath=/opt/app/onap/scripts/jython/ccsdk_blueprints
58 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
59
60 security.user.password: {bcrypt}$2a$10$duaUzVUVW0YPQCSIbGEkQOXwafZGwQ/b32/Ys4R1iwSSawFgz7QNu
61 security.user.name: ccsdkapps
62
63 # SDN-C's ODL Restconf Connection Details
64 blueprintsprocessor.restconfEnabled=true
65 blueprintsprocessor.restclient.sdncodl.type=basic-auth
66 blueprintsprocessor.restclient.sdncodl.url=http://sdnc:8282/
67 blueprintsprocessor.restclient.sdncodl.username=admin
68 blueprintsprocessor.restclient.sdncodl.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
69
70 # Executor Options
71 blueprintprocessor.resourceResolution.enabled=true
72 blueprintprocessor.netconfExecutor.enabled=true
73 blueprintprocessor.restConfExecutor.enabled=true
74 blueprintprocessor.remoteScriptCommand.enabled=true
75
76 # Command executor
77 blueprintsprocessor.grpcclient.remote-python.type=token-auth
78 blueprintsprocessor.grpcclient.remote-python.host=cds-command-executor
79 blueprintsprocessor.grpcclient.remote-python.port=50051
80 blueprintsprocessor.grpcclient.remote-python.token=Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
81
82 # Config Data REST client settings
83 blueprintsprocessor.restclient.config-data.type=basic-auth
84 blueprintsprocessor.restclient.config-data.url=http://sdnc:8282
85 blueprintsprocessor.restclient.config-data.username=admin
86 blueprintsprocessor.restclient.config-data.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
87
88 # AAI Data REST Client settings
89 blueprintsprocessor.restclient.aai-data.type=basic-auth
90 blueprintsprocessor.restclient.aai-data.url=https://aai:8443
91 blueprintsprocessor.restclient.aai-data.username=aai@aai.onap.org
92 blueprintsprocessor.restclient.aai-data.password=demo123456!
93
94 # Self Service Request Kafka Message Consumer
95 blueprintsprocessor.messageconsumer.self-service-api.kafkaEnable=false
96 blueprintsprocessor.messageconsumer.self-service-api.type=kafka-basic-auth
97 blueprintsprocessor.messageconsumer.self-service-api.bootstrapServers=message-router-kafka:9092
98 blueprintsprocessor.messageconsumer.self-service-api.groupId=cds-consumer-group
99 blueprintsprocessor.messageconsumer.self-service-api.topic=cds-consumer
100 blueprintsprocessor.messageconsumer.self-service-api.clientId=cds-client
101 blueprintsprocessor.messageconsumer.self-service-api.pollMillSec=1000
102
103 # Self Service Response Kafka Message Producer
104 blueprintsprocessor.messageproducer.self-service-api.bootstrapServers=message-router-kafka:9092
105 blueprintsprocessor.messageproducer.self-service-api.type=kafka-basic-auth
106 blueprintsprocessor.messageproducer.self-service-api.clientId=cds-client
107 blueprintsprocessor.messageproducer.self-service-api.topic=cds-producer
108