بنقرة واحدة
kotlin-app-config
Sealed class configuration pattern for Kotlin applications with environment-specific settings
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Sealed class configuration pattern for Kotlin applications with environment-specific settings
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | kotlin-app-config |
| description | Sealed class configuration pattern for Kotlin applications with environment-specific settings |
NOTE: lumi-api uses ServerEnv (see no.nav.lumi.config.ServerEnv) for type-safe configuration and local defaults. Prefer that over introducing a new sealed-environment framework.
ServerEnv (repo standard)ServerEnv.Map<String, String> around.NAIS_CLUSTER_NAME to switch between local and NAIS defaults.import no.nav.lumi.config.ServerEnv
fun main() {
val env = ServerEnv.fromEnv()
// Pass env values into module/config installation rather than reading System.getenv() everywhere.
}
ServerEnv and document the local default if applicable.ServerEnv is the established pattern.Gi nye apper tilgang til Lumi feedback — ruter Azure via proxy og TokenX direkte til API
Exposed 1.0.0 JDBC DSL patterns (imports, transactions, queries, raw SQL, and types)
Database migration patterns using Flyway with versioned SQL scripts
Sealed class configuration pattern for Kotlin applications with environment-specific settings
Setting up Prometheus metrics, OpenTelemetry tracing, and health endpoints for Nais applications
Responsive layout patterns using Aksel spacing tokens with Box, VStack, HStack, and HGrid