...
- The extra complexity of using "_DoT_" instead of ".", "_DasH_" instead of "-" and "_ColoN_" instead of ":" will be removed and the field names can be directly used.
- createNewInstance and createNewSubInstance methods will probably not be needed with JsonSchema supportwhen populating fields that are defined using JSON Schema. HashMap, ArrayList etc can directly be created and used as these could can be mapped straightaway using the JsonSchema validator.
...
Code Block | ||
---|---|---|
| ||
var payloadEntry = new java.util.HashMap(); payloadEntry.put("create-subscription-properties", payloadProperties) var payload = new java.util.HashMap(); payload.put("create-subscription-request", payloadEntry); |
Test Plan
The test plan for validating the JSON Schema Support in any example policy is attached here - APEX_PDP_JSON_Schema_Support_Test_Plan.xlsx
Summary
JsonSchema support in APEX-PDP has the following advantages:
...