kypo-training-feedback.properties 1.3 KB
Newer Older
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
## server port for a given service, e.g., 8088
server.port=8088
## server context path (the base url for the service), e.g., /kypo-training-feedback/api/v1
server.servlet.context-path={{ kypo_crp_training_feedback_service_context_path }}
## microservice name which is used in user management service for identification of this service, e.g. kypo-training-feedback
microservice.name=kypo-training-feedback

## Allows you to specify allowed origins for CORS mapping. You could set it as, e.g., http://domain1.com, http://domain2.com, etc. The default value is: *
cors.allowed.origins={{ kypo_crp_url }}

# calling user-and-group project, e.g., https://localhost:8084/kypo-rest-user-and-group/api/v1
user-and-group-server.uri={{ kypo_crp_uag_service_internal_url }}
# calling kypo-elasticsearch-service, e.g., http://elastic-service:8085/kypo-elastic/api/v1
elasticsearch-service.uri={{ kypo_crp_elasticsearch_service_internal_url }}

# DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.url=jdbc:postgresql://localhost:5432/kypo-training-feedback
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.datasource.driver-class-name=org.postgresql.Driver

spring.jpa.open-in-view=false

#logging
spring.jpa.show-sql=true
logging.level.cz.muni.ics.kypo.training.feedback=DEBUG