matches-complex-pipeline-snapshot.1.snap 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. Object {
  2. "doc_type": "pipeline",
  3. "id": "elyra-auto-generated-pipeline",
  4. "json_schema": "http://api.dataplatform.ibm.com/schemas/common-pipeline/pipeline-flow/pipeline-flow-v3-schema.json",
  5. "pipelines": Array [
  6. Object {
  7. "app_data": Object {
  8. "properties": Object {
  9. "name": "complex",
  10. "runtime": "Generic",
  11. },
  12. "ui_data": Object {
  13. "comments": Array [],
  14. },
  15. "version": 7,
  16. },
  17. "id": "primary",
  18. "nodes": Array [
  19. Object {
  20. "app_data": Object {
  21. "component_parameters": Object {
  22. "dependencies": Array [],
  23. "env_vars": Array [
  24. "NB_USER=",
  25. ],
  26. "filename": "producer.ipynb",
  27. "include_subdirectories": false,
  28. "kubernetes_secrets": Array [],
  29. "mounted_volumes": Array [],
  30. "outputs": Array [
  31. "output-1.csv",
  32. "output-2.csv",
  33. ],
  34. "runtime_image": "continuumio/anaconda3:2021.11",
  35. },
  36. "label": "",
  37. "ui_data": Object {
  38. "description": "Run notebook file",
  39. "image": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20viewBox%3D%220%200%2022%2022%22%3E%0A%20%20%3Cg%20class%3D%22jp-icon-warn0%20jp-icon-selectable%22%20fill%3D%22%23EF6C00%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M18.7%203.3v15.4H3.3V3.3h15.4m1.5-1.5H1.8v18.3h18.3l.1-18.3z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M16.5%2016.5l-5.4-4.3-5.6%204.3v-11h11z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A",
  40. "label": "producer.ipynb",
  41. "x_pos": 85,
  42. "y_pos": 95,
  43. },
  44. },
  45. "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  46. "inputs": Array [
  47. Object {
  48. "app_data": Object {
  49. "ui_data": Object {
  50. "cardinality": Object {
  51. "max": -1,
  52. "min": 0,
  53. },
  54. "label": "Input Port",
  55. },
  56. },
  57. "id": "inPort",
  58. },
  59. ],
  60. "op": "execute-notebook-node",
  61. "outputs": Array [
  62. Object {
  63. "app_data": Object {
  64. "ui_data": Object {
  65. "cardinality": Object {
  66. "max": -1,
  67. "min": 0,
  68. },
  69. "label": "Output Port",
  70. },
  71. },
  72. "id": "outPort",
  73. },
  74. ],
  75. "type": "execution_node",
  76. },
  77. Object {
  78. "app_data": Object {
  79. "component_parameters": Object {
  80. "dependencies": Array [],
  81. "env_vars": Array [],
  82. "filename": "consumer.ipynb",
  83. "include_subdirectories": false,
  84. "kubernetes_secrets": Array [],
  85. "mounted_volumes": Array [],
  86. "outputs": Array [],
  87. "runtime_image": "continuumio/anaconda3:2021.11",
  88. },
  89. "label": "",
  90. "ui_data": Object {
  91. "description": "Run notebook file",
  92. "image": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20viewBox%3D%220%200%2022%2022%22%3E%0A%20%20%3Cg%20class%3D%22jp-icon-warn0%20jp-icon-selectable%22%20fill%3D%22%23EF6C00%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M18.7%203.3v15.4H3.3V3.3h15.4m1.5-1.5H1.8v18.3h18.3l.1-18.3z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M16.5%2016.5l-5.4-4.3-5.6%204.3v-11h11z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A",
  93. "label": "consumer.ipynb",
  94. "x_pos": 105,
  95. "y_pos": 115,
  96. },
  97. },
  98. "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  99. "inputs": Array [
  100. Object {
  101. "app_data": Object {
  102. "ui_data": Object {
  103. "cardinality": Object {
  104. "max": -1,
  105. "min": 0,
  106. },
  107. "label": "Input Port",
  108. },
  109. },
  110. "id": "inPort",
  111. },
  112. ],
  113. "op": "execute-notebook-node",
  114. "outputs": Array [
  115. Object {
  116. "app_data": Object {
  117. "ui_data": Object {
  118. "cardinality": Object {
  119. "max": -1,
  120. "min": 0,
  121. },
  122. "label": "Output Port",
  123. },
  124. },
  125. "id": "outPort",
  126. },
  127. ],
  128. "type": "execution_node",
  129. },
  130. Object {
  131. "app_data": Object {
  132. "component_parameters": Object {
  133. "dependencies": Array [
  134. "setup.txt",
  135. ],
  136. "env_vars": Array [],
  137. "filename": "../scripts/setup.py",
  138. "include_subdirectories": false,
  139. "kubernetes_secrets": Array [],
  140. "mounted_volumes": Array [],
  141. "outputs": Array [],
  142. "runtime_image": "continuumio/anaconda3:2021.11",
  143. },
  144. "label": "",
  145. "ui_data": Object {
  146. "description": "Run Python script",
  147. "image": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%20238%20237%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20overflow%3D%22hidden%22%3E%0A%20%20%20%20%3Cg%20transform%3D%22translate(-706%20314)%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22jp-icon-selectable%22%20d%3D%22M792.441-295.763C786.496-295.763%20781.697-290.979%20781.697-285.062%20781.697-279.166%20786.496-274.382%20792.441-274.382%20798.365-274.382%20803.184-279.166%20803.184-285.062%20803.184-290.979%20798.365-295.763%20792.441-295.763ZM823.472-312.998C833.277-313.043%20843.484-312.329%20853.336-310.724%20868.899-308.185%20882-296.728%20882-281.516L882-228.072C882-212.398%20869.282-199.557%20853.336-199.557L796.03-199.557C776.58-199.557%20760.189-183.169%20760.189-164.641L760.189-139%20740.485-139C723.817-139%20714.114-150.877%20710.037-167.494%20704.538-189.82%20704.772-203.124%20710.037-224.505%20714.602-243.159%20729.189-253%20745.857-253L767.365-253%20824.693-253%20824.693-260.134%20767.365-260.134%20767.365-281.516C767.365-297.715%20771.76-306.527%20796.03-310.724%20804.268-312.151%20813.668-312.953%20823.472-312.998Z%22%20fill%3D%22%23366A96%22%20fill-rule%3D%22evenodd%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22jp-icon-selectable%22%20d%3D%22M857.377-117.071C851.466-117.071%20846.655-112.267%20846.655-106.348%20846.655-100.406%20851.466-95.6026%20857.377-95.6026%20863.31-95.6026%20868.099-100.406%20868.099-106.348%20868.099-112.267%20863.31-117.071%20857.377-117.071ZM889.563-253%20911.007-253C927.662-253%20935.502-240.696%20939.614-224.39%20945.334-201.743%20945.589-184.804%20939.614-167.148%20933.828-150%20927.642-138.539%20911.007-138.539L882.402-138.539%20825.211-138.539%20825.211-131.375%20882.402-131.375%20882.402-109.908C882.402-93.6435%20868.205-85.4055%20853.796-81.2973%20832.12-75.1034%20814.722-76.0513%20796.606-81.2973%20781.476-85.6801%20768-94.6332%20768-109.908L768-163.568C768-179.01%20780.947-192.199%20796.606-192.199L853.796-192.199C872.846-192.199%20889.563-208.568%20889.563-227.971Z%22%20fill%3D%22%23FFC836%22%20fill-rule%3D%22evenodd%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A",
  148. "label": "setup.py",
  149. "x_pos": 125,
  150. "y_pos": 135,
  151. },
  152. },
  153. "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  154. "inputs": Array [
  155. Object {
  156. "app_data": Object {
  157. "ui_data": Object {
  158. "cardinality": Object {
  159. "max": -1,
  160. "min": 0,
  161. },
  162. "label": "Input Port",
  163. },
  164. },
  165. "id": "inPort",
  166. },
  167. ],
  168. "op": "execute-python-node",
  169. "outputs": Array [
  170. Object {
  171. "app_data": Object {
  172. "ui_data": Object {
  173. "cardinality": Object {
  174. "max": -1,
  175. "min": 0,
  176. },
  177. "label": "Output Port",
  178. },
  179. },
  180. "id": "outPort",
  181. },
  182. ],
  183. "type": "execution_node",
  184. },
  185. Object {
  186. "app_data": Object {
  187. "component_parameters": Object {
  188. "dependencies": Array [],
  189. "env_vars": Array [],
  190. "filename": "create-source-files.py",
  191. "include_subdirectories": false,
  192. "kubernetes_secrets": Array [],
  193. "mounted_volumes": Array [],
  194. "outputs": Array [
  195. "input-1.csv",
  196. "input-2.csv",
  197. ],
  198. "runtime_image": "continuumio/anaconda3:2021.11",
  199. },
  200. "label": "",
  201. "ui_data": Object {
  202. "description": "Run Python script",
  203. "image": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%20238%20237%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20overflow%3D%22hidden%22%3E%0A%20%20%20%20%3Cg%20transform%3D%22translate(-706%20314)%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22jp-icon-selectable%22%20d%3D%22M792.441-295.763C786.496-295.763%20781.697-290.979%20781.697-285.062%20781.697-279.166%20786.496-274.382%20792.441-274.382%20798.365-274.382%20803.184-279.166%20803.184-285.062%20803.184-290.979%20798.365-295.763%20792.441-295.763ZM823.472-312.998C833.277-313.043%20843.484-312.329%20853.336-310.724%20868.899-308.185%20882-296.728%20882-281.516L882-228.072C882-212.398%20869.282-199.557%20853.336-199.557L796.03-199.557C776.58-199.557%20760.189-183.169%20760.189-164.641L760.189-139%20740.485-139C723.817-139%20714.114-150.877%20710.037-167.494%20704.538-189.82%20704.772-203.124%20710.037-224.505%20714.602-243.159%20729.189-253%20745.857-253L767.365-253%20824.693-253%20824.693-260.134%20767.365-260.134%20767.365-281.516C767.365-297.715%20771.76-306.527%20796.03-310.724%20804.268-312.151%20813.668-312.953%20823.472-312.998Z%22%20fill%3D%22%23366A96%22%20fill-rule%3D%22evenodd%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22jp-icon-selectable%22%20d%3D%22M857.377-117.071C851.466-117.071%20846.655-112.267%20846.655-106.348%20846.655-100.406%20851.466-95.6026%20857.377-95.6026%20863.31-95.6026%20868.099-100.406%20868.099-106.348%20868.099-112.267%20863.31-117.071%20857.377-117.071ZM889.563-253%20911.007-253C927.662-253%20935.502-240.696%20939.614-224.39%20945.334-201.743%20945.589-184.804%20939.614-167.148%20933.828-150%20927.642-138.539%20911.007-138.539L882.402-138.539%20825.211-138.539%20825.211-131.375%20882.402-131.375%20882.402-109.908C882.402-93.6435%20868.205-85.4055%20853.796-81.2973%20832.12-75.1034%20814.722-76.0513%20796.606-81.2973%20781.476-85.6801%20768-94.6332%20768-109.908L768-163.568C768-179.01%20780.947-192.199%20796.606-192.199L853.796-192.199C872.846-192.199%20889.563-208.568%20889.563-227.971Z%22%20fill%3D%22%23FFC836%22%20fill-rule%3D%22evenodd%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A",
  204. "label": "create-source-files.py",
  205. "x_pos": 145,
  206. "y_pos": 155,
  207. },
  208. },
  209. "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  210. "inputs": Array [
  211. Object {
  212. "app_data": Object {
  213. "ui_data": Object {
  214. "cardinality": Object {
  215. "max": -1,
  216. "min": 0,
  217. },
  218. "label": "Input Port",
  219. },
  220. },
  221. "id": "inPort",
  222. },
  223. ],
  224. "op": "execute-python-node",
  225. "outputs": Array [
  226. Object {
  227. "app_data": Object {
  228. "ui_data": Object {
  229. "cardinality": Object {
  230. "max": -1,
  231. "min": 0,
  232. },
  233. "label": "Output Port",
  234. },
  235. },
  236. "id": "outPort",
  237. },
  238. ],
  239. "type": "execution_node",
  240. },
  241. Object {
  242. "app_data": Object {
  243. "component_parameters": Object {
  244. "dependencies": Array [],
  245. "env_vars": Array [],
  246. "filename": "producer-script.py",
  247. "include_subdirectories": false,
  248. "kubernetes_secrets": Array [],
  249. "mounted_volumes": Array [],
  250. "outputs": Array [
  251. "output-3.csv",
  252. "output-4.csv",
  253. ],
  254. "runtime_image": "continuumio/anaconda3:2021.11",
  255. },
  256. "label": "",
  257. "ui_data": Object {
  258. "description": "Run Python script",
  259. "image": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%20238%20237%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20overflow%3D%22hidden%22%3E%0A%20%20%20%20%3Cg%20transform%3D%22translate(-706%20314)%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22jp-icon-selectable%22%20d%3D%22M792.441-295.763C786.496-295.763%20781.697-290.979%20781.697-285.062%20781.697-279.166%20786.496-274.382%20792.441-274.382%20798.365-274.382%20803.184-279.166%20803.184-285.062%20803.184-290.979%20798.365-295.763%20792.441-295.763ZM823.472-312.998C833.277-313.043%20843.484-312.329%20853.336-310.724%20868.899-308.185%20882-296.728%20882-281.516L882-228.072C882-212.398%20869.282-199.557%20853.336-199.557L796.03-199.557C776.58-199.557%20760.189-183.169%20760.189-164.641L760.189-139%20740.485-139C723.817-139%20714.114-150.877%20710.037-167.494%20704.538-189.82%20704.772-203.124%20710.037-224.505%20714.602-243.159%20729.189-253%20745.857-253L767.365-253%20824.693-253%20824.693-260.134%20767.365-260.134%20767.365-281.516C767.365-297.715%20771.76-306.527%20796.03-310.724%20804.268-312.151%20813.668-312.953%20823.472-312.998Z%22%20fill%3D%22%23366A96%22%20fill-rule%3D%22evenodd%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22jp-icon-selectable%22%20d%3D%22M857.377-117.071C851.466-117.071%20846.655-112.267%20846.655-106.348%20846.655-100.406%20851.466-95.6026%20857.377-95.6026%20863.31-95.6026%20868.099-100.406%20868.099-106.348%20868.099-112.267%20863.31-117.071%20857.377-117.071ZM889.563-253%20911.007-253C927.662-253%20935.502-240.696%20939.614-224.39%20945.334-201.743%20945.589-184.804%20939.614-167.148%20933.828-150%20927.642-138.539%20911.007-138.539L882.402-138.539%20825.211-138.539%20825.211-131.375%20882.402-131.375%20882.402-109.908C882.402-93.6435%20868.205-85.4055%20853.796-81.2973%20832.12-75.1034%20814.722-76.0513%20796.606-81.2973%20781.476-85.6801%20768-94.6332%20768-109.908L768-163.568C768-179.01%20780.947-192.199%20796.606-192.199L853.796-192.199C872.846-192.199%20889.563-208.568%20889.563-227.971Z%22%20fill%3D%22%23FFC836%22%20fill-rule%3D%22evenodd%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A",
  260. "label": "producer-script.py",
  261. "x_pos": 165,
  262. "y_pos": 175,
  263. },
  264. },
  265. "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  266. "inputs": Array [
  267. Object {
  268. "app_data": Object {
  269. "ui_data": Object {
  270. "cardinality": Object {
  271. "max": -1,
  272. "min": 0,
  273. },
  274. "label": "Input Port",
  275. },
  276. },
  277. "id": "inPort",
  278. },
  279. ],
  280. "op": "execute-python-node",
  281. "outputs": Array [
  282. Object {
  283. "app_data": Object {
  284. "ui_data": Object {
  285. "cardinality": Object {
  286. "max": -1,
  287. "min": 0,
  288. },
  289. "label": "Output Port",
  290. },
  291. },
  292. "id": "outPort",
  293. },
  294. ],
  295. "type": "execution_node",
  296. },
  297. ],
  298. "runtime_ref": "",
  299. },
  300. ],
  301. "primary_pipeline": "primary",
  302. "schemas": Array [],
  303. "version": "3.0",
  304. }