summaryrefslogtreecommitdiffstats
path: root/models-sim
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2023-02-14 10:49:22 +0000
committerGerrit Code Review <gerrit@onap.org>2023-02-14 10:49:22 +0000
commit019bfddd9eaf08cc840b421aaafc403628ba674a (patch)
tree815ab0a0281c71057f2dbf929c6621a3f66318a9 /models-sim
parentd33d06e04fbae06704f36b43b2f746421cd208d2 (diff)
parent80311ac0dedb0868d3837029c6e4b5fcb984efb2 (diff)
Merge "Remove annotations in models"
Diffstat (limited to 'models-sim')
-rw-r--r--models-sim/models-sim-dmaap/src/main/java/org/onap/policy/models/sim/dmaap/rest/BaseRestControllerV1.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/models-sim/models-sim-dmaap/src/main/java/org/onap/policy/models/sim/dmaap/rest/BaseRestControllerV1.java b/models-sim/models-sim-dmaap/src/main/java/org/onap/policy/models/sim/dmaap/rest/BaseRestControllerV1.java
index ed8909b80..472a898c9 100644
--- a/models-sim/models-sim-dmaap/src/main/java/org/onap/policy/models/sim/dmaap/rest/BaseRestControllerV1.java
+++ b/models-sim/models-sim-dmaap/src/main/java/org/onap/policy/models/sim/dmaap/rest/BaseRestControllerV1.java
@@ -20,38 +20,17 @@
package org.onap.policy.models.sim.dmaap.rest;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.BasicAuthDefinition;
-import io.swagger.annotations.Info;
-import io.swagger.annotations.SecurityDefinition;
-import io.swagger.annotations.SwaggerDefinition;
-import io.swagger.annotations.Tag;
import java.net.HttpURLConnection;
import java.util.UUID;
import javax.ws.rs.Consumes;
import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response.ResponseBuilder;
/**
* Version v1 common superclass to provide DMaaP endpoints for the DMaaP simulator component.
*/
-// @formatter:off
-@Api(value = "DMaaP Simulator API")
@Produces("application/json")
@Consumes({"application/cambria", "application/json"})
-@SwaggerDefinition(
- info = @Info(description =
- "Simulator for DMaaP, follows API as described at "
- + "\"https://onap.readthedocs.io/en/amsterdam/submodules/dmaap/messagerouter/messageservice.git/"
- + "docs/message-router/message-router.html", version = "v1.0",
- title = "Policy Administration"),
- consumes = {MediaType.APPLICATION_JSON},
- produces = {MediaType.APPLICATION_JSON},
- schemes = {SwaggerDefinition.Scheme.HTTP, SwaggerDefinition.Scheme.HTTPS},
- tags = {@Tag(name = "dmaap-simulator", description = "DMaaP simulation")},
- securityDefinition = @SecurityDefinition(basicAuthDefinitions = {@BasicAuthDefinition(key = "basicAuth")}))
-// @formatter:on
public class BaseRestControllerV1 {
public static final String EXTENSION_NAME = "interface info";