@Loggable(prepend=true, value=1, trim=false) @Path(value="/v1/catalog") @Singleton public class AssetsDataServlet extends BeGenericServlet
servletRequest
gson
Constructor and Description |
---|
AssetsDataServlet() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getAssetList(String assetType,
String category,
String subCategory,
String distributionStatus) |
javax.ws.rs.core.Response |
getAssetListByUuid(String assetType,
String uuid,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
getToscaModel(String uuid,
String assetType,
String authorization) |
buildErrorResponse, buildOkResponse, buildOkResponse, getArtifactBL, getBusinessLogic, getComponentBL, getComponentCleanerBL, getComponentInstanceBL, getComponentsUtils, getContentDispositionValue, getElementBL, getElementDao, getGroupBL, getMonitoringBL, getProductBL, getResourceBL, getServiceBL, getUserAdminManager, initHeaderParam
@GET @Path(value="/{assetType}") @Produces(value="application/json") public javax.ws.rs.core.Response getAssetList(@PathParam(value="assetType") String assetType, @QueryParam(value="category") String category, @QueryParam(value="subCategory") String subCategory, @QueryParam(value="distributionStatus") String distributionStatus)
@GET @Path(value="/{assetType}/{uuid}/metadata") @Produces(value="application/json") public javax.ws.rs.core.Response getAssetListByUuid(@PathParam(value="assetType") String assetType, @PathParam(value="uuid") String uuid, @Context javax.servlet.http.HttpServletRequest request)
Copyright © 2017. All rights reserved.