-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
None
Endpoints for adding/editing interface operation implementation shall support milestone filters being set. The filters shall be persisted, included in the generated tosca and included in results to existing endpoints that return the interface operation.
The format of the milestone filters shall be:
Key name | Mandatory | Type | Description |
---|---|---|---|
filters | No | list of constraint clauses | Filter is a map of attribute name, list of constraint clause that allows to provide a filtering logic. See 3.6.3 https://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.3/os/TOSCA-Simple-Profile-YAML-v1.3-os.html#_Toc26969447 Similar level of support as for property assignments |
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: filters: - my_attribute: [{equal: my_value}] - my_other_attribute: [{equal: my_other_value}] activities: - delegate: workflow: workflow/SEND_NOTIFICATION inputs: TMFMilestoneJeopardyData: name: "Atomic_Service_Start_Milestone" message: "Atomic Service Creation started" description: "" eventType: "milestone"