Skip to content

Commit

Permalink
Scala Common Enrich: extend PII Enrichment to include identification …
Browse files Browse the repository at this point in the history
…events in EnrichedEvent (closes #3580)
  • Loading branch information
knservis committed May 23, 2018
1 parent 9b67ff4 commit 31f331b
Show file tree
Hide file tree
Showing 12 changed files with 806 additions and 478 deletions.
2 changes: 1 addition & 1 deletion 3-enrich/scala-common-enrich/.scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ rewrite.rules = [
RedundantParens,
PreferCurlyFors
]
align.tokens = ["|", "!", "!!", "||", "=>", "=", "->", "<-", "|@|", "//", "~", "/", "+"]
align.tokens = ["|", "!", "!!", "||", "=>", "=", "->", "<-", "|@|", "//", "/", "+"]
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ import registry.{
IpLookupsEnrichment,
JavascriptScriptEnrichment,
JavascriptScriptEnrichmentConfig,
PiiPseudonymizerEnrichment,
RefererParserEnrichment,
UaParserEnrichment,
UaParserEnrichmentConfig,
Expand All @@ -57,6 +56,7 @@ import registry.{
WeatherEnrichmentConfig
}
import registry.apirequest.{ApiRequestEnrichment, ApiRequestEnrichmentConfig}
import registry.pii.PiiPseudonymizerEnrichment
import registry.sqlquery.{SqlQueryEnrichment, SqlQueryEnrichmentConfig}

import utils.ScalazJson4sUtils
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import utils.ScalazJson4sUtils
*/
object IpLookupsEnrichment extends ParseableEnrichment {

val supportedSchema = SchemaCriterion("com.snowplowanalytics.snowplow", "ip_lookups", "jsonschema", 2, 0)
val supportedSchema = SchemaCriterion("com.snowplowanalytics.snowplow", "ip_lookups", "jsonschema", 2, 0)

/**
* Creates an IpLookupsEnrichment instance from a JValue.
Expand Down

0 comments on commit 31f331b

Please sign in to comment.