run_pyl
This commit is contained in:
parent
dc13c1c1ca
commit
1d14ea5da5
|
@ -238,9 +238,9 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ProcessModelCategory"
|
$ref: "#/components/schemas/ProcessModelCategory"
|
||||||
|
|
||||||
/process-groups/{modified_process_group_id}/move:
|
/process-groups/{modified_process_group_identifier}/move:
|
||||||
parameters:
|
parameters:
|
||||||
- name: modified_process_group_id
|
- name: modified_process_group_identifier
|
||||||
in: path
|
in: path
|
||||||
required: true
|
required: true
|
||||||
description: The unique id of an existing process group.
|
description: The unique id of an existing process group.
|
||||||
|
@ -301,6 +301,13 @@ paths:
|
||||||
$ref: "#/components/schemas/ProcessModel"
|
$ref: "#/components/schemas/ProcessModel"
|
||||||
|
|
||||||
/process-models/{modified_process_group_id}:
|
/process-models/{modified_process_group_id}:
|
||||||
|
parameters:
|
||||||
|
- name: modified_process_group_id
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
description: modified id of an existing process group
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
post:
|
post:
|
||||||
operationId: spiffworkflow_backend.routes.process_api_blueprint.process_model_create
|
operationId: spiffworkflow_backend.routes.process_api_blueprint.process_model_create
|
||||||
summary: Creates a new process model with the given parameters.
|
summary: Creates a new process model with the given parameters.
|
||||||
|
@ -1045,6 +1052,12 @@ paths:
|
||||||
|
|
||||||
/process-instances/{modified_process_model_id}/{process_instance_id}/tasks:
|
/process-instances/{modified_process_model_id}/{process_instance_id}/tasks:
|
||||||
parameters:
|
parameters:
|
||||||
|
- name: modified_process_model_id
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
description: The modified id of an existing process model
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
- name: process_instance_id
|
- name: process_instance_id
|
||||||
in: path
|
in: path
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -235,11 +235,11 @@ def process_group_show(
|
||||||
|
|
||||||
|
|
||||||
def process_group_move(
|
def process_group_move(
|
||||||
modified_process_group_id: str, new_location: str
|
modified_process_group_identifier: str, new_location: str
|
||||||
) -> flask.wrappers.Response:
|
) -> flask.wrappers.Response:
|
||||||
"""process_group_move."""
|
"""process_group_move."""
|
||||||
original_process_group_id = un_modify_modified_process_model_id(
|
original_process_group_id = un_modify_modified_process_model_id(
|
||||||
modified_process_group_id
|
modified_process_group_identifier
|
||||||
)
|
)
|
||||||
new_process_group = ProcessModelService().process_group_move(
|
new_process_group = ProcessModelService().process_group_move(
|
||||||
original_process_group_id, new_location
|
original_process_group_id, new_location
|
||||||
|
|
Loading…
Reference in New Issue