configurator-standalone.json 943 B

123456789101112131415161718
  1. {
  2. "name": "diag-configurator-standalone",
  3. "nodes": [
  4. {"id": "n1", "name": "Trigger", "type": "click-trigger", "position": {"x": 0, "y": 0}, "config": {}},
  5. {"id": "cfg", "name": "Standalone", "type": "configurator", "position": {"x": -250, "y": 150},
  6. "config": {"settings": [{"name": "message", "value": "from a standalone configurator"}, {"name": "mode", "value": "stop"}]}},
  7. {"id": "target", "name": "Target", "type": "stop-and-error", "position": {"x": 0, "y": 200},
  8. "config": {"message": "own value", "mode": "error"}}
  9. ],
  10. "connections": [
  11. {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "target", "targetInput": "data"},
  12. {"sourceNodeId": "cfg", "sourceOutput": "main", "targetNodeId": "target", "targetInput": "config"}
  13. ],
  14. "expectStatus": "completed",
  15. "expect": {
  16. "target": {"status": "completed", "output": {"stopped": true, "reason": "from a standalone configurator"}}
  17. }
  18. }