Skip to content

Commit

Permalink
Port JSON Schema validation to Common Enrich from Shred (snowplow/sno…
Browse files Browse the repository at this point in the history
  • Loading branch information
Dani Solà authored and chuwy committed Sep 5, 2017
1 parent 52ed287 commit 68129bd
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 488 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import com.twitter.scalding._
import common._
import common.FatalEtlError
import common.outputs.BadRow
import common.utils.Shredder

// Iglu Scala Client
import iglu.client.{
Expand All @@ -44,7 +45,6 @@ import iglu.client.validation.ProcessingMessageMethods._

// This project
import inputs.EnrichedEventLoader
import shredder.Shredder
import outputs.{
ShreddedPartition => UrShreddedPartition
}
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,4 @@ package object hadoop {
type Validated[A] = Validation[ProcessingMessage, A]
type ValidatedNel[A] = ValidationNel[ProcessingMessage, A]

/**
* A (possibly empty) list of JsonNodes
*/
type JsonNodes = List[JsonNode]

/**
* A (possibly empty) list of JsonSchemaPairs
*/
type JsonSchemaPairs = List[JsonSchemaPair]

}

0 comments on commit 68129bd

Please sign in to comment.