@Deprecated public class CcClient extends Object implements CcOperations
| Constructor and Description |
|---|
CcClient(org.springframework.web.client.RestOperations template,
String baseUrl)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
assignOrgRole(UUID userGuid,
UUID orgGuid,
Role role)
Deprecated.
Assigns organization role to user identified by given GUID.
|
void |
assignSpaceRole(UUID userGuid,
UUID spaceGuid,
Role role)
Deprecated.
Assigns space role to user identified by given GUID.
|
void |
assignUserToOrganization(UUID userGuid,
UUID orgGuid)
Deprecated.
Assigns user identified by given GUID to organization identified by given GUID.
|
void |
assignUserToSpace(UUID userGuid,
UUID spaceGuid)
Deprecated.
Assigns user identified by given GUID to space identified by given GUID.
|
UUID |
createOrganization(String orgName)
Deprecated.
Creates organization with given name.
|
CcServiceBinding |
createServiceBinding(CcNewServiceBinding ccNewServiceBinding)
Deprecated.
Creates service binding for application.
|
rx.Observable<CcExtendedServiceInstance> |
createServiceInstance(CcNewServiceInstance serviceInstance)
Deprecated.
Creates new service instance using provided configuration.
|
rx.Observable<CcServiceKey> |
createServiceKey(CcNewServiceKey serviceKey)
Deprecated.
Creates a new service key
|
UUID |
createSpace(UUID orgGuid,
String spaceName)
Deprecated.
Creates space within given organization.
|
void |
createUser(UUID userGuid)
Deprecated.
Creates new user with given GUID.
|
void |
deleteApp(UUID app)
Deprecated.
Deletes application identified by given GUID.
|
void |
deleteOrg(UUID orgGuid)
Deprecated.
Deletes organization identified by given GUID.
|
void |
deleteServiceBinding(UUID bindingGuid)
Deprecated.
Deletes service binding for application identified by given GUID.
|
void |
deleteServiceInstance(UUID instanceGuid)
Deprecated.
Deletes service instance identified by given GUID.
|
void |
deleteServiceKey(UUID keyGuid)
Deprecated.
Deletes given service key
|
void |
deleteSpace(UUID spaceGuid)
Deprecated.
Deletes space identified by given GUID.
|
void |
deleteUser(UUID guid)
Deprecated.
Deletes user identified by given GUID.
|
CcServiceBindingList |
getAppBindings(UUID appGuid)
Deprecated.
Returns all bindings belonging to application identified by given GUID.
|
CcServiceBindingList |
getAppBindings(UUID app,
FilterQuery filterQuery)
Deprecated.
Returns all bindings belonging to application identified by given GUID and filtering by
given filter.
|
rx.Observable<CcAppEnv> |
getAppEnv(UUID appGuid)
Deprecated.
Returns environment variables for application identified by given GUID.
|
CcAppSummary |
getAppSummary(UUID app)
Deprecated.
Returns summary for application identified by given GUID.
|
Collection<CcOrg> |
getAuditedOrganizations(UUID userId)
Deprecated.
Returns organizations audited by user identified by given GUID.
|
Collection<CcOrg> |
getBillingManagedOrganizations(UUID userId)
Deprecated.
Returns organizations billed by user identified by given GUID.
|
rx.Observable<CcBuildpack> |
getBuildpacks()
Deprecated.
Returns buildpacks
|
rx.Observable<CcExtendedServiceInstance> |
getExtendedServiceInstances()
Deprecated.
|
rx.Observable<CcExtendedServiceInstance> |
getExtendedServiceInstances(FilterQuery filterQuery)
Deprecated.
|
rx.Observable<CcExtendedServiceInstance> |
getExtendedServiceInstances(FilterQuery filterQuery,
int depth)
Deprecated.
|
rx.Observable<CcExtendedServiceInstance> |
getExtendedServiceInstances(int depth)
Deprecated.
|
rx.Observable<CcExtendedServicePlan> |
getExtendedServicePlans(UUID serviceGuid)
Deprecated.
Returns service plans within service identified by given GUID
|
rx.Observable<CcExtendedService> |
getExtendedServices()
Deprecated.
Returns services
|
Collection<CcOrg> |
getManagedOrganizations(UUID userId)
Deprecated.
Returns organizations managed by user identified by given GUID.
|
rx.Observable<CcMemoryUsage> |
getMemoryUsage(UUID orgGuid)
Deprecated.
Get memory usage from organization identified by given GUID.
|
rx.Observable<CcOrg> |
getOrg(UUID org)
Deprecated.
Returns organization identified by given GUID.
|
rx.Observable<CcOrg> |
getOrgs()
Deprecated.
Returns all organizations.
|
rx.Observable<CcOrgSummary> |
getOrgSummary(UUID orgGuid)
Deprecated.
Get organization summary from organization identified by given GUID.
|
Collection<User> |
getOrgUsers(UUID orgGuid,
Role role)
Deprecated.
Returns all users with given role within organization identified by given GUID.
|
rx.Observable<CcQuota> |
getQuota()
Deprecated.
Get quota
|
rx.Observable<CcExtendedService> |
getService(UUID serviceGuid)
Deprecated.
Returns service identified by given GUID.
|
CcServiceBindingList |
getServiceBindings(FilterQuery filterQuery)
Deprecated.
Returns list of service bindings matching provided filter
|
rx.Observable<CcServiceKey> |
getServiceKeys()
Deprecated.
Returns a list of all service keys acessible to user
|
rx.Observable<CcExtendedService> |
getServices(UUID spaceGuid)
Deprecated.
Returns services within space identified by given GUID.
|
rx.Observable<CcSpace> |
getSpace(UUID spaceId)
Deprecated.
Returns space identified by given GUID.
|
rx.Observable<CcSpace> |
getSpaces()
Deprecated.
Returns all spaces.
|
rx.Observable<CcSpace> |
getSpaces(UUID org)
Deprecated.
Returns all spaces withing organization identified by given GUID.
|
CcSummary |
getSpaceSummary(UUID spaceGuid)
Deprecated.
Returns summary for space identified by given UUID
|
Collection<User> |
getSpaceUsers(UUID spaceGuid,
Role role)
Deprecated.
Returns all users with given role within space identified by given GUID.
|
Collection<CcOrg> |
getUserOrgs(UUID userId)
Deprecated.
Returns organizations assigned to user identified by given GUID.
|
Collection<CcOrgPermission> |
getUserPermissions(UUID user,
Collection<UUID> orgsFilter)
Deprecated.
Returns users permissions for given organizations.
|
Collection<CcSpace> |
getUsersSpaces(UUID userGuid,
Role role,
UUID orgGuid)
Deprecated.
Get spaces that user has access to in given role.
|
void |
renameOrg(UUID orgId,
String name)
Deprecated.
Renames organization identified by given GUID.
|
void |
restageApp(UUID appGuid)
Deprecated.
Restages application identified by given GUID.
|
void |
revokeOrgRole(UUID userGuid,
UUID orgId,
Role role)
Deprecated.
Removes organization role from user identified by given GUID
|
void |
revokeSpaceRole(UUID userGuid,
UUID spaceId,
Role role)
Deprecated.
Removes space role from user identified by given GUID
|
void |
switchApp(UUID app,
CcAppStatus appStatus)
Deprecated.
Switches off application identified by given GUID.
|
public CcClient(org.springframework.web.client.RestOperations template,
String baseUrl)
public void createUser(UUID userGuid)
CcOperationsOrgsSpacescreateUser in interface CcOperationsOrgsSpacesuserGuid - user GUIDpublic UUID createOrganization(String orgName)
CcOperationsOrgsSpacescreateOrganization in interface CcOperationsOrgsSpacesorgName - name of organizationpublic UUID createSpace(UUID orgGuid, String spaceName)
CcOperationsOrgsSpacescreateSpace in interface CcOperationsOrgsSpacesorgGuid - organization GUIDspaceName - space namepublic void assignUserToOrganization(UUID userGuid, UUID orgGuid)
CcOperationsOrgsSpacesassignUserToOrganization in interface CcOperationsOrgsSpacesuserGuid - user GUIDorgGuid - organization GUIDpublic void assignUserToSpace(UUID userGuid, UUID spaceGuid)
CcOperationsOrgsSpacesassignUserToSpace in interface CcOperationsOrgsSpacesuserGuid - user GUIDspaceGuid - space GUIDpublic rx.Observable<CcOrg> getOrg(UUID org)
CcOperationsOrgsSpacesgetOrg in interface CcOperationsOrgsSpacesorg - organization GUIDpublic rx.Observable<CcOrg> getOrgs()
CcOperationsOrgsSpacesgetOrgs in interface CcOperationsOrgsSpacespublic rx.Observable<CcSpace> getSpaces()
CcOperationsOrgsSpacesgetSpaces in interface CcOperationsOrgsSpacespublic rx.Observable<CcSpace> getSpace(UUID spaceId)
CcOperationsOrgsSpacesgetSpace in interface CcOperationsOrgsSpacesspaceId - space GUIDpublic rx.Observable<CcSpace> getSpaces(UUID org)
CcOperationsOrgsSpacesgetSpaces in interface CcOperationsOrgsSpacesorg - GUIDpublic Collection<CcOrg> getManagedOrganizations(UUID userId)
CcOperationsOrgsSpacesgetManagedOrganizations in interface CcOperationsOrgsSpacesuserId - GUIDpublic Collection<CcOrg> getAuditedOrganizations(UUID userId)
CcOperationsOrgsSpacesgetAuditedOrganizations in interface CcOperationsOrgsSpacesuserId - GUIDpublic Collection<CcOrg> getBillingManagedOrganizations(UUID userId)
CcOperationsOrgsSpacesgetBillingManagedOrganizations in interface CcOperationsOrgsSpacesuserId - GUIDpublic Collection<CcOrgPermission> getUserPermissions(UUID user, Collection<UUID> orgsFilter)
CcOperationsOrgsSpacesgetUserPermissions in interface CcOperationsOrgsSpacesuser - GUIDorgsFilter - organizations UUIDspublic void renameOrg(UUID orgId, String name)
CcOperationsOrgsSpacesrenameOrg in interface CcOperationsOrgsSpacesorgId - GUIDname - new namepublic void deleteOrg(UUID orgGuid)
CcOperationsOrgsSpacesdeleteOrg in interface CcOperationsOrgsSpacesorgGuid - GUIDpublic void deleteSpace(UUID spaceGuid)
CcOperationsOrgsSpacesdeleteSpace in interface CcOperationsOrgsSpacesspaceGuid - GUIDpublic Collection<CcSpace> getUsersSpaces(UUID userGuid, Role role, UUID orgGuid)
CcOperationsOrgsSpacesgetUsersSpaces in interface CcOperationsOrgsSpacesuserGuid - GUIDrole - user roleorgGuid - GUIDpublic CcSummary getSpaceSummary(UUID spaceGuid)
CcOperationsCommongetSpaceSummary in interface CcOperationsCommonspaceGuid - space UUIDpublic rx.Observable<CcExtendedService> getServices(UUID spaceGuid)
CcOperationsServicesgetServices in interface CcOperationsServicesspaceGuid - GUIDpublic rx.Observable<CcExtendedService> getExtendedServices()
CcOperationsServicesgetExtendedServices in interface CcOperationsServicespublic rx.Observable<CcExtendedServiceInstance> getExtendedServiceInstances()
getExtendedServiceInstances in interface CcOperationsServicespublic rx.Observable<CcExtendedServiceInstance> getExtendedServiceInstances(FilterQuery filterQuery)
getExtendedServiceInstances in interface CcOperationsServicesfilterQuery - filter to use when requesting service instancespublic rx.Observable<CcExtendedServiceInstance> getExtendedServiceInstances(int depth)
getExtendedServiceInstances in interface CcOperationsServicesdepth - how deep the relations should be resolvedpublic rx.Observable<CcExtendedServiceInstance> getExtendedServiceInstances(FilterQuery filterQuery, int depth)
getExtendedServiceInstances in interface CcOperationsServicesfilterQuery - filter to use when requesting service instancesdepth - how deep the relations should be resolvedpublic rx.Observable<CcMemoryUsage> getMemoryUsage(UUID orgGuid)
CcOperationsOrgsSpacesgetMemoryUsage in interface CcOperationsOrgsSpacesorgGuid - GUIDpublic rx.Observable<CcQuota> getQuota()
CcOperationsCommongetQuota in interface CcOperationsCommonpublic rx.Observable<CcBuildpack> getBuildpacks()
CcOperationsCommongetBuildpacks in interface CcOperationsCommonpublic rx.Observable<CcOrgSummary> getOrgSummary(UUID orgGuid)
CcOperationsOrgsSpacesgetOrgSummary in interface CcOperationsOrgsSpacesorgGuid - GUIDpublic rx.Observable<CcExtendedServicePlan> getExtendedServicePlans(UUID serviceGuid)
CcOperationsServicesgetExtendedServicePlans in interface CcOperationsServicespublic rx.Observable<CcExtendedService> getService(UUID serviceGuid)
CcOperationsServicesgetService in interface CcOperationsServicesserviceGuid - GUIDpublic CcServiceBindingList getServiceBindings(FilterQuery filterQuery)
CcOperationsServicesgetServiceBindings in interface CcOperationsServicesfilterQuery - filterpublic rx.Observable<CcServiceKey> getServiceKeys()
CcOperationsServicesgetServiceKeys in interface CcOperationsServicespublic rx.Observable<CcServiceKey> createServiceKey(CcNewServiceKey serviceKey)
CcOperationsServicescreateServiceKey in interface CcOperationsServicespublic void deleteServiceKey(UUID keyGuid)
CcOperationsServicesdeleteServiceKey in interface CcOperationsServicespublic rx.Observable<CcExtendedServiceInstance> createServiceInstance(CcNewServiceInstance serviceInstance)
CcOperationsServicescreateServiceInstance in interface CcOperationsServicesserviceInstance - service instancepublic void deleteServiceInstance(UUID instanceGuid)
CcOperationsServicesdeleteServiceInstance in interface CcOperationsServicesinstanceGuid - GUIDpublic CcAppSummary getAppSummary(UUID app)
CcOperationsAppsgetAppSummary in interface CcOperationsAppsapp - application GUIDpublic void restageApp(UUID appGuid)
CcOperationsAppsrestageApp in interface CcOperationsAppsappGuid - application GUIDpublic CcServiceBindingList getAppBindings(UUID appGuid)
CcOperationsAppsgetAppBindings in interface CcOperationsAppsappGuid - application GUIDpublic CcServiceBindingList getAppBindings(UUID app, FilterQuery filterQuery)
CcOperationsAppsgetAppBindings in interface CcOperationsAppsapp - application GUIDfilterQuery - filterpublic void deleteApp(UUID app)
CcOperationsAppsdeleteApp in interface CcOperationsAppsapp - application GUIDpublic void switchApp(UUID app, CcAppStatus appStatus)
CcOperationsAppsswitchApp in interface CcOperationsAppsapp - application GUIDpublic CcServiceBinding createServiceBinding(CcNewServiceBinding ccNewServiceBinding)
CcOperationsAppscreateServiceBinding in interface CcOperationsAppsccNewServiceBinding - binding for applicationpublic void deleteServiceBinding(UUID bindingGuid)
CcOperationsAppsdeleteServiceBinding in interface CcOperationsAppsbindingGuid - binding GUIDpublic Collection<CcOrg> getUserOrgs(UUID userId)
CcOperationsOrgsSpacesgetUserOrgs in interface CcOperationsOrgsSpacesuserId - GUIDpublic Collection<User> getOrgUsers(UUID orgGuid, Role role)
CcOperationsUsersgetOrgUsers in interface CcOperationsUsersorgGuid - organization GUIDrole - user rolepublic Collection<User> getSpaceUsers(UUID spaceGuid, Role role)
CcOperationsUsersgetSpaceUsers in interface CcOperationsUsersspaceGuid - space GUIDrole - user rolepublic void deleteUser(UUID guid)
CcOperationsUsersdeleteUser in interface CcOperationsUsersguid - user GUIDpublic void revokeOrgRole(UUID userGuid, UUID orgId, Role role)
CcOperationsUsersrevokeOrgRole in interface CcOperationsUsersuserGuid - user GUIDorgId - organization GUIDrole - organization rolepublic void revokeSpaceRole(UUID userGuid, UUID spaceId, Role role)
CcOperationsUsersrevokeSpaceRole in interface CcOperationsUsersuserGuid - user GUIDspaceId - space GUIDrole - rolepublic void assignOrgRole(UUID userGuid, UUID orgGuid, Role role)
CcOperationsUsersassignOrgRole in interface CcOperationsUsersuserGuid - user GUIDorgGuid - organization GUIDrole - organization rolepublic void assignSpaceRole(UUID userGuid, UUID spaceGuid, Role role)
CcOperationsUsersassignSpaceRole in interface CcOperationsUsersuserGuid - user GUIDspaceGuid - organization GUIDrole - space rolepublic rx.Observable<CcAppEnv> getAppEnv(UUID appGuid)
CcOperationsAppsgetAppEnv in interface CcOperationsAppsappGuid - application GUIDCopyright © 2016 Pivotal Software, Inc.. All rights reserved.