ai.digital.integration.server.deploy.domain.CentralConfigurationServer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of integration-server-gradle-plugin Show documentation
Show all versions of integration-server-gradle-plugin Show documentation
The easy way to get custom setup for Deploy up and running
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()
}