-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes issue where invalid message was not returned
- Loading branch information
1 parent
a7b2e9c
commit d695c8f
Showing
4 changed files
with
356 additions
and
2 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
297 changes: 297 additions & 0 deletions
297
...TTH.GDBIntegrator.Subscriber.Tests/TestData/RouteSegmentSerializerMessageCoordIsNull.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,297 @@ | ||
{ | ||
"schema": { | ||
"type": "struct", | ||
"fields": [ | ||
{ | ||
"type": "struct", | ||
"fields": [ | ||
{ | ||
"type": "string", | ||
"optional": false, | ||
"name": "io.debezium.data.Uuid", | ||
"version": 1, | ||
"field": "mrid" | ||
}, | ||
{ | ||
"type": "struct", | ||
"fields": [ | ||
{ | ||
"type": "bytes", | ||
"optional": false, | ||
"field": "wkb" | ||
}, | ||
{ | ||
"type": "int32", | ||
"optional": true, | ||
"field": "srid" | ||
} | ||
], | ||
"optional": true, | ||
"name": "io.debezium.data.geometry.Geometry", | ||
"version": 1, | ||
"doc": "Geometry", | ||
"field": "coord" | ||
}, | ||
{ | ||
"type": "boolean", | ||
"optional": false, | ||
"field": "marked_to_be_deleted" | ||
}, | ||
{ | ||
"type": "boolean", | ||
"optional": false, | ||
"field": "delete_me" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": true, | ||
"field": "segment_kind" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": true, | ||
"name": "io.debezium.data.Uuid", | ||
"version": 1, | ||
"field": "work_task_mrid" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": true, | ||
"field": "user_name" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": true, | ||
"field": "application_name" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": true, | ||
"field": "application_info" | ||
} | ||
], | ||
"optional": true, | ||
"name": "postgres.route_network.route_segment.Value", | ||
"field": "before" | ||
}, | ||
{ | ||
"type": "struct", | ||
"fields": [ | ||
{ | ||
"type": "string", | ||
"optional": false, | ||
"name": "io.debezium.data.Uuid", | ||
"version": 1, | ||
"field": "mrid" | ||
}, | ||
{ | ||
"type": "struct", | ||
"fields": [ | ||
{ | ||
"type": "bytes", | ||
"optional": false, | ||
"field": "wkb" | ||
}, | ||
{ | ||
"type": "int32", | ||
"optional": true, | ||
"field": "srid" | ||
} | ||
], | ||
"optional": true, | ||
"name": "io.debezium.data.geometry.Geometry", | ||
"version": 1, | ||
"doc": "Geometry", | ||
"field": "coord" | ||
}, | ||
{ | ||
"type": "boolean", | ||
"optional": false, | ||
"field": "marked_to_be_deleted" | ||
}, | ||
{ | ||
"type": "boolean", | ||
"optional": false, | ||
"field": "delete_me" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": true, | ||
"field": "segment_kind" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": true, | ||
"name": "io.debezium.data.Uuid", | ||
"version": 1, | ||
"field": "work_task_mrid" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": true, | ||
"field": "user_name" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": true, | ||
"field": "application_name" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": true, | ||
"field": "application_info" | ||
} | ||
], | ||
"optional": true, | ||
"name": "postgres.route_network.route_segment.Value", | ||
"field": "after" | ||
}, | ||
{ | ||
"type": "struct", | ||
"fields": [ | ||
{ | ||
"type": "string", | ||
"optional": false, | ||
"field": "version" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": false, | ||
"field": "connector" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": false, | ||
"field": "name" | ||
}, | ||
{ | ||
"type": "int64", | ||
"optional": false, | ||
"field": "ts_ms" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": true, | ||
"name": "io.debezium.data.Enum", | ||
"version": 1, | ||
"parameters": { | ||
"allowed": "true,last,false" | ||
}, | ||
"default": "false", | ||
"field": "snapshot" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": false, | ||
"field": "db" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": false, | ||
"field": "schema" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": false, | ||
"field": "table" | ||
}, | ||
{ | ||
"type": "int64", | ||
"optional": true, | ||
"field": "txId" | ||
}, | ||
{ | ||
"type": "int64", | ||
"optional": true, | ||
"field": "lsn" | ||
}, | ||
{ | ||
"type": "int64", | ||
"optional": true, | ||
"field": "xmin" | ||
} | ||
], | ||
"optional": false, | ||
"name": "io.debezium.connector.postgresql.Source", | ||
"field": "source" | ||
}, | ||
{ | ||
"type": "string", | ||
"optional": false, | ||
"field": "op" | ||
}, | ||
{ | ||
"type": "int64", | ||
"optional": true, | ||
"field": "ts_ms" | ||
}, | ||
{ | ||
"type": "struct", | ||
"fields": [ | ||
{ | ||
"type": "string", | ||
"optional": false, | ||
"field": "id" | ||
}, | ||
{ | ||
"type": "int64", | ||
"optional": false, | ||
"field": "total_order" | ||
}, | ||
{ | ||
"type": "int64", | ||
"optional": false, | ||
"field": "data_collection_order" | ||
} | ||
], | ||
"optional": true, | ||
"field": "transaction" | ||
} | ||
], | ||
"optional": false, | ||
"name": "postgres.route_network.route_segment.Envelope" | ||
}, | ||
"payload": { | ||
"before": { | ||
"mrid": "57fb87f5-093c-405d-b619-755e3f39073f", | ||
"coord": { | ||
"wkb": "AQIAACDoZAAAAgAAAO79HyV51h/B6DWfEXKJVEGgwmxDUMkfwXuWw252iVRB", | ||
"srid": 25832 | ||
}, | ||
"marked_to_be_deleted": false, | ||
"delete_me": false, | ||
"segment_kind": null, | ||
"work_task_mrid": null, | ||
"user_name": null, | ||
"application_name": null, | ||
"application_info": null | ||
}, | ||
"after": { | ||
"mrid": "57fb87f5-093c-405d-b619-755e3f39073f", | ||
"coord": null, | ||
"marked_to_be_deleted": true, | ||
"delete_me": false, | ||
"segment_kind": null, | ||
"work_task_mrid": null, | ||
"user_name": null, | ||
"application_name": null, | ||
"application_info": null | ||
}, | ||
"source": { | ||
"version": "1.1.2.Final", | ||
"connector": "postgresql", | ||
"name": "postgres", | ||
"ts_ms": 1596714486069, | ||
"snapshot": "false", | ||
"db": "OPEN_FTTH", | ||
"schema": "route_network", | ||
"table": "route_segment", | ||
"txId": 637, | ||
"lsn": 1094031440, | ||
"xmin": null | ||
}, | ||
"op": "u", | ||
"ts_ms": 1596714486493, | ||
"transaction": null | ||
} | ||
} |