public class CatalogResource extends AbstractBrooklynRestResource implements CatalogApi
DATE_FORMAT
Constructor and Description |
---|
CatalogResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(java.lang.String yaml) |
javax.ws.rs.core.Response |
createFromMultipart(java.io.InputStream uploadedInputStream,
com.sun.jersey.core.header.FormDataContentDisposition fileDetail) |
void |
deleteEntity(java.lang.String entityId) |
CatalogEntitySummary |
getApplication(java.lang.String applicationId) |
CatalogEntitySummary |
getEntity(java.lang.String entityId) |
javax.ws.rs.core.Response |
getIcon(java.lang.String itemId) |
CatalogItemSummary |
getPolicy(java.lang.String policyId) |
java.util.List<CatalogItemSummary> |
listApplications(java.lang.String regex,
java.lang.String fragment) |
java.util.List<CatalogItemSummary> |
listEntities(java.lang.String regex,
java.lang.String fragment) |
java.util.List<CatalogItemSummary> |
listPolicies(java.lang.String regex,
java.lang.String fragment) |
javax.ws.rs.core.Response |
resetXml(java.lang.String xml) |
brooklyn, injectManagementContext, mgmt
public javax.ws.rs.core.Response createFromMultipart(java.io.InputStream uploadedInputStream, com.sun.jersey.core.header.FormDataContentDisposition fileDetail)
createFromMultipart
in interface CatalogApi
public javax.ws.rs.core.Response create(java.lang.String yaml)
create
in interface CatalogApi
public javax.ws.rs.core.Response resetXml(java.lang.String xml)
resetXml
in interface CatalogApi
public void deleteEntity(java.lang.String entityId) throws java.lang.Exception
deleteEntity
in interface CatalogApi
java.lang.Exception
public java.util.List<CatalogItemSummary> listEntities(java.lang.String regex, java.lang.String fragment)
listEntities
in interface CatalogApi
public java.util.List<CatalogItemSummary> listApplications(java.lang.String regex, java.lang.String fragment)
listApplications
in interface CatalogApi
public CatalogEntitySummary getEntity(java.lang.String entityId)
getEntity
in interface CatalogApi
public CatalogEntitySummary getApplication(java.lang.String applicationId)
getApplication
in interface CatalogApi
public java.util.List<CatalogItemSummary> listPolicies(java.lang.String regex, java.lang.String fragment)
listPolicies
in interface CatalogApi
public CatalogItemSummary getPolicy(java.lang.String policyId)
getPolicy
in interface CatalogApi
public javax.ws.rs.core.Response getIcon(java.lang.String itemId)
getIcon
in interface CatalogApi