@Loggable(prepend=true, value=1, trim=false) @Path(value="/v1/catalog") @Singleton public class AdditionalInformationServlet extends BeGenericServlet
servletRequest
gson
Constructor and Description |
---|
AdditionalInformationServlet() |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
createAdditionalInformationLabelForComponent(NodeTypeEnum nodeType,
String uniqueId,
javax.servlet.http.HttpServletRequest request,
String userId,
String data)
Create additional information property under given resource/service
|
javax.ws.rs.core.Response |
createResourceAdditionalInformationLabel(String resourceId,
String data,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
createServiceAdditionalInformationLabel(String serviceId,
String data,
javax.servlet.http.HttpServletRequest request,
String userId) |
protected javax.ws.rs.core.Response |
deleteAdditionalInformationLabelForComponent(NodeTypeEnum nodeType,
String uniqueId,
String labelId,
javax.servlet.http.HttpServletRequest request,
String userId)
Delete an additional information property by id under given resource/service
|
javax.ws.rs.core.Response |
deleteServiceAdditionalInformationLabel(String serviceId,
String labelId,
javax.servlet.http.HttpServletRequest request,
String userId) |
protected javax.ws.rs.core.Response |
getAdditionalInformationLabelForComponent(NodeTypeEnum nodeType,
String uniqueId,
String labelId,
javax.servlet.http.HttpServletRequest request,
String userId)
Get a specific additional information property by a given id under given resource/service
|
protected javax.ws.rs.core.Response |
getAllAdditionalInformationLabelForComponent(NodeTypeEnum nodeType,
String uniqueId,
javax.servlet.http.HttpServletRequest request,
String userId)
Get all additional information properties under given resource/service
|
javax.ws.rs.core.Response |
getAllResourceAdditionalInformationLabel(String resourceId,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
getAllServiceAdditionalInformationLabel(String serviceId,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
getResourceAdditionalInformationLabel(String resourceId,
String labelId,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
getServiceAdditionalInformationLabel(String serviceId,
String labelId,
javax.servlet.http.HttpServletRequest request,
String userId) |
protected javax.ws.rs.core.Response |
updateAdditionalInformationLabelForComponent(NodeTypeEnum nodeType,
String uniqueId,
String labelId,
javax.servlet.http.HttpServletRequest request,
String userId,
String data)
Update additional information property by id under given resource/service
|
javax.ws.rs.core.Response |
updateResourceAdditionalInformationLabel(String resourceId,
String labelId,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
updateResourceAdditionalInformationLabel(String resourceId,
String labelId,
String data,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
updateServiceAdditionalInformationLabel(String serviceId,
String labelId,
String data,
javax.servlet.http.HttpServletRequest request,
String userId) |
buildErrorResponse, buildOkResponse, buildOkResponse, getArtifactBL, getBusinessLogic, getComponentBL, getComponentCleanerBL, getComponentInstanceBL, getComponentsUtils, getContentDispositionValue, getElementBL, getElementDao, getGroupBL, getMonitoringBL, getProductBL, getResourceBL, getServiceBL, getUserAdminManager, initHeaderParam
@POST @Path(value="/resources/{resourceId}/additionalinfo") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response createResourceAdditionalInformationLabel(@PathParam(value="resourceId") String resourceId, String data, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@POST @Path(value="/services/{serviceId}/additionalinfo") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response createServiceAdditionalInformationLabel(@PathParam(value="serviceId") String serviceId, String data, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@PUT @Path(value="/resources/{resourceId}/additionalinfo/{labelId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response updateResourceAdditionalInformationLabel(@PathParam(value="resourceId") String resourceId, @PathParam(value="labelId") String labelId, String data, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@PUT @Path(value="/services/{serviceId}/additionalinfo/{labelId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response updateServiceAdditionalInformationLabel(@PathParam(value="serviceId") String serviceId, @PathParam(value="labelId") String labelId, String data, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@DELETE @Path(value="/resources/{resourceId}/additionalinfo/{labelId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response updateResourceAdditionalInformationLabel(@PathParam(value="resourceId") String resourceId, @PathParam(value="labelId") String labelId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@DELETE @Path(value="/services/{serviceId}/additionalinfo/{labelId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response deleteServiceAdditionalInformationLabel(@PathParam(value="serviceId") String serviceId, @PathParam(value="labelId") String labelId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/resources/{resourceId}/additionalinfo/{labelId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getResourceAdditionalInformationLabel(@PathParam(value="resourceId") String resourceId, @PathParam(value="labelId") String labelId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/services/{serviceId}/additionalinfo/{labelId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getServiceAdditionalInformationLabel(@PathParam(value="serviceId") String serviceId, @PathParam(value="labelId") String labelId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/resources/{resourceId}/additionalinfo") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getAllResourceAdditionalInformationLabel(@PathParam(value="resourceId") String resourceId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/services/{serviceId}/additionalinfo") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getAllServiceAdditionalInformationLabel(@PathParam(value="serviceId") String serviceId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
protected javax.ws.rs.core.Response createAdditionalInformationLabelForComponent(NodeTypeEnum nodeType, String uniqueId, javax.servlet.http.HttpServletRequest request, String userId, String data)
nodeType
- uniqueId
- request
- userId
- data
- protected javax.ws.rs.core.Response updateAdditionalInformationLabelForComponent(NodeTypeEnum nodeType, String uniqueId, String labelId, javax.servlet.http.HttpServletRequest request, String userId, String data)
nodeType
- uniqueId
- labelId
- request
- userId
- data
- protected javax.ws.rs.core.Response deleteAdditionalInformationLabelForComponent(NodeTypeEnum nodeType, String uniqueId, String labelId, javax.servlet.http.HttpServletRequest request, String userId)
nodeType
- uniqueId
- labelId
- request
- userId
- protected javax.ws.rs.core.Response getAdditionalInformationLabelForComponent(NodeTypeEnum nodeType, String uniqueId, String labelId, javax.servlet.http.HttpServletRequest request, String userId)
nodeType
- uniqueId
- labelId
- request
- userId
- protected javax.ws.rs.core.Response getAllAdditionalInformationLabelForComponent(NodeTypeEnum nodeType, String uniqueId, javax.servlet.http.HttpServletRequest request, String userId)
nodeType
- uniqueId
- request
- userId
- Copyright © 2017. All rights reserved.