Skip to content

Commit 65ca429

Browse files
committed
change step for reprocessing
1 parent 539a245 commit 65ca429

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

dags/reprocess_notices_from_backlog_by_id.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from dags import DEFAULT_DAG_ARGUMENTS
55
from dags.dags_utils import push_dag_downstream, get_dag_param
66
from dags.operators.DagBatchPipelineOperator import NOTICE_IDS_KEY, TriggerNoticeBatchPipelineOperator
7-
from dags.notice_processing_pipeline import NOTICE_TRANSFORMATION_PIPELINE_TASK_ID
7+
from dags.notice_processing_pipeline import NOTICE_NORMALISATION_PIPELINE_TASK_ID
88
from ted_sws.event_manager.adapters.event_log_decorator import event_log
99
from ted_sws.event_manager.model.event_message import TechnicalEventMessage, EventMessageMetadata, EventMessageProcessType
1010

@@ -48,7 +48,7 @@ def select_notice_ids():
4848

4949
trigger_notice_process_workflow = TriggerNoticeBatchPipelineOperator(
5050
task_id=TRIGGER_NOTICE_PROCESS_WORKFLOW_TASK_ID,
51-
start_with_step_name=NOTICE_TRANSFORMATION_PIPELINE_TASK_ID
51+
start_with_step_name=NOTICE_NORMALISATION_PIPELINE_TASK_ID
5252
)
5353

5454
select_notice_ids() >> trigger_notice_process_workflow

dags/reprocess_notices_from_backlog_by_status.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from dags import DEFAULT_DAG_ARGUMENTS
55
from dags.dags_utils import push_dag_downstream, get_dag_param
6-
from dags.notice_processing_pipeline import NOTICE_TRANSFORMATION_PIPELINE_TASK_ID
6+
from dags.notice_processing_pipeline import NOTICE_NORMALISATION_PIPELINE_TASK_ID
77
from dags.operators.DagBatchPipelineOperator import NOTICE_IDS_KEY, TriggerNoticeBatchPipelineOperator
88
from dags.pipelines.notice_selectors_pipelines import notice_ids_selector_by_status
99
from ted_sws.core.model.notice import NoticeStatus
@@ -64,7 +64,7 @@ def select_notices_for_re_transform():
6464

6565
trigger_notice_process_workflow = TriggerNoticeBatchPipelineOperator(
6666
task_id=TRIGGER_NOTICE_PROCESS_WORKFLOW_TASK_ID,
67-
start_with_step_name=NOTICE_TRANSFORMATION_PIPELINE_TASK_ID
67+
start_with_step_name=NOTICE_NORMALISATION_PIPELINE_TASK_ID
6868
)
6969

7070
select_notices_for_re_transform() >> trigger_notice_process_workflow

0 commit comments

Comments
 (0)