MCPcopy Create free account
hub / github.com/StackStorm/st2 / _setup

Function _setup

st2stream/st2stream/cmd/api.py:58–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56
57
58def _setup():
59 capabilities = {
60 "name": "stream",
61 "listen_host": cfg.CONF.stream.host,
62 "listen_port": cfg.CONF.stream.port,
63 "type": "active",
64 }
65 common_setup(
66 service=STREAM,
67 config=config,
68 setup_db=True,
69 register_mq_exchanges=True,
70 register_signal_handlers=True,
71 register_internal_trigger_types=False,
72 run_migrations=False,
73 service_registry=True,
74 capabilities=capabilities,
75 )
76
77
78def _run_server():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected