Milestone updates
[sdc.git] / catalog-be / src / test / resources / interfaceDefinition / interfaceDefinition-legacy.yaml
index 7daba75..2d13fb8 100644 (file)
@@ -46,42 +46,52 @@ start:
         service_restoration_sla: service_restoration_sla_value
         battery_backup: true
         partner_priorty_assist: false
-  milestones:
-    on_failure:
-      activities:
-        - type: delegate
+  on_failure:
+    activities:
+      - delegate:
           workflow: workflow1
-        - type: delegate
+      - delegate:
           workflow: workflow2
-    on_success:
-      activities:
-        - type: delegate
+  on_success:
+    activities:
+      - delegate:
           workflow: workflow1
-        - type: delegate
+      - delegate:
           workflow: workflow2
           inputs:
             string:
-              type: string
-              value: testString
+              testString
             complex:
-              type: tosca.datatypes.nfv.VirtualCpu
-              value:
-                virtual_cpu_oversubscription_policy: pol
-                cpu_architecture: cpu
-                virtual_cpu_clock: 27Hz
-                vdu_cpu_requirements:
-                  'k1': 'v1'
-                  'k2': 'v2'
-                virtual_cpu_pinning:
-                  virtual_cpu_pinning_policy: pol
-                  virtual_cpu_pinning_rule:
-                    - 1
-                    - 2
-    on_timeout:
-      activities:
-        - type: delegate
+              jeopardyType: test
+              name: name
+              eventType: type
+              message: message
+    filters:
+      - my_attribute:
+          equal:
+            get_attribute:
+              - SELF
+              - role
+      - my_attribute1:
+          greaterThan: my_other_value
+      - my_attribute2:
+          inRange:
+            - test1
+            - test99
+      - my_attribute3:
+          validValues:
+            - test1
+            - test2
+            - test3
+      - my_attribute4:
+          length: 12
+      - my_attribute5:
+          minLength: 4
+  on_timeout:
+    activities:
+      - delegate:
           workflow: workflow1
-        - type: delegate
+      - delegate:
           workflow: workflow2
 stop:
   implementation: "camunda/executeAction"