Merge "Add output filename param to compresToFilePart"
[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-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
30
31 # Controller Blueprints Core Configuration
32 controllerblueprints.blueprintDeployPath=blueprints/deploy
33 controllerblueprints.blueprintArchivePath=blueprints/archive
34 controllerblueprints.blueprintWorkingPath=blueprints/work
35 # Controller Blueprint Load Configurations
36 # blueprints.load.initial-data may be overridden by ENV variables
37 controllerblueprints.loadInitialData=true
38 controllerblueprints.loadBluePrint=false
39 controllerblueprints.loadBluePrintPaths=./../../../components/model-catalog/blueprint-model/service-blueprint
40 controllerblueprints.loadModelType=true
41 controllerblueprints.loadModeTypePaths=./../../../components/model-catalog/definition-type/starter-type
42 controllerblueprints.loadResourceDictionary=true
43 controllerblueprints.loadResourceDictionaryPaths=./../../../components/model-catalog/resource-dictionary/starter-dictionary
44
45 # CBA file extension
46 controllerblueprints.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 blueprintsprocessor.blueprintDeployPath=blueprints/deploy
67 blueprintsprocessor.blueprintArchivePath=blueprints/archive
68 blueprintsprocessor.blueprintWorkingPath=blueprints/work
69 # Primary Database Configuration
70 blueprintsprocessor.db.primary.url=jdbc:mysql://localhost:3306/sdnctl
71 blueprintsprocessor.db.primary.username=sdnctl
72 blueprintsprocessor.db.primary.password=sdnctl
73 blueprintsprocessor.db.primary.driverClassName=org.mariadb.jdbc.Driver
74 blueprintsprocessor.db.primary.hibernateHbm2ddlAuto=update
75 blueprintsprocessor.db.primary.hibernateDDLAuto=none
76 blueprintsprocessor.db.primary.hibernateNamingStrategy=org.hibernate.cfg.ImprovedNamingStrategy
77 blueprintsprocessor.db.primary.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialect
78
79 # Python executor
80 ### If testing in docker, use the absolute paths as Docker view of filesystem will not respect relative paths.
81 ### Don't forget to create directory /opt/app/onap and share it with Docker containers on your system.
82 ###blueprints.processor.functions.python.executor.executionPath=/opt/app/onap/scripts/jython/ccsdk_blueprints
83 ###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
84
85 blueprints.processor.functions.python.executor.executionPath=./../../../components/scripts/python/ccsdk_blueprints
86 blueprints.processor.functions.python.executor.modulePaths=./../../../components/scripts/python/ccsdk_blueprints,./../../../components/scripts/python/ccsdk_netconf,./../../../components/scripts/python/ccsdk_restconf
87
88 # SDN-C's ODL Restconf Connection Details
89 blueprintsprocessor.restconfEnabled=true
90 blueprintsprocessor.restclient.sdncodl.type=basic-auth
91 blueprintsprocessor.restclient.sdncodl.url=http://localhost:8282/
92 blueprintsprocessor.restclient.sdncodl.username=admin
93 blueprintsprocessor.restclient.sdncodl.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
94
95 # Executor Options
96 blueprintprocessor.resourceResolution.enabled=true
97 blueprintprocessor.netconfExecutor.enabled=true
98 blueprintprocessor.restConfExecutor.enabled=true
99 blueprintsprocessor.cliExecutor.enabled=true
100 ### If enabling remote python executor, set this value to true
101 ### blueprintprocessor.remoteScriptCommand.enabled=true
102 blueprintprocessor.remoteScriptCommand.enabled=false
103
104 # Kafka-message-lib Configurations
105 blueprintsprocessor.messageclient.self-service-api.topic=producer.t
106 blueprintsprocessor.messageclient.self-service-api.type=kafka-basic-auth
107 blueprintsprocessor.messageclient.self-service-api.bootstrapServers=127.0.0.1:9092
108 blueprintsprocessor.messageclient.self-service-api.consumerTopic=receiver.t
109 blueprintsprocessor.messageclient.self-service-api.groupId=receiver-id
110 blueprintsprocessor.messageclient.self-service-api.clientId=default-client-id
111 blueprintsprocessor.messageclient.self-service-api.kafkaEnable=false