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,
boolean forceUpdate)
Deprecated.
|
javax.ws.rs.core.Response |
createFromArchive(byte[] zipInput,
boolean detail,
boolean forceUpdate) |
javax.ws.rs.core.Response |
createFromUpload(byte[] item,
boolean forceUpdate) |
javax.ws.rs.core.Response |
createFromYaml(java.lang.String yaml,
boolean forceUpdate) |
void |
deleteApplication(java.lang.String symbolicName,
java.lang.String version)
Deprecated.
|
void |
deleteEnricher(java.lang.String enricherId,
java.lang.String version)
Deprecated.
|
void |
deleteEntity(java.lang.String symbolicName,
java.lang.String version)
Deprecated.
|
void |
deleteLocation(java.lang.String locationId,
java.lang.String version)
Deprecated.
|
void |
deletePolicy(java.lang.String policyId,
java.lang.String version)
Deprecated.
|
CatalogEntitySummary |
getApplication(java.lang.String symbolicName,
java.lang.String version)
Deprecated.
|
CatalogEnricherSummary |
getEnricher(java.lang.String enricherId,
java.lang.String version)
Deprecated.
|
CatalogEntitySummary |
getEntity(java.lang.String symbolicName,
java.lang.String version)
Deprecated.
|
javax.ws.rs.core.Response |
getIcon(java.lang.String itemId,
java.lang.String version) |
CatalogLocationSummary |
getLocation(java.lang.String locationId,
java.lang.String version)
Deprecated.
|
CatalogPolicySummary |
getPolicy(java.lang.String policyId,
java.lang.String version)
Deprecated.
|
java.util.List<CatalogItemSummary> |
listApplications(java.lang.String regex,
java.lang.String fragment,
boolean allVersions)
Deprecated.
|
java.util.List<CatalogEnricherSummary> |
listEnrichers(java.lang.String regex,
java.lang.String fragment,
boolean includeAllVersions)
Deprecated.
|
java.util.List<CatalogEntitySummary> |
listEntities(java.lang.String regex,
java.lang.String fragment,
boolean allVersions)
Deprecated.
|
java.util.List<CatalogLocationSummary> |
listLocations(java.lang.String regex,
java.lang.String fragment,
boolean allVersions)
Deprecated.
|
java.util.List<CatalogPolicySummary> |
listPolicies(java.lang.String regex,
java.lang.String fragment,
boolean allVersions)
Deprecated.
|
void |
setDeprecated(java.lang.String itemId,
boolean deprecated)
Deprecated.
|
void |
setDisabled(java.lang.String itemId,
boolean disabled)
Deprecated.
|
brooklyn, mgmt, mgmtInternal, setManagementContext
public javax.ws.rs.core.Response createFromUpload(byte[] item, boolean forceUpdate)
createFromUpload
in interface CatalogApi
@Deprecated public javax.ws.rs.core.Response create(java.lang.String yaml, boolean forceUpdate)
create
in interface CatalogApi
public javax.ws.rs.core.Response createFromYaml(java.lang.String yaml, boolean forceUpdate)
createFromYaml
in interface CatalogApi
public javax.ws.rs.core.Response createFromArchive(byte[] zipInput, boolean detail, boolean forceUpdate)
createFromArchive
in interface CatalogApi
@Deprecated public void deleteApplication(java.lang.String symbolicName, java.lang.String version) throws java.lang.Exception
deleteApplication
in interface CatalogApi
java.lang.Exception
@Deprecated public void deleteEntity(java.lang.String symbolicName, java.lang.String version) throws java.lang.Exception
deleteEntity
in interface CatalogApi
java.lang.Exception
@Deprecated public void deletePolicy(java.lang.String policyId, java.lang.String version) throws java.lang.Exception
deletePolicy
in interface CatalogApi
java.lang.Exception
@Deprecated public void deleteLocation(java.lang.String locationId, java.lang.String version) throws java.lang.Exception
deleteLocation
in interface CatalogApi
java.lang.Exception
@Deprecated public java.util.List<CatalogEntitySummary> listEntities(java.lang.String regex, java.lang.String fragment, boolean allVersions)
listEntities
in interface CatalogApi
@Deprecated 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 symbolicName, java.lang.String version)
getEntity
in interface CatalogApi
@Deprecated public CatalogEntitySummary getApplication(java.lang.String symbolicName, java.lang.String version)
getApplication
in interface CatalogApi
@Deprecated 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, java.lang.String version) throws java.lang.Exception
getPolicy
in interface CatalogApi
java.lang.Exception
@Deprecated 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, java.lang.String version) throws java.lang.Exception
getLocation
in interface CatalogApi
java.lang.Exception
public javax.ws.rs.core.Response getIcon(java.lang.String itemId, java.lang.String version)
getIcon
in interface CatalogApi
@Deprecated public void setDeprecated(java.lang.String itemId, boolean deprecated)
setDeprecated
in interface CatalogApi
@Deprecated public void setDisabled(java.lang.String itemId, boolean disabled)
setDisabled
in interface CatalogApi
@Deprecated public java.util.List<CatalogEnricherSummary> listEnrichers(@DefaultValue(value="") java.lang.String regex, @DefaultValue(value="") java.lang.String fragment, @DefaultValue(value="false") boolean includeAllVersions)
listEnrichers
in interface CatalogApi
@Deprecated public CatalogEnricherSummary getEnricher(java.lang.String enricherId, java.lang.String version) throws java.lang.Exception
getEnricher
in interface CatalogApi
java.lang.Exception
@Deprecated public void deleteEnricher(java.lang.String enricherId, java.lang.String version) throws java.lang.Exception
deleteEnricher
in interface CatalogApi
java.lang.Exception