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

Function _setup

st2reactor/st2reactor/cmd/rulesengine.py:39–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38
39def _setup():
40 capabilities = {"name": "rulesengine", "type": "passive"}
41 common_setup(
42 service=RULESENGINE,
43 config=config,
44 setup_db=True,
45 register_mq_exchanges=True,
46 register_signal_handlers=True,
47 register_internal_trigger_types=True,
48 register_runners=False,
49 service_registry=True,
50 capabilities=capabilities,
51 )
52
53
54def _teardown():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected