blob: cb26c750f9d6baa756bad48b4f0d12f5cb18a277 [file] [log] [blame]
Sylvain Desbureauxe6a1a372021-02-25 18:07:55 +01001##
JunyiDue3fccd42022-09-28 16:56:13 +08002## Copyright (C) 2022 CMCC, Inc. and others. All rights reserved.
Sylvain Desbureauxe6a1a372021-02-25 18:07:55 +01003##
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
17server.servlet.contextPath=/api/usecaseui-server/v1
18server.port=8082
19spring.http.multipart.max-file-size=128MB
20spring.http.multipart.max-request-size=128MB
21
22## App DB Properties
JunyiDue3fccd42022-09-28 16:56:13 +080023spring.datasource.url=jdbc:postgresql://${POSTGRES_IP:127.0.0.1}:${POSTGRES_PORT:5432}/${POSTGRES_DB_NAME:uui}
24spring.datasource.username=${POSTGRES_USERNAME}
25spring.datasource.password=${POSTGRES_PASSWORD}
Sylvain Desbureauxe6a1a372021-02-25 18:07:55 +010026spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL9Dialect
27spring.database.driver.classname=org.postgresql.Driver
28spring.jpa.show-sql=false
29spring.jpa.properties.hibernate.format_sql=false
30spring.jpa.properties.hibernate.show-sql=false
31spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
32spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false
33spring.jpa.properties.hibernate.current_session_context_class=org.springframework.orm.hibernate5.SpringSessionContext
34spring.jpa.properties.hibernate.cache.use_second_level_cache=false
35spring.jpa.properties.hibernate.cache.use_query_cache=false
36#spring.jpa.properties.hibernate.allow_update_outside_transaction=true
37
38## Basic Authentication Properties
39# security.user.name=usecase
40# security.user.password=usecase
41
42## Logback Properties
43logging.file.name=logs/usecaseui_server.log
44logging.level.*=INFO
45
46#enable shutdown
47endpoints.shutdown.enabled=true
48endpoints.shutdown.sensitive=false
49
Andreas Geissler22f3b162023-02-07 13:10:01 +010050{{- if (include "common.needTLS" .) }}
Sylvain Desbureauxe6a1a372021-02-25 18:07:55 +010051server.ssl.protocol=TLS
52server.ssl.key-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12
53server.ssl.key-store-password=${KEYSTORE_PASSWORD}
JunyiDue3fccd42022-09-28 16:56:13 +080054server.ssl.key-store-type=PKCS12
Andreas Geissler22f3b162023-02-07 13:10:01 +010055{{- end }}