Class MuranoSessionServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.murano.v1.internal.MuranoSessionServiceImpl
-
- All Implemented Interfaces:
MuranoSessionService,RestService
public class MuranoSessionServiceImpl extends BaseOpenStackService implements MuranoSessionService
This class implements all methods for manipulation ofMuranoEnvironmentobjects.- Author:
- Nikolay Mahotkin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description MuranoSessionServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MuranoSessionconfigure(String environmentId)Creates a new configuration session.ActionResponsedelete(String environmentId, String sessionId)Deletes a configuration session.ActionResponsedeploy(String environmentId, String sessionId)Sends signal to deploy to OpenStack.MuranoSessionget(String environmentId, String sessionId)Gets session details.-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Method Detail
-
get
public MuranoSession get(String environmentId, String sessionId)
Gets session details.- Specified by:
getin interfaceMuranoSessionService- Parameters:
environmentId- environment identifier.sessionId- session identifier.- Returns:
- Session object.
-
configure
public MuranoSession configure(String environmentId)
Creates a new configuration session.- Specified by:
configurein interfaceMuranoSessionService- Parameters:
environmentId- environment identifier.- Returns:
- Session object.
-
delete
public ActionResponse delete(String environmentId, String sessionId)
Deletes a configuration session.- Specified by:
deletein interfaceMuranoSessionService- Parameters:
environmentId- environment identifier.sessionId- session identifier.- Returns:
- ActionResponse (status 200 in case of success)
-
deploy
public ActionResponse deploy(String environmentId, String sessionId)
Sends signal to deploy to OpenStack.- Specified by:
deployin interfaceMuranoSessionService- Parameters:
environmentId- environment identifier.sessionId- session identifier.- Returns:
- ActionResponse (status 200 in case of success)
-
-