Fixing distribution and properties
[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 endpoints.user.name=ccsdkapps
28 endpoints.user.password=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 # Controller Blueprint Load Configurations
38 # blueprints.load.initial-data may be overridden by ENV variables
39 blueprintsprocessor.loadInitialData=true
40 blueprintsprocessor.loadBluePrint=false
41 blueprintsprocessor.loadBluePrintPaths=./../../../components/model-catalog/blueprint-model/service-blueprint
42 blueprintsprocessor.loadModelType=true
43 blueprintsprocessor.loadModeTypePaths=./../../../components/model-catalog/definition-type/starter-type
44 blueprintsprocessor.loadResourceDictionary=true
45 blueprintsprocessor.loadResourceDictionaryPaths=./../../../components/model-catalog/resource-dictionary/starter-dictionary
46
47 # CBA file extension
48 blueprintsprocessor.loadCbaExtension=zip
49
50 ### END -Controller Blueprints Properties
51
52 blueprintsprocessor.grpcEnable=false
53 blueprintsprocessor.httpPort=8081
54 blueprintsprocessor.grpcPort=9111
55
56 # Command executor
57 # grpc if debugging locally and do not need it by setting
58 # blueprintsprocessor.grpcEnable=false
59 blueprintsprocessor.grpcclient.remote-python.type=token-auth
60 blueprintsprocessor.grpcclient.remote-python.host=localhost
61 blueprintsprocessor.grpcclient.remote-python.port=50051
62 blueprintsprocessor.grpcclient.remote-python.token=Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
63
64 # Blueprint Processor File Execution and Handling Properties
65 ### use absolute paths if testing inside docker
66 ### blueprintsprocessor.blueprintDeployPath=/opt/app/onap/blueprints/deploy
67 ### blueprintsprocessor.blueprintArchivePath=/opt/app/onap/blueprints/archive
68 ### blueprintsprocessor.blueprintWorkingPath=/opt/app/onap/blueprints/working
69
70
71 # db
72 blueprintsprocessor.db.url=jdbc:mysql://localhost:3306/sdnctl
73 blueprintsprocessor.db.username=sdnctl
74 blueprintsprocessor.db.password=sdnctl
75 blueprintsprocessor.db.driverClassName=org.mariadb.jdbc.Driver
76 blueprintsprocessor.db.hibernateHbm2ddlAuto=update
77 blueprintsprocessor.db.hibernateDDLAuto=update
78 blueprintsprocessor.db.hibernateNamingStrategy=org.hibernate.cfg.ImprovedNamingStrategy
79 blueprintsprocessor.db.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialect
80
81 # processor-db endpoint
82 blueprintsprocessor.db.processor-db.type=maria-db
83 blueprintsprocessor.db.processor-db.url=jdbc:mysql://localhost:3306/sdnctl
84 blueprintsprocessor.db.processor-db.username=root
85 blueprintsprocessor.db.processor-db.password=secretpassword
86
87 # Python executor
88 ### If testing in docker, use the absolute paths as Docker view of filesystem will not respect relative paths.
89 ### Don't forget to create directory /opt/app/onap and share it with Docker containers on your system.
90 ###blueprints.processor.functions.python.executor.executionPath=/opt/app/onap/scripts/jython/ccsdk_blueprints
91 ###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
92
93 blueprints.processor.functions.python.executor.executionPath=./../../../components/scripts/python/ccsdk_blueprints
94 blueprints.processor.functions.python.executor.modulePaths=./../../../components/scripts/python/ccsdk_blueprints,./../../../components/scripts/python/ccsdk_netconf,./../../../components/scripts/python/ccsdk_restconf
95
96 # SDN-C's ODL Restconf Connection Details
97 blueprintsprocessor.restconfEnabled=true
98 blueprintsprocessor.restclient.sdnc.type=basic-auth
99 blueprintsprocessor.restclient.sdnc.url=http://sdnc:8282
100 blueprintsprocessor.restclient.sdnc.username=admin
101 blueprintsprocessor.restclient.sdnc.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
102
103 # Primary AAI Data REST Client settings
104 blueprintsprocessor.restclient.aai-data.type=basic-auth
105 blueprintsprocessor.restclient.aai-data.url=https://aai:8443
106 blueprintsprocessor.restclient.aai-data.username=aai@aai.onap.org
107 blueprintsprocessor.restclient.aai-data.password=demo123456!
108
109 # Executor Options
110 blueprintsprocessor.resourceResolution.enabled=true
111 blueprintsprocessor.netconfExecutor.enabled=true
112 blueprintsprocessor.restConfExecutor.enabled=true
113 blueprintsprocessor.cliExecutor.enabled=true
114 ### If enabling remote python executor, set this value to true
115 ### blueprintsprocessor.remoteScriptCommand.enabled=true
116 blueprintsprocessor.remoteScriptCommand.enabled=false
117
118 # Kafka-message-lib Configurations
119 blueprintsprocessor.messageconsumer.self-service-api.kafkaEnable=false
120 blueprintsprocessor.messageconsumer.self-service-api.type=kafka-basic-auth
121 blueprintsprocessor.messageconsumer.self-service-api.bootstrapServers=127.0.0.1:9092
122 blueprintsprocessor.messageconsumer.self-service-api.groupId=receiver-id
123 blueprintsprocessor.messageconsumer.self-service-api.topic=receiver.t
124 blueprintsprocessor.messageconsumer.self-service-api.clientId=default-client-id
125 blueprintsprocessor.messageconsumer.self-service-api.pollMillSec=1000
126
127 blueprintsprocessor.messageproducer.self-service-api.type=kafka-basic-auth
128 blueprintsprocessor.messageproducer.self-service-api.bootstrapServers=127.0.0.1:9092
129 blueprintsprocessor.messageproducer.self-service-api.clientId=default-client-id
130 blueprintsprocessor.messageproducer.self-service-api.topic=producer.t