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

poapsis.ortserver.workers.scanner.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.

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

  fileProvider = ${?SCANNER_CONFIG_FILE_PROVIDER}
  gitHubRepositoryOwner = ${?SCANNER_CONFIG_GITHUB_REPOSITORY_OWNER}
  gitHubRepositoryName = ${?SCANNER_CONFIG_GITHUB_REPOSITORY_NAME}
  gitHubCacheDirectory = ${?SCANNER_CONFIG_GITHUB_CACHE_DIRECTORY}
  gitHubCacheLockCheckIntervalSec = 5
  gitHubCacheLockCheckIntervalSec = ${?SCANNER_CONFIG_GITHUB_CACHE_LOCK_CHECK_INTERVAL}
  gitHubCacheMaxAgeDays = 30
  gitHubCacheMaxAgeDays = ${?SCANNER_CONFIG_GITHUB_CACHE_MAX_AGE}
  gitHubCacheCleanupRatio = 50
  gitHubCacheCleanupRatio = ${?SCANNER_CONFIG_GITHUB_CACHE_CLEANUP_RATIO}
  gitUrl = ${?SCANNER_CONFIG_GIT_URL}
  localConfigDir = ${?SCANNER_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}
}

scanner {
  receiver {
    type = "kubernetes"
    type = ${?SCANNER_RECEIVER_TRANSPORT_TYPE}
    serverUri = "amqp://localhost:61616"
    serverUri = ${?SCANNER_RECEIVER_TRANSPORT_SERVER_URI}
    queueName = "scanner_queue"
    queueName = ${?SCANNER_RECEIVER_TRANSPORT_QUEUE_NAME}
    username = "username"
    username = ${?SCANNER_RECEIVER_TRANSPORT_USERNAME}
    password = "password"
    password = ${?SCANNER_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}
  }
}

fileArchiveStorage {
  name = "database"
  name = ${?FILE_ARCHIVE_STORAGE_NAME}
  namespace = "fileArchives"
  namespace = ${?FILE_ARCHIVE_STORAGE_NAMESPACE}
  inMemoryLimit = 1048576
  inMemoryLimit = ${?FILE_ARCHIVE_STORAGE_IN_MEMORY_LIMIT}
  s3AccessKey = ${?FILE_ARCHIVE_STORAGE_ACCESS_KEY}
  s3SecretKey = ${?FILE_ARCHIVE_STORAGE_SECRET_KEY}
  s3Region = ${?FILE_ARCHIVE_STORAGE_REGION}
  s3BucketName = ${?FILE_ARCHIVE_STORAGE_BUCKET_NAME}
  s3EndpointUrl = ${?FILE_ARCHIVE_STORAGE_ENDPOINT_URL}
}

fileListStorage {
  name = "database"
  name = ${?FILE_LIST_STORAGE_NAME}
  namespace = "fileLists"
  namespace = ${?FILE_LIST_STORAGE_NAMESPACE}
  inMemoryLimit = 1048576
  inMemoryLimit = ${?FILE_LIST_STORAGE_IN_MEMORY_LIMIT}
}

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