Skip to content
Snippets Groups Projects
Verified Commit 40860971 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

make import workflows have a CREATE target instead of SYSTEM, which is...

make import workflows have a CREATE target instead of SYSTEM, which is reserved for validation workflows
parent ee744a15
No related branches found
No related tags found
1 merge request!116update workflow targets
Pipeline #84585 passed
This commit is part of merge request !116. Comments created here will be created in the context of that merge request.
......@@ -91,7 +91,7 @@ def update_ipam_stub_for_subscription(
@workflow(
"Import iptrunk",
initial_input_form=initial_input_form_generator,
target=Target.SYSTEM,
target=Target.CREATE,
)
def import_iptrunk() -> StepList:
"""Import an IP trunk without provisioning it."""
......
......@@ -115,7 +115,7 @@ def initialize_subscription(
@workflow(
"Import router",
initial_input_form=initial_input_form_generator,
target=Target.SYSTEM,
target=Target.CREATE,
)
def import_router() -> StepList:
"""Import a router without provisioning it."""
......
......@@ -57,7 +57,7 @@ def generate_initial_input_form() -> FormGenerator:
@workflow(
"Import Site",
target=Target.SYSTEM,
target=Target.CREATE,
initial_input_form=generate_initial_input_form,
)
def import_site() -> StepList:
......
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