diff options
Diffstat (limited to 'plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/resources')
2 files changed, 11 insertions, 6 deletions
diff --git a/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/resources/avsc/MapExampleAddressInvalidFields.avsc b/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/resources/avsc/MapExampleAddressInvalidFields.avsc index ddffb4bbc..86c145bfc 100644 --- a/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/resources/avsc/MapExampleAddressInvalidFields.avsc +++ b/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/resources/avsc/MapExampleAddressInvalidFields.avsc @@ -4,7 +4,8 @@ "name" : "AddressUSRecord", "fields" : [ {"name": "street_DasH_address", "type": "string"}, - {"name": "the_DoT_city", "type": "string"} + {"name": "the_DoT_city", "type": "string"}, + {"name": "the_ColoN_code", "type": "string"} ] } }
\ No newline at end of file diff --git a/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/resources/data/MapExampleAddressInvalidFields.json b/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/resources/data/MapExampleAddressInvalidFields.json index 6116db4f3..a1a70e95a 100644 --- a/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/resources/data/MapExampleAddressInvalidFields.json +++ b/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/resources/data/MapExampleAddressInvalidFields.json @@ -1,18 +1,22 @@ { "address.0" : { "street-address" : "1600 Pennsylvania Avenue", - "the.city" : "Washington DC" + "the.city" : "Washington DC", + "the:code" : "12345" }, "address.1" : { "street-address" : "Somewhere", - "the.city" : "Over the rainbow" + "the.city" : "Over the rainbow", + "the:code" : "BlueBird" }, "address.2" : { "street-address" : "221 B Baker St.", - "the.city" : "London" + "the.city" : "London", + "the:code" : "NW1" }, "address.3" : { "street-address" : "Wayne Manor", - "the.city" : "Gotham City" + "the.city" : "Gotham City", + "the:code" : "BatCave7" } -}
\ No newline at end of file +} |