Validate supported types 66/86166/3 3.0.2-ONAP
authorJim Hahn <jrh3@att.com>
Tue, 23 Apr 2019 17:27:55 +0000 (13:27 -0400)
committerJim Hahn <jrh3@att.com>
Wed, 24 Apr 2019 17:07:50 +0000 (13:07 -0400)
commitcccfb11b59becaaf86adc4c88600bd70f2519b0d
treefbab9aabd089f0943a5bdbfd5a97e1fa80e674c4
parenta6cb1f27c8fe26b02abbd6a3fcf876ec306e6a5a
Validate supported types

When a group is created, PAP should verify that the "supported types"
exist in the DB.
Address potential sonar issue.
Address potential sonar issue in similar block of code.

Change-Id: Ib830550bc37d4ebe42c8782f3f874e463f3f51c2
Issue-ID: POLICY-1688
Signed-off-by: Jim Hahn <jrh3@att.com>
main/src/main/java/org/onap/policy/pap/main/rest/depundep/PdpGroupDeployProvider.java
main/src/main/java/org/onap/policy/pap/main/rest/depundep/ProviderBase.java
main/src/main/java/org/onap/policy/pap/main/rest/depundep/SessionData.java
main/src/test/java/org/onap/policy/pap/main/rest/depundep/ProviderSuper.java
main/src/test/java/org/onap/policy/pap/main/rest/depundep/TestPdpGroupDeployProvider.java
main/src/test/java/org/onap/policy/pap/main/rest/depundep/TestProviderBase.java
main/src/test/java/org/onap/policy/pap/main/rest/depundep/TestSessionData.java
main/src/test/resources/e2e/monitoring.policy-type.yaml
main/src/test/resources/simpleDeploy/daoPolicyType.json [new file with mode: 0644]