Error in enrichment wiki config sample


#1

Hey Guys,

I was just going through the weather enrichment process as noted here: https://github.com/snowplow/snowplow/wiki/Weather-enrichment and I noticed a missing } in one of your config samples.

It’s for the enrichment.json sample coding, you’re missing the final curly bracket
Original

{
    "schema": "iglu:com.snowplowanalytics.snowplow.enrichments/weather_enrichment_config/jsonschema/1-0-0",

    "data": {
        "enabled": true,
        "vendor": "com.snowplowanalytics.snowplow.enrichments",
        "name": "weather_enrichment_config",
        "parameters": {
            "apiKey": "{{KEY}}",
            "cacheSize": 5100,
            "geoPrecision": 1,
            "apiHost": "history.openweathermap.org",
            "timeout": 5
        }
    }

But should be (Note last curly bracket)

{
    "schema": "iglu:com.snowplowanalytics.snowplow.enrichments/weather_enrichment_config/jsonschema/1-0-0",
    "data": {
        "vendor": "com.snowplowanalytics.snowplow.enrichments",
        "name": "weather_enrichment_config",
        "enabled": true,
        "parameters": {
            "apiKey": "281917a5036b87ee74fc1ff978ccf460",
            "cacheSize": 5100,
            "geoPrecision": 1,
            "apiHost": "history.openweathermap.org",
            "timeout": 5
        }
    }
}

Just a heads up


#2

Thanks so much @TimLavelle - fixed!