Migrate ccsdk/apps to ccsdk/cds
[ccsdk/cds.git] / ms / controllerblueprints / application / src / main / resources / application.properties
1 #
2 # Copyright © 2017-2018 AT&T Intellectual Property.
3 # Modifications Copyright © 2018 IBM.
4 # Modifications Copyright © 2019 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 appName=ControllerBluePrints
19 ms_name=org.onap.ccsdk.cds.controllerblueprints
20 appVersion=1.0.0
21
22 # Basic Authentication
23 basic-auth.user-name=ccsdkapps
24 basic-auth.hashed-pwd={bcrypt}$2a$10$MJxhNiOAffxbyrV9.rrOUewP9Q/ASg5Nit2cmP.yBaXGsVXo8BW3y
25
26 #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
27
28 logging.level.org.springframework.web=INFO
29 logging.level.org.hibernate.SQL=warn
30 logging.level.org.hibernate.type.descriptor.sql=debug
31
32 #To Remove Null in JSON API Response
33 spring.jackson.default-property-inclusion=non_null
34
35 #Swagger Configuration
36 swagger.contact.name=CCSDK team
37 swagger.contact.url=www.onap.org
38 swagger.contact.email=onap-discuss@lists.onap.org
39
40 spring.jpa.properties.hibernate.show_sql=true
41 spring.jpa.properties.hibernate.use_sql_comments=true
42 spring.jpa.properties.hibernate.format_sql=true
43
44 # spring.datasource.url, spring.datasource.username,spring.datasource.password  may be overridden by ENV variables
45 spring.datasource.url=jdbc:mysql://db:3306/sdnctl
46 spring.datasource.username=sdnctl
47 spring.datasource.password=sdnctl
48 spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
49 spring.jpa.show-sql=true
50 spring.jpa.hibernate.ddl-auto=none
51 spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
52 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
53
54 # Load Resource Source Mappings
55 resourceSourceMappings=processor-db=source-processor-db,input=source-input,default=source-default,primary-config-data=source-rest,capability=source-capability
56
57 # Controller Blueprints Core Configuration
58 controllerblueprints.blueprintDeployPath=/etc/blueprints/deploy
59 controllerblueprints.blueprintArchivePath=/etc/blueprints/archive
60 controllerblueprints.blueprintEnrichmentPath=/etc/blueprints/enrichment
61 # Controller Blueprint Load Configurations
62 # blueprints.load.initial-data may be overridden by ENV variables
63 controllerblueprints.loadInitialData=true
64 controllerblueprints.loadBluePrint=true
65 controllerblueprints.loadBluePrintPaths=/opt/app/onap//model-catalog/blueprint-model/service-blueprint
66 controllerblueprints.loadModelType=true
67 controllerblueprints.loadModeTypePaths=/opt/app/onap//model-catalog/definition-type/starter-type
68 controllerblueprints.loadResourceDictionary=true
69 controllerblueprints.loadResourceDictionaryPaths=/opt/app/onap//model-catalog/resource-dictionary/starter-dictionary
70
71 # CBA file extension
72 controllerblueprints.loadCbaExtension=zip
73
74 # Web server config
75 server.port=8080