Support ':' in Apex Event Avro schema fieldnames 27/121227/4
authorJohnKeeney <john.keeney@est.tech>
Mon, 10 May 2021 12:19:46 +0000 (13:19 +0100)
committerJohnKeeney <john.keeney@est.tech>
Mon, 10 May 2021 22:14:00 +0000 (23:14 +0100)
commitfe40844bba4a94e26efc0f1c57d62c97e35bfc79
tree8a6649e5916bd1d8cb9a531f1e02301724d3ffe8
parentcac8dad2a5e52760d9fafc5d0e90c68ed700de37
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>
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