5a5800832d43cdf1e21e4780eee4fb5ea932d0df
[usecase-ui/server.git] / server / src / main / resources / application.properties
1 ##
2 ## Copyright (C) 2017 CMCC, Inc. and others. All rights reserved.
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 ## General App Properties
17 server.servlet.contextPath=/api/usecaseui-server/v1
18 server.port=8082
19 spring.http.multipart.max-file-size=128MB
20 spring.http.multipart.max-request-size=128MB
21
22 ## App DB Properties
23 spring.datasource.url=jdbc:postgresql://localhost:5432/uui
24 spring.datasource.username=uui
25 spring.datasource.password=uui
26 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL9Dialect
27 spring.database.driver.classname=org.postgresql.Driver
28 spring.jpa.show-sql=false
29 spring.jpa.properties.hibernate.format_sql=false
30 spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
31
32 ## Basic Authentication Properties
33 # security.user.name=usecase
34 # security.user.password=usecase
35
36 ## Logback Properties
37 logging.file.name=logs/usecaseui_server.log
38 logging.level.*=ERROR
39
40 #enable shutdown
41 endpoints.shutdown.enabled=true
42 endpoints.shutdown.sensitive=false
43
44 server.ssl.protocol=TLS
45 server.ssl.key-store=classpath:keystore/uuiServer.jks
46 server.ssl.key-store-password=Aa123456
47 server.ssl.key-store-type=JKS