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