application.properties 2.53 KB
Newer Older
1
quarkus.log.level=INFO
2
quarkus.http.port=8090
3
4
5
6
quarkus.http.cors=true
quarkus.http.cors.origins=https://membership.eclipse.org,https://membership-staging.eclipse.org
quarkus.http.cors.exposed-headers=x-csrf-token
quarkus.http.cors.headers=x-csrf-token
7

8
## EXTERNAL API CLIENT CONFIG
9
fdn-api/mp-rest/url=https://api.eclipse.org/public
10
11
12
fdn-api/mp-rest/scope=javax.inject.Singleton

## Required for wg interim solution, remove when moved to external API
13
quarkus.native.resources.includes=working_groups.json,templates/**
14
eclipse.working-groups.filepath=working_groups.json
15
eclipse.working-groups.deny-list=openhw-group,opengenesis
16

17
18
19
20
21
22
23
## MAILER SETTINGS
quarkus.mailer.auth-methods=DIGEST-MD5 CRAM-SHA256 CRAM-SHA1 CRAM-MD5 PLAIN LOGIN
quarkus.mailer.from=membership.coordination@eclipse-foundation.org
quarkus.mailer.host=smtp.gmail.com
quarkus.mailer.port=465
quarkus.mailer.ssl=true

24
25
26
27
## DATASOURCE CONFIG
quarkus.datasource.db-kind=mariadb
quarkus.datasource.jdbc.min-size = 5
quarkus.datasource.jdbc.max-size = 15
28
eclipse.db.default.limit=10
29
30
eclipse.db.default.limit.max=100

31
32
## APP Settings
eclipse.app.base-url=https://membership.eclipse.org/
33
34
eclipse.mailer.membership.inbox=membership.coordination@eclipse-foundation.org
quarkus.resteasy.path=/api
35

36
37
38
## OIDC Connection/Authentication Info
quarkus.oauth2.enabled=false
quarkus.oidc.application-type=web-app
39
quarkus.oidc.token.refresh-expired=true
40
quarkus.oidc.authentication.session-age-extension=60m
41
42
quarkus.oidc.discovery-enabled=true
quarkus.oidc.roles.source=accesstoken
43
quarkus.oidc.authentication.redirect-path=/api/login
44
quarkus.oidc.logout.post-logout-path=/
45
quarkus.oidc.logout.path=/api/logout
46
security.csrf.enabled=true
47
quarkus.oidc.authentication.java-script-auto-redirect=false
48

49
50
51
## Recreate DB profile (easy to trigger in remote envs)
%dbfresh.quarkus.hibernate-orm.database.generation=drop-and-create

52
53
## DEV SETTINGS
%dev.security.csrf.enabled = false
54
%dev.quarkus.http.cors.origins=https://membership.eclipse.org,https://membership-staging.eclipse.org,http://localhost:8091,http://api.rem.docker,https://www.rem.docker
55
56
%dev.eclipse.dataloader.user-ids=malowe, cguindon, epoirier, zhoufang
%dev.eclipse.app.base-url=http://localhost:8090/
57
58
59
60
61
%dev.eclipse.mailer.membership.inbox=martin.lowe@eclipse-foundation.org

## Optional dev settings
#%dev.quarkus.hibernate-orm.database.generation=drop-and-create
#%dev.eclipse.dataloader.enabled=true
62
#%dev.eclipse.dataloader.form-count=2500
63
64
#%dev.quarkus.mailer.mock=false
#%dev.quarkus.log.category."org.eclipsefoundation".level=DEBUG
65
66
#%dev.eclipse.scheduled.membership.enabled=false