-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathapplication-template.properties
37 lines (27 loc) · 1.74 KB
/
application-template.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# applicaton.properties file outside jar
#
# Use this file to specify or overwrite properties from file at src/main/resources/application.properties included to the jar
# For more details read: https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.external-config.files
# by default Spring Boot hides the message field in the response to avoid leaking sensitive information,
# but we would like to enable the message in the response.
server.error.include-message=always
# if you would like to see the sql statements you can use the below property
# spring.jpa.show-sql: true
# Per default the service would be running on port 8080. In order to enable running the service locally in combination with the EasyFranchise application
# we need to make sure that we don't run into conflicts with the ports defined by the Base Application.
# Therefore we change the default port to 8091.
server.port=8091
# SAP HANA properties:
datasource.sqlendpoint=<your SAP HANA sql endpoint xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.hana.xxxxxxxxxxx.hanacloud.ondemand.com:443>
spring.datasource.url=jdbc:sap://${datasource.sqlendpoint}/?encrypt=true
spring.datasource.username=DBADMIN
spring.datasource.password=<your Database User Password>
# EasyFranchise db-service remote host and jmx port
# 1. If day2-service runs in Kyma, following parameters are retrived from K8S secret.
# 2. If day2-service runs locally, following parameters are not used.
jmx.remote.host=non-exist-host
jmx.remote.port=9999
# JMX metrics of db-service is only available when running in Kyma cluster.
# If day2-service being started locally, please set following parameter to true.
# If day2-service runs in Kyma, please set following parameter to false.
jmx.local.run=true