@Loggable(prepend=true, value=1, trim=false) @Path(value="/v1/catalog") @Singleton public class LifecycleServlet extends BeGenericServlet
servletRequest
gson
Constructor and Description |
---|
LifecycleServlet() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
changeResourceState(String jsonChangeInfo,
String componentCollection,
String lifecycleTransition,
String componentId,
javax.servlet.http.HttpServletRequest request,
String userId) |
protected fj.data.Either<User,javax.ws.rs.core.Response> |
getUser(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="/{componentCollection}/{componentId}/lifecycleState/{lifecycleOperation}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response changeResourceState(String jsonChangeInfo, @PathParam(value="componentCollection") String componentCollection, @PathParam(value="lifecycleOperation") String lifecycleTransition, @PathParam(value="componentId") String componentId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
Copyright © 2017. All rights reserved.