Spring Boot Actuator enabled on /manage
[cps.git] / cps / cps-rest / src / main / resources / application.yml
1 server:\r
2   port: 8080\r
3   servlet:\r
4      context-path: /api/cps\r
5 \r
6 spring:\r
7     main:\r
8         banner-mode: "off"\r
9 # for POC only, later this should move to cpi-ri module\r
10     jpa:\r
11         ddl-auto: create\r
12         open-in-view: false\r
13         properties:\r
14             hibernate:\r
15                 enable_lazy_load_no_trans: true\r
16                 dialect: org.hibernate.dialect.PostgreSQLDialect\r
17 \r
18     datasource:\r
19         url: jdbc:postgresql://${DB_HOST}:5432/cpsdb\r
20         username: ${DB_USERNAME}\r
21         password: ${DB_PASSWORD}\r
22         driverClassName: org.postgresql.Driver\r
23         initialization-mode: always\r
24     jersey:\r
25         type: filter\r
26 \r
27 # Actuator\r
28 management:\r
29     endpoints:\r
30         web:\r
31             base-path: /manage\r
32     endpoint:\r
33         health:\r
34             show-details: always\r
35             # kubernetes probes: liveness and readiness\r
36             probes:\r
37                 enabled: true\r
38 \r
39 logging:\r
40     level:\r
41         org:\r
42             springframework: INFO\r