Advertisement
Guest User

Untitled

a guest
Aug 17th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 KB | None | 0 0
  1. {
  2. "allActions" : [ {
  3. "description" : "Eval job expects an expression that produces a single result, executes the expression and returns the result. E.g. `(max(col1) - min(col1))`",
  4. "name" : "Eval",
  5. "deprecatedNames" : [ ],
  6. "request" : {
  7. "jsonSchema" : {
  8. "type" : "object",
  9. "properties" : {
  10. "action" : {
  11. "type" : "string",
  12. "minLength" : 1
  13. },
  14. "table" : {
  15. "type" : "string",
  16. "minLength" : 1
  17. },
  18. "expression" : {
  19. "type" : "string",
  20. "minLength" : 1
  21. }
  22. },
  23. "id" : "#evalaction",
  24. "additionalProperties" : false,
  25. "title" : "Eval action",
  26. "required" : [ "action", "table", "expression" ]
  27. },
  28. "jsonExample" : {
  29. "action" : "Eval",
  30. "table" : "table",
  31. "expression" : "1 + 2"
  32. }
  33. },
  34. "deprecatedRequests" : [ ]
  35. }, {
  36. "description" : "FindDifference job search the difference between source and target tables marking rows as `Added`, `Updated`, `Deleted`",
  37. "name" : "FindDifference",
  38. "deprecatedNames" : [ "FindDifferenceOld" ],
  39. "request" : {
  40. "jsonSchema" : {
  41. "type" : "object",
  42. "properties" : {
  43. "action" : {
  44. "type" : "string",
  45. "minLength" : 1
  46. },
  47. "source" : {
  48. "type" : "string",
  49. "minLength" : 1
  50. },
  51. "target" : {
  52. "type" : "string",
  53. "minLength" : 1
  54. },
  55. "newImportantField" : {
  56. "type" : "string",
  57. "minLength" : 1,
  58. "description" : "this is a new required field"
  59. },
  60. "primaryKeys" : {
  61. "type" : "array",
  62. "items" : {
  63. "type" : "string",
  64. "minLength" : 1
  65. }
  66. }
  67. },
  68. "id" : "#finddifferencepayload",
  69. "additionalProperties" : false,
  70. "title" : "Find difference payload",
  71. "required" : [ "action", "source", "target", "newImportantField" ]
  72. },
  73. "jsonExample" : {
  74. "action" : "FindDifference",
  75. "source" : "source",
  76. "target" : "target",
  77. "newImportantField" : "newField",
  78. "primaryKeys" : [ "pk1", "pk2" ]
  79. }
  80. },
  81. "deprecatedRequests" : [ {
  82. "jsonSchema" : {
  83. "type" : "object",
  84. "properties" : {
  85. "action" : {
  86. "type" : "string",
  87. "minLength" : 1
  88. },
  89. "source" : {
  90. "type" : "string",
  91. "minLength" : 1
  92. },
  93. "target" : {
  94. "type" : "string",
  95. "minLength" : 1
  96. },
  97. "primaryKeys" : {
  98. "type" : "array",
  99. "items" : {
  100. "type" : "string",
  101. "minLength" : 1
  102. }
  103. }
  104. },
  105. "id" : "#finddifferencepayloadold",
  106. "additionalProperties" : false,
  107. "title" : "Find difference payload old",
  108. "required" : [ "action", "source", "target" ]
  109. },
  110. "jsonExample" : {
  111. "action" : "FindDifference",
  112. "source" : "source",
  113. "target" : "target",
  114. "primaryKeys" : [ "pk1", "pk2" ]
  115. }
  116. } ]
  117. } ]
  118. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement