package dp.kotul.starter.properties

import feign.Logger
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.boot.context.properties.ConstructorBinding

const val DEFAULT_TIMEOUT = 1000L * 10

@ConstructorBinding
@ConfigurationProperties(prefix = "feign")
data class FeignProperties(
        val level: String = Logger.Level.FULL.name,
        val timeOut: Long = DEFAULT_TIMEOUT
)
