Adding JSON Schema support in APEX-PDP 51/129751/3
authora.sreekumar <ajith.sreekumar@bell.ca>
Tue, 19 Jul 2022 10:49:57 +0000 (11:49 +0100)
committerRam Krishna Verma <ram_krishna.verma@bell.ca>
Mon, 1 Aug 2022 15:09:31 +0000 (15:09 +0000)
commit93f3fc1561837a64f6c429a52e3546c6d668b6f7
treebbe942300c744a87b163ecf784ef714d2ad648aa
parent4ecdac86e4870b634785d5018110046aea12ec58
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>
(cherry picked from commit c354fba3fb87ebe21a7fbb2a15268ccc9d033fbd)
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