SIENTIAPDE-1150

refactor: update orchestration workflow to conditionally start activity methods for pipeline timestamps based on report availability, enhancing efficiency and clarity
This commit is contained in:
vitor-aignosi
2025-07-14 16:24:03 -03:00
parent 0910c0426a
commit 14e1366658

View File

@@ -199,6 +199,8 @@ class Orchestrator:
start_to_close_timeout=timedelta(seconds=60)
)
if schedule_update_report:
update_pipelines_timestamps_handler = workflow.start_activity_method(
Activities.update_pipelines_timestamps,
{
@@ -208,6 +210,8 @@ class Orchestrator:
start_to_close_timeout=timedelta(seconds=60)
)
if schedule_insertion_report:
create_pipelines_timestamps_handler = workflow.start_activity_method(
Activities.create_pipelines_timestamps,
{
@@ -217,6 +221,8 @@ class Orchestrator:
start_to_close_timeout=timedelta(seconds=60)
)
if schedule_deletion_report:
delete_pipelines_timestamps_handler = workflow.start_activity_method(
Activities.delete_pipelines_timestamps,
{