Support ':' in Apex Event Avro schema fieldnames 97/121497/1
authorJohnKeeney <john.keeney@est.tech>
Mon, 10 May 2021 12:19:46 +0000 (13:19 +0100)
committerAjith Sreekumar <ajith.sreekumar@bell.ca>
Wed, 26 May 2021 12:50:08 +0000 (12:50 +0000)
commitdb872f8f3613e855f60c14983335e54c1fc95c2e
tree9f8b82b8f091d5e61221d87c51a8ac8d28f20a57
parent358f97566c36c738d85deb82818bf7278ac9cc6c
Support ':' in Apex Event Avro schema fieldnames

Similar to '.' (_DoT_) and '-' (_Dash_), the ':' (_ColoN_) character
can now be used in Apex Event Field names specified using Avro Schema

Change-Id: I320058441a1a1a544b9f1619e45c96e71e5aa9e3
Signed-off-by: JohnKeeney <john.keeney@est.tech>
Issue-ID: POLICY-3301
Signed-off-by: JohnKeeney <john.keeney@est.tech>
(cherry picked from commit fe40844bba4a94e26efc0f1c57d62c97e35bfc79)
plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/main/java/org/onap/policy/apex/plugins/context/schema/avro/AvroSchemaKeyTranslationUtilities.java
plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/java/org/onap/policy/apex/plugins/context/schema/avro/AvroSchemaMapTest.java
plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/resources/avsc/MapExampleAddressInvalidFields.avsc
plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/resources/data/MapExampleAddressInvalidFields.json