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

com.netflix.spinnaker.keel.sql.SqlStorageContext.kt Maven / Gradle / Ivy

There is a newer version: 1.4.1
Show newest version
package com.netflix.spinnaker.keel.sql

import com.fasterxml.jackson.databind.ObjectMapper
import com.netflix.spinnaker.keel.api.plugins.ArtifactSupplier
import com.netflix.spinnaker.keel.resources.ResourceSpecIdentifier
import com.netflix.spinnaker.keel.resources.SpecMigrator
import org.jooq.DSLContext
import java.time.Clock

/**
 * TODO: Docs
 */
abstract class SqlStorageContext(
  internal val jooq: DSLContext,
  internal val clock: Clock,
  internal val sqlRetry: SqlRetry,
  internal val objectMapper: ObjectMapper,
  internal val resourceSpecIdentifier: ResourceSpecIdentifier,
  internal val artifactSuppliers: List>,
  internal val specMigrators: List>
) {
  internal val resourceFactory = ResourceFactory(objectMapper, resourceSpecIdentifier, specMigrators)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy