Fixing distribution and properties
[ccsdk/cds.git] / ms / blueprintsprocessor / application / src / main / resources / 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,sdnc=source-rest,aai-data=source-rest,capability=source-capability,rest=source-rest,vault-data=source-rest,script=source-capability
20
21 # Controller Blueprints Core Configuration
22 blueprintsprocessor.blueprintDeployPath=/opt/app/onap/blueprints/deploy
23 blueprintsprocessor.blueprintArchivePath=/opt/app/onap/blueprints/archive
24 blueprintsprocessor.blueprintWorkingPath=/opt/app/onap/blueprints/working
25
26 # Controller Blueprint Load Configurations
27 # blueprints.load.initial-data may be overridden by ENV variables
28 blueprintsprocessor.loadInitialData=false
29 blueprintsprocessor.loadBluePrint=false
30 blueprintsprocessor.loadBluePrintPaths=/opt/app/onap/model-catalog/blueprint-model/service-blueprint
31 blueprintsprocessor.loadModelType=false
32 blueprintsprocessor.loadModeTypePaths=/opt/app/onap/model-catalog/definition-type/starter-type
33 blueprintsprocessor.loadResourceDictionary=false
34 blueprintsprocessor.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 # db
46 blueprintsprocessor.db.url=jdbc:mysql://db:3306/sdnctl
47 blueprintsprocessor.db.username=sdnctl
48 blueprintsprocessor.db.password=sdnctl
49 blueprintsprocessor.db.driverClassName=org.mariadb.jdbc.Driver
50 blueprintsprocessor.db.hibernateHbm2ddlAuto=update
51 blueprintsprocessor.db.hibernateDDLAuto=update
52 blueprintsprocessor.db.hibernateNamingStrategy=org.hibernate.cfg.ImprovedNamingStrategy
53 blueprintsprocessor.db.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialect
54
55 # processor-db endpoint
56 blueprintsprocessor.db.processor-db.type=maria-db
57 blueprintsprocessor.db.processor-db.url=jdbc:mysql://mariadb-galera:3306/sdnctl
58 blueprintsprocessor.db.processor-db.username=root
59 blueprintsprocessor.db.processor-db.password=secretpassword
60
61 # Python executor
62 blueprints.processor.functions.python.executor.executionPath=/opt/app/onap/scripts/jython/ccsdk_blueprints
63 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
64
65 security.user.password: {bcrypt}$2a$10$duaUzVUVW0YPQCSIbGEkQOXwafZGwQ/b32/Ys4R1iwSSawFgz7QNu
66 security.user.name: ccsdkapps
67
68 # Used in Health Check
69 endpoints.user.name=ccsdkapps
70 endpoints.user.password=ccsdkapps
71
72 # Executor Options
73 blueprintsprocessor.resourceResolution.enabled=true
74 blueprintsprocessor.netconfExecutor.enabled=true
75 blueprintsprocessor.restConfExecutor.enabled=true
76 blueprintsprocessor.cliExecutor.enabled=true
77 blueprintsprocessor.remoteScriptCommand.enabled=true
78
79 # Command executor
80 blueprintsprocessor.grpcclient.remote-python.type=token-auth
81 blueprintsprocessor.grpcclient.remote-python.host=localhost
82 blueprintsprocessor.grpcclient.remote-python.port=50051
83 blueprintsprocessor.grpcclient.remote-python.token=Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
84
85 # Config Data REST client settings
86 blueprintsprocessor.restconfEnabled=true
87 blueprintsprocessor.restclient.sdnc.type=basic-auth
88 blueprintsprocessor.restclient.sdnc.url=http://sdnc:8282
89 blueprintsprocessor.restclient.sdnc.username=admin
90 blueprintsprocessor.restclient.sdnc.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
91
92 # Primary AAI Data REST Client settings
93 blueprintsprocessor.restclient.aai-data.type=basic-auth
94 blueprintsprocessor.restclient.aai-data.url=https://aai:8443
95 blueprintsprocessor.restclient.aai-data.username=aai@aai.onap.org
96 blueprintsprocessor.restclient.aai-data.password=demo123456!
97
98 # Kafka-message-lib Configuration
99 blueprintsprocessor.messageconsumer.self-service-api.kafkaEnable=false
100 blueprintsprocessor.messageconsumer.self-service-api.type=kafka-basic-auth
101 blueprintsprocessor.messageconsumer.self-service-api.bootstrapServers=127.0.0.1:9092
102 blueprintsprocessor.messageconsumer.self-service-api.topic=receiver.t
103 blueprintsprocessor.messageconsumer.self-service-api.groupId=receiver-id
104 blueprintsprocessor.messageconsumer.self-service-api.clientId=default-client-id
105 blueprintsprocessor.messageconsumer.self-service-api.pollMillSec=1000
106
107 blueprintsprocessor.messageproducer.self-service-api.type=kafka-basic-auth
108 blueprintsprocessor.messageproducer.self-service-api.bootstrapServers=127.0.0.1:9092
109 blueprintsprocessor.messageproducer.self-service-api.clientId=default-client-id
110 blueprintsprocessor.messageproducer.self-service-api.topic=producer.t