macma/macma-core
DATASOURCE_URL
| Description |
JDBC database connection string. MACMA Core supports MSSQL and Oracle (19+) database.
|
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
DATASOURCE_USERNAME
| Description |
Username for accessing the database, must have default schema of DATASOURCE_DEFAULT_SCHEMA. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
DATASOURCE_PASSWORD
| Description |
Password to access the database. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
DATASOURCE_DRIVER
| Description |
Driver class used to access the database. Valid values:
|
| Required |
Yes |
| Defaults to |
com.microsoft.sqlserver.jdbc.SQLServerDriver |
| Sources |
|
DATASOURCE_DEFAULT_SCHEMA
| Description |
Schema to use on MSSQL database. |
| Required |
Only for MSSQL, must be the default schema for DATASOURCE_USERNAME. |
| Defaults to |
dbo |
| Sources |
|
NEXEED_MACMA_DATASOURCE_MAXIMUM_POOL_SIZE
| Description |
The property controls the maximum size that the pool is allowed to reach, including both idle and in-use connections. Basically this value will determine the maximum number of actual connections to the database. |
| Required |
No. |
| Defaults to |
20 |
| Sources |
|
NEXEED_MACMA_DATASOURCE_MINIMUM_IDLE
| Description |
The property controls the minimum number of idle connections that HikariCP tries to maintain in the pool, including both idle and in-use connections. If the idle connections dip below this value, HikariCP will make a best effort to restore them quickly and efficiently. |
| Required |
No. |
| Defaults to |
10 |
| Sources |
|
MACMA_CLIENT_ID
| Description |
The environment’s MACMA client id. |
| Required |
No |
| Defaults to |
macma |
| Sources |
|
MACMA_CLIENT_SECRET
| Description |
The environment’s MACMA client secret. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
ACL_MAX_AGE
| Description |
Cache revalidation time for application ACL. |
| Required |
No |
| Defaults to |
30 |
| Sources |
|
USER_ACL_MAX_AGE
| Description |
Cache revalidation time for user ACL. |
| Required |
No |
| Defaults to |
2 |
| Sources |
|
JAVA_TLS_DISABLE
| Description |
Disable TLS / HTTPS. 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 |
|
MACMA_BOOTSTRAPPING_MAX_ATTEMPTS
| Description |
Number of bootstrapping attempts (initialization of root tenant and own resources). Some retries may be required until the Keycloak component is ready to accept requests. |
| Required |
No |
| Defaults to |
50 |
| Sources |
|
MACMA_PROVIDER_TENANT_ID
| Description |
The ID of the root tenant. Default realm for registration at portal and login. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
MACMA_PROVIDER_TENANT_NAME
| Description |
The initial name of the root tenant. After the initial setup, changing this value will have no effect. |
| Required |
No (but highly recommended to set the correct value for the initial setup) |
| Defaults to |
first customer tenant |
| 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 |
|
LOCAL_NETWORK_AUTH_SERVER_MANAGEMENT_URL
| Description |
URL to directly connect to the auth server management endpoints (i.e. health endpoints), 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 |
|
KEYCLOAK_CLIENT_SECRET
| Description |
Client secret of the admin client in the master realm, which is required by MACMA to control Keycloak. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
MACMA_USERNAME
| Description |
Name of the admin user created on bootstrapping. |
| Required |
No, but if not provided no admin user will be created. |
| Defaults to |
- |
| Sources |
|
MACMA_PASSWORD
| Description |
Password of the admin user created on bootstrapping. Has to be changed on first login. |
| Required |
No, but required if MACMA_USERNAME is set. |
| Defaults to |
- |
| 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 |
|
USERINFO_CACHE_ENABLED
| Description |
Enable caching for userinfo requests. |
| Required |
No |
| Defaults to |
true |
| Sources |
|
USERINFO_CACHE_EXPIRY_IN_SEC
| Description |
Cache expiration time in seconds for userinfo requests. |
| Required |
No |
| Defaults to |
5 |
| Sources |
|
USERINFO_CACHE_INITIAL_CAPACITY
| Description |
Initial cache capacity for userinfo requests. |
| Required |
No |
| Defaults to |
100 |
| Sources |
|
USERINFO_CACHE_MAXIMUM_SIZE
| Description |
Maximum cache capacity for userinfo requests. Set according to expected number of concurrent users. |
| Required |
No |
| Defaults to |
1000 |
| Sources |
|
EXTERNAL_TENANT_ACL_CACHE_ENABLED
| Description |
Enable caching for tenant ACLs. Tenant ACLs are used to calculate the user ACL, which is requested by frontends. |
| Required |
No |
| Defaults to |
true |
| Sources |
|
EXTERNAL_TENANT_ACL_CACHE_EXPIRY_IN_SEC
| Description |
Cache expiration time in seconds for tenant ACLs. Tenant ACLs are used to calculate the user ACL, which is requested by frontends. |
| Required |
No |
| Defaults to |
300 |
| Sources |
|
EXTERNAL_TENANT_ACL_CACHE_INITIAL_CAPACITY
| Description |
Initial cache capacity for tenant ACLs. Tenant ACLs are used to calculate the user ACL, which is requested by frontends. |
| Required |
No |
| Defaults to |
30 |
| Sources |
|
EXTERNAL_TENANT_ACL_CACHE_MAXIMUM_SIZE
| Description |
Maximum cache capacity for tenant ACLs. Tenant ACLs are used to calculate the user ACL, which is requested by frontends. For high values and/or large ACLs you need to increase macma-core.system-resources. |
| Required |
No |
| Defaults to |
300 |
| Sources |
|
EXTERNAL_APPLICATION_ACL_CACHE_ENABLED
| Description |
Enable caching for application ACLs. Applications are requesting their own cross-tenant ACL from MACMA. |
| Required |
No |
| Defaults to |
true |
| Sources |
|
EXTERNAL_APPLICATION_ACL_CACHE_EXPIRY_IN_SEC
| Description |
Cache expiration time in seconds for other applications' ACLs. Applications are requesting their own cross-tenant ACL from MACMA. |
| Required |
No |
| Defaults to |
300 |
| Sources |
|
EXTERNAL_APPLICATION_ACL_CACHE_INITIAL_CAPACITY
| Description |
Initial cache capacity for application ACLs. Applications are requesting their own cross-tenant ACL from MACMA. |
| Required |
No |
| Defaults to |
30 |
| Sources |
|
EXTERNAL_APPLICATION_ACL_CACHE_MAXIMUM_SIZE
| Description |
Maximum cache capacity for application ACLs. Applications are requesting their own cross-tenant ACL from MACMA. For high values and/or large ACLs you need to increase macma-core.system-resources. |
| Required |
No |
| Defaults to |
60 |
| Sources |
|
NEXEED_MACMA_RECOMMENDED_USER_TOKEN_INTROSPECTION_TRUST_IN_SECONDS
| Description |
Maximum recommended cache time (in s) for introspection results sent by MACMA for user tokens (should be small). |
| Required |
No |
| Defaults to |
5 |
| Sources |
|
NEXEED_MACMA_RECOMMENDED_CLIENT_TOKEN_INTROSPECTION_TRUST_IN_SECONDS
| Description |
Maximum recommended cache time (in s) for introspection results sent by MACMA for client tokens. |
| Required |
No |
| Defaults to |
150 |
| 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.. The value for NEXEED_MACMA_DEFAULT_MAX_BODY_SIZE_IN_MB has to be larger or equal to NEXEED_MACMA_MAX_FILE_UPLOAD_SIZE_IN_MB. |
| Required |
No |
| Defaults to |
8 |
| Sources |
|
NEXEED_MACMA_DEFAULT_MAX_BODY_SIZE_IN_MB
| Description |
Maximum allowed request body size. |
| Required |
No |
| Defaults to |
8 |
| Sources |
|
RABBITMQ_HOST
| Description |
Host name of RabbitMQ. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
RABBITMQ_PORT
| Description |
Port of RabbitMQ. |
| Required |
no (if default is correct) |
| Defaults to |
5672 |
| Sources |
|
RABBITMQ_VHOST
| Description |
Vhost setting of MACMA within RabbitMQ. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
RABBITMQ_SSL_ENABLED
| Description |
Enable SSL, valid values are |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
RABBITMQ_USERNAME
| Description |
RabbitMQ user for MACMA system. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
RABBITMQ_PASSWORD
| Description |
Password for RabbitMQ user. |
| Required |
Yes |
| Defaults to |
- |
| 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 |
|
azure.application-insights.instrumentation-key
| Description |
Key to identify the Azure Insights resource. |
| Required |
No |
| Defaults to |
- |
| Sources |
|
APPLICATION_INSIGHTS_IKEY
| Description |
If present activates azure ApplicationsInsightsAppender. |
| Required |
Yes |
| 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 |
|
LOG_LEVEL_NETTY
| Description |
Loglevel for Netty. |
| Required |
No |
| Defaults to |
WARN |
| Sources |
|
LOG_LEVEL_HIBERNATE
| Description |
Loglevel for Hibernate. |
| Required |
No |
| Defaults to |
WARN |
| Sources |
|
LOG_LEVEL_LIQUIBASE
| Description |
Loglevel for Liquibase. |
| Required |
No |
| Defaults to |
INFO |
| Sources |
|
LOG_LEVEL_SECURITY
| Description |
Loglevel for security logger. |
| Required |
No |
| Defaults to |
INFO |
| 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,db,keycloak |
| Sources |
|
MANAGEMENT_HEALTH_RABBIT_ENABLED
| Description |
Enable RabbitMQ Health Indicator. If enabled, use 'rabbit' as the health indicator ID to include it in the liveness or readiness health group (see MANAGEMENT_ENDPOINT_HEALTH_GROUP_LIVENESS_INCLUDE and MANAGEMENT_ENDPOINT_HEALTH_GROUP_READINESS_INCLUDE) |
| Required |
No |
| Defaults to |
true |
| Sources |
|
MANAGEMENT_HEALTH_DB_ENABLED
| Description |
Enable Database Health Indicator. If enabled, use 'db' as the health indicator ID to include it in the liveness or readiness health group (see MANAGEMENT_ENDPOINT_HEALTH_GROUP_LIVENESS_INCLUDE and MANAGEMENT_ENDPOINT_HEALTH_GROUP_READINESS_INCLUDE) |
| Required |
No |
| Required |
No |
| Defaults to |
true |
| Sources |
|
MANAGEMENT_HEALTH_KEYCLOAK_ENABLED
| Description |
Enable Keycloak Health Indicator. If enabled, use 'keycloak' as the health indicator ID to include it in the liveness or readiness health group (see MANAGEMENT_ENDPOINT_HEALTH_GROUP_LIVENESS_INCLUDE and MANAGEMENT_ENDPOINT_HEALTH_GROUP_READINESS_INCLUDE) |
| Required |
No |
| Required |
No |
| Defaults to |
true |
| 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 |
|
ACTIVITY_LOGS_RETENTION_TIME_IN_DAYS
| Description |
Activity Logs Retention time in days |
| Required |
No |
| Defaults to |
90 |
| Sources |
|
ACTIVITY_LOGS_CLEANUP_INITIAL_DELAY_IN_MINUTES
| Description |
Delay (in minutes) after application startup when the Activity Logs Clean-up task is started |
| Required |
No |
| Defaults to |
1 |
| Sources |
|
ACTIVITY_LOGS_CLEANUP_FIXED_DELAY_IN_HOURS
| Description |
Scheduled period (in hours) when the Activity Logs Clean-up task is executed |
| Required |
No |
| Defaults to |
24 |
| Sources |
|
NEXEED_MACMA_ACCESS_CONFIGURATION_INCOMPLETE_JOB_CLEANUP_RETENTION_TIME_IN_HOURS
| Description |
Retention time (in hours) after incomplete access configuration jobs are deleted. Incomplete jobs are in state PARSED or UPLOADED. |
| Required |
No |
| Defaults to |
4 |
| Sources |
|
NEXEED_MACMA_ACCESS_CONFIGURATION_INCOMPLETE_JOB_CLEANUP_INITIAL_DELAY_IN_MINUTES
| Description |
Initial delay (in minutes) after application startup when the access configuration cleanup task is started. |
| Required |
No |
| Defaults to |
30 |
| Sources |
|
NEXEED_MACMA_ACCESS_CONFIGURATION_INCOMPLETE_JOB_CLEANUP_FIXED_DELAY_IN_HOURS
| Description |
Fixed delay (in hours) between executions of the access configuration cleanup task. |
| Required |
No |
| Defaults to |
2 |
| Sources |
|
NEXEED_MACMA_AUTODETECT_ENTRA_ID_DOMAINS
| Description |
Autodetected domains that are used to setup Entra ID identity providers. The domains need to be separated by a comma. Defaults are taken from the official Microsoft documentation. |
| Required |
No |
| Defaults to |
login.microsoftonline.com,login.partner.microsoftonline.cn,login.microsoftonline.us |
| Sources |
|
NEXEED_MACMA_DELETED_TENANTS_CLEANUP_CRON
| Description |
Specify the schedule to run the cleanup of deleted tenants. The value is a cron-like expression, extending the usual UN*X definition to include triggers on the second, minute, hour, day of month, month, and day of week. The special value "-" indicates a disabled cron trigger. See also CronExpression parsing. |
| Required |
No |
| Defaults to |
@weekly |
| Sources |
|