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

ai.digital.integration.server.deploy.domain.CentralConfigurationServer.kt Maven / Gradle / Ivy

There is a newer version: 23.3.0-1025.941
Show newest version
package ai.digital.integration.server.deploy.domain

import ai.digital.integration.server.common.constant.ServerConstants
import ai.digital.integration.server.common.domain.api.Container
import ai.digital.integration.server.common.util.HTTPUtil
import org.gradle.api.model.ObjectFactory

@Suppress("UnstableApiUsage")
open class CentralConfigurationServer(objectFactory: ObjectFactory,
                                      name: String = "central-config-server") : Container(name) {
    var httpPort: Int? = HTTPUtil.findFreePort()
    var enable: Boolean = false
    var pingRetrySleepTime: Int = ServerConstants.DEFAULT_PING_RETRY_SLEEP_TIME
    var pingTotalTries: Int = ServerConstants.DEFAULT_PING_TOTAL_TRIES
    var yamlPatches: Map> = mutableMapOf()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy