[
https://issues.apache.org/jira/browse/STRATOS-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mariangela Hills resolved STRATOS-990.
--------------------------------------
Resolution: Fixed
Fixed in the REST API refactoring process. Commit IDs [1].
[1] (commits 2242e2fc6083129e3f0e5b08707250f5b1648a44,
023900c4fdd7ba9b12a228b5bf619e77885a3f2f,
72c9d60433d9b196d67268e850e572fd81a9fd97,
6af9901141c9a89c44e76803b6cbdbb68561714c).
> Remove method for list of subscribed cartridges
> -----------------------------------------------
>
> Key: STRATOS-990
> URL: https://issues.apache.org/jira/browse/STRATOS-990
> Project: Stratos
> Issue Type: Sub-task
> Components: REST API
> Affects Versions: 4.1.0 M4
> Reporter: Mariangela Hills
>
> Users will not need to subscribe to a cartridge anymore with composite
> applications. Therefore, this method will not be applicable. Please remove
> this method.
> @GET
> @Path("/cartridge/list/subscribed")
> @Produces("application/json")
> @Consumes("application/json")
> @AuthorizationAction("/permission/admin/manage/view/cartridge")
> public Response getSubscribedCartridges() throws RestAPIException {
> List<Cartridge> cartridgeList =
> StratosApiV41Utils.getSubscriptions(null, null, getConfigContext());
> // Following is very important when working with axis2
> ResponseBuilder rb = Response.ok();
> rb.entity(cartridgeList.isEmpty() ? new Cartridge[0] :
> cartridgeList.toArray(new Cartridge[cartridgeList.size()]));
> return rb.build();
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)