Github user tbouron commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/927#discussion_r160111698
--- Diff:
rest/rest-resources/src/main/java/org/apache/brooklyn/rest/resources/BundleResource.java
---
@@ -107,6 +113,42 @@ protected ManagedBundle lookup(String symbolicName,
String version) {
}
return b;
}
+
+
+ @Override
+ public List<TypeSummary> getTypes(String symbolicName, String version)
{
+ ManagedBundle b = lookup(symbolicName, version);
+ return TypeTransformer.bundleDetails(brooklyn(), b,
ui.getBaseUriBuilder(), mgmt()).getTypes();
--- End diff --
Don't we need an entitlement check on the bundle here?
---