Sylvain Desbureaux | e6a1a37 | 2021-02-25 18:07:55 +0100 | [diff] [blame] | 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.show-sql=false |
| 31 | spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true |
| 32 | spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false |
| 33 | spring.jpa.properties.hibernate.current_session_context_class=org.springframework.orm.hibernate5.SpringSessionContext |
| 34 | spring.jpa.properties.hibernate.cache.use_second_level_cache=false |
| 35 | spring.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 |
| 43 | logging.file.name=logs/usecaseui_server.log |
| 44 | logging.level.*=INFO |
| 45 | |
| 46 | #enable shutdown |
| 47 | endpoints.shutdown.enabled=true |
| 48 | endpoints.shutdown.sensitive=false |
| 49 | |
| 50 | server.ssl.protocol=TLS |
| 51 | server.ssl.key-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12 |
| 52 | server.ssl.key-store-password=${KEYSTORE_PASSWORD} |
| 53 | server.ssl.key-store-type=PKCS12 |