Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-4577

Backend support for operation milestones with activities

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Montreal Release
    • None
    • None
    • None

      Endpoints for adding/editing interface operation implementation shall support milestones with activities being set. The milestones and their activities shall be persisted, included in the generated tosca and included in results to existing endpoints that return the interface operation.

      The following milestones shall be supported: on_entry, on_success, on_failure, on_timeout

      Inputs on the milestone is out of scope.

      The format of the milestones shall be:
       

      Key name  Mandatory Type Description
      activities Yes list of delegate activity definition The list of sequential delegate activities to be performed in this step. 
      See https://docs.oasis-open.org/tosca/TOSCA/v2.0/csd05/TOSCA-v2.0-csd05.html#_Toc125468860

       

       

      Example:

      topology_template:
       inputs:
          
      
       node_templates:
          Atomic_Service_1:
              type: RFS
              properties:
                  my_attribute:
                  my_other_attribute:
              attributes:
                  my_attribute:
                  my_other_attribute:
              interfaces:
                          
                  Standard:
                      create:
                          description: "to create atomic service 1"
                          inputs:
                              a: xyz
                              b: sss
                          implementation: 
                              primary:
                                  file: sbiAdapterWF
                                  type: so.artifacts.Implementation.Camunda
                              timeout: 600
      
                          on_entry:                           
                              activities:
                                  - delegate: 
                                    workflow: workflow/SEND_NOTIFICATION

            JvD_Ericsson JEFF VAN DAM
            JvD_Ericsson JEFF VAN DAM
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: