sdcpp-load-options-mismatch.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "diag-load-options-mismatch",
  3. "requires": {
  4. "http": "https://mulan:8077/health",
  5. "expect": {
  6. "model_loaded": true
  7. }
  8. },
  9. "nodes": [
  10. {
  11. "id": "n1",
  12. "name": "Trigger",
  13. "type": "click-trigger",
  14. "position": {
  15. "x": 0,
  16. "y": 0
  17. },
  18. "config": {}
  19. },
  20. {
  21. "id": "health",
  22. "name": "Health",
  23. "type": "sdcpp-health",
  24. "position": {
  25. "x": 0,
  26. "y": 100
  27. },
  28. "config": {
  29. "serverUrl": "https://mulan:8077"
  30. }
  31. },
  32. {
  33. "id": "load",
  34. "name": "Load",
  35. "type": "sdcpp-model-load",
  36. "position": {
  37. "x": 0,
  38. "y": 220
  39. },
  40. "config": {
  41. "serverUrl": "https://mulan:8077",
  42. "credentialId": "cred_62748b40-e9d1-4659-b175-6dbc691cc0b1",
  43. "modelName": "{{$node[\"Health\"].modelName}}",
  44. "streamLayers": false,
  45. "whenDifferent": "fail"
  46. }
  47. }
  48. ],
  49. "connections": [
  50. {
  51. "sourceNodeId": "n1",
  52. "sourceOutput": "main",
  53. "targetNodeId": "health",
  54. "targetInput": "data"
  55. },
  56. {
  57. "sourceNodeId": "health",
  58. "sourceOutput": "main",
  59. "targetNodeId": "load",
  60. "targetInput": "data"
  61. }
  62. ],
  63. "expect": {
  64. "load": {
  65. "status": "failed",
  66. "errorContains": "not with the settings"
  67. }
  68. }
  69. }