|
32 | 32 | from orchestrator.workflows.steps import (
|
33 | 33 | cache_domain_models,
|
34 | 34 | refresh_subscription_search_index,
|
35 |
| - remove_domain_model_from_cache, |
36 | 35 | resync,
|
37 | 36 | set_status,
|
38 | 37 | store_process_subscription,
|
@@ -248,8 +247,8 @@ def _modify_workflow(f: Callable[[], StepList]) -> Workflow:
|
248 | 247 | steplist = (
|
249 | 248 | init
|
250 | 249 | >> store_process_subscription(Target.MODIFY)
|
251 |
| - >> push_domain_models(remove_domain_model_from_cache) |
252 | 250 | >> unsync
|
| 251 | + >> push_domain_models(cache_domain_models) |
253 | 252 | >> f()
|
254 | 253 | >> (additional_steps or StepList())
|
255 | 254 | >> resync
|
@@ -286,8 +285,8 @@ def _terminate_workflow(f: Callable[[], StepList]) -> Workflow:
|
286 | 285 | steplist = (
|
287 | 286 | init
|
288 | 287 | >> store_process_subscription(Target.TERMINATE)
|
289 |
| - >> push_domain_models(remove_domain_model_from_cache) |
290 | 288 | >> unsync
|
| 289 | + >> push_domain_models(cache_domain_models) |
291 | 290 | >> f()
|
292 | 291 | >> (additional_steps or StepList())
|
293 | 292 | >> set_status(SubscriptionLifecycle.TERMINATED)
|
@@ -320,8 +319,8 @@ def _validate_workflow(f: Callable[[], StepList]) -> Workflow:
|
320 | 319 | steplist = (
|
321 | 320 | init
|
322 | 321 | >> store_process_subscription(Target.SYSTEM)
|
323 |
| - >> push_subscriptions(remove_domain_model_from_cache) |
324 | 322 | >> unsync_unchecked
|
| 323 | + >> push_subscriptions(cache_domain_models) |
325 | 324 | >> f()
|
326 | 325 | >> resync
|
327 | 326 | >> push_subscriptions(cache_domain_models)
|
|
0 commit comments