package space.nstart.pcp.pcp_stations_service.configuration

import org.springframework.boot.context.properties.ConfigurationProperties
import java.time.Duration

@ConfigurationProperties(prefix = "classifier")
data class ClassifierProperties(
    val stationsUrl: String = "https://ordinis.k8s.265.nstart.cloud/api/v1/ground_station/records",
    val stationsCacheTtl: Duration = Duration.ofMinutes(15),
    val stationsRefreshAttempts: Int = 3,
    val stationsRefreshRetryDelay: Duration = Duration.ofMillis(300),
    val stationsRefreshFailureCooldown: Duration = Duration.ofSeconds(5)
)
