All Downloads are FREE. Search and download functionalities are using the official Maven repository.

poapsis.ortserver.workers.advisor.0.1.0-RC1.source-code.application.conf Maven / Gradle / Ivy

Go to download

Part of the ORT Server, the reference implementation of Eclipse Apoapsis.

The newest version!
# Copyright (C) 2022 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 = ${?ADVISOR_SECRET_PROVIDER}
  configSecretFileList = ${?ADVISOR_SECRET_FILES}
  allowSecretsFromConfig = ${?ALLOW_SECRETS_FROM_CONFIG}

  fileProvider = ${?ADVISOR_CONFIG_FILE_PROVIDER}
  gitHubRepositoryOwner = ${?ADVISOR_CONFIG_GITHUB_REPOSITORY_OWNER}
  gitHubRepositoryName = ${?ADVISOR_CONFIG_GITHUB_REPOSITORY_NAME}
  gitHubCacheDirectory = ${?ADVISOR_CONFIG_GITHUB_CACHE_DIRECTORY}
  gitHubCacheLockCheckIntervalSec = 5
  gitHubCacheLockCheckIntervalSec = ${?ADVISOR_CONFIG_GITHUB_CACHE_LOCK_CHECK_INTERVAL}
  gitHubCacheMaxAgeDays = 30
  gitHubCacheMaxAgeDays = ${?ADVISOR_CONFIG_GITHUB_CACHE_MAX_AGE}
  gitHubCacheCleanupRatio = 50
  gitHubCacheCleanupRatio = ${?ADVISOR_CONFIG_GITHUB_CACHE_CLEANUP_RATIO}
  gitUrl = ${?ADVISOR_CONFIG_GIT_URL}
  localConfigDir = ${?ADVISOR_CONFIG_LOCAL_CONFIG_DIR}
}

ort {
  environmentAllowedNames = ${?ORT_ENVIRONMENT_ALLOWED_NAMES}
  environmentDenySubstrings = ${?ORT_ENVIRONMENT_DENY_SUBSTRINGS}
}

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}
}

advisor {
  receiver {
    type = "kubernetes"
    type = ${?ADVISOR_RECEIVER_TRANSPORT_TYPE}
    serverUri = "amqp://localhost:61616"
    serverUri = ${?ADVISOR_RECEIVER_TRANSPORT_SERVER_URI}
    queueName = "advisor_queue"
    queueName = ${?ADVISOR_RECEIVER_TRANSPORT_QUEUE_NAME}
    username = "username"
    username = ${?ADVISOR_RECEIVER_TRANSPORT_USERNAME}
    password = "password"
    password = ${?ADVISOR_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}
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy