Make source-db consistent across samples
[ccsdk/cds.git] / ms / blueprintsprocessor / application / src / test / resources / application.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 # Web server config
19 server.port=8080
20 ### START -Controller Blueprints Properties
21 # Load Resource Source Mappings
22 resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,config-data=source-rest,aai-data=source-rest,capability=source-capability
23
24 # Controller Blueprints Core Configuration
25 controllerblueprints.blueprintDeployPath=/opt/app/onap/blueprints/deploy
26 controllerblueprints.blueprintArchivePath=/opt/app/onap/blueprints/archive
27 controllerblueprints.blueprintWorkingPath=/opt/app/onap/blueprints/working
28
29 # Controller Blueprint Load Configurations
30 # blueprints.load.initial-data may be overridden by ENV variables
31 controllerblueprints.loadInitialData=false
32 controllerblueprints.loadBluePrint=false
33 controllerblueprints.loadBluePrintPaths=/opt/app/onap/model-catalog/blueprint-model/service-blueprint
34 controllerblueprints.loadModelType=false
35 controllerblueprints.loadModeTypePaths=/opt/app/onap/model-catalog/definition-type/starter-type
36 controllerblueprints.loadResourceDictionary=false
37 controllerblueprints.loadResourceDictionaryPaths=/opt/app/onap/model-catalog/resource-dictionary/starter-dictionary
38
39 # CBA file extension
40 controllerblueprints.loadCbaExtension=zip
41
42 ### END -Controller Blueprints Properties
43
44 blueprintsprocessor.grpcEnable=false
45 blueprintsprocessor.httpPort=8080
46 blueprintsprocessor.grpcPort=9111
47 # Blueprint Processor File Execution and Handling Properties
48 blueprintsprocessor.blueprintDeployPath=/opt/app/onap/blueprints/deploy
49 blueprintsprocessor.blueprintArchivePath=/opt/app/onap/blueprints/archive
50 blueprintsprocessor.blueprintWorkingPath=/opt/app/onap/blueprints/work
51 # Primary Database Configuration
52 blueprintsprocessor.db.url=jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE
53 blueprintsprocessor.db.username=sa
54 blueprintsprocessor.db.password=
55 blueprintsprocessor.db.driverClassName=org.h2.Driver
56 blueprintsprocessor.db.hibernateHbm2ddlAuto=create-drop
57 blueprintsprocessor.db.hibernateDDLAuto=update
58 blueprintsprocessor.db.hibernateNamingStrategy=org.hibernate.cfg.ImprovedNamingStrategy
59 blueprintsprocessor.db.hibernateDialect=org.hibernate.dialect.H2Dialect
60 # Python executor
61 blueprints.processor.functions.python.executor.executionPath=/opt/app/onap/scripts/jython/ccsdk_blueprints
62 blueprints.processor.functions.python.executor.modulePaths=/opt/app/onap/scripts/jython/ccsdk_blueprints
63
64 security.user.password:{bcrypt}$2a$10$duaUzVUVW0YPQCSIbGEkQOXwafZGwQ/b32/Ys4R1iwSSawFgz7QNu
65 security.user.name:ccsdkapps
66
67 # Executor Options
68 blueprintprocessor.resourceResolution.enabled=true
69 blueprintprocessor.netconfExecutor.enabled=true
70 blueprintprocessor.restConfExecutor.enabled=true
71 blueprintsprocessor.cliExecutor.enabled=true
72 blueprintprocessor.remoteScriptCommand.enabled=false
73
74
75 # Kafka-message-lib Configuration
76 blueprintsprocessor.messageclient.self-service-api.topic=producer.t
77 blueprintsprocessor.messageclient.self-service-api.type=kafka-basic-auth
78 blueprintsprocessor.messageclient.self-service-api.bootstrapServers=127.0.0.1:9092
79 blueprintsprocessor.messageclient.self-service-api.consumerTopic=receiver.t
80 blueprintsprocessor.messageclient.self-service-api.groupId=receiver-id
81 blueprintsprocessor.messageclient.self-service-api.clientId=default-client-id
82 blueprintsprocessor.messageclient.self-service-api.kafkaEnable=false