public class MuranoApplicationServiceImpl extends BaseOpenStackService implements MuranoApplicationService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
MuranoApplicationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Application |
create(String environmentId,
String sessionId,
Map<String,Object> data)
Creates a new service
|
List<? extends Application> |
create(String environmentId,
String sessionId,
String jsonString) |
ActionResponse |
delete(String environmentId,
String path,
String sessionId)
Deletes the specified service
|
List<? extends Application> |
get(String environmentId,
String path) |
List<? extends Application> |
get(String environmentId,
String path,
String sessionId)
Gets services by environmentId
|
List<? extends Application> |
list(String environmentId) |
List<? extends Application> |
list(String environmentId,
String sessionId)
List all services
|
Application |
update(String environmentId,
String sessionId,
Map<String,Object> data)
Updates services
|
List<? extends Application> |
update(String environmentId,
String sessionId,
String jsonString) |
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends Application> list(String environmentId, String sessionId)
list
in interface MuranoApplicationService
environmentId
- the environment identifiersessionId
- the session identifierpublic List<? extends Application> list(String environmentId)
list
in interface MuranoApplicationService
public List<? extends Application> get(String environmentId, String path, String sessionId)
get
in interface MuranoApplicationService
environmentId
- the environment identifierpath
- the path identifiersessionId
- the session identifierpublic List<? extends Application> get(String environmentId, String path)
get
in interface MuranoApplicationService
public Application create(String environmentId, String sessionId, Map<String,Object> data)
create
in interface MuranoApplicationService
environmentId
- the environment to createsessionId
- session identifierdata
- service data structure (object model)public List<? extends Application> create(String environmentId, String sessionId, String jsonString)
create
in interface MuranoApplicationService
jsonString
- raw String containing the apps configuration.public Application update(String environmentId, String sessionId, Map<String,Object> data)
update
in interface MuranoApplicationService
environmentId
- environment identifiersessionId
- session identifierdata
- service data structure (object model)public List<? extends Application> update(String environmentId, String sessionId, String jsonString)
update
in interface MuranoApplicationService
public ActionResponse delete(String environmentId, String path, String sessionId)
delete
in interface MuranoApplicationService
environmentId
- the environment identifierpath
- the path identifiersessionId
- the session identifierCopyright © 2017. All rights reserved.