public class ServiceManagerServiceImpl extends BaseOpenStackService implements ServiceManagerService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
ServiceManagerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Service |
create(String name,
String type,
String description)
Creates a new Service
|
ServiceEndpoint |
createEndpoint(String region,
String serviceId,
String publicURL,
String adminURL,
String internalURL)
Creates a new Endpoint associated to a service identifier
|
ActionResponse |
delete(String serviceId)
Deletes a Service based on it's id
|
ActionResponse |
deleteEndpoint(String endpointId)
Deletes an Endpoint
|
Service |
get(String serviceId)
Gets the specified Service by it's identifier
|
List<? extends Service> |
list()
List current Services on the OpenStack System
|
List<? extends ServiceEndpoint> |
listEndpoints()
Queries for service related Endpoints (endpoints mapped against services)
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends Service> list()
list
in interface ServiceManagerService
public Service get(String serviceId)
get
in interface ServiceManagerService
serviceId
- the service idpublic Service create(String name, String type, String description)
create
in interface ServiceManagerService
name
- the name of the servicetype
- the type of servicedescription
- the description for the servicepublic ActionResponse delete(String serviceId)
delete
in interface ServiceManagerService
serviceId
- the service idpublic List<? extends ServiceEndpoint> listEndpoints()
listEndpoints
in interface ServiceManagerService
public ServiceEndpoint createEndpoint(String region, String serviceId, String publicURL, String adminURL, String internalURL)
createEndpoint
in interface ServiceManagerService
region
- the endpoint regionserviceId
- the service identifier the endpoint is associated withpublicURL
- the public URLadminURL
- the admin URLinternalURL
- the internal URLpublic ActionResponse deleteEndpoint(String endpointId)
deleteEndpoint
in interface ServiceManagerService
endpointId
- the endpoint identifierCopyright © 2017. All rights reserved.