Controller Blueprints MS
[ccsdk/cds.git] / ms / controllerblueprints / application / opt / app / onap / config / application.properties
1 #
2 # Copyright © 2017-2018 AT&T Intellectual Property.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17 info.build.artifact=@project.artifactId@
18 info.build.name=@project.name@
19 info.build.description=@project.description@
20 info.build.version=@project.version@
21 info.build.groupId=@project.groupId@
22 logging.level.root=info
23
24 server.contextPath=/
25 server.servlet-path=/
26 spring.jersey.application-path=/api/controller-blueprints/v1
27 server.routingPath=/api
28
29 mots.application.acronym=MOTS_ID
30 platform.identifier=AJSC7_JERSEY
31 #spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
32
33 #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
34
35 #The max number of active threads in this pool
36 server.tomcat.max-threads=200
37 #The minimum number of threads always kept alive
38 server.tomcat.min-Spare-Threads=25
39 #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
40 server.tomcat.max-idle-time=60000
41
42 #for changing the tomcat port...
43 #server.port=8081
44
45 #Servlet context parameters
46 server.context_parameters.p-name=value #context parameter with p-name as key and value as value.
47
48 # make this true for AAF authentication and place cadi.properties into etc folder
49 aaf.enabled=false
50
51 # set to true to enable version proxy
52 #ivp.enabled=false
53
54 logging.level.org.springframework.web=INFO
55 logging.level.org.hibernate.SQL=warn
56 logging.level.org.hibernate.type.descriptor.sql=debug
57
58 spring.jpa.properties.hibernate.show_sql=true
59 spring.jpa.properties.hibernate.use_sql_comments=true
60 spring.jpa.properties.hibernate.format_sql=true
61
62 # spring.datasource.url, spring.datasource.username,spring.datasource.password  may be overridden by ENV variables
63 spring.datasource.url=jdbc:mysql://localhost:3306/sdnctl
64 spring.datasource.username=sdnctl
65 spring.datasource.password=sdnctl
66 spring.datasource.driver-class-name=com.mysql.jdbc.Driver
67 spring.jpa.show-sql = true
68 spring.jpa.hibernate.ddl-auto = none
69 spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
70 spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
71
72 #Load Blueprints
73 # blueprints.load.initial-data may be overridden by ENV variables
74 blueprints.load.initial-data=true
75 blueprints.load.path=load