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