def get(self, ws_id, parent_id, service_id):
        """Return a specific Service

        Returns the referenced service from the Project or catalogue"""
        if get_parent(request) is Category.project:
            service = servicesimpl.get_service(ws_id, parent_id, service_id)
            return prepare_response(service)
        if get_parent(request) is Category.catalogue:
            service = catalogue_servicesimpl.get_in_catalogue(ws_id, parent_id, service_id, False)
            return prepare_response(service)
        return prepare_response("not yet implemented")
    def get(self, ws_id, parent_id, service_id):
        """Return a specific Service

        Returns the referenced service from the Project or catalogue"""
        if get_parent(request) is Category.project:
            service = servicesimpl.get_service(ws_id, parent_id, service_id)
            return prepare_response(service)
        if get_parent(request) is Category.catalogue:
            service = catalogue_servicesimpl.get_in_catalogue(
                ws_id, parent_id, service_id, False)
            return prepare_response(service)
        return prepare_response("not yet implemented")
    def get(self, ws_id, parent_id, service_id):
        """
        Publish service to private

        Publishes the service to the workspace wide catalogue
        :param ws_id:
        :param parent_id:
        :param service_id:
        :return:
        """
        service = servicesimpl.get_service(ws_id, parent_id, service_id)
        publish_private_nsfs(ws_id, service["descriptor"], False)
        return prepare_response({"message": "Service {} was published to private catalogue".format(service.name)}, 201)
    def get(self, ws_id, project_id, service_id):
        """
        Publish service to private

        Publishes the service to the workspace wide catalogue

        :param ws_id: The Workspace ID
        :param project_id: The Project ID
        :param service_id: The Service ID 
        :return: A dict with a "message" property.
        """
        service = servicesimpl.get_service(ws_id, project_id, service_id)
        publish_private_nsfs(ws_id, service["descriptor"], False)
        return prepare_response({"message": "Service {} was published to private catalogue".format(service.name)}, 201)
    def get(self, ws_id, parent_id, service_id):
        """
        Publish service to private

        Publishes the service to the workspace wide catalogue
        :param ws_id:
        :param parent_id:
        :param service_id:
        :return:
        """
        service = servicesimpl.get_service(ws_id, parent_id, service_id)
        publish_private_nsfs(ws_id, service["descriptor"], False)
        return prepare_response(
            {
                "message":
                "Service {} was published to private catalogue".format(
                    service.name)
            }, 201)
    def get(self, ws_id, project_id, service_id):
        """
        Publish service to private

        Publishes the service to the workspace wide catalogue

        :param ws_id: The Workspace ID
        :param project_id: The Project ID
        :param service_id: The Service ID 
        :return: A dict with a "message" property.
        """
        service = servicesimpl.get_service(ws_id, project_id, service_id)
        publish_private_nsfs(ws_id, service["descriptor"], False)
        return prepare_response(
            {
                "message":
                "Service {} was published to private catalogue".format(
                    service.name)
            }, 201)
    def get(self, ws_id, project_id, service_id):
        """Return a specific Service

        Returns the referenced service from the Project or catalogue"""
        service = servicesimpl.get_service(ws_id, project_id, service_id)
        return prepare_response(service)
    def get(self, ws_id, project_id, service_id):
        """Return a specific Service

        Returns the referenced service from the Project or catalogue"""
        service = servicesimpl.get_service(ws_id, project_id, service_id)
        return prepare_response(service)