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

poapsis.ortserver.transport.kubernetes-jobmonitor.0.1.0-RC2.source-code.application.conf Maven / Gradle / Ivy

There is a newer version: 0.1.0-RC1
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 = ${?MONITOR_SECRET_PROVIDER}
  configSecretFileList = ${?MONITOR_SECRET_FILES}
  allowSecretsFromConfig = ${?ALLOW_SECRETS_FROM_CONFIG}
}

jobMonitor {
  namespace = "ortserver"
  namespace = ${?MONITOR_NAMESPACE}
  enableWatching = true
  enableWatching = ${?MONITOR_WATCHING_ENABLED}
  enableReaper = true
  enableReaper = ${?MONITOR_REAPER_ENABLED}
  reaperInterval = 600
  reaperInterval = ${?MONITOR_REAPER_INTERVAL}
  reaperMaxAge = 600
  reaperMaxAge = ${?MONITOR_REAPER_MAX_AGE}
  recentlyProcessedInterval = 60
  recentlyProcessedInterval = ${?MONITOR_RECENTLY_PROCESSED_INTERVAL}
  enableLostJobs = true
  enableLostJobs = ${?MONITOR_LOST_JOBS_ENABLED}
  lostJobsInterval = 120
  lostJobsInterval = ${?MONITOR_LOST_JOBS_INTERVAL}
  lostJobsMinAge = 30
  lostJobsMinAge = ${?MONITOR_LOST_JOBS_MIN_AGE}
  enableLongRunningJobs = true
  enableLongRunningJobs = ${?MONITOR_LONG_RUNNING_JOBS_ENABLED}
  longRunningJobsInterval = 600
  longRunningJobsInterval = ${?MONITOR_LONG_RUNNING_JOBS_INTERVAL}
  timeouts {
    config = 1
    config = ${?MONITOR_TIMEOUT_CONFIG}
    analyzer = 120
    analyzer = ${?MONITOR_TIMEOUT_ANALYZER}
    advisor = 2
    advisor = ${?MONITOR_TIMEOUT_ADVISOR}
    scanner = 1440
    scanner = ${?MONITOR_TIMEOUT_SCANNER}
    evaluator = 5
    evaluator = ${?MONITOR_TIMEOUT_EVALUATOR}
    reporter = 30
    reporter = ${?MONITOR_TIMEOUT_REPORTER}
    notifier = 10
    notifier = ${?MONITOR_TIMEOUT_NOTIFIER}
  }
}

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

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