ConfigurationHandler

open class ConfigurationHandler @Inject constructor(factory: ObjectFactory)

A nested DSL structure which configures the connection information (URL, authentication) need to connect to the Apicurio Schema Registry.

Constructors

Link copied to clipboard
@Inject
fun ConfigurationHandler(factory: ObjectFactory)

Functions

Link copied to clipboard
fun auth(username: String, password: String)

Provide the authentication details in case the Apicurio Schema Registry uses Basic Authentication.

fun auth(authServerUrl: String, clientId: String, clientSecret: String)

Provide the authentication details in case the Apicurio Schema Registry uses OAuth.

Link copied to clipboard
fun url(path: String)

Provide the schema registry URL which is used internally to invoke operations on the Apicurio Schema Registry.