Interface MuranoApplicationService

    • Method Detail

      • list

        List<? extends Application> list​(String environmentId,
                                         String sessionId)
        List all services
        Parameters:
        environmentId - the environment identifier
        sessionId - the session identifier
        Returns:
        list of environments or empty list
      • get

        List<? extends Application> get​(String environmentId,
                                        String path,
                                        String sessionId)
        Gets services by environmentId
        Parameters:
        environmentId - the environment identifier
        path - the path identifier
        sessionId - the session identifier
        Returns:
        the list of requested services (this is a general case for services().get() )
      • create

        Application create​(String environmentId,
                           String sessionId,
                           Map<String,​Object> data)
        Creates a new service
        Parameters:
        environmentId - the environment to create
        sessionId - session identifier
        data - service data structure (object model)
        Returns:
        the created service
      • create

        List<? extends Application> create​(String environmentId,
                                           String sessionId,
                                           String jsonString)
        Parameters:
        jsonString - raw String containing the apps configuration.
        Returns:
        the list of created services.
      • update

        Application update​(String environmentId,
                           String sessionId,
                           Map<String,​Object> data)
        Updates services
        Parameters:
        environmentId - environment identifier
        sessionId - session identifier
        data - service data structure (object model)
        Returns:
        create service
      • delete

        ActionResponse delete​(String environmentId,
                              String path,
                              String sessionId)
        Deletes the specified service
        Parameters:
        environmentId - the environment identifier
        path - the path identifier
        sessionId - the session identifier
        Returns:
        the action response