Migrate ccsdk/apps to ccsdk/cds
[ccsdk/cds.git] / ms / controllerblueprints / application / src / main / resources / application-dev.properties
1 #
2 # Copyright © 2017-2018 AT&T Intellectual Property.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16 appName=ControllerBluePrints
17 ms_name=org.onap.ccsdk.cds.controllerblueprints
18 appVersion=1.0.0
19
20 # Basic Authentication
21 basic-auth.user-name=ccsdkapps
22 basic-auth.hashed-pwd={bcrypt}$2a$10$MJxhNiOAffxbyrV9.rrOUewP9Q/ASg5Nit2cmP.yBaXGsVXo8BW3y
23
24 #logging.pattern.console=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr($ threadId: {PID:- }){magenta} %clr(---){faint} %clr([ hostname: %X{hostname} serviceName: %X{serviceName} version: %X{version} transactionId: %X{transactionId} requestTimeStamp: %X{requestTimestamp}  responseTimeStamp: %X{responseTimestamp} duration: %X{duration}]){yellow} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wex
25
26 logging.level.org.springframework.web=INFO
27 logging.level.org.hibernate.SQL=warn
28 logging.level.org.hibernate.type.descriptor.sql=debug
29
30 #To Remove Null in JSON API Response
31 spring.jackson.default-property-inclusion=non_null
32
33 #Swagger Configuration
34 swagger.contact.name=Brinda Santh Muthuramalingam
35 swagger.contact.url=www.onap.com
36 swagger.contact.email=brindasanth@onap.com
37
38 spring.jpa.properties.hibernate.show_sql=true
39 spring.jpa.properties.hibernate.use_sql_comments=true
40 spring.jpa.properties.hibernate.format_sql=true
41
42 # spring.datasource.url, spring.datasource.username,spring.datasource.password  may be overridden by ENV variables
43 spring.datasource.url=jdbc:mysql://localhost:3306/sdnctl
44 spring.datasource.username=sdnctl
45 spring.datasource.password=sdnctl
46 spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
47 spring.jpa.show-sql=true
48 spring.jpa.hibernate.ddl-auto=none
49 spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
50 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
51 # Load Resource Source Mappings
52 resourceSourceMappings=processor-db=source-processor-db,input=source-input,default=source-default,primary-config-data=source-rest,capability=source-capability
53 # Controller Blueprints Core Configuration
54 controllerblueprints.blueprintDeployPath=/etc/blueprints/deploy
55 controllerblueprints.blueprintArchivePath=/etc/blueprints/archive
56 controllerblueprints.blueprintEnrichmentPath=/etc/blueprints/enrichment
57 # Controller Blueprint Load Configurations
58 controllerblueprints.loadInitialData=true
59 controllerblueprints.loadBluePrint=false
60 controllerblueprints.loadBluePrintPaths=./../../../components/model-catalog/blueprint-model/test-blueprint
61 controllerblueprints.loadModelType=true
62 controllerblueprints.loadModeTypePaths=./../../../components/model-catalog/definition-type/starter-type
63 controllerblueprints.loadResourceDictionary=true
64 controllerblueprints.loadResourceDictionaryPaths=./../../../components/model-catalog/resource-dictionary/starter-dictionary
65
66 # CBA file extension
67 controllerblueprints.loadCbaExtension=zip
68
69 # Web server config
70 server.port=8080