aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/main/java/org/onap/policy/pap/main/startstop/PapActivator.java
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@est.tech>2019-12-03 19:10:47 +0000
committera.sreekumar <ajith.sreekumar@est.tech>2019-12-05 16:43:14 +0000
commitdef5a9d47a1b512f65917babd6613e2b743ad8da (patch)
tree0c81ae4b1f17b5d687865b6662508a9e02ec5065 /main/src/main/java/org/onap/policy/pap/main/startstop/PapActivator.java
parent6e96359492029ca9309ea367372ab81bf396bdde (diff)
Create PAP API to only create/update PdpGroups
Create an API to create/update PdpGroups. Policies are not allowed to be deployed as part of PDPGroup create/update operation. There will be a separate API as part of POLICY-2274 to deploy policies into individual group/subgroups. Change-Id: I4e2cb43fefe08b22d6f70a1db7c026e83f0ebde0 Issue-ID: POLICY-2273 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Diffstat (limited to 'main/src/main/java/org/onap/policy/pap/main/startstop/PapActivator.java')
-rw-r--r--main/src/main/java/org/onap/policy/pap/main/startstop/PapActivator.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/main/java/org/onap/policy/pap/main/startstop/PapActivator.java b/main/src/main/java/org/onap/policy/pap/main/startstop/PapActivator.java
index f784ed5e..1721cb0d 100644
--- a/main/src/main/java/org/onap/policy/pap/main/startstop/PapActivator.java
+++ b/main/src/main/java/org/onap/policy/pap/main/startstop/PapActivator.java
@@ -50,6 +50,7 @@ import org.onap.policy.pap.main.parameters.PdpParameters;
import org.onap.policy.pap.main.rest.HealthCheckRestControllerV1;
import org.onap.policy.pap.main.rest.PapAafFilter;
import org.onap.policy.pap.main.rest.PapStatisticsManager;
+import org.onap.policy.pap.main.rest.PdpGroupCreateOrUpdateControllerV1;
import org.onap.policy.pap.main.rest.PdpGroupDeleteControllerV1;
import org.onap.policy.pap.main.rest.PdpGroupDeployControllerV1;
import org.onap.policy.pap.main.rest.PdpGroupHealthCheckControllerV1;
@@ -239,6 +240,7 @@ public class PapActivator extends ServiceManagerContainer {
RestServer server = new RestServer(papParameterGroup.getRestServerParameters(), PapAafFilter.class,
HealthCheckRestControllerV1.class,
StatisticsRestControllerV1.class,
+ PdpGroupCreateOrUpdateControllerV1.class,
PdpGroupDeployControllerV1.class,
PdpGroupDeleteControllerV1.class,
PdpGroupStateChangeControllerV1.class,