diff options
author | lapentafd <francesco.lapenta@est.tech> | 2023-02-13 17:00:32 +0000 |
---|---|---|
committer | Francesco Davide Lapenta <francesco.lapenta@est.tech> | 2023-02-13 17:04:53 +0000 |
commit | 80311ac0dedb0868d3837029c6e4b5fcb984efb2 (patch) | |
tree | 45b02ab12590dab8b41f6cbfcc13358fb40b6217 /models-sim/models-sim-dmaap/src/main/java | |
parent | e53df8d3f8ab0464b0876bdb339fa91dc9085cd2 (diff) |
Remove annotations in models
Removing last annotations in order to remove dependencies in parent
Issue-ID: POLICY-3465
Change-Id: Id7a070120d452e33af805b08b37dd1eba1374615
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Diffstat (limited to 'models-sim/models-sim-dmaap/src/main/java')
-rw-r--r-- | models-sim/models-sim-dmaap/src/main/java/org/onap/policy/models/sim/dmaap/rest/BaseRestControllerV1.java | 21 |
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"; |