示例#1
0
    def test_reg_startup(self):
        self.rrc = ResourceRegistryClient(proc=self.sup)

        # Show that the registry work when started as a core service
        res_to_describe = coi_resource_descriptions.IdentityResource
        res_description = yield self.rrc.register_resource_definition(
            res_to_describe)
示例#2
0
    def setUp(self):
        yield self._start_container()
        #self.sup = yield self._start_core_services()
        services = [{
            'name': 'resourceregistry1',
            'module': 'ion.services.coi.resource_registry',
            'class': 'ResourceRegistryService'
        }]
        sup = yield self._spawn_processes(services)

        self.rrc = ResourceRegistryClient(proc=sup)