@Loggable(prepend=true, value=1, trim=false) @Path(value="/v1/catalog") @Singleton public class ArtifactServlet extends BeGenericServlet
servletRequest
Constructor and Description |
---|
ArtifactServlet() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
deleteApiArtifact(String serviceId,
String artifactId,
javax.servlet.http.HttpServletRequest request,
String userId,
String origMd5) |
javax.ws.rs.core.Response |
deleteArtifact(String resourceId,
String artifactId,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
deleteArtifactToInterface(String resourceId,
String interfaceType,
String operation,
String artifactId,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
deleteComponentInstanceArtifact(String userId,
String origMd5,
String containerComponentType,
String componentId,
String componentInstanceId,
String artifactId,
String data,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
deleteInformationalArtifact(String serviceId,
String artifactId,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
downloadResourceArtifactBase64(String resourceId,
String artifactId,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
downloadResourceInstanceArtifactBase64(String containerComponentType,
String componentId,
String componentInstanceId,
String artifactId,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
downloadServiceArtifactBase64(String serviceId,
String artifactId,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
loadArtifact(String resourceId,
String data,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
loadArtifactToInterface(String resourceId,
String interfaceType,
String operation,
String userId,
String origMd5,
String data,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
loadComponentInstanceArtifact(String userId,
String origMd5,
String containerComponentType,
String componentId,
String componentInstanceId,
String data,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
loadInformationArtifact(String serviceId,
String data,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
updateApiArtifact(String serviceId,
String artifactId,
String data,
javax.servlet.http.HttpServletRequest request,
String userId,
String origMd5) |
javax.ws.rs.core.Response |
updateArtifact(String resourceId,
String artifactId,
String data,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
updateArtifactToInterface(String resourceId,
String interfaceType,
String operation,
String artifactId,
String userId,
String origMd5,
javax.servlet.http.HttpServletRequest request,
String data) |
javax.ws.rs.core.Response |
updateComponentInstanceArtifact(String userId,
String origMd5,
String containerComponentType,
String componentId,
String componentInstanceId,
String artifactId,
String data,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
updateInformationArtifact(String serviceId,
String artifactId,
String data,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
updateRIArtifact(String containerComponentType,
String componentId,
String componentInstanceId,
String artifactId,
String data,
javax.servlet.http.HttpServletRequest request) |
buildErrorResponse, buildOkResponse, buildOkResponse, getArtifactBL, getBusinessLogic, getComponentBL, getComponentCleanerBL, getComponentInstanceBL, getComponentsUtils, getContentDispositionValue, getElementBL, getElementDao, getGroupBL, getMonitoringBL, getProductBL, getResourceBL, getServiceBL, getUserAdminManager, initHeaderParam
@POST @Path(value="/resources/{resourceId}/artifacts") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response loadArtifact(@PathParam(value="resourceId") String resourceId, String data, @Context javax.servlet.http.HttpServletRequest request)
@POST @Path(value="/resources/{resourceId}/artifacts/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response updateArtifact(@PathParam(value="resourceId") String resourceId, @PathParam(value="artifactId") String artifactId, String data, @Context javax.servlet.http.HttpServletRequest request)
@DELETE @Path(value="/resources/{resourceId}/artifacts/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response deleteArtifact(@PathParam(value="resourceId") String resourceId, @PathParam(value="artifactId") String artifactId, @Context javax.servlet.http.HttpServletRequest request)
@POST @Path(value="/services/{serviceId}/artifacts") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response loadInformationArtifact(@PathParam(value="serviceId") String serviceId, String data, @Context javax.servlet.http.HttpServletRequest request)
@POST @Path(value="/services/{serviceId}/artifacts/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response updateInformationArtifact(@PathParam(value="serviceId") String serviceId, @PathParam(value="artifactId") String artifactId, String data, @Context javax.servlet.http.HttpServletRequest request)
@POST @Path(value="/services/{serviceId}/artifacts/api/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response updateApiArtifact(@PathParam(value="serviceId") String serviceId, @PathParam(value="artifactId") String artifactId, String data, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId, @HeaderParam(value="Content-MD5") String origMd5)
@DELETE @Path(value="/services/{serviceId}/artifacts/api/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response deleteApiArtifact(@PathParam(value="serviceId") String serviceId, @PathParam(value="artifactId") String artifactId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId, @HeaderParam(value="Content-MD5") String origMd5)
@DELETE @Path(value="/services/{serviceId}/artifacts/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response deleteInformationalArtifact(@PathParam(value="serviceId") String serviceId, @PathParam(value="artifactId") String artifactId, @Context javax.servlet.http.HttpServletRequest request)
@GET @Path(value="/services/{serviceId}/artifacts/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response downloadServiceArtifactBase64(@PathParam(value="serviceId") String serviceId, @PathParam(value="artifactId") String artifactId, @Context javax.servlet.http.HttpServletRequest request)
@GET @Path(value="/resources/{resourceId}/artifacts/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response downloadResourceArtifactBase64(@PathParam(value="resourceId") String resourceId, @PathParam(value="artifactId") String artifactId, @Context javax.servlet.http.HttpServletRequest request)
@GET @Path(value="/{containerComponentType}/{componentId}/resourceInstances/{componentInstanceId}/artifacts/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response downloadResourceInstanceArtifactBase64(@PathParam(value="containerComponentType") String containerComponentType, @PathParam(value="componentId") String componentId, @PathParam(value="componentInstanceId") String componentInstanceId, @PathParam(value="artifactId") String artifactId, @Context javax.servlet.http.HttpServletRequest request)
@POST @Path(value="/resources/{resourceId}/{interfaceType}/{operation}/artifacts") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response loadArtifactToInterface(@PathParam(value="resourceId") String resourceId, @PathParam(value="interfaceType") String interfaceType, @PathParam(value="operation") String operation, @HeaderParam(value="USER_ID") String userId, @HeaderParam(value="Content-MD5") String origMd5, String data, @Context javax.servlet.http.HttpServletRequest request)
@DELETE @Path(value="/resources/{resourceId}/{interfaceType}/{operation}/artifacts/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response deleteArtifactToInterface(@PathParam(value="resourceId") String resourceId, @PathParam(value="interfaceType") String interfaceType, @PathParam(value="operation") String operation, @PathParam(value="artifactId") String artifactId, @Context javax.servlet.http.HttpServletRequest request)
@POST @Path(value="/resources/{resourceId}/{interfaceType}/{operation}/artifacts/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response updateArtifactToInterface(@PathParam(value="resourceId") String resourceId, @PathParam(value="interfaceType") String interfaceType, @PathParam(value="operation") String operation, @PathParam(value="artifactId") String artifactId, @HeaderParam(value="USER_ID") String userId, @HeaderParam(value="Content-MD5") String origMd5, @Context javax.servlet.http.HttpServletRequest request, String data)
@POST @Path(value="/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/artifacts/{artifactId}/heatParams") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response updateRIArtifact(@PathParam(value="containerComponentType") String containerComponentType, @PathParam(value="componentId") String componentId, @PathParam(value="componentInstanceId") String componentInstanceId, @PathParam(value="artifactId") String artifactId, String data, @Context javax.servlet.http.HttpServletRequest request)
@POST @Path(value="/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/artifacts/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response updateComponentInstanceArtifact(@HeaderParam(value="USER_ID") String userId, @HeaderParam(value="Content-MD5") String origMd5, @PathParam(value="containerComponentType") String containerComponentType, @PathParam(value="componentId") String componentId, @PathParam(value="componentInstanceId") String componentInstanceId, @PathParam(value="artifactId") String artifactId, String data, @Context javax.servlet.http.HttpServletRequest request)
@POST @Path(value="/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/artifacts") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response loadComponentInstanceArtifact(@HeaderParam(value="USER_ID") String userId, @HeaderParam(value="Content-MD5") String origMd5, @PathParam(value="containerComponentType") String containerComponentType, @PathParam(value="componentId") String componentId, @PathParam(value="componentInstanceId") String componentInstanceId, String data, @Context javax.servlet.http.HttpServletRequest request)
@DELETE @Path(value="/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/artifacts/{artifactId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response deleteComponentInstanceArtifact(@HeaderParam(value="USER_ID") String userId, @HeaderParam(value="Content-MD5") String origMd5, @PathParam(value="containerComponentType") String containerComponentType, @PathParam(value="componentId") String componentId, @PathParam(value="componentInstanceId") String componentInstanceId, @PathParam(value="artifactId") String artifactId, String data, @Context javax.servlet.http.HttpServletRequest request)
Copyright © 2017. All rights reserved.