public class CatalogResource extends AbstractBrooklynRestResource implements CatalogApi
AbstractBrooklynRestResource.RestValueResolver
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 |
deleteApplication(java.lang.String applicationId,
java.lang.String version) |
void |
deleteEntity(java.lang.String entityId)
Deprecated.
|
void |
deleteEntity(java.lang.String entityId,
java.lang.String version) |
void |
deleteLocation(java.lang.String locationId,
java.lang.String version) |
void |
deletePolicy(java.lang.String policyId,
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) |
CatalogLocationSummary |
getLocation(java.lang.String locationId)
Deprecated.
|
CatalogLocationSummary |
getLocation(java.lang.String locationId,
java.lang.String version) |
CatalogPolicySummary |
getPolicy(java.lang.String policyId)
Deprecated.
|
CatalogPolicySummary |
getPolicy(java.lang.String policyId,
java.lang.String version) |
java.util.List<CatalogItemSummary> |
listApplications(java.lang.String regex,
java.lang.String fragment,
boolean allVersions) |
java.util.List<CatalogEntitySummary> |
listEntities(java.lang.String regex,
java.lang.String fragment,
boolean allVersions) |
java.util.List<CatalogLocationSummary> |
listLocations(java.lang.String regex,
java.lang.String fragment,
boolean allVersions) |
java.util.List<CatalogPolicySummary> |
listPolicies(java.lang.String regex,
java.lang.String fragment,
boolean allVersions) |
javax.ws.rs.core.Response |
resetXml(java.lang.String xml,
boolean ignoreErrors) |
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, boolean ignoreErrors)
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 deleteApplication(java.lang.String applicationId, java.lang.String version) throws java.lang.Exception
deleteApplication
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 void deletePolicy(java.lang.String policyId, java.lang.String version) throws java.lang.Exception
deletePolicy
in interface CatalogApi
java.lang.Exception
public void deleteLocation(java.lang.String locationId, java.lang.String version) throws java.lang.Exception
deleteLocation
in interface CatalogApi
java.lang.Exception
public java.util.List<CatalogEntitySummary> listEntities(java.lang.String regex, java.lang.String fragment, boolean allVersions)
listEntities
in interface CatalogApi
public java.util.List<CatalogItemSummary> listApplications(java.lang.String regex, java.lang.String fragment, boolean allVersions)
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<CatalogPolicySummary> listPolicies(java.lang.String regex, java.lang.String fragment, boolean allVersions)
listPolicies
in interface CatalogApi
@Deprecated public CatalogPolicySummary getPolicy(java.lang.String policyId)
getPolicy
in interface CatalogApi
public CatalogPolicySummary getPolicy(java.lang.String policyId, java.lang.String version) throws java.lang.Exception
getPolicy
in interface CatalogApi
java.lang.Exception
public java.util.List<CatalogLocationSummary> listLocations(java.lang.String regex, java.lang.String fragment, boolean allVersions)
listLocations
in interface CatalogApi
@Deprecated public CatalogLocationSummary getLocation(java.lang.String locationId)
getLocation
in interface CatalogApi
public CatalogLocationSummary getLocation(java.lang.String locationId, java.lang.String version) throws java.lang.Exception
getLocation
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