object Registry extends Serializable
- Alphabetic
- By Inheritance
- Registry
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class Config(name: String, instancePriority: Int, vendorPrefixes: List[String]) extends Product with Serializable
Common config for RepositoryRef classes
- case class Embedded(config: Config, path: String) extends Registry with Product with Serializable
An embedded repository is one which is embedded inside the calling code, e.g.
An embedded repository is one which is embedded inside the calling code, e.g. inside the jar's resources folder
- case class Http(config: Config, http: HttpConnection) extends Registry with Product with Serializable
HTTP repository, such as Iglu Server or Iglu Central
- case class HttpConnection(uri: URI, apikey: Option[String]) extends Product with Serializable
Helper class to extract HTTP URI and api key from config JSON
- case class InMemory(config: Config, schemas: List[SelfDescribingSchema[Json]]) extends Registry with Product with Serializable
Repository where all schemas provided on initialization time
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val EmbeddedRegistry: Embedded
- val IgluCentral: Http
Primary, public Snowplow-supported Iglu Registry
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- implicit val httpConnectionDecoder: Decoder[HttpConnection]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def parse(config: Json): Result[Registry]
Builds a RepositoryRef sub-type from the given a Json.
Builds a RepositoryRef sub-type from the given a Json. Uses the connection property to determine which RepositoryRef to build
Currently supports: 1. EmbeddedRepositoryRef 2. HttpRepositoryRef
- config
The JSON containing the configuration for this repository
- returns
our constructed RepositoryRef
- implicit val repoRefConfigCirceDecoder: Decoder[Config]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated