Class MuranoSessionServiceImpl

    • Constructor Detail

      • MuranoSessionServiceImpl

        public MuranoSessionServiceImpl()
    • Method Detail

      • get

        public MuranoSession get​(String environmentId,
                                 String sessionId)
        Gets session details.
        Specified by:
        get in interface MuranoSessionService
        Parameters:
        environmentId - environment identifier.
        sessionId - session identifier.
        Returns:
        Session object.
      • configure

        public MuranoSession configure​(String environmentId)
        Creates a new configuration session.
        Specified by:
        configure in interface MuranoSessionService
        Parameters:
        environmentId - environment identifier.
        Returns:
        Session object.
      • delete

        public ActionResponse delete​(String environmentId,
                                     String sessionId)
        Deletes a configuration session.
        Specified by:
        delete in interface MuranoSessionService
        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:
        deploy in interface MuranoSessionService
        Parameters:
        environmentId - environment identifier.
        sessionId - session identifier.
        Returns:
        ActionResponse (status 200 in case of success)