Skip to content

Commit a6d7c0a

Browse files
committed
Better structuring of application configuration
1 parent 7765aee commit a6d7c0a

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

src/main/resources/application.properties

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
1+
# OIDC configuration
12
#quarkus.oidc.auth-server-url=[configure me]
23
#quarkus.oidc.client-id=[configure me]
34
#quarkus.oidc.credentials.secret=[configure me]
45
quarkus.oidc.application-type=web-app
56
quarkus.oidc.authentication.scopes=openid email
67
quarkus.oidc.authentication.redirect-path=/
78

9+
# Authentication
810
quarkus.http.auth.permission.authenticated.paths=/login
911
quarkus.http.auth.permission.authenticated.policy=authenticated
1012

13+
# Cache
1114
quarkus.cache.caffeine."sessions".expire-after-write=5m
1215

13-
# 2025
16+
# Timeline, 2025
1417
conference.current=ffbdc06b-b570-4409-bf2f-7d3b5dd2aed3
1518
timeline.opening=2025-02-14T00:00:00Z
16-
timeline.closing=2025-04-28T00:00:00Z
19+
timeline.closing=2025-04-28T23:59:59Z
1720
timeline.feedback=2025-06-30T00:00:00Z
1821
timeline.refund=2025-08-01T00:00:00Z
1922

20-
# 2024
21-
#conference.current=ad82e461-9444-40a4-a9d5-cc4885f9107a
22-
#timeline.opening=2024-01-29T00:00:00Z
23-
#timeline.closing=2024-04-08T00:00:00Z
24-
#timeline.feedback=2024-06-30T00:00:00Z
25-
#timeline.refund=2024-08-01T00:00:00Z
2623

24+
# Production configuration
2725
%prod.quarkus.http.proxy.proxy-address-forwarding=true
2826

27+
# Development configuration
2928
%dev.quarkus.web-bundler.dependencies.node-modules=node_modules
3029
%dev.quarkus.rest-client.logging.scope=request-response
3130
%dev.quarkus.rest-client.logging.body-limit=5000

0 commit comments

Comments
 (0)