blob: ec3a1ffce79aefab46f86c7cec011702794dd41e [file] [log] [blame]
Mike Elliott37cae252018-09-12 14:45:40 -04001#
2# Copyright (c) 2017-2018 AT&T Intellectual Property.
3# Modifications Copyright (c) 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#
17appName=ControllerBluePrints
18ms_name=org.onap.ccsdk.apps.controllerblueprints
19appVersion=1.0.0
20
21#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
22
23logging.level.org.springframework.web=INFO
24logging.level.org.hibernate.SQL=warn
25logging.level.org.hibernate.type.descriptor.sql=debug
26
27#To Remove Null in JSON API Response
28spring.jackson.default-property-inclusion=non_null
29
30#Swagger Configuration
31swagger.contact.name=Brinda Santh Muthuramalingam
32swagger.contact.url=www.onap.com
33swagger.contact.email=brindasanth@onap.com
34
35spring.jpa.properties.hibernate.show_sql=true
36spring.jpa.properties.hibernate.use_sql_comments=true
37spring.jpa.properties.hibernate.format_sql=true
38
39# spring.datasource.url, spring.datasource.username,spring.datasource.password may be overridden by ENV variables
40spring.datasource.url=jdbc:mysql://controller-blueprints-db:3306/sdnctl
41spring.datasource.username=sdnctl
42spring.datasource.password=sdnctl
43spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
44spring.jpa.show-sql = true
45spring.jpa.hibernate.ddl-auto = none
46spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
47spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
48
49#Load Blueprints
50# blueprints.load.initial-data may be overridden by ENV variables
51blueprints.load.initial-data=true
52load.dataTypePath=load/model_type/data_type
53load.nodeTypePath=load/model_type/node_type
54load.artifactTypePath=load/model_type/artifact_type
55load.resourceDictionaryPath=load/resource_dictionary
56load.blueprintsPath=load/blueprints
57
58# Load Resource Source Mappings
59resourceSourceMappings=db=source-db,input=source-input,default=source-default,mdsal=source-rest