fc2e7f2446fee4820993b9cd287f3be4275d38f0
[ccsdk/cds.git] / ms / blueprintsprocessor / application / src / main / resources / application-dev.properties
1 #
2 #  Copyright © 2017-2018 AT&T Intellectual Property.
3 #
4 #  Modifications Copyright © 2019 IBM, Bell Canada.
5 #
6 #  Licensed under the Apache License, Version 2.0 (the "License");
7 #  you may not use this file except in compliance with the License.
8 #  You may obtain a copy of the License at
9 #
10 #      http://www.apache.org/licenses/LICENSE-2.0
11 #
12 #  Unless required by applicable law or agreed to in writing, software
13 #  distributed under the License is distributed on an "AS IS" BASIS,
14 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 #  See the License for the specific language governing permissions and
16 #  limitations under the License.
17 #
18 #logging.level.web=DEBUG
19
20
21 #NOTE: When creating a runner for CDS BP application, don't forget to update the working directory!
22 #Current paths assume relative paths to $CDS_DIR/ms/blueprintsprocessor/application
23
24 # Web server config
25 server.port=8081
26 # Used in Health Check
27 security.user.password: {bcrypt}$2a$10$duaUzVUVW0YPQCSIbGEkQOXwafZGwQ/b32/Ys4R1iwSSawFgz7QNu
28 security.user.name: ccsdkapps
29
30 ### START -Controller Blueprints Properties
31 # Load Resource Source Mappings
32 resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,sdnc=source-rest,aai-data=source-rest,capability=source-capability,vault-data=source-rest,rest=source-rest,script=source-capability
33 # Controller Blueprints Core Configuration
34 blueprintsprocessor.blueprintDeployPath=blueprints/deploy
35 blueprintsprocessor.blueprintArchivePath=blueprints/archive
36 blueprintsprocessor.blueprintWorkingPath=blueprints/work
37
38 # Controller Blueprint Load Configurations
39 blueprintsprocessor.loadBluePrintPaths=./../../../components/model-catalog/blueprint-model/service-blueprint
40 blueprintsprocessor.loadModeTypePaths=./../../../components/model-catalog/definition-type/starter-type
41 blueprintsprocessor.loadResourceDictionaryPaths=./../../../components/model-catalog/resource-dictionary/starter-dictionary
42
43 # CBA file extension
44 blueprintsprocessor.loadCbaExtension=zip
45
46 ### END -Controller Blueprints Properties
47
48 blueprintsprocessor.grpcEnable=false
49 blueprintsprocessor.httpPort=8081
50 blueprintsprocessor.grpcPort=9111
51
52 # Command executor
53 # grpc if debugging locally and do not need it by setting
54 # blueprintsprocessor.grpcEnable=false
55 blueprintsprocessor.grpcclient.remote-python.type=token-auth
56 blueprintsprocessor.grpcclient.remote-python.host=localhost
57 blueprintsprocessor.grpcclient.remote-python.port=50051
58 blueprintsprocessor.grpcclient.remote-python.token=Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
59
60 # Blueprint Processor File Execution and Handling Properties
61 ### use absolute paths if testing inside docker
62 ### blueprintsprocessor.blueprintDeployPath=/opt/app/onap/blueprints/deploy
63 ### blueprintsprocessor.blueprintArchivePath=/opt/app/onap/blueprints/archive
64 ### blueprintsprocessor.blueprintWorkingPath=/opt/app/onap/blueprints/working
65
66
67 # db
68 blueprintsprocessor.db.url=jdbc:mysql://localhost:3306/sdnctl
69 blueprintsprocessor.db.username=sdnctl
70 blueprintsprocessor.db.password=sdnctl
71 blueprintsprocessor.db.driverClassName=org.mariadb.jdbc.Driver
72 blueprintsprocessor.db.hibernateHbm2ddlAuto=update
73 blueprintsprocessor.db.hibernateDDLAuto=update
74 blueprintsprocessor.db.hibernateNamingStrategy=org.hibernate.cfg.ImprovedNamingStrategy
75 blueprintsprocessor.db.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialect
76
77 # processor-db endpoint
78 blueprintsprocessor.db.processor-db.type=maria-db
79 blueprintsprocessor.db.processor-db.url=jdbc:mysql://localhost:3306/sdnctl
80 blueprintsprocessor.db.processor-db.username=root
81 blueprintsprocessor.db.processor-db.password=secretpassword
82
83 # Python executor
84 ### If testing in docker, use the absolute paths as Docker view of filesystem will not respect relative paths.
85 ### Don't forget to create directory /opt/app/onap and share it with Docker containers on your system.
86 ###blueprints.processor.functions.python.executor.executionPath=/opt/app/onap/scripts/jython/ccsdk_blueprints
87 ###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
88
89 blueprints.processor.functions.python.executor.executionPath=./../../../components/scripts/python/ccsdk_blueprints
90 blueprints.processor.functions.python.executor.modulePaths=./../../../components/scripts/python/ccsdk_blueprints,./../../../components/scripts/python/ccsdk_netconf,./../../../components/scripts/python/ccsdk_restconf
91
92 # SDN-C's ODL Restconf Connection Details
93 blueprintsprocessor.restconfEnabled=true
94 blueprintsprocessor.restclient.sdnc.type=basic-auth
95 blueprintsprocessor.restclient.sdnc.url=http://sdnc:8282
96 blueprintsprocessor.restclient.sdnc.username=admin
97 blueprintsprocessor.restclient.sdnc.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
98
99 # Primary AAI Data REST Client settings
100 blueprintsprocessor.restclient.aai-data.type=basic-auth
101 blueprintsprocessor.restclient.aai-data.url=https://aai:8443
102 blueprintsprocessor.restclient.aai-data.username=aai@aai.onap.org
103 blueprintsprocessor.restclient.aai-data.password=demo123456!
104
105 # Executor Options
106 blueprintsprocessor.resourceResolution.enabled=true
107 blueprintsprocessor.netconfExecutor.enabled=true
108 blueprintsprocessor.restConfExecutor.enabled=true
109 blueprintsprocessor.cliExecutor.enabled=true
110 ### If enabling remote python executor, set this value to true
111 ### blueprintsprocessor.remoteScriptCommand.enabled=true
112 blueprintsprocessor.remoteScriptCommand.enabled=false
113
114 # Kafka-message-lib Configurations
115 blueprintsprocessor.messageconsumer.self-service-api.kafkaEnable=false
116 blueprintsprocessor.messageconsumer.self-service-api.type=kafka-basic-auth
117 blueprintsprocessor.messageconsumer.self-service-api.bootstrapServers=127.0.0.1:9092
118 blueprintsprocessor.messageconsumer.self-service-api.groupId=receiver-id
119 blueprintsprocessor.messageconsumer.self-service-api.topic=receiver.t
120 blueprintsprocessor.messageconsumer.self-service-api.clientId=default-client-id
121 blueprintsprocessor.messageconsumer.self-service-api.pollMillSec=1000
122
123 blueprintsprocessor.messageproducer.self-service-api.type=kafka-basic-auth
124 blueprintsprocessor.messageproducer.self-service-api.bootstrapServers=127.0.0.1:9092
125 blueprintsprocessor.messageproducer.self-service-api.clientId=default-client-id
126 blueprintsprocessor.messageproducer.self-service-api.topic=producer.t