blob: 48678fcef8ec9b556395910241ca360d626d89b2 [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
Alexis de Talhouët43c67e02018-09-20 16:49:16 -040021# Basic Authentication
22basic-auth.user-name=ccsdkapps
23basic-auth.hashed-pwd=$2a$10$MJxhNiOAffxbyrV9.rrOUewP9Q/ASg5Nit2cmP.yBaXGsVXo8BW3y
Mike Elliott37cae252018-09-12 14:45:40 -040024
25logging.level.org.springframework.web=INFO
26logging.level.org.hibernate.SQL=warn
27logging.level.org.hibernate.type.descriptor.sql=debug
28
29#To Remove Null in JSON API Response
30spring.jackson.default-property-inclusion=non_null
31
32#Swagger Configuration
Alexis de Talhouët43c67e02018-09-20 16:49:16 -040033swagger.contact.name=CCSDK team
34swagger.contact.url=www.onap.org
35swagger.contact.email=onap-discuss@lists.onap.org
Mike Elliott37cae252018-09-12 14:45:40 -040036
37spring.jpa.properties.hibernate.show_sql=true
38spring.jpa.properties.hibernate.use_sql_comments=true
39spring.jpa.properties.hibernate.format_sql=true
40
41# spring.datasource.url, spring.datasource.username,spring.datasource.password may be overridden by ENV variables
42spring.datasource.url=jdbc:mysql://controller-blueprints-db:3306/sdnctl
43spring.datasource.username=sdnctl
44spring.datasource.password=sdnctl
45spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
46spring.jpa.show-sql = true
47spring.jpa.hibernate.ddl-auto = none
48spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
49spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
50
51#Load Blueprints
52# blueprints.load.initial-data may be overridden by ENV variables
53blueprints.load.initial-data=true
54load.dataTypePath=load/model_type/data_type
55load.nodeTypePath=load/model_type/node_type
56load.artifactTypePath=load/model_type/artifact_type
57load.resourceDictionaryPath=load/resource_dictionary
58load.blueprintsPath=load/blueprints
59
60# Load Resource Source Mappings
61resourceSourceMappings=db=source-db,input=source-input,default=source-default,mdsal=source-rest