Skip to content
Snippets Groups Projects
Commit c5347167 authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

remove unnecessary begin steps

parent d323e78d
No related branches found
No related tags found
1 merge request!303added moodi telemetry to create EdgePort wf
......@@ -125,6 +125,7 @@
"DSN": "https://sentry-dsn-url"
},
"MOODI": {
"host": "moodi.test.gap.geant.org"
"host": "moodi.test.gap.geant.org",
"moodi_enabled": false
}
}
......@@ -7,7 +7,7 @@ from orchestrator import inputstep, step
from orchestrator.config.assignee import Assignee
from orchestrator.types import State, UUIDstr
from orchestrator.utils.json import json_dumps
from orchestrator.workflow import StepList, begin, conditional
from orchestrator.workflow import StepList, conditional
from pydantic import ConfigDict
from pydantic_forms.core import FormPage
from pydantic_forms.types import FormGenerator
......@@ -407,7 +407,7 @@ def start_moodi() -> StepList:
"extra_vars": {"subscription": subscription},
}
return begin >> _is_moodi_enabled(begin >> lso_interaction(_start_moodi))
return _is_moodi_enabled(lso_interaction(_start_moodi))
def stop_moodi() -> StepList:
......@@ -422,4 +422,4 @@ def stop_moodi() -> StepList:
"extra_vars": None,
}
return begin >> _is_moodi_enabled(begin >> lso_interaction(_stop_moodi))
return _is_moodi_enabled(lso_interaction(_stop_moodi))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment