Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagebash
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):

...

NameData TypeRequiredDescriptionComment
idStringYesUnique UUID of the workflow saved


Data Information

...

:

WorkflowInfo:

NameData TypeRequiredDescriptionComment
id
String
Yes
Unique UUID of the workflow

name
String
YesName of the workflow
version
String
Noversion of the workflow
description
String
Nodescription of the workflow
sceneEnumYes

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
YesContnent of the workflow in json format

...