public interface CatalogApi
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 symbolicName,
java.lang.String version) |
void |
deleteEntity(java.lang.String entityId)
Deprecated.
since 0.7.0 use
deleteEntity(String, String) |
void |
deleteEntity(java.lang.String symbolicName,
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 applicationId)
Deprecated.
since 0.7.0 use
getEntity(String, String) |
CatalogEntitySummary |
getApplication(java.lang.String symbolicName,
java.lang.String version) |
CatalogEntitySummary |
getEntity(java.lang.String entityId)
Deprecated.
since 0.7.0 use
getEntity(String, String) |
CatalogEntitySummary |
getEntity(java.lang.String symbolicName,
java.lang.String version) |
javax.ws.rs.core.Response |
getIcon(java.lang.String itemId)
Deprecated.
since 0.7.0 use
getIcon(String, String) |
javax.ws.rs.core.Response |
getIcon(java.lang.String itemId,
java.lang.String version) |
CatalogItemSummary |
getLocation(java.lang.String locationId)
Deprecated.
since 0.7.0 use
getLocation(String, String) |
CatalogItemSummary |
getLocation(java.lang.String locationId,
java.lang.String version) |
CatalogItemSummary |
getPolicy(java.lang.String policyId)
Deprecated.
since 0.7.0 use
getPolicy(String, String) |
CatalogItemSummary |
getPolicy(java.lang.String policyId,
java.lang.String version) |
java.util.List<CatalogItemSummary> |
listApplications(java.lang.String regex,
java.lang.String fragment,
boolean includeAllVersions) |
java.util.List<CatalogEntitySummary> |
listEntities(java.lang.String regex,
java.lang.String fragment,
boolean includeAllVersions) |
java.util.List<CatalogLocationSummary> |
listLocations(java.lang.String regex,
java.lang.String fragment,
boolean includeAllVersions) |
java.util.List<CatalogPolicySummary> |
listPolicies(java.lang.String regex,
java.lang.String fragment,
boolean includeAllVersions) |
javax.ws.rs.core.Response |
resetXml(java.lang.String xml,
boolean ignoreErrors) |
void |
setDeprecated(java.lang.String itemId,
boolean deprecated) |
void |
setDeprecatedLegacy(java.lang.String itemId,
boolean deprecated)
Deprecated.
since 0.8.0; use "/entities/{itemId}/deprecated" with payload of true/false
|
void |
setDisabled(java.lang.String itemId,
boolean disabled) |
javax.ws.rs.core.Response createFromMultipart(java.io.InputStream uploadedInputStream, com.sun.jersey.core.header.FormDataContentDisposition fileDetail)
javax.ws.rs.core.Response create(java.lang.String yaml)
javax.ws.rs.core.Response resetXml(java.lang.String xml, boolean ignoreErrors)
@Deprecated void deleteEntity(java.lang.String entityId) throws java.lang.Exception
deleteEntity(String, String)
java.lang.Exception
void deleteApplication(java.lang.String symbolicName, java.lang.String version) throws java.lang.Exception
java.lang.Exception
void deleteEntity(java.lang.String symbolicName, java.lang.String version) throws java.lang.Exception
java.lang.Exception
void deletePolicy(java.lang.String policyId, java.lang.String version) throws java.lang.Exception
java.lang.Exception
void deleteLocation(java.lang.String locationId, java.lang.String version) throws java.lang.Exception
java.lang.Exception
java.util.List<CatalogEntitySummary> listEntities(java.lang.String regex, java.lang.String fragment, boolean includeAllVersions)
java.util.List<CatalogItemSummary> listApplications(java.lang.String regex, java.lang.String fragment, boolean includeAllVersions)
@Deprecated CatalogEntitySummary getEntity(java.lang.String entityId) throws java.lang.Exception
getEntity(String, String)
java.lang.Exception
CatalogEntitySummary getEntity(java.lang.String symbolicName, java.lang.String version) throws java.lang.Exception
java.lang.Exception
@Deprecated CatalogEntitySummary getApplication(java.lang.String applicationId) throws java.lang.Exception
getEntity(String, String)
java.lang.Exception
CatalogEntitySummary getApplication(java.lang.String symbolicName, java.lang.String version) throws java.lang.Exception
java.lang.Exception
java.util.List<CatalogPolicySummary> listPolicies(java.lang.String regex, java.lang.String fragment, boolean includeAllVersions)
@Deprecated CatalogItemSummary getPolicy(java.lang.String policyId) throws java.lang.Exception
getPolicy(String, String)
java.lang.Exception
CatalogItemSummary getPolicy(java.lang.String policyId, java.lang.String version) throws java.lang.Exception
java.lang.Exception
java.util.List<CatalogLocationSummary> listLocations(java.lang.String regex, java.lang.String fragment, boolean includeAllVersions)
@Deprecated CatalogItemSummary getLocation(java.lang.String locationId) throws java.lang.Exception
getLocation(String, String)
java.lang.Exception
CatalogItemSummary getLocation(java.lang.String locationId, java.lang.String version) throws java.lang.Exception
java.lang.Exception
@Deprecated javax.ws.rs.core.Response getIcon(java.lang.String itemId)
getIcon(String, String)
javax.ws.rs.core.Response getIcon(java.lang.String itemId, java.lang.String version)
@Deprecated void setDeprecatedLegacy(java.lang.String itemId, boolean deprecated)
void setDeprecated(java.lang.String itemId, boolean deprecated)
void setDisabled(java.lang.String itemId, boolean disabled)