Rework the backend to support PDP updates 65/119865/9
authorsebdet <sebastien.determe@intl.att.com>
Thu, 25 Mar 2021 17:19:29 +0000 (18:19 +0100)
committersebdet <sebastien.determe@intl.att.com>
Wed, 7 Apr 2021 08:14:00 +0000 (10:14 +0200)
commit7f685aa342813c611b6e43d7b4a869c7454baddc
treeb1668e028b2b68fa928f4819ab52b0f2849f31f9
parentdf451dc64de36d571efb4f0457a83bc94e8f3969
Rework the backend to support PDP updates

Rework Pdp payloads builder so that we can integrate different actions in the same batch + Add a new endpoint to support pdp payload&query to PEF from UI

Issue-ID: POLICY-2930
Issue-ID: POLICY-2931
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I3c933272419770595b706f6950f821220a76f778
pom.xml
src/main/java/org/onap/policy/clamp/loop/components/external/PolicyComponent.java
src/main/java/org/onap/policy/clamp/policy/pdpgroup/PdpGroupPayload.java
src/main/java/org/onap/policy/clamp/policy/pdpgroup/PdpGroupPayloadException.java [new file with mode: 0644]
src/main/resources/clds/camel/rest/clamp-api-v2.xml
src/test/java/org/onap/policy/clamp/loop/PolicyComponentTest.java
src/test/java/org/onap/policy/clamp/policy/pdpgroup/PdpGroupAnalyzerTest.java
src/test/java/org/onap/policy/clamp/policy/pdpgroup/PdpGroupPayloadExceptionTest.java [new file with mode: 0644]
src/test/java/org/onap/policy/clamp/policy/pdpgroup/PdpGroupPayloadTest.java [new file with mode: 0644]
src/test/resources/example/policy/pdp-group-multi-policies-payload.json [new file with mode: 0644]
src/test/resources/example/policy/pdp-group-policy-payload.json [moved from src/test/resources/tosca/pdp-group-policy-payload.json with 75% similarity]