This guide provides a step-by-step process for setting up and configuring the Runtime Manager module, including database, Kafka, and OAuth2 authentication settings to manage runtime and build configurations.
LOGGING_CONFIG_FILE
- Path to the logging configuration file for customized logging levels.SPRING_APPLICATION_NAME
- Sets the application name.
application-manager
-> must be changed to runtime-manager
.SPRING_DATASOURCE_URL
- Database URL for the PostgreSQL data source (same as the one configured in application-manager
setup)SPRING_DATA_MONGODB_URI
- URI for connecting to MongoDB for runtime data (same as the one configured in application-manager
setup)
mongodb://${DB_USERNAME}:${DB_PASSWORD}@<host1>,<host2>,<arbiter-host>:<port>/${DB_NAME}?retryWrites=false
DB_USERNAME
: app-runtime
DB_NAME
: app-runtime
DB_PASSWORD
: DB password.SPRING_KAFKA_BOOTSTRAP_SERVERS
- Address of the Kafka server in the format host:port
KAFKA_TOPIC_NAMING_ENVIRONMENT
- Environment-specific suffix for Kafka topicsKAFKA_OAUTH_CLIENT_ID
- OAuth Client ID for KafkaKAFKA_OAUTH_CLIENT_SECRET
- OAuth Client Secret for KafkaKAFKA_OAUTH_TOKEN_ENDPOINT_URI
- OAuth Token Endpoint URI for obtaining Kafka tokens
https://<auth-server>/auth/realms/<realm>/protocol/openid-connect/token
SECURITY_OAUTH2_BASE_SERVER_URL
- Base URL for the OAuth 2.0 Authorization ServerSECURITY_OAUTH2_CLIENT_CLIENT_ID
- Unique identifier for the client application registered with the OAuth 2.0 serverSECURITY_OAUTH2_CLIENT_CLIENT_SECRET
- Secret key for authenticating requests made by the authorization clientSECURITY_OAUTH2_REALM
- The realm name for OAuth2 authenticationSPRING_REDIS_HOST
- Hostname or IP address of the Redis serverAPPLICATION_FILE_STORAGE_S3_SERVER_URL
- URL of the S3-compatible storage server for storing application files.Note: Replace placeholders in environment variables with the appropriate values for your environment before starting the service.