def _build_service_uri(self, base_uri, partition, name):
        '''Build the proper uri for a service resource.

        This follows the scheme:
            <base_uri>/~<partition>~<<name>.app>~<name>

        :param base_uri: str -- base uri for container
        :param partition: str -- partition for this service
        :param name: str -- name of the service
        :returns: str -- uri to access this service
        '''
        name = name.replace('/', '~')
        return '%s~%s~%s.app~%s' % (base_uri, partition, name, name)
Build the proper uri for a service resource.

        This follows the scheme:
            <base_uri>/~<partition>~<<name>.app>~<name>

        :param base_uri: str -- base uri for container
        :param partition: str -- partition for this service
        :param name: str -- name of the service
        :returns: str -- uri to access this service