...
In this case, the Catalog plays a manager role of the workflows, it manage the designed workflows and provide the Create/Updata/Query operations of workflows for Service Designer and provide the storage of workflows.
At the same time, the '(ZTE) WF Designer' plays an editor role of a workflow selected.
...
Rest APIs of (ZTE) WF Designer (Workflow Editor) :
Define the Rest API definitions of (ZTE) WF Designer, these APIs will be provided by ZTE.
...
Navigate to the (ZTE) WF Designer UI, load the workflow data with the given id from Catalog (Workflow Manager).
...
First, The generator call query API (see: Get workflow JSON by WF ID) to retrieve the json content of the workflow from Catalog.
...
After then, the generator call save API (see: Store BPMN Artifact against WF ID) to save the BPMN content back to the Catalog.
The Sequence for Generate BPMN Artifacts with WF ID(s) as follow:
URL:
Code Block | ||
---|---|---|
| ||
POST http://{wf-designer-ip}:{port}/api/workflow-modeler/v1/generateBPMN |
...
Rest APIs of Catalog (Workflow Manager):
Rest Define the rest API definitions of of Catalog (Workflow Manager), these APIs will be provided by Amdocs/AT&T.
...
Return the information of the workflow in json format. see WorkflowInfo: for see data information WorkflowInfo for details.
Get Extend BPMN Activities (from Catalog):
...
Name | Data Type | Required | Description | Comment |
---|---|---|---|---|
id | String | Yes | Unique UUID of the workflow saved |
Data Information
...
:
WorkflowInfo:
Name | Data Type | Required | Description | Comment |
---|---|---|---|---|
id | String | Yes | Unique UUID of the workflow | |
name | String | Yes | Name of the workflow | |
version | String | No | version of the workflow | |
description | String | No | description of the workflow | |
scene | Enum | Yes | the scene of the workflow designer. Valid value as follow: resource - open a VNF's workflow service - open a Service's workflow | different scene may has different activities extend. |
data | String | Yes | Contnent of the workflow in json format |
...