-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
51 lines (44 loc) · 1.56 KB
/
.env.example
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
SERVER_PORT=8081
NINJA_BASE_URL=http://localhost:8081
NINJA_HOST_URL=http://localhost:8081
NINJA_QUERY_TIMEOUT_SEC=30
NINJA_RESPONSE_MAX_SIZE_MB=100
# Quota: Requests per second for:
# - a guest user (anonymous request)
# - a guest user that provides a referer header
# - a logged-in user without a contract => BASIC
# - a logged-in user with a ADVANCED contract
# - a logged-in user with a PREMIUM contract
# - admins have no restrictions at all
NINJA_QUOTA_GUEST=5
NINJA_QUOTA_REFERER=10
NINJA_QUOTA_BASIC=20
NINJA_QUOTA_ADVANCED=50
NINJA_QUOTA_PREMIUM=100
# Quota: Historical data request range limit in days. See request rate quota above for user types
# By not setting or setting 0, quota is disabled for that role
NINJA_QUOTA_HISTORY_GUEST=30
NINJA_QUOTA_HISTORY_REFERER=60
NINJA_QUOTA_HISTORY_BASIC=365
NINJA_QUOTA_HISTORY_ADVANCED=1095
NINJA_QUOTA_HISTORY_PREMIUM=9999999
### Logging
# Identification of the log entries, if used together with other applications
# Make sure that the application name and version corresponds to your pom.xml
# "artifactId" and "version".
LOG_APPLICATION_NAME=ninja
LOG_APPLICATION_VERSION=0.0.0-LOCAL-DEV
LOG_LEVEL=DEBUG
LOG_ROOTLEVEL=INFO
# text or json
LOG_STYLE=text
SECURITY_ALLOWED_ORIGINS=*
KEYCLOAK_URL=https://auth.opendatahub.testingmachine.eu/auth/
KEYCLOAK_SSL_REQUIRED=none
KEYCLOAK_REALM=noi
KEYCLOAK_CLIENT_ID=odh-mobility-v2
KEYCLOAK_CLIENT_SECRET=
JDBC_URL=jdbc:postgresql://test-pg-bdp.co90ybcr8iim.eu-west-1.rds.amazonaws.com:5432/bdp?currentSchema=intimev2,public
DB_USERNAME=bdp_readonly
DB_PASSWORD=
JAVA_OPTIONS=-Xms2g -Xmx6g