3ae9414a98b858164236c4fdeeb97df70167b2b8
[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
27 ### START -Controller Blueprints Properties
28 # Load Resource Source Mappings
29 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
30
31 # Controller Blueprints Core Configuration
32 blueprintsprocessor.blueprintDeployPath=blueprints/deploy
33 blueprintsprocessor.blueprintArchivePath=blueprints/archive
34 blueprintsprocessor.blueprintWorkingPath=blueprints/work
35 # Controller Blueprint Load Configurations
36 # blueprints.load.initial-data may be overridden by ENV variables
37 blueprintsprocessor.loadInitialData=true
38 blueprintsprocessor.loadBluePrint=false
39 blueprintsprocessor.loadBluePrintPaths=./../../../components/model-catalog/blueprint-model/service-blueprint
40 blueprintsprocessor.loadModelType=true
41 blueprintsprocessor.loadModeTypePaths=./../../../components/model-catalog/definition-type/starter-type
42 blueprintsprocessor.loadResourceDictionary=true
43 blueprintsprocessor.loadResourceDictionaryPaths=./../../../components/model-catalog/resource-dictionary/starter-dictionary
44
45 # CBA file extension
46 blueprintsprocessor.loadCbaExtension=zip
47
48 ### END -Controller Blueprints Properties
49
50 blueprintsprocessor.grpcEnable=false
51 blueprintsprocessor.httpPort=8081
52 blueprintsprocessor.grpcPort=9111
53 ###NOTE: for remote executor tests, need to enable grpc and it's properties.
54 ###blueprintsprocessor.grpcEnable=false
55 # Assuming running locally 
56 ###blueprintsprocessor.grpcclient.remote-python.type=token-auth
57 ###blueprintsprocessor.grpcclient.remote-python.host=localhost
58 ###blueprintsprocessor.grpcclient.remote-python.port=50051
59 ###blueprintsprocessor.grpcclient.remote-python.token=Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
60
61 # Blueprint Processor File Execution and Handling Properties
62 ### use absolute paths if testing inside docker
63 ### blueprintsprocessor.blueprintDeployPath=/opt/app/onap/blueprints/deploy
64 ### blueprintsprocessor.blueprintArchivePath=/opt/app/onap/blueprints/archive
65 ### blueprintsprocessor.blueprintWorkingPath=/opt/app/onap/blueprints/working
66 # Primary Database Configuration
67 blueprintsprocessor.db.url=jdbc:mysql://localhost:3306/sdnctl
68 blueprintsprocessor.db.username=sdnctl
69 blueprintsprocessor.db.password=sdnctl
70 blueprintsprocessor.db.driverClassName=org.mariadb.jdbc.Driver
71 blueprintsprocessor.db.hibernateHbm2ddlAuto=update
72 blueprintsprocessor.db.hibernateDDLAuto=none
73 blueprintsprocessor.db.hibernateNamingStrategy=org.hibernate.cfg.ImprovedNamingStrategy
74 blueprintsprocessor.db.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialect
75
76 # Python executor
77 ### If testing in docker, use the absolute paths as Docker view of filesystem will not respect relative paths.
78 ### Don't forget to create directory /opt/app/onap and share it with Docker containers on your system.
79 ###blueprints.processor.functions.python.executor.executionPath=/opt/app/onap/scripts/jython/ccsdk_blueprints
80 ###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
81
82 blueprints.processor.functions.python.executor.executionPath=./../../../components/scripts/python/ccsdk_blueprints
83 blueprints.processor.functions.python.executor.modulePaths=./../../../components/scripts/python/ccsdk_blueprints,./../../../components/scripts/python/ccsdk_netconf,./../../../components/scripts/python/ccsdk_restconf
84
85 # SDN-C's ODL Restconf Connection Details
86 blueprintsprocessor.restconfEnabled=true
87 blueprintsprocessor.restclient.sdncodl.type=basic-auth
88 blueprintsprocessor.restclient.sdncodl.url=http://localhost:8282/
89 blueprintsprocessor.restclient.sdncodl.username=admin
90 blueprintsprocessor.restclient.sdncodl.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
91
92 # Executor Options
93 blueprintprocessor.resourceResolution.enabled=true
94 blueprintprocessor.netconfExecutor.enabled=true
95 blueprintprocessor.restConfExecutor.enabled=true
96 blueprintsprocessor.cliExecutor.enabled=true
97 ### If enabling remote python executor, set this value to true
98 ### blueprintprocessor.remoteScriptCommand.enabled=true
99 blueprintprocessor.remoteScriptCommand.enabled=false
100
101 # Kafka-message-lib Configurations
102 blueprintsprocessor.messageconsumer.self-service-api.kafkaEnable=false
103 blueprintsprocessor.messageconsumer.self-service-api.type=kafka-basic-auth
104 blueprintsprocessor.messageconsumer.self-service-api.bootstrapServers=127.0.0.1:9092
105 blueprintsprocessor.messageconsumer.self-service-api.groupId=receiver-id
106 blueprintsprocessor.messageconsumer.self-service-api.topic=receiver.t
107 blueprintsprocessor.messageconsumer.self-service-api.clientId=default-client-id
108 blueprintsprocessor.messageconsumer.self-service-api.pollMillSec=1000
109
110 blueprintsprocessor.messageproducer.self-service-api.type=kafka-basic-auth
111 blueprintsprocessor.messageproducer.self-service-api.bootstrapServers=127.0.0.1:9092
112 blueprintsprocessor.messageproducer.self-service-api.clientId=default-client-id
113 blueprintsprocessor.messageproducer.self-service-api.topic=producer.t