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

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

There is a newer version: 0.1.0-RC2
Show 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 = ${?ANALYZER_SECRET_PROVIDER}
  configSecretFileList = ${?ANALYZER_SECRET_FILES}
  allowSecretsFromConfig = ${?ALLOW_SECRETS_FROM_CONFIG}

  fileProvider = ${?ANALYZER_CONFIG_FILE_PROVIDER}
  gitHubRepositoryOwner = ${?ANALYZER_CONFIG_GITHUB_REPOSITORY_OWNER}
  gitHubRepositoryName = ${?ANALYZER_CONFIG_GITHUB_REPOSITORY_NAME}
  gitHubCacheDirectory = ${?ANALYZER_CONFIG_GITHUB_CACHE_DIRECTORY}
  gitHubCacheLockCheckIntervalSec = 5
  gitHubCacheLockCheckIntervalSec = ${?ANALYZER_CONFIG_GITHUB_CACHE_LOCK_CHECK_INTERVAL}
  gitHubCacheMaxAgeDays = 30
  gitHubCacheMaxAgeDays = ${?ANALYZER_CONFIG_GITHUB_CACHE_MAX_AGE}
  gitHubCacheCleanupRatio = 50
  gitHubCacheCleanupRatio = ${?ANALYZER_CONFIG_GITHUB_CACHE_CLEANUP_RATIO}
  gitUrl = ${?ANALYZER_CONFIG_GIT_URL}
  localConfigDir = ${?ANALYZER_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}
}

analyzer {
  receiver {
    type = "kubernetes"
    type = ${?ANALYZER_RECEIVER_TRANSPORT_TYPE}
    serverUri = "amqp://localhost:61616"
    serverUri = ${?ANALYZER_RECEIVER_TRANSPORT_SERVER_URI}
    queueName = "analyzer_queue"
    queueName = ${?ANALYZER_RECEIVER_TRANSPORT_QUEUE_NAME}
    username = "username"
    username = ${?ANALYZER_RECEIVER_TRANSPORT_USERNAME}
    password = "password"
    password = ${?ANALYZER_RECEIVER_TRANSPORT_PASSWORD}
  }

  forkCommands = ${?ANALYZER_FORK_COMMANDS}
  forkCommandSeparator = ${?ANALYZER_FORK_COMMAND_SEPARATOR}
}

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

secretsProvider {
  name = "vault"
  name = ${?SECRETS_PROVIDER_NAME}

  # Properties for the Vault provider.
  vaultUri = ${?VAULT_URI}
  vaultRoleId = ${?VAULT_ROLE_ID}
  vaultSecretId = ${?VAULT_SECRET_ID}
  vaultRootPath = ${?VAULT_ROOT_PATH}
  vaultPrefix = ${?VAULT_PREFIX}
  vaultNamespace = ${?VAULT_NAMESPACE}

  # Properties for the file-based provider.
  fileBasedPath = ${?FILE_BASED_PATH}

  # Properties for the Scaleway provider.
  scwServerUrl = ${?SCW_SERVER_URL}
  scwApiVersion = ${?SCW_API_VERSION}
  scwRegion = ${?SCW_REGION}
  scwSecretKey = ${?SCW_SECRET_KEY}
  scwProjectId = ${?SCW_PROJECT_ID}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy