Helper class responsible for aggregating repository lookup errors Using to aggregate all errors for single schema for single repo during all retries
Helper class responsible for aggregating repository lookup errors Using to aggregate all errors for single schema for single repo during all retries
set of all errors happened during all attempts
amount of undertaken attempts
indicates whether among failures were unrecoverable ones (like invalid schema)
Map of all repositories to its aggregated state of failure
None as value means repository already responded with not-found
,
meaning all previous 500-like failures could probably been discarded
Our List (possibly empty) of Iglu repositories
Resolves schemas from one or more Iglu schema registries
Validated schema lookup result containing, cache result which is Json in case of Success or Map of all currently failed repositories in case of Failure
Schema lookup result associated with timestamp (in seconds) it was stored at
Our LRU cache of schemas
Companion object.
Companion object. Lets us create a Resolver from a Json