Adding JSON Schema support in APEX-PDP 76/129976/6
authora.sreekumar <ajith.sreekumar@bell.ca>
Tue, 19 Jul 2022 10:49:57 +0000 (11:49 +0100)
committera.sreekumar <ajith.sreekumar@bell.ca>
Wed, 20 Jul 2022 12:10:04 +0000 (13:10 +0100)
commitc354fba3fb87ebe21a7fbb2a15268ccc9d033fbd
tree5c2efa9ef3158d1141aca2a5ed37ecf72b369d2c
parent9e70ba9dc8d5b8e6f254354180b00d29a3fc7a1a
Adding JSON Schema support in APEX-PDP

More details can be found here:
https://wiki.onap.org/display/DW/JSON+Schema+support+in+APEX-PDP

A separate review will be raised as part of POLICY-4292 with a reference
example on how to use the JSON Schema.

Change-Id: I903d48969c6c5a24c63b8465b2412ed0b75b9351
Issue-ID: POLICY-4291
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
14 files changed:
packages/apex-pdp-package-full/pom.xml
plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/pom.xml [new file with mode: 0644]
plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/main/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelper.java [new file with mode: 0644]
plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/main/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelperParameters.java [new file with mode: 0644]
plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/java/org/onap/policy/apex/plugins/context/schema/json/CommonTestData.java [new file with mode: 0644]
plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelperMarshalTest.java [new file with mode: 0644]
plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelperUnmarshalTest.java [new file with mode: 0644]
plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/resources/data/commonHeader.json [new file with mode: 0644]
plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/resources/data/measurementGroups.json [new file with mode: 0644]
plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/resources/schema/commonHeaderTypeWithOptional.json [new file with mode: 0644]
plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/resources/schema/commonHeaderType_draft04.json [new file with mode: 0644]
plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/resources/schema/commonHeaderType_draft07.json [new file with mode: 0644]
plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/resources/schema/measurementGroupsType.json [new file with mode: 0644]
plugins/plugins-context/plugins-context-schema/pom.xml