Github user sjcorbett commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/729#discussion_r33947593
--- Diff: usage/rest-api/src/main/java/brooklyn/rest/api/CatalogApi.java ---
@@ -202,18 +202,18 @@ public CatalogEntitySummary getEntity(
})
public CatalogEntitySummary getApplication(
@ApiParam(name = "applicationId", value = "The ID of the
application to retrieve", required = true)
- @PathParam("applicationId") String entityId) throws Exception;
+ @PathParam("applicationId") String applicationId) throws Exception;
@GET
- @Path("/applications/{applicationId}/{version}")
+ @Path("/applications/{symbolicName}/{version}")
@ApiOperation(value = "Fetch a specific version of an application's
definition from the catalog", responseClass = "CatalogEntitySummary",
multiValueResponse = true)
@ApiErrors(value = {
@ApiError(code = 404, reason = "Entity not found")
})
public CatalogEntitySummary getApplication(
- @ApiParam(name = "applicationId", value = "The ID of the
application to retrieve", required = true)
- @PathParam("applicationId") String entityId,
-
+ @ApiParam(name = "symbolicName", value = "The symbolic name of the
application to retrieve", required = true)
+ @PathParam("symbolicName") String symbolicName,
+
--- End diff --
I guess you're just following the existing format? Doesn't matter, will
merge.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---