macma/macma-webapp-backend
MACMA_CLIENT_ID
| Description |
MACMA’s own client’s client-id. Used for registration at portal if enabled. |
| Required |
No |
| Defaults to |
macma |
| Sources |
|
MACMA_CLIENT_SECRET
| Description |
The environment’s MACMA client secret. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
AUTH_SERVER_BASE_URL
| Description |
Public URL to Keycloak instance to match the token’s issuer URL. Must not end with a slash. The base URL is the part in front of the /auth context path offered by Keycloak. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
LOCAL_NETWORK_AUTH_SERVER_URL
| Description |
URL to directly connect to the auth server, ideally on the internal network for improved performance. This URL is the part in front of the /auth context path offered by Keycloak. |
| Required |
No |
| Defaults to |
|
| Sources |
|
NEXEED_MACMA_REVERSE_PROXY_CORE_URL
| Description |
URL to connect to MACMA core directly. |
| Required |
No |
| Defaults to |
|
| Sources |
|
AUTH_SERVER_DEFAULT_REALM
| Description |
The ID of the root tenant. Default realm for registration at portal and login. |
| Required |
No |
| Defaults to |
7311ea8c-5d48-43fe-acf9-980eedf24b6c |
| Sources |
|
ACCESS_TOKEN_TIMEOUT
| Description |
Timeout in milliseconds to get an access token from the authorization server to register in portal. |
| Required |
No |
| Defaults to |
5000 |
| Sources |
|
JAVA_TLS_DISABLE
| Description |
Disable TLS / HTTPS. Must be set to |
| Required |
No |
| Defaults to |
true |
| Sources |
|
USE_SYSTEM_CA_CERTS
| Description |
Import all default certificates from the Ubuntu ca-certificates package to Java. Custom certificates that are mounted to /certificates are imported as well. Required to enable TLS. |
| Required |
No |
| Defaults to |
true |
| Sources |
|
PORTAL_BASE_URL
| Description |
Base url of the portal. Required for registration. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
PORTAL_CLIENT_NAME
| Description |
Name of the portal module. For registration the id of the portal’s client is searched by this name to get a proper token. |
| Required |
No |
| Defaults to |
portal |
| Sources |
|
PORTAL_REGISTRATION_WAIT_BEFORE_FIRST_ATTEMPT
| Description |
Delay in milliseconds before the first attempt to register in portal is triggered. |
| Required |
No |
| Defaults to |
10000 |
| Sources |
|
PORTAL_REGISTRATION_WAIT_BEFORE_NEXT_ATTEMPT
| Description |
Delay in milliseconds before the next attempt to register in portal is triggered if the first request failed. |
| Required |
No |
| Defaults to |
60000 |
| Sources |
|
PORTAL_REGISTRATION_TIMEOUT
| Description |
Request timeout while trying to register at portal. |
| Required |
No |
| Defaults to |
10000 |
| Sources |
|
OTEL_ENABLED
| Description |
Enable OpenTelemetry agent. |
| Required |
No |
| Defaults to |
false |
| Sources |
|
OTEL_EXPORTER_OTLP_ENDPOINT
| Description |
URL of the elastic APM server. |
| Required |
Yes (if enabled by OTEL_ENABLED) |
| Defaults to |
- |
| Sources |
|
OTEL_LOGS_EXPORTER
| Description |
Logs exporter to be used. |
| Required |
No |
| Defaults to |
none |
| Sources |
|
OTEL_METRICS_EXPORTER
| Description |
Metrics exporter to be used. |
| Required |
No |
| Defaults to |
none |
| Sources |
|
OTEL_TRACES_EXPORTER
| Description |
Traces exporter to be used. |
| Required |
No |
| Defaults to |
none |
| Sources |
|
OTEL_EXPORTER_OTLP_PROTOCOL
| Description |
The transport protocol of OpenTelemetry Exporter. |
| Required |
No |
| Defaults to |
grpc |
| Sources |
|
OTEL_TRACES_SAMPLER
| Description |
Specifies the Sampler used to sample traces by the OpenTelemetry SDK. |
| Required |
No |
| Defaults to |
parentbased_always_on |
| Sources |
|
OTEL_TRACES_SAMPLER_ARG
| Description |
Specifies argument for the trace smapler. Each Sampler type defines its own expected input. |
| Required |
No |
| Defaults to |
- |
| Sources |
|
OTEL_RESOURCE_ATTRIBUTES
| Description |
Key-value pairs to be used as resource attributes for OpenTelemetry SDK, containing e.g. service.name, service.version, deployment.environment. |
| Required |
Yes (if enabled by OTEL_ENABLED) |
| Defaults to |
- |
| Sources |
|
OTEL_EXPORTER_OTLP_HEADERS
| Description |
Header of OpenTelemetry exporter including authentication at the APM server. |
| Required |
Yes (if enabled by OTEL_ENABLED) |
| Defaults to |
- |
| Sources |
|
LOG_LEVEL_ROOT
| Description |
Default loglevel except for the following explicit settings. |
| Required |
No |
| Defaults to |
WARN |
| Sources |
|
LOG_LEVEL_SPRING
| Description |
Loglevel for everything Spring (but not Spring Boot). |
| Required |
No |
| Defaults to |
WARN |
| Sources |
|
LOG_LEVEL_SPRING_BOOT
| Description |
Loglevel for everything Spring Boot. |
| Required |
No |
| Defaults to |
WARN |
| Sources |
|
LOG_LEVEL_SPRING_SECURITY
| Description |
Loglevel for everything Spring SECURITY. |
| Required |
No |
| Defaults to |
WARN |
| Sources |
|
LOG_LEVEL_BOSCH
| Description |
Loglevel for Bosch Components. |
| Required |
No |
| Defaults to |
WARN |
| Sources |
|
MANAGEMENT_ENDPOINT_HEALTH_ENABLED
| Description |
Enable '/health' endpoint, to expose application health information. |
| Required |
No |
| Defaults to |
true |
| Sources |
|
MANAGEMENT_ENDPOINT_HEALTH_SHOW-DETAILS
| Description |
When to show full health details. Valid values: never, when_authorized, always. |
| Required |
No |
| Defaults to |
when_authorized |
| Sources |
|
MANAGEMENT_ENDPOINT_HEALTH_PROBES_ENABLED
| Description |
Enable liveness and readiness probes. Use in combination with MANAGEMENT_HEALTH_LIVENESSSTATE_ENABLED and MANAGEMENT_HEALTH_READINESSSTATE_ENABLED to enable '/health/liveness' and '/health/readiness' endpoints |
| Required |
No |
| Defaults to |
true |
| Sources |
|
MANAGEMENT_HEALTH_LIVENESSSTATE_ENABLED
| Description |
Enable liveness state health check. Use in combination with MANAGEMENT_ENDPOINT_HEALTH_PROBES_ENABLED to enable '/health/liveness' endpoint |
| Required |
No |
| Defaults to |
true |
| Sources |
|
MANAGEMENT_HEALTH_READINESSSTATE_ENABLED
| Description |
Enable readiness state health check. Use in combination with MANAGEMENT_ENDPOINT_HEALTH_PROBES_ENABLED to enable '/health/readiness' endpoint |
| Required |
No |
| Defaults to |
true |
| Sources |
|
MANAGEMENT_ENDPOINT_HEALTH_GROUP_LIVENESS_INCLUDE
| Description |
Comma separated list of health indicator IDs that should be included for the liveness probe (or '*' for all). |
| Required |
No |
| Defaults to |
livenessState |
| Sources |
|
MANAGEMENT_ENDPOINT_HEALTH_GROUP_READINESS_INCLUDE
| Description |
Comma separated list of health indicator IDs that should be included for the readiness probe (or '*' for all). |
| Required |
No |
| Defaults to |
readinessState |
| Sources |
|
NEXEED_MACMA_LIFECYLE_TIMEOUT_PER_SHUTDOWN_PHASE_IN_SECONDS
| Description |
Timeout in seconds for the shutdown of any phase (group of SmartLifecycle beans with the same 'phase' value), when the shutdown mode is set to graceful |
| Required |
No |
| Defaults to |
45 |
| Sources |
|
NEXEED_MACMA_EXECUTION_AWAIT_TERMINATION_ON_SHUTDOWN
| Description |
Whether the executor should wait for scheduled tasks to complete on shutdown, when the shutdown mode is set to graceful |
| Required |
No |
| Defaults to |
true |
| Sources |
|
NEXEED_MACMA_EXECUTION_AWAIT_TERMINATION_IN_SECONDS_ON_SHUTDOWN
| Description |
Maximum time in seconds the executor should wait for remaining tasks to complete, when the shutdown mode is set to graceful |
| Required |
No |
| Defaults to |
45 |
| Sources |
|
NEXEED_MACMA_SCHEDULING_AWAIT_TERMINATION_ON_SHUTDOWN
| Description |
Whether the scheduler should wait for scheduled tasks to complete on shutdown, when the shutdown mode is set to graceful |
| Required |
No |
| Defaults to |
true |
| Sources |
|
NEXEED_MACMA_SCHEDULING_AWAIT_TERMINATION_IN_SECONDS_ON_SHUTDOWN
| Description |
Maximum time in seconds the scheduler should wait for remaining tasks to complete, when the shutdown mode is set to graceful |
| Required |
No |
| Defaults to |
45 |
| Sources |
|
NEXEED_MACMA_SHUTDOWN_MODE
| Description |
Allowed values: graceful or immediate |
| Required |
No |
| Defaults to |
graceful |
| Sources |
|
INTERNAL_AUTHORIZATION_ACL_CACHE_ENABLED
| Description |
Enable caching for MACMA’s own ACL. |
| Required |
No |
| Defaults to |
true |
| Sources |
|
INTERNAL_AUTHORIZATION_ACL_CACHE_EXPIRY_IN_SEC
| Description |
Cache expiration time in seconds for MACMA’s own ACL cache. |
| Required |
No |
| Defaults to |
300 |
| Sources |
|
NEXEED_MACMA_MAX_FILE_UPLOAD_SIZE_IN_MB
| Description |
Maximum allowed filesize for file upload e.g. for configuration file. Increasing the value can cause OutOfMemory errors. |
| Required |
No |
| Defaults to |
8 |
| Sources |
|