コード例 #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
ファイル: driver.py プロジェクト: mlhenderson/data_api
def start_service(**kw):
    return service_core.start_service(AssemblyService, thrift_service, _log,
                                      **kw)
コード例 #6
0
ファイル: driver.py プロジェクト: kkellerlbl/data_api
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
ファイル: driver.py プロジェクト: mlhenderson/data_api
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)