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)
Deprecated.
|
void |
deleteEntity(java.lang.String entityId,
java.lang.String version) |
CatalogEntitySummary |
getApplication(java.lang.String entityId)
Deprecated.
|
CatalogEntitySummary |
getApplication(java.lang.String applicationId,
java.lang.String version) |
CatalogEntitySummary |
getEntity(java.lang.String entityId)
Deprecated.
|
CatalogEntitySummary |
getEntity(java.lang.String entityId,
java.lang.String version) |
javax.ws.rs.core.Response |
getIcon(java.lang.String itemId)
Deprecated.
|
javax.ws.rs.core.Response |
getIcon(java.lang.String itemId,
java.lang.String version) |
CatalogItemSummary |
getPolicy(java.lang.String policyId)
Deprecated.
|
CatalogItemSummary |
getPolicy(java.lang.String policyId,
java.lang.String version) |
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) |
void |
setDeprecated(java.lang.String itemId,
boolean deprecated) |
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
@Deprecated public void deleteEntity(java.lang.String entityId) throws java.lang.Exception
deleteEntity
in interface CatalogApi
java.lang.Exception
public void deleteEntity(java.lang.String entityId, java.lang.String version) 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
@Deprecated public CatalogEntitySummary getEntity(java.lang.String entityId)
getEntity
in interface CatalogApi
public CatalogEntitySummary getEntity(java.lang.String entityId, java.lang.String version)
getEntity
in interface CatalogApi
@Deprecated public CatalogEntitySummary getApplication(java.lang.String entityId) throws java.lang.Exception
getApplication
in interface CatalogApi
java.lang.Exception
public CatalogEntitySummary getApplication(java.lang.String applicationId, java.lang.String version)
getApplication
in interface CatalogApi
public java.util.List<CatalogItemSummary> listPolicies(java.lang.String regex, java.lang.String fragment)
listPolicies
in interface CatalogApi
@Deprecated public CatalogItemSummary getPolicy(java.lang.String policyId)
getPolicy
in interface CatalogApi
public CatalogItemSummary getPolicy(java.lang.String policyId, java.lang.String version) throws java.lang.Exception
getPolicy
in interface CatalogApi
java.lang.Exception
@Deprecated public javax.ws.rs.core.Response getIcon(java.lang.String itemId)
getIcon
in interface CatalogApi
public javax.ws.rs.core.Response getIcon(java.lang.String itemId, java.lang.String version)
getIcon
in interface CatalogApi
public void setDeprecated(java.lang.String itemId, boolean deprecated)
setDeprecated
in interface CatalogApi