-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Stream Enrich to 0.16.1 (closes #161)
- Loading branch information
1 parent
ee5dce5
commit a228b39
Showing
6 changed files
with
136 additions
and
75 deletions.
There are no files selected for viewing
26 changes: 14 additions & 12 deletions
26
provisioning/resources/configs/enrichments/ip_lookups.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
{ | ||
"schema": "iglu:com.snowplowanalytics.snowplow/ip_lookups/jsonschema/1-0-0", | ||
"data": { | ||
"name": "ip_lookups", | ||
"vendor": "com.snowplowanalytics.snowplow", | ||
"enabled": true, | ||
"parameters": { | ||
"geo": { | ||
"database": "GeoLiteCity.dat", | ||
"uri": "http://s3-eu-west-1.amazonaws.com/snowplow-hosted-assets/third-party/maxmind" | ||
} | ||
} | ||
} | ||
"schema": "iglu:com.snowplowanalytics.snowplow/ip_lookups/jsonschema/2-0-0", | ||
|
||
"data": { | ||
|
||
"name": "ip_lookups", | ||
"vendor": "com.snowplowanalytics.snowplow", | ||
"enabled": true, | ||
"parameters": { | ||
"geo": { | ||
"database": "GeoLite2-City.mmdb", | ||
"uri": "http://snowplow-hosted-assets.s3.amazonaws.com/third-party/maxmind" | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
provisioning/resources/configs/enrichments/pii_enrichment_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"schema": "iglu:com.snowplowanalytics.snowplow.enrichments/pii_enrichment_config/jsonschema/1-0-0", | ||
"data": { | ||
"vendor": "com.snowplowanalytics.snowplow.enrichments", | ||
"name": "pii_enrichment_config", | ||
"enabled": true, | ||
"parameters": { | ||
"pii": [ | ||
{ | ||
"pojo": { | ||
"field": "user_id" | ||
} | ||
}, | ||
{ | ||
"pojo": { | ||
"field": "user_fingerprint" | ||
} | ||
}, | ||
{ | ||
"json": { | ||
"field": "unstruct_event", | ||
"schemaCriterion": "iglu:com.mailchimp/subscribe/jsonschema/1-0-*", | ||
"jsonPath": "$.data.['email', 'ip_opt']" | ||
} | ||
} | ||
], | ||
"strategy": { | ||
"pseudonymize": { | ||
"hashFunction": "SHA-256" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters