ConfiguredCatalogFactory

Micronaut factory for the ConfiguredAirbyteCatalog singleton.

The value may be defined via two Micronaut properties:

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Singleton
@Requires(missingProperty = "airbyte.connector.catalog.resource")
fun make(@Value(value = "${airbyte.connector.catalog.json}") json: String?): ConfiguredAirbyteCatalog
Link copied to clipboard
@Singleton
@Requires(env = ["test"])
@Requires(notEnv = ["cli"])
@Requires(property = "airbyte.connector.catalog.resource")
fun makeFromTestResource(@Value(value = "${airbyte.connector.catalog.resource}") resource: String): ConfiguredAirbyteCatalog