-
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.
Add ISP to structured metadata (#1247)
- Loading branch information
Showing
7 changed files
with
81 additions
and
31 deletions.
There are no files selected for viewing
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
2 changes: 1 addition & 1 deletion
2
ingestion-beam/src/test/resources/testdata/decoder-integration/error-output.ndjson
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,3 +1,3 @@ | ||
{"attributeMap":{"error_message":"com.mozilla.telemetry.decoder.ParseUri$UnexpectedPathElementsException: Found -1 more path elements in the URI than expected for this endpoint","error_type":"ParseUri","exception_class":"com.mozilla.telemetry.decoder.ParseUri$UnexpectedPathElementsException","geo_country":"PH","geo_db_version":"2019-01-03T21:26:19Z","host":"test","isp_db_version":"2018-01-15T22:27:16Z","uri":"/submit/telemetry/main/Firefox/61.0a1/nightly/20180328030202"},"payload":""} | ||
{"attributeMap":{"document_id":"2c3a0767-d84a-4d02-8a92-fa54a3376049","document_namespace":"eng-workflow","document_type":"hgpush","document_version":"1","error_message":"org.everit.json.schema.ValidationException: #: required key [changesetID] not found","error_type":"ParsePayload","exception_class":"org.everit.json.schema.ValidationException","geo_country":"PH","geo_db_version":"2019-01-03T21:26:19Z","host":"test","isp_db_version":"2018-01-15T22:27:16Z","uri":"/submit/eng-workflow/hgpush/1/2c3a0767-d84a-4d02-8a92-fa54a3376049"},"payload":"e30="} | ||
{"attributeMap":{"document_id":"invalid_id","document_namespace":"test","document_type":"test","document_version":"1","error_message":"java.lang.IllegalArgumentException: Invalid UUID string: invalid_id","error_type":"Deduplicate.RemoveDuplicates","exception_class":"java.lang.IllegalArgumentException","geo_country":"PH","geo_db_version":"2019-01-03T21:26:19Z","host":"test","isp_db_version":"2018-01-15T22:27:16Z","normalized_country_code":"PH","uri":"/submit/test/test/1/invalid_id"},"payload":"eyJtZXRhZGF0YSI6eyJnZW8iOnsiY291bnRyeSI6IlBIIiwiZGJfdmVyc2lvbiI6IjIwMTktMDEtMDNUMjE6MjY6MTlaIn0sInVzZXJfYWdlbnQiOnt9LCJoZWFkZXIiOnt9LCJkb2N1bWVudF9uYW1lc3BhY2UiOiJ0ZXN0IiwiZG9jdW1lbnRfdHlwZSI6InRlc3QiLCJkb2N1bWVudF92ZXJzaW9uIjoiMSJ9LCJkb2N1bWVudF9pZCI6ImludmFsaWRfaWQiLCJub3JtYWxpemVkX2NvdW50cnlfY29kZSI6IlBIIn0="} | ||
{"attributeMap":{"document_id":"invalid_id","document_namespace":"test","document_type":"test","document_version":"1","error_message":"java.lang.IllegalArgumentException: Invalid UUID string: invalid_id","error_type":"Deduplicate.RemoveDuplicates","exception_class":"java.lang.IllegalArgumentException","geo_country":"PH","geo_db_version":"2019-01-03T21:26:19Z","host":"test","isp_db_version":"2018-01-15T22:27:16Z","normalized_country_code":"PH","uri":"/submit/test/test/1/invalid_id"},"payload":"eyJtZXRhZGF0YSI6eyJnZW8iOnsiY291bnRyeSI6IlBIIiwiZGJfdmVyc2lvbiI6IjIwMTktMDEtMDNUMjE6MjY6MTlaIn0sImlzcCI6eyJkYl92ZXJzaW9uIjoiMjAxOC0wMS0xNVQyMjoyNzoxNloifSwidXNlcl9hZ2VudCI6e30sImhlYWRlciI6e30sImRvY3VtZW50X25hbWVzcGFjZSI6InRlc3QiLCJkb2N1bWVudF90eXBlIjoidGVzdCIsImRvY3VtZW50X3ZlcnNpb24iOiIxIn0sImRvY3VtZW50X2lkIjoiaW52YWxpZF9pZCIsIm5vcm1hbGl6ZWRfY291bnRyeV9jb2RlIjoiUEgifQ=="} |
6 changes: 3 additions & 3 deletions
6
ingestion-beam/src/test/resources/testdata/decoder-integration/output.ndjson
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,3 +1,3 @@ | ||
{"attributeMap":{"document_id":"2c3a0767-d84a-4d02-8a92-fa54a3376048","document_namespace":"test","document_type":"test","document_version":"1","geo_db_version":"2019-01-03T21:26:19Z","host":"test1","isp_db_version":"2018-01-15T22:27:16Z","uri":"/submit/test/test/1/2c3a0767-d84a-4d02-8a92-fa54a3376048"},"payload":"eyJtZXRhZGF0YSI6eyJnZW8iOnsiZGJfdmVyc2lvbiI6IjIwMTktMDEtMDNUMjE6MjY6MTlaIn0sInVzZXJfYWdlbnQiOnt9LCJoZWFkZXIiOnt9LCJkb2N1bWVudF9uYW1lc3BhY2UiOiJ0ZXN0IiwiZG9jdW1lbnRfdHlwZSI6InRlc3QiLCJkb2N1bWVudF92ZXJzaW9uIjoiMSJ9LCJkb2N1bWVudF9pZCI6IjJjM2EwNzY3LWQ4NGEtNGQwMi04YTkyLWZhNTRhMzM3NjA0OCJ9"} | ||
{"attributeMap":{"document_id":"2c3a0767-d84a-4d02-8a92-fa54a3376049","document_namespace":"test","document_type":"test","document_version":"1","geo_country":"PH","geo_db_version":"2019-01-03T21:26:19Z","host":"test2","isp_db_version":"2018-01-15T22:27:16Z","normalized_country_code":"PH","uri":"/submit/test/test/1/2c3a0767-d84a-4d02-8a92-fa54a3376049"},"payload":"eyJtZXRhZGF0YSI6eyJnZW8iOnsiY291bnRyeSI6IlBIIiwiZGJfdmVyc2lvbiI6IjIwMTktMDEtMDNUMjE6MjY6MTlaIn0sInVzZXJfYWdlbnQiOnt9LCJoZWFkZXIiOnt9LCJkb2N1bWVudF9uYW1lc3BhY2UiOiJ0ZXN0IiwiZG9jdW1lbnRfdHlwZSI6InRlc3QiLCJkb2N1bWVudF92ZXJzaW9uIjoiMSJ9LCJkb2N1bWVudF9pZCI6IjJjM2EwNzY3LWQ4NGEtNGQwMi04YTkyLWZhNTRhMzM3NjA0OSIsIm5vcm1hbGl6ZWRfY291bnRyeV9jb2RlIjoiUEgifQ=="} | ||
{"attributeMap":{"document_id":"3c3a0767-d84a-4d02-8a92-fa54a3376049","document_namespace":"test","document_type":"test","document_version":"1","geo_country":"PH","geo_db_version":"2019-01-03T21:26:19Z","host":"test3","isp_db_version":"2018-01-15T22:27:16Z","normalized_country_code":"PH","uri":"/submit/test/test/1/3c3a0767-d84a-4d02-8a92-fa54a3376049"},"payload":"eyJtZXRhZGF0YSI6eyJnZW8iOnsiY291bnRyeSI6IlBIIiwiZGJfdmVyc2lvbiI6IjIwMTktMDEtMDNUMjE6MjY6MTlaIn0sInVzZXJfYWdlbnQiOnt9LCJoZWFkZXIiOnt9LCJkb2N1bWVudF9uYW1lc3BhY2UiOiJ0ZXN0IiwiZG9jdW1lbnRfdHlwZSI6InRlc3QiLCJkb2N1bWVudF92ZXJzaW9uIjoiMSJ9LCJkb2N1bWVudF9pZCI6IjNjM2EwNzY3LWQ4NGEtNGQwMi04YTkyLWZhNTRhMzM3NjA0OSIsIm5vcm1hbGl6ZWRfY291bnRyeV9jb2RlIjoiUEgifQ=="} | ||
{"attributeMap":{"document_id":"2c3a0767-d84a-4d02-8a92-fa54a3376048","document_namespace":"test","document_type":"test","document_version":"1","geo_db_version":"2019-01-03T21:26:19Z","host":"test1","isp_db_version":"2018-01-15T22:27:16Z","uri":"/submit/test/test/1/2c3a0767-d84a-4d02-8a92-fa54a3376048"},"payload":"eyJtZXRhZGF0YSI6eyJnZW8iOnsiZGJfdmVyc2lvbiI6IjIwMTktMDEtMDNUMjE6MjY6MTlaIn0sImlzcCI6eyJkYl92ZXJzaW9uIjoiMjAxOC0wMS0xNVQyMjoyNzoxNloifSwidXNlcl9hZ2VudCI6e30sImhlYWRlciI6e30sImRvY3VtZW50X25hbWVzcGFjZSI6InRlc3QiLCJkb2N1bWVudF90eXBlIjoidGVzdCIsImRvY3VtZW50X3ZlcnNpb24iOiIxIn0sImRvY3VtZW50X2lkIjoiMmMzYTA3NjctZDg0YS00ZDAyLThhOTItZmE1NGEzMzc2MDQ4In0="} | ||
{"attributeMap":{"document_id":"2c3a0767-d84a-4d02-8a92-fa54a3376049","document_namespace":"test","document_type":"test","document_version":"1","geo_country":"PH","geo_db_version":"2019-01-03T21:26:19Z","host":"test2","isp_db_version":"2018-01-15T22:27:16Z","normalized_country_code":"PH","uri":"/submit/test/test/1/2c3a0767-d84a-4d02-8a92-fa54a3376049"},"payload":"eyJtZXRhZGF0YSI6eyJnZW8iOnsiY291bnRyeSI6IlBIIiwiZGJfdmVyc2lvbiI6IjIwMTktMDEtMDNUMjE6MjY6MTlaIn0sImlzcCI6eyJkYl92ZXJzaW9uIjoiMjAxOC0wMS0xNVQyMjoyNzoxNloifSwidXNlcl9hZ2VudCI6e30sImhlYWRlciI6e30sImRvY3VtZW50X25hbWVzcGFjZSI6InRlc3QiLCJkb2N1bWVudF90eXBlIjoidGVzdCIsImRvY3VtZW50X3ZlcnNpb24iOiIxIn0sImRvY3VtZW50X2lkIjoiMmMzYTA3NjctZDg0YS00ZDAyLThhOTItZmE1NGEzMzc2MDQ5Iiwibm9ybWFsaXplZF9jb3VudHJ5X2NvZGUiOiJQSCJ9"} | ||
{"attributeMap":{"document_id":"3c3a0767-d84a-4d02-8a92-fa54a3376049","document_namespace":"test","document_type":"test","document_version":"1","geo_country":"PH","geo_db_version":"2019-01-03T21:26:19Z","host":"test3","isp_db_version":"2018-01-15T22:27:16Z","normalized_country_code":"PH","uri":"/submit/test/test/1/3c3a0767-d84a-4d02-8a92-fa54a3376049"},"payload":"eyJtZXRhZGF0YSI6eyJnZW8iOnsiY291bnRyeSI6IlBIIiwiZGJfdmVyc2lvbiI6IjIwMTktMDEtMDNUMjE6MjY6MTlaIn0sImlzcCI6eyJkYl92ZXJzaW9uIjoiMjAxOC0wMS0xNVQyMjoyNzoxNloifSwidXNlcl9hZ2VudCI6e30sImhlYWRlciI6e30sImRvY3VtZW50X25hbWVzcGFjZSI6InRlc3QiLCJkb2N1bWVudF90eXBlIjoidGVzdCIsImRvY3VtZW50X3ZlcnNpb24iOiIxIn0sImRvY3VtZW50X2lkIjoiM2MzYTA3NjctZDg0YS00ZDAyLThhOTItZmE1NGEzMzc2MDQ5Iiwibm9ybWFsaXplZF9jb3VudHJ5X2NvZGUiOiJQSCJ9"} |
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
Oops, something went wrong.