sdcpp-model-follow-loaded.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "verify-sdcpp-model-follow-loaded",
  3. "nodes": [
  4. {
  5. "id": "n1",
  6. "name": "Trigger",
  7. "type": "click-trigger",
  8. "position": {
  9. "x": 0,
  10. "y": 0
  11. },
  12. "config": {}
  13. },
  14. {
  15. "id": "pick",
  16. "name": "Model",
  17. "type": "sdcpp-model",
  18. "position": {
  19. "x": -200,
  20. "y": 100
  21. },
  22. "config": {
  23. "serverUrl": "http://mulan:8077",
  24. "source": "loaded"
  25. }
  26. },
  27. {
  28. "id": "load",
  29. "name": "Load",
  30. "type": "sdcpp-model-load",
  31. "position": {
  32. "x": 0,
  33. "y": 250
  34. },
  35. "config": {
  36. "serverUrl": "http://mulan:8077",
  37. "credentialId": "cred_62748b40-e9d1-4659-b175-6dbc691cc0b1"
  38. }
  39. }
  40. ],
  41. "connections": [
  42. {
  43. "sourceNodeId": "n1",
  44. "sourceOutput": "main",
  45. "targetNodeId": "load",
  46. "targetInput": "data"
  47. },
  48. {
  49. "sourceNodeId": "pick",
  50. "sourceOutput": "main",
  51. "targetNodeId": "load",
  52. "targetInput": "config"
  53. }
  54. ],
  55. "expectStatus": "completed",
  56. "expect": {
  57. "pick": {
  58. "status": "completed"
  59. },
  60. "load": {
  61. "status": "completed",
  62. "output": {
  63. "alreadyLoaded": true,
  64. "loaded": false
  65. }
  66. }
  67. }
  68. }