123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446 |
- {
- "user_name": "test",
- "user_id": "test",
- "project_name": "test",
- "project_id": "test",
- "itermidate_data": [
- "hdfs://host:port/uri"
- ],
- "nodes": [
- {
- "id": "77a6e831-bb62-42e1-be8d-97699db00e73",
- "name": "DataSource",
- "op": "datasource",
- "data": {
- "input_source": [
- {
- "dataSelect": true,
- "dataField": "name",
- "dataType": "string"
- },
- {
- "dataSelect": true,
- "dataField": "address",
- "dataType": "string"
- }
- ],
- "input_table": 5
- }
- },
- {
- "id": "143cfcb1-f566-4f97-b38b-9b62d40fe4cd",
- "name": "SQL",
- "op": "script",
- "data": {
- "input": 1,
- "output": [
- {
- "outputVar": "r3"
- }
- ],
- "script": "Select * from table11",
- "param": "test SQL Param"
- }
- },
- {
- "id": "6b437370-0468-44da-a0bb-e637e33f3efb",
- "name": "PySpark",
- "op": "script",
- "data": {
- "input": 1,
- "output": [
- {
- "outputVar": "r2"
- }
- ],
- "script": "import pySpark\n\nprint('hello wolrd pySpark')",
- "param": "test PySpark Param"
- }
- },
- {
- "id": "c79943c6-9513-4cf8-9c24-d5fa89b6cdde",
- "name": "Python",
- "op": "script",
- "data": {
- "input": 1,
- "output": [
- {
- "outputVar": "r1"
- }
- ],
- "script": "import test\nprint('hello world')",
- "param": "test param",
- "package": "test = 1.1\ntest1 = 2.2"
- }
- }
- ],
- "edges": [
- {
- "id": "b29bcdc7-b543-4d4a-9bd7-7fa74f3a548d",
- "source": "77a6e831-bb62-42e1-be8d-97699db00e73",
- "target": "143cfcb1-f566-4f97-b38b-9b62d40fe4cd"
- },
- {
- "id": "e87690d4-f71d-44f5-85fc-3c14b32b323e",
- "source": "77a6e831-bb62-42e1-be8d-97699db00e73",
- "target": "c79943c6-9513-4cf8-9c24-d5fa89b6cdde"
- },
- {
- "id": "4c312a41-5abf-47a8-a6ad-c2fbba147c4e",
- "source": "77a6e831-bb62-42e1-be8d-97699db00e73",
- "target": "6b437370-0468-44da-a0bb-e637e33f3efb"
- }
- ],
- "graph": {
- "cells": [
- {
- "shape": "dag-edge",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- },
- "id": "b29bcdc7-b543-4d4a-9bd7-7fa74f3a548d",
- "zIndex": -1,
- "source": {
- "cell": "77a6e831-bb62-42e1-be8d-97699db00e73",
- "port": "bottomPort"
- },
- "target": {
- "cell": "143cfcb1-f566-4f97-b38b-9b62d40fe4cd",
- "port": "topPort"
- }
- },
- {
- "shape": "dag-edge",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- },
- "id": "e87690d4-f71d-44f5-85fc-3c14b32b323e",
- "zIndex": -1,
- "source": {
- "cell": "77a6e831-bb62-42e1-be8d-97699db00e73",
- "port": "bottomPort"
- },
- "target": {
- "cell": "c79943c6-9513-4cf8-9c24-d5fa89b6cdde",
- "port": "topPort"
- }
- },
- {
- "shape": "dag-edge",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- },
- "id": "4c312a41-5abf-47a8-a6ad-c2fbba147c4e",
- "zIndex": -1,
- "source": {
- "cell": "77a6e831-bb62-42e1-be8d-97699db00e73",
- "port": "bottomPort"
- },
- "target": {
- "cell": "6b437370-0468-44da-a0bb-e637e33f3efb",
- "port": "topPort"
- }
- },
- {
- "position": {
- "x": 240,
- "y": 130
- },
- "size": {
- "width": 180,
- "height": 80
- },
- "view": "react-shape-view",
- "shape": "dag-node",
- "component": {
- "key": null,
- "ref": null,
- "props": {},
- "_owner": null,
- "_store": {}
- },
- "ports": {
- "groups": {
- "top": {
- "position": "top",
- "attrs": {
- "circle": {
- "r": 4,
- "magnet": true,
- "stroke": "#C2C8D5",
- "strokeWidth": 1,
- "fill": "#fff"
- }
- }
- },
- "bottom": {
- "position": "bottom",
- "attrs": {
- "circle": {
- "r": 4,
- "magnet": true,
- "stroke": "#C2C8D5",
- "strokeWidth": 1,
- "fill": "#fff"
- }
- }
- }
- },
- "items": [
- {
- "id": "bottomPort",
- "group": "bottom"
- }
- ]
- },
- "id": "77a6e831-bb62-42e1-be8d-97699db00e73",
- "data": {
- "label": "DataSource",
- "status": "default",
- "type": "datasource",
- "id": "77a6e831-bb62-42e1-be8d-97699db00e73",
- "inputSource": [
- {
- "dataSelect": false,
- "dataField": "name",
- "dataType": "string"
- },
- {
- "dataSelect": true,
- "dataField": "address",
- "dataType": "string"
- }
- ],
- "dataTable": 5
- },
- "zIndex": 1
- },
- {
- "position": {
- "x": 480,
- "y": 300
- },
- "size": {
- "width": 180,
- "height": 36
- },
- "view": "react-shape-view",
- "shape": "dag-node",
- "component": {
- "key": null,
- "ref": null,
- "props": {},
- "_owner": null,
- "_store": {}
- },
- "ports": {
- "groups": {
- "top": {
- "position": "top",
- "attrs": {
- "circle": {
- "r": 4,
- "magnet": true,
- "stroke": "#C2C8D5",
- "strokeWidth": 1,
- "fill": "#fff"
- }
- }
- },
- "bottom": {
- "position": "bottom",
- "attrs": {
- "circle": {
- "r": 4,
- "magnet": true,
- "stroke": "#C2C8D5",
- "strokeWidth": 1,
- "fill": "#fff"
- }
- }
- }
- },
- "items": [
- {
- "id": "topPort",
- "group": "top"
- },
- {
- "id": "bottomPort",
- "group": "bottom"
- }
- ]
- },
- "id": "143cfcb1-f566-4f97-b38b-9b62d40fe4cd",
- "data": {
- "label": "SQL",
- "status": "default",
- "type": "script",
- "id": "143cfcb1-f566-4f97-b38b-9b62d40fe4cd",
- "paramText": "test SQL Param",
- "scriptText": "Select * from table11",
- "outputData": [
- {
- "outputVar": "r3"
- }
- ],
- "inputNumber": 1
- },
- "zIndex": 2
- },
- {
- "position": {
- "x": 230,
- "y": 310
- },
- "size": {
- "width": 180,
- "height": 36
- },
- "view": "react-shape-view",
- "shape": "dag-node",
- "component": {
- "key": null,
- "ref": null,
- "props": {},
- "_owner": null,
- "_store": {}
- },
- "ports": {
- "groups": {
- "top": {
- "position": "top",
- "attrs": {
- "circle": {
- "r": 4,
- "magnet": true,
- "stroke": "#C2C8D5",
- "strokeWidth": 1,
- "fill": "#fff"
- }
- }
- },
- "bottom": {
- "position": "bottom",
- "attrs": {
- "circle": {
- "r": 4,
- "magnet": true,
- "stroke": "#C2C8D5",
- "strokeWidth": 1,
- "fill": "#fff"
- }
- }
- }
- },
- "items": [
- {
- "id": "topPort",
- "group": "top"
- },
- {
- "id": "bottomPort",
- "group": "bottom"
- }
- ]
- },
- "id": "6b437370-0468-44da-a0bb-e637e33f3efb",
- "data": {
- "label": "PySpark",
- "status": "default",
- "type": "script",
- "id": "6b437370-0468-44da-a0bb-e637e33f3efb",
- "paramText": "test PySpark Param",
- "scriptText": "import pySpark\n\nprint('hello wolrd pySpark')",
- "outputData": [
- {
- "outputVar": "r2"
- }
- ],
- "inputNumber": 1
- },
- "zIndex": 3
- },
- {
- "position": {
- "x": -10,
- "y": 310
- },
- "size": {
- "width": 180,
- "height": 36
- },
- "view": "react-shape-view",
- "shape": "dag-node",
- "component": {
- "key": null,
- "ref": null,
- "props": {},
- "_owner": null,
- "_store": {}
- },
- "ports": {
- "groups": {
- "top": {
- "position": "top",
- "attrs": {
- "circle": {
- "r": 4,
- "magnet": true,
- "stroke": "#C2C8D5",
- "strokeWidth": 1,
- "fill": "#fff"
- }
- }
- },
- "bottom": {
- "position": "bottom",
- "attrs": {
- "circle": {
- "r": 4,
- "magnet": true,
- "stroke": "#C2C8D5",
- "strokeWidth": 1,
- "fill": "#fff"
- }
- }
- }
- },
- "items": [
- {
- "id": "topPort",
- "group": "top"
- },
- {
- "id": "bottomPort",
- "group": "bottom"
- }
- ]
- },
- "id": "c79943c6-9513-4cf8-9c24-d5fa89b6cdde",
- "data": {
- "label": "Python",
- "status": "default",
- "type": "script",
- "id": "c79943c6-9513-4cf8-9c24-d5fa89b6cdde",
- "paramText": "test param",
- "scriptText": "import test\nprint('hello world')",
- "outputData": [
- {
- "outputVar": "r1"
- }
- ],
- "inputNumber": 1,
- "packageData": "test = 1.1\ntest1 = 2.2"
- },
- "zIndex": 4
- }
- ]
- }
- }
|