Class ServiceManagerServiceImpl

    • Constructor Detail

      • ServiceManagerServiceImpl

        public ServiceManagerServiceImpl()
    • Method Detail

      • get

        public Service get​(String serviceId)
        Gets the specified Service by it's identifier
        Specified by:
        get in interface ServiceManagerService
        Parameters:
        serviceId - the service id
        Returns:
        the service
      • create

        public Service create​(String name,
                              String type,
                              String description)
        Creates a new Service
        Specified by:
        create in interface ServiceManagerService
        Parameters:
        name - the name of the service
        type - the type of service
        description - the description for the service
        Returns:
        the service created
      • createEndpoint

        public ServiceEndpoint createEndpoint​(String region,
                                              String serviceId,
                                              String publicURL,
                                              String adminURL,
                                              String internalURL)
        Creates a new Endpoint associated to a service identifier
        Specified by:
        createEndpoint in interface ServiceManagerService
        Parameters:
        region - the endpoint region
        serviceId - the service identifier the endpoint is associated with
        publicURL - the public URL
        adminURL - the admin URL
        internalURL - the internal URL
        Returns:
        the create service endpoint