You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Activity Spec Structure

FieldDescriptionDataTypeCommit by YUAN HU
idIdentifier generated by ASDC per each Activity Spec. Remains same across various versions of ActivitySpec. Used by SDC and ECOMP components to identify ActivitySpec. Not expected to be used by users to identify ActivitySpec, is not human readable.string
2versionIdUUID generated by ASDC per each version of the Activity Spec. Used by SDC and ECOMP components to identify ActivitySpec. Not expected to be used by users to identify ActivitySpec, is not human readable.string
3nameName of the Activity Spec.  A user friendly name, used to display in ASDC UI defining the workflows or user monitoring a process in MSOstring
4descriptionDescription of Activity Spec, which can be used in future as help text displayed to users.string 
type Type of Activity Spec. e.g. Service, Script, etc.. string The valid value should be 'serviceTask', 'scriptTask' according to bpmn specification.
content Implementation details of the Activity Spec possibly represented in JSON or any other format as preferred by workflow execution engine. string 

The format of the 'content' field should be JSON Object and its internal fields should be defined.

For the WF Designer will parse the internal fields of content And convert these fields to a real bpmn task combine with activity's id and name.

At the same time, the WF Designer may display these fields on the UI, so that The user can modify or conform the value of these fields. For example, the user can modify the 'script' field of a scriptTask.

7categoryListCategory of the Activity Spec. Should be able to filter the Activities User can use based on context of workflow. Expect an ActivitySpec can be part of multiple Categories. Category will have list of valid-values configurable and for an Activity-Spec we could assign one or more categories. Categories have values like Service, VNF to indicate ActivitySpec applies to VNF and/or Service. string[] If you want to filter the Activities based on context of workflow, I suggest to use the filed name 'scenes' to replace 'categoryList'. For the 'category' is usually indicate the display group of the activities, not for filter use.
8inputs Inputs of the ActivitySpec to be received from Workflow parameter[] The internal fields of the parameter should be defined.
9outputsOutputs of the ActivitySpec to be sent to Workflow parameter[] The internal fields of the parameter should be defined.
10status

Status of the Activity Spec

 
string 

Status Transition Map

  1. draft - On creation by using createActivitySpec
  2. certified - On certification by using certifyActivitySpec
  3. deprecated - On certification by using deprecateActivitySpec

Sample ActivitySpec Management Flow


  • No labels