Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2982

Verify that the Workflow contains all programs/custom actions with unique name.

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: Workflow
    • Labels:
      None
    • Rank:
      1|hzyvwf:

      Description

      Workflow can have three types of the nodes:
      1. ACTION node which executes the program or custom action. In this case the name of the node will be same as the name of the program or custom action that it executes.
      2. CONDITION node which executes the predicate supplied. In this case the name of the node will be same as the name of the predicate class.
      3. FORK node which does not do any processing. The name of the FORK node will be unique identifier.

      Since we have provided the ability to fetch the values that were added by particular node, we need all nodes in the Workflow to have unique names.
      This means in 3.1, multiple CONDITION nodes will not be able to use the same predicate class.

      App deployment should fail if the node names in the Workflow are not unique.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sagar Sagar Kapare
                Reporter:
                sagar Sagar Kapare
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: