poapsis.ortserver.workers.config-worker.0.1.0-RC1.source-code.application.conf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of config-worker Show documentation
Show all versions of config-worker Show documentation
Part of the ORT Server, the reference implementation of Eclipse Apoapsis.
The newest version!
# Copyright (C) 2023 The ORT Server Authors (See )
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# License-Filename: LICENSE
configManager {
secretProvider = ${?CONFIG_SECRET_PROVIDER}
configSecretFileList = ${?CONFIG_SECRET_FILES}
allowSecretsFromConfig = ${?ALLOW_SECRETS_FROM_CONFIG}
fileProvider = ${?CONFIG_CONFIG_FILE_PROVIDER}
gitHubRepositoryOwner = ${?CONFIG_CONFIG_GITHUB_REPOSITORY_OWNER}
gitHubRepositoryName = ${?CONFIG_CONFIG_GITHUB_REPOSITORY_NAME}
gitHubCacheDirectory = ${?CONFIG_CONFIG_GITHUB_CACHE_DIRECTORY}
gitHubCacheLockCheckIntervalSec = 5
gitHubCacheLockCheckIntervalSec = ${?CONFIG_CONFIG_GITHUB_CACHE_LOCK_CHECK_INTERVAL}
gitHubCacheMaxAgeDays = 30
gitHubCacheMaxAgeDays = ${?CONFIG_CONFIG_GITHUB_CACHE_MAX_AGE}
gitHubCacheCleanupRatio = 50
gitHubCacheCleanupRatio = ${?CONFIG_CONFIG_GITHUB_CACHE_CLEANUP_RATIO}
gitUrl = ${?CONFIG_CONFIG_GIT_URL}
localConfigDir = ${?CONFIG_CONFIG_LOCAL_CONFIG_DIR}
}
database {
host = "localhost"
host = ${?DB_HOST}
port = 5432
port = ${?DB_PORT}
name = "ort"
name = ${?DB_NAME}
schema = "ort_server"
schema = ${?DB_SCHEMA}
username = "postgres"
username = ${?DB_USERNAME}
password = "postgres"
password = ${?DB_PASSWORD}
connectionTimeout = 30000
connectionTimeout = ${?DB_CONNECTION_TIMEOUT}
idleTimeout = 600000
idleTimeout = ${?DB_IDLE_TIMEOUT}
keepaliveTime = 0
keepaliveTime = ${?DB_KEEPALIVE_TIME}
maxLifetime = 1800000
maxLifetime = ${?DB_MAX_LIFETIME}
maximumPoolSize = 5
maximumPoolSize = ${?DB_MAXIMUM_POOL_SIZE}
minimumIdle = 5
minimumIdle = ${?DB_MINIMUM_IDLE}
sslMode = "verify-full"
sslMode = ${?DB_SSL_MODE}
sslCert = ${?DB_SSL_CERT}
sslKey = ${?DB_SSL_KEY}
sslRootCert = ${?DB_SSL_ROOT_CERT}
}
config {
receiver {
type = "kubernetes"
type = ${?CONFIG_RECEIVER_TRANSPORT_TYPE}
serverUri = "amqp://localhost:61616"
serverUri = ${?CONFIG_RECEIVER_TRANSPORT_SERVER_URI}
queueName = "analyzer_queue"
queueName = ${?CONFIG_RECEIVER_TRANSPORT_QUEUE_NAME}
username = "username"
username = ${?CONFIG_RECEIVER_TRANSPORT_USERNAME}
password = "password"
password = ${?CONFIG_RECEIVER_TRANSPORT_PASSWORD}
}
}
orchestrator {
sender {
type = "activeMQ"
type = ${?ORCHESTRATOR_SENDER_TRANSPORT_TYPE}
serverUri = "amqp://localhost:61616"
serverUri = ${?ORCHESTRATOR_SENDER_TRANSPORT_SERVER_URI}
queueName = "orchestrator_queue"
queueName = ${?ORCHESTRATOR_SENDER_TRANSPORT_QUEUE_NAME}
username = "username"
username = ${?ORCHESTRATOR_SENDER_TRANSPORT_USERNAME}
password = "password"
password = ${?ORCHESTRATOR_SENDER_TRANSPORT_PASSWORD}
}
}