예제 #1
0
 def test_start_service(self):
     #start_service() works for semi-reasonable inputs
     args = (TaxonService, taxon_thrift_service, logging.getLogger())
     # make sure reactor loop stops immediately after it starts
     internet.reactor.callWhenRunning(sc.stop_service)
     # start the reactor loop
     sc.start_service(*args)
예제 #2
0
 def test_start_service(self):
     #start_service() works for semi-reasonable inputs
     args = (TaxonService, taxon_thrift_service, logging.getLogger())
     # make sure reactor loop stops immediately after it starts
     internet.reactor.callWhenRunning(sc.stop_service)
     # start the reactor loop
     sc.start_service(*args)
예제 #3
0
파일: driver.py 프로젝트: kbase/data_api
def start_service(**kw):
    return service_core.start_service(AssemblyService, thrift_service, _log,
                                      **kw)
예제 #4
0
파일: driver.py 프로젝트: kbase/data_api
def start_service(**kw):
    return service_core.start_service(GenomeAnnotationService,
                                      thrift_service, _log, **kw)
예제 #5
0
def start_service(**kw):
    return service_core.start_service(AssemblyService, thrift_service, _log,
                                      **kw)
예제 #6
0
def start_service(services=None, host='localhost', port=9101):
    return service_core.start_service(TaxonService, thrift_service, _log,
                                      services=services, host=host, port=port)
예제 #7
0
def start_service(**kw):
    return service_core.start_service(GenomeAnnotationService, thrift_service,
                                      _log, **kw)
예제 #8
0
def start_service(**kw):
    return service_core.start_service(TaxonService, thrift_service, _log, **kw)
예제 #9
0
def start_service(services=None, host='localhost', port=9103):
    return service_core.start_service(GenomeAnnotationService, thrift_service, _log,
                                      services=services, host=host, port=port)
예제 #10
0
파일: driver.py 프로젝트: kbase/data_api
def start_service(**kw):
    return service_core.start_service(TaxonService, thrift_service, _log,
                                      **kw)
예제 #11
0
def start_service(services=None, host='localhost', port=9102):
    return service_core.start_service(AssemblyService, thrift_service, _log,
                                      services=services, host=host, port=port)