Tests whether a JSON is parseable by a specific EnrichmentConfig constructor
Tests whether a JSON is parseable by a specific EnrichmentConfig constructor
The JSON
The schemaKey which needs to be checked
The JSON or an error message, boxed
Creates an IpLookupsEnrichment instance from a JValue.
Creates an IpLookupsEnrichment instance from a JValue.
The ip_lookups enrichment JSON
The SchemaKey provided for the enrichment Must be a supported SchemaKey for this enrichment
Whether to use the local MaxMind data file Enabled for tests
a configured IpLookupsEnrichment instance
Companion object. Lets us create an IpLookupsEnrichment instance from a JValue.