rawDataEditor-dataset.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "Route": {
  3. "uris": ["/*"],
  4. "name": "root",
  5. "methods": ["GET", "HEAD", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"],
  6. "upstream": {
  7. "nodes": [
  8. {
  9. "host": "12.12.12.12",
  10. "port": 80,
  11. "weight": 1
  12. }
  13. ],
  14. "timeout": {
  15. "connect": 6000,
  16. "read": 6000,
  17. "send": 6000
  18. },
  19. "type": "roundrobin",
  20. "pass_host": "pass"
  21. },
  22. "status": 1
  23. },
  24. "Upstream": {
  25. "nodes": [
  26. {
  27. "host": "12.12.12.12",
  28. "port": 80,
  29. "weight": 1
  30. }
  31. ],
  32. "timeout": {
  33. "connect": 6,
  34. "read": 6,
  35. "send": 6
  36. },
  37. "type": "roundrobin",
  38. "pass_host": "pass",
  39. "name": "test"
  40. },
  41. "Service": {
  42. "name": "test",
  43. "upstream": {
  44. "nodes": [
  45. {
  46. "host": "12.12.12.12",
  47. "port": 80,
  48. "weight": 1
  49. }
  50. ],
  51. "timeout": {
  52. "connect": 6,
  53. "read": 6,
  54. "send": 6
  55. },
  56. "type": "roundrobin",
  57. "pass_host": "pass"
  58. },
  59. "plugins": {
  60. "jwt-auth": {
  61. "disable": false
  62. }
  63. }
  64. },
  65. "Consumer": {
  66. "username": "test",
  67. "desc": "desc",
  68. "plugins": {
  69. "basic-auth": {
  70. "disable": false,
  71. "password": "test",
  72. "username": "test"
  73. }
  74. }
  75. }
  76. }