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

resolve review comments

parent 80f55f0e
No related branches found
No related tags found
1 merge request!188upgrade to orchestrato-core v2
"""remove subscription cancellation workflow. """Add upstream migrations as a dependency.
Revision ID: 1ec810b289c0 Revision ID: 1ec810b289c0
Revises: Revises:
...@@ -12,7 +12,6 @@ from orchestrator.migrations.helpers import create_workflow, delete_workflow ...@@ -12,7 +12,6 @@ from orchestrator.migrations.helpers import create_workflow, delete_workflow
revision = '1ec810b289c0' revision = '1ec810b289c0'
down_revision = '32cad119b7c4' down_revision = '32cad119b7c4'
branch_labels = None branch_labels = None
# TODO: check it carefuly
depends_on = '048219045729' # in this revision, SURF has added a new columns to the workflow table like delted_at, so we need to add a dependency on the revision that added the columns to the workflow table. depends_on = '048219045729' # in this revision, SURF has added a new columns to the workflow table like delted_at, so we need to add a dependency on the revision that added the columns to the workflow table.
......
...@@ -83,7 +83,7 @@ def initialize_subscription( ...@@ -83,7 +83,7 @@ def initialize_subscription(
@workflow( @workflow(
"Import router", "Import router",
initial_input_form=initial_input_form_generator, initial_input_form=initial_input_form_generator,
target=Target.SYSTEM, target=Target.CREATE,
) )
def create_imported_router() -> StepList: def create_imported_router() -> StepList:
"""Import a router without provisioning it.""" """Import a router without provisioning it."""
......
...@@ -84,7 +84,7 @@ def initialize_subscription( ...@@ -84,7 +84,7 @@ def initialize_subscription(
@workflow( @workflow(
"Import Site", "Import Site",
target=Target.SYSTEM, target=Target.CREATE,
initial_input_form=generate_initial_input_form, initial_input_form=generate_initial_input_form,
) )
def create_imported_site() -> StepList: def create_imported_site() -> StepList:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment