summaryrefslogtreecommitdiffstats
path: root/participant/participant-impl/participant-impl-policy
diff options
context:
space:
mode:
Diffstat (limited to 'participant/participant-impl/participant-impl-policy')
-rw-r--r--participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/acm/participant/policy/main/utils/MockRestEndpoint.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/acm/participant/policy/main/utils/MockRestEndpoint.java b/participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/acm/participant/policy/main/utils/MockRestEndpoint.java
index 9f56a29ca..b7485c6ca 100644
--- a/participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/acm/participant/policy/main/utils/MockRestEndpoint.java
+++ b/participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/acm/participant/policy/main/utils/MockRestEndpoint.java
@@ -20,7 +20,6 @@
package org.onap.policy.clamp.acm.participant.policy.main.utils;
-import io.swagger.annotations.ApiParam;
import javax.ws.rs.DELETE;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
@@ -46,8 +45,7 @@ public class MockRestEndpoint {
*/
@Path("policy/api/v1/policytypes")
@POST
- public Response createPolicyType(
- @RequestBody @ApiParam(value = "Entity body", required = true) ToscaServiceTemplate body) {
+ public Response createPolicyType(@RequestBody ToscaServiceTemplate body) {
return Response.status(200).build();
}
@@ -59,8 +57,7 @@ public class MockRestEndpoint {
*/
@Path("policy/api/v1/policies")
@POST
- public Response createPolicy(
- @RequestBody @ApiParam(value = "Entity body ", required = true) ToscaServiceTemplate body) {
+ public Response createPolicy(@RequestBody ToscaServiceTemplate body) {
return Response.status(200).build();
}
@@ -94,8 +91,7 @@ public class MockRestEndpoint {
*/
@Path("policy/pap/v1/pdps/deployments/batch")
@POST
- public Response handlePolicyDeployOrUndeploy(
- @RequestBody @ApiParam(value = "Entity body", required = true) DeploymentGroups body) {
+ public Response handlePolicyDeployOrUndeploy(@RequestBody DeploymentGroups body) {
return Response.status(200).build();
}