Skip to content

Onteon Node Manager - Configuration

Overview

Default configuration file path: onteon-node/conf/conf.yml.

If configuration file does not exist, the node will use the default values.

Default configuration file

applicationManager:
  version: '1.0.0'
  appDirectory: 'app'
  isStartEmbeddedApp: true
  waitTimeBeforeClose: 10000
entryPointManager:
  name: 'entryPointManager'
  version: '1.0.0'
  entryPoints:
    - entryPoint:
        name: "commandEntryPoint"
        version: '1.0.0'
        protocol: 'cdtp-1.0'
        serializers:
          - name: 'jackson-json'
            seImpl: 'tech.onteon.onteon.libcomponent.serializer.impl.JacksonJsonSerializerImpl'
            deImpl: 'tech.onteon.onteon.libcomponent.serializer.impl.JacksonJsonDeserializerImpl'
            index: 1
        server: 'tech.onteon.onteon.libcomponent.server.ont.blocking.synchronous.impl.OntBlockingSynchronousServerImpl'
        #serviceProducer: 'empty'
        serverSettings:
          ontBlockingSynchronousServer:
            version: 1.0.0
            factory:
              - name: 'noSecure'
                isActive: true
              - name: 'secureOneWaySSL'
                isActive: false
                x509ServerCertificatePathToFile: 'ssl/server/serverX509Certificate.crt'
                rsaPKCS8ServerPrivateKeyPathToFile: 'ssl/server/serverPrivateKey.pk'
              - name: 'secureTwoWaySSL'
                isActive: false
                x509ServerCertificatePathToFile: 'ssl/server/serverX509Certificate.crt'
                rsaPKCS8ServerPrivateKeyPathToFile: 'ssl/server/serverPrivateKey.pk'
                x509ClientCertificatePathToDirectory: 'ssl/client/certificates'
            settings:
              port: 8030
              readTimeout: 480000
              waitForFinishExecuteAllRequests: true
              waitToShutdownThreadsOnStop: 1000
              backlog: 256
              receiveBufferSize: 256
              isReuseAddress: true
              logPeriodicOnDebug: true
              serverSocketTimeout: 120000
              isReuseWorkers: true
              pooledWorkerTimeout: 120000
              workerPoolSize: 128
              workerThreadTimeout: 120000
              destroyWorkerThreadOnTimeout: false
              clientSocketKeepAliveTimeout: 120000
              clientSocketReadTimeout: 90000
              chunkSize: 8192
            threadPool:
              queueType: 'arrayBlockingQueue'
              queueLength: 1024
              maxWaitingClient: 1000
              computeMinMaxAutomatically: false
              min: 18
              max: 18
    - entryPoint:
        name: 'serviceRepoEntryPoint'
        version: '1.0.0'
        protocol: 'http-1.1'
        server: 'tech.onteon.onteon.libcomponent.server.jetty.blocking.synchronous.impl.JettyBlockingSynchronousServerImpl'
        serverSettings:
          jettyBlockingSynchronousServer:
            version: 1.0.0
            settings:
              port: 8031
              mainContext: '/getRepo'
eventLogManager:
  version: '1.0.0'
  howOftenCheckingExpireTime: 5000
  logExpireTime: 60000
  maximumSizeInMegabytes: 5
osProcessProviderBase:
  version: '1.0.0'
  waitAfterStopOperationTime: 6000
  readStreamsWaitOnStartTime: 90000
  readStreamsWaitOnStopTime: 15000
  processBufferStartSizeInMB: 4
oSProcessProviderDocker:
  version: '1.0.0'
  readStreamsWaitOnStartTime: 90000
  logging:
    enabled: false
    forwardPort: 24224
oSProcessProviderGeneric:
  version: '1.0.0'
oSProcessProviderJVM:
  version: '1.0.0'
placeHolderManager:
  version: '1.0.0'
  relativePathToLogs: 'log,app'
  relativePathToApps: 'app'
selfHealingManager:
  version: '1.0.0'
  howOftenCheckingProcess: 5000
  restartOSProcessDelay: 0
  checkOsProcesses: true
tcpPortManager:
  version: '1.0.0'
  portRange:
    min: 10000
    max: 20000
transferManager:
  version: '1.0.0'
  uploadAppDirectory: 'upload-app'
  uploadNodeDirectory: 'upload-node'
resourceManager:
  version: '1.0.0'
  isActive: true
  register:
    url: 'http://127.0.0.1:8050/onteon-api-access/api/nodes/register'
    probeAmount: 5
    waitTime: 20000
    nodeApiPort: 8030
serviceRepositoryManager:
  version: '1.0.0'
  localIp: '127.0.0.1'
  exposeAllIpAddresses: false
  healthCheckInterval: 1000
  timeWaitAfterInstanceUnregister: 45000

Configuration keys

applicationManager

version

Description

Version of application manager.

Key

applicationManager:
    version: '1.0.0'

Type: String

Default value: 1.0.0

appDirectory

Description

Directory where applications will be stored.

Key

applicationManager:
    appDirectory: 'app'

Type: String

Default value: app

isStartEmbeddedApp

Description

If true, embedded applications will be started, after the startup.

Key

applicationManager:
    isStartEmbeddedApp: true

Type: Boolean

Default value: true

entryPointManager

name

Description

Name of entry point manager.

Key

entryPointManager:
    name: 'entryPointManager'

Type: String

Default value: entryPointManager

version

Description

Version of entry point manager.

Key

entryPointManager:
    version: '1.0.0'

Type: String

Default value: 1.0.0

entryPoints

Description

List of entry points.

Key

entryPointManager:
    entryPoints:

Type: Array of entry points

eventLogManager

version

Description

Version of event log manager.

Key

eventLogManager:
    version: '1.0.0'

Type: String

Default value: 1.0.0

howOftenCheckingExpireTime

Description

Time between checking if log expired, in milliseconds.

Key

eventLogManager:
    howOftenCheckingExpireTime: 5000

Type: Integer

Default value: 5000

logExpireTime

Description

Time after the log expires, in milliseconds.

Key

eventLogManager:
    logExpireTime: 60000

Type: Integer

Default value: 60000

maximumSizeInMegabytes

Description

Maximum size of logs, in megabytes.

Key

eventLogManager:
    maximumSizeInMegabytes: 5

Type: Integer

Default value: 5

osProcessProviderBase

version

Description

Version of os process provider base.

Key

oSProcessProviderBase:
    version: '1.0.0'

Type: String

Default value: 1.0.0

waitAfterStopOperationTime

Description

Waiting time after stop operation, in milliseconds.

Key

oSProcessProviderBase:
    waitAfterStopOperationTime: 6000

Type: Integer

Default value: 6000

readStreamsWaitOnStartTime

Description

Time after which the application is considered to be started. You can also use success line.

Key

oSProcessProviderBase:
    readStreamsWaitOnStartTime: 90000

Type: Integer

Default value: 90000

readStreamsWaitOnStopTime

Description

Time after which the application is considered to be stopped.

Key

oSProcessProviderBase:
    readStreamsWaitOnStopTime: 15000

Type: Integer

Default value: 90000

processBufferStartSizeInMB

Description

Size of process buffer start size in Megabytes.

Key

oSProcessProviderBase:
    processBufferStartSizeInMB: 4

Type: Integer

Default value: 4

oSProcessProviderDocker

version

Description

Version of os process provider docker.

Key

oSProcessProviderDocker:
    version: '1.0.0'

Type: String

Default value: 1.0.0

logging

enabled

Description

Enables logging.

Key

oSProcessProviderDocker:
    logging:
        enabled: false

Type: Boolean

Default value: false

enabled

Description

Forwards docker logs port.

Key

oSProcessProviderDocker:
    logging:
        forwardPort: 24224

Type: Integer

Default value: 24224

oSProcessProviderGeneric

version

Description

Version of os process provider generic.

Key

oSProcessProviderGeneric:
    version: '1.0.0'

Type: String

Default value: 1.0.0

oSProcessProviderJVM

version

Description

Version of os process provider jvm.

Key

oSProcessProviderJVM:
    version: '1.0.0'

Type: String

Default value: 1.0.0

placeHolderManager

version

Description

Version of placeholder manager.

Key

placeHolderManager:
    version: '1.0.0'

Type: String

Default value: 1.0.0

relativePathToLogs

Description

Relative paths to logs directories.

Key

placeHolderManager:
    relativePathToLogs: 'log,app'

Type: String

Default value: log,app

relativePathToApps

Description

Relative path to applications directory.

Key

placeHolderManager:
    relativePathToApps: 'app'

Type: String

Default value: app

selfHealingManager

version

Description

Version of tcp port manager.

Key

selfHealingManager:
    version: '1.0.0'

Type: String

Default value: 1.0.0

howOftenCheckingProcess

Description

Interval between checking process, in milliseconds.

Key

selfHealingManager:
    howOftenCheckingProcess: 5000

Type: Integer

Default value: 5000

restartOSProcessDelay

Description

Delay after os process restart, in milliseconds.

Key

selfHealingManager:
    restartOSProcessDelay: 0

Type: Integer

Default value: 0

checkOsProcesses

Description

If true, self healing manager will check the os processes.

Key

selfHealingManager:
    checkOsProcesses: true

Type: Boolean

Default value: true

checkOsProcesses: true

tcpPortManager

version

Description

Version of tcp port manager.

Key

tcpPortManager:
    version: '1.0.0'

Type: String

Default value: 1.0.0

portRange

min

Description

Lower value of the port range.

Key

tcpPortManager:
    portRange:
        min: 10000

Type: Integer

Default value: 10000

max

Description

Upper value of the port range.

Key

tcpPortManager:
    portRange:
        max: 20000

Type: Integer

Default value: 20000

transferManager

version

Description

Version of transfer manager.

Key

transferManager:
    version: '1.0.0'

Type: String

Default value: 1.0.0

uploadAppDirectory

Description

Path to application upload directory.

Key

transferManager:
    uploadAppDirectory: 'upload-app'

Type: String

Default value: upload-app

uploadNodeDirectory

Description

Path to node upload directory.

Key

transferManager:
    uploadNodeDirectory: 'upload-node'

Type: String

Default value: upload-node

resourceManager

version

Description

Version of resource manager.

Key

resourceManager:
    version: '1.0.0'

Type: String

Default value: 1.0.0

isActive

Description

If false, resourceManager will not be activated.

Key

resourceManager:
    isActive: true

Type: Boolean

Default value: true

register

url

Description

The URL where the node will try to register.

Key

resourceManager:
  register:
    url: 'http://127.0.0.1:8050/onteon-api-access/api/nodes/register'

Type: String

Default value: http://127.0.0.1:8050/onteon-api-access/api/nodes/register

probeAmount

Description

Number of registration attempts.

Key

resourceManager:
  register:
    probeAmount: 5

Type: Integer

Default value: 5

waitTime

Description

Delay between attempts in milliseconds.

Key

resourceManager:
  register:
    waitTime: 20000

Type: Integer

Default value: 20000

nodeApiPort

Description

Node api port.

Key

resourceManager:
  register:
    nodeApiPort: 8030

Type: Integer

Default value: 8030

serviceRepositoryManager

version

Description

Version of Service Repository Manager.

Key

serviceRepositoryManager:
    version: '1.0.0'

Type: String

Default value: 1.0.0

localIp

Description

Local ip address used when application is running on local node.

Key

serviceRepositoryManager:
    localIp: '127.0.0.1'

Type: String

Default value: 127.0.0.1

exposeAllIpAddresses

Description

If true, all available ip addresses will be exposed for other nodes.

Key

serviceRepositoryManager:
    exposeAllIpAddresses: false

Type: Boolean

Default value: false

healthCheckInterval

Description

Interval between health checks, in milliseconds.

Key

serviceRepositoryManager:
    healthCheckInterval: 1000

Type: Integer

Default value: 1000

timeWaitAfterInstanceUnregister

Description

Waiting time after unregistering instance, in milliseconds.

Key

serviceRepositoryManager:
    timeWaitAfterInstanceUnregister: 45000

Type: Integer

Default value: 45000