-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0.9 Create project in Github_2017_10_09.slp
1 lines (1 loc) · 19 KB
/
0.9 Create project in Github_2017_10_09.slp
1
{"class_fqid":"com-snaplogic-pipeline_8","snode_id":"59c438dc66ef274c1e5af18a","instance_id":"f2950d27-fff3-4969-b4a6-7185b1a7f90a","instance_version":4,"link_map":{"link168":{"src_view_id":"output0","dst_view_id":"input0","src_id":"acf44af1-7e88-436f-8ad9-8bf2fcc469fd","dst_id":"cf86a2a1-2bff-4001-a248-763dbdc7f2e0","isGoto":false},"link169":{"src_view_id":"output0","dst_view_id":"input1","src_id":"e78f443e-6059-4b21-a067-54ca909f8a90","dst_id":"cf86a2a1-2bff-4001-a248-763dbdc7f2e0","isGoto":true},"link170":{"src_view_id":"output0","dst_view_id":"input101","src_id":"cf86a2a1-2bff-4001-a248-763dbdc7f2e0","dst_id":"831c7edc-1e18-4443-b127-d910d2dcbd9b","isGoto":false},"link160":{"src_view_id":"error0","dst_view_id":"input0","src_id":"831c7edc-1e18-4443-b127-d910d2dcbd9b","dst_id":"83cc6c3f-8312-4558-acab-a3d203ea11f3","isGoto":false},"link161":{"src_view_id":"output0","dst_view_id":"input0","src_id":"83cc6c3f-8312-4558-acab-a3d203ea11f3","dst_id":"41812b45-c516-40ba-8b37-31f91cf66aaa","isGoto":false},"link162":{"src_view_id":"output0","dst_view_id":"input0","src_id":"41812b45-c516-40ba-8b37-31f91cf66aaa","dst_id":"d96228a5-45b1-4daa-b153-2c4d53ce1fff","isGoto":false},"link163":{"src_view_id":"output0","dst_view_id":"input0","src_id":"ab72f6b9-bcce-4fba-b09e-069fe4ed4101","dst_id":"a9b2b466-f92a-4103-9396-5222638c2308","isGoto":false},"link164":{"src_view_id":"output1","dst_view_id":"input0","src_id":"ceeb3b0c-55b8-4945-917c-c35de8614fe9","dst_id":"ab72f6b9-bcce-4fba-b09e-069fe4ed4101","isGoto":true},"link165":{"src_view_id":"error0","dst_view_id":"input1","src_id":"acf44af1-7e88-436f-8ad9-8bf2fcc469fd","dst_id":"ab72f6b9-bcce-4fba-b09e-069fe4ed4101","isGoto":true},"link166":{"src_view_id":"output1","dst_view_id":"input101","src_id":"83cc6c3f-8312-4558-acab-a3d203ea11f3","dst_id":"ab72f6b9-bcce-4fba-b09e-069fe4ed4101","isGoto":true},"link167":{"src_view_id":"error0","dst_view_id":"input102","src_id":"d96228a5-45b1-4daa-b153-2c4d53ce1fff","dst_id":"ab72f6b9-bcce-4fba-b09e-069fe4ed4101","isGoto":true},"link155":{"src_view_id":"error0","dst_view_id":"input0","src_id":"e78f443e-6059-4b21-a067-54ca909f8a90","dst_id":"ceeb3b0c-55b8-4945-917c-c35de8614fe9","isGoto":false},"link157":{"src_view_id":"output0","dst_view_id":"input0","src_id":"bac87707-10d3-4c5c-b3ec-be25e135eea3","dst_id":"acf44af1-7e88-436f-8ad9-8bf2fcc469fd","isGoto":false},"link158":{"src_view_id":"output0","dst_view_id":"input0","src_id":"ceeb3b0c-55b8-4945-917c-c35de8614fe9","dst_id":"bac87707-10d3-4c5c-b3ec-be25e135eea3","isGoto":false}},"link_serial":171,"property_map":{"info":{"notes":{"value":null},"label":{"value":"0.9 Create project in Github"},"purpose":{"value":null},"pipeline_doc_uri":{"value":null},"author":{"value":"[email protected]"}},"input":{},"settings":{"param_table":{"value":[{"capture":{"value":true},"value":{"value":"nmaniyar"},"key":{"value":"GH_Owner"}},{"capture":{"value":true},"value":{"value":"ConnectFasterInc"},"key":{"value":"GH_Repo"}},{"capture":{"value":false},"value":{"value":"ConnectFasterInc"},"key":{"value":"source_org"}},{"capture":{"value":false},"value":{"value":"Nidhi Maniyar"},"key":{"value":"source_space"}},{"capture":{"value":false},"value":{"value":"DEV"},"key":{"value":"source_proj"}}]}},"error":{"error_behavior":{"value":"none"}},"output":{"831c7edc-1e18-4443-b127-d910d2dcbd9b_output0":{"view_type":{"value":"document"},"label":{"value":"Read project - output0"}},"d96228a5-45b1-4daa-b153-2c4d53ce1fff_output0":{"label":{"value":"Create project - output0"},"view_type":{"value":"document"}}}},"render_map":{"pan_x_num":0,"default_snaplex":"52e99449640a9a03d8682304","scale_ratio":1,"detail_map":{"acf44af1-7e88-436f-8ad9-8bf2fcc469fd":{"grid_x_int":4,"rot_int":0,"grid_y_int":3,"rot_tail_int":0,"error":{"error0":{"dx_int":0,"rot_int":0,"dy_int":-1}}},"d96228a5-45b1-4daa-b153-2c4d53ce1fff":{"grid_x_int":9,"output":{},"grid_y_int":2,"rot_tail_int":0,"error":{"error0":{"dx_int":0,"rot_int":0,"dy_int":-1}},"input":{},"rot_int":0},"ceeb3b0c-55b8-4945-917c-c35de8614fe9":{"grid_x_int":2,"error":{},"grid_y_int":3,"rot_tail_int":0,"input":{},"output":{"output1":{"dx_int":0,"rot_int":0,"dy_int":1}},"rot_int":0},"831c7edc-1e18-4443-b127-d910d2dcbd9b":{"grid_x_int":6,"output":{},"grid_y_int":3,"rot_tail_int":0,"error":{"error0":{"dx_int":0,"rot_int":0,"dy_int":-1}},"input":{},"rot_int":0},"41812b45-c516-40ba-8b37-31f91cf66aaa":{"grid_x_int":8,"error":{},"grid_y_int":2,"rot_tail_int":0,"input":{},"output":{},"rot_int":0},"a9b2b466-f92a-4103-9396-5222638c2308":{"grid_x_int":12,"error":{},"grid_y_int":3,"rot_tail_int":0,"input":{},"output":{},"rot_int":0},"83cc6c3f-8312-4558-acab-a3d203ea11f3":{"grid_x_int":7,"error":{},"grid_y_int":2,"rot_tail_int":0,"input":{},"output":{"output1":{"dx_int":0,"rot_int":0,"dy_int":1}},"rot_int":0},"cf86a2a1-2bff-4001-a248-763dbdc7f2e0":{"grid_x_int":5,"error":{},"grid_y_int":3,"rot_tail_int":0,"input":{"input1":{"dx_int":0,"rot_int":0,"dy_int":1}},"output":{},"rot_int":0},"e78f443e-6059-4b21-a067-54ca909f8a90":{"grid_x_int":1,"rot_int":0,"grid_y_int":4,"rot_tail_int":0,"error":{"error0":{"dx_int":0,"rot_int":0,"dy_int":-1}}},"ab72f6b9-bcce-4fba-b09e-069fe4ed4101":{"grid_x_int":11,"error":{},"grid_y_int":3,"rot_tail_int":0,"input":{"input1":{"dx_int":0,"rot_int":0,"dy_int":1},"input101":{"dx_int":0,"rot_int":0,"dy_int":2},"input102":{"dx_int":0,"rot_int":0,"dy_int":3}},"output":{},"rot_int":0},"bac87707-10d3-4c5c-b3ec-be25e135eea3":{"grid_x_int":3,"error":{},"grid_y_int":3,"rot_tail_int":0,"input":{},"output":{},"rot_int":0}},"pan_y_num":0},"snap_map":{"acf44af1-7e88-436f-8ad9-8bf2fcc469fd":{"class_fqid":"com-snaplogic-snaps-rest-put_1-rest1992","class_id":"com-snaplogic-snaps-rest-put","class_version":1,"instance_fqid":"acf44af1-7e88-436f-8ad9-8bf2fcc469fd_2","instance_id":"acf44af1-7e88-436f-8ad9-8bf2fcc469fd","instance_version":2,"property_map":{"info":{"notes":{"value":null},"label":{"value":"Create projectspace"}},"view_serial":100,"account":{"account_ref":{"expression":false,"value":{}}},"settings":{"retryInterval":{"value":3},"trustAllCerts":{"value":false},"retry":{"value":5},"serviceUrl":{"expression":true,"value":"\"https://api.github.com/repos/\" + _GH_Owner + \"/\" + encodeURIComponent(_GH_Repo) + \"/contents/\" + encodeURIComponent(_source_space) + \"/readme.md\""},"showAllHeaders":{"value":false},"batchSize":{"value":null},"executable_during_suggest":{"value":true},"entity":{"expression":true,"value":"$"},"header":{"value":[{"headerKey":{"expression":false,"value":"accept"},"headerValue":{"expression":false,"value":"application/vnd.github.v3.raw"}},{"headerKey":{"expression":false,"value":"content-type"},"headerValue":{"expression":false,"value":"application/vnd.github.v3.raw"}},{"headerKey":{"expression":false,"value":"User-Agent"},"headerValue":{"expression":false,"value":"ksivagurunathan"}}]},"responseEntityType":{"value":"DEFAULT"},"rawData":{"value":false},"timeout":{"value":900},"connTimeout":{"value":30},"queryParams":{"value":[]},"followRedirects":{"value":true}},"output":{"output0":{"label":{"value":"output0"},"view_type":{"value":"document"}}},"error":{"error0":{"label":{"value":"error0"},"view_type":{"value":"document"}},"error_behavior":{"value":"continue"}},"input":{"input0":{"label":{"value":"input0"},"view_type":{"value":"document"}}}},"class_build_tag":"rest1992"},"d96228a5-45b1-4daa-b153-2c4d53ce1fff":{"class_fqid":"com-snaplogic-snaps-rest-put_1-rest1992","class_id":"com-snaplogic-snaps-rest-put","class_version":1,"instance_fqid":"d96228a5-45b1-4daa-b153-2c4d53ce1fff_1","instance_id":"d96228a5-45b1-4daa-b153-2c4d53ce1fff","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"Create project"}},"view_serial":100,"account":{},"input":{"input0":{"view_type":{"value":"document"},"label":{"value":"input0"}}},"settings":{"retryInterval":{"value":3},"trustAllCerts":{"value":false},"retry":{"value":5},"timeout":{"value":900},"batchSize":{"value":null},"executable_during_suggest":{"value":true},"entity":{"expression":true,"value":"$"},"header":{"value":[{"headerKey":{"expression":false,"value":"accept"},"headerValue":{"expression":false,"value":"application/vnd.github.v3.raw"}},{"headerKey":{"expression":false,"value":"content-type"},"headerValue":{"expression":false,"value":"application/vnd.github.v3.raw"}},{"headerKey":{"expression":false,"value":"User-Agent"},"headerValue":{"expression":false,"value":"nmaniyar"}}]},"rawData":{"value":false},"serviceUrl":{"expression":true,"value":"\"https://api.github.com/repos/\" + _GH_Owner + \"/\" + encodeURIComponent(_GH_Repo) + \"/contents/\" + encodeURIComponent(_source_space) + \"/\" + encodeURIComponent(_source_proj)+ \"/readme.md\""},"queryParams":{"value":[]}},"error":{"error0":{"view_type":{"value":"document"},"label":{"value":"error0"}},"error_behavior":{"value":"continue"}},"output":{"output0":{"view_type":{"value":"document"},"label":{"value":"output0"}}}},"class_build_tag":"rest1992"},"ceeb3b0c-55b8-4945-917c-c35de8614fe9":{"class_fqid":"com-snaplogic-snaps-flow-router_2-flow1909","class_id":"com-snaplogic-snaps-flow-router","class_version":2,"instance_fqid":"ceeb3b0c-55b8-4945-917c-c35de8614fe9_1","instance_id":"ceeb3b0c-55b8-4945-917c-c35de8614fe9","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"Projectspace exists?"}},"view_serial":100,"input":{"input0":{"label":{"value":"input0"},"view_type":{"value":"document"}}},"settings":{"routes":{"value":[{"expression":{"expression":true,"value":"$headers.status == \"404 Not Found\""},"outputViewName":{"value":"Not Found"}},{"expression":{"expression":true,"value":"!($headers.status == \"404 Not Found\")"},"outputViewName":{"value":"Other error"}}]},"firstMatch":{"value":false}},"error":{"error0":{"label":{"value":"error0"},"view_type":{"value":"document"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"label":{"value":"Not Found"},"view_type":{"value":"document"}},"output1":{"label":{"value":"Other error"},"view_type":{"value":"document"}}}},"class_build_tag":"flow1909"},"831c7edc-1e18-4443-b127-d910d2dcbd9b":{"class_fqid":"com-snaplogic-snaps-rest-get_2-rest1992","class_id":"com-snaplogic-snaps-rest-get","class_version":2,"instance_fqid":"831c7edc-1e18-4443-b127-d910d2dcbd9b_1","instance_id":"831c7edc-1e18-4443-b127-d910d2dcbd9b","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"Read project"}},"view_serial":101,"account":{},"input":{"input101":{"view_type":{"value":"document"},"label":{"value":"input0"}}},"settings":{"retryInterval":{"value":3},"trustAllCerts":{"value":false},"retry":{"value":5},"hasNext":{"expression":true,"value":null},"serviceUrl":{"expression":true,"value":"\"https://api.github.com/repos/\" + _GH_Owner + \"/\" + encodeURIComponent(_GH_Repo) + \"/contents/\" + encodeURIComponent(_source_space) + \"/\" + encodeURIComponent(_source_proj)"},"processArray":{"value":false},"nextUrl":{"expression":true,"value":null},"paginationInterval":{"value":0},"executeDuringPreview":{"value":true},"header":{"value":[{"headerKey":{"expression":false,"value":"Accept"},"headerValue":{"expression":false,"value":"application/vnd.github.v3.raw"}},{"headerKey":{"expression":false,"value":"User-Agent"},"headerValue":{"expression":false,"value":"nmaniyar"}}]},"rawData":{"value":false},"timeout":{"value":900},"queryParams":{"value":[]}},"error":{"error0":{"label":{"value":"error0"},"view_type":{"value":"document"}},"error_behavior":{"value":"continue"}},"output":{"output0":{"label":{"value":"output0"},"view_type":{"value":"document"}}}},"class_build_tag":"rest1992"},"a9b2b466-f92a-4103-9396-5222638c2308":{"class_fqid":"com-snaplogic-snaps-flow-exit_1-flow1909","class_id":"com-snaplogic-snaps-flow-exit","class_version":1,"instance_fqid":"a9b2b466-f92a-4103-9396-5222638c2308_1","instance_id":"a9b2b466-f92a-4103-9396-5222638c2308","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"Exit"}},"view_serial":100,"error":{"error_behavior":{"value":"fail"}},"input":{"input0":{"label":{"value":"input0"},"view_type":{"value":"document"}}},"settings":{"KeyThresholdLimit":{"expression":false,"value":1},"KeyErrorMsg":{"expression":false,"value":"Pipeline failed to create project"}}},"class_build_tag":"flow1909"},"41812b45-c516-40ba-8b37-31f91cf66aaa":{"class_fqid":"com-snaplogic-snaps-transform-datatransform_4-transform2018","class_id":"com-snaplogic-snaps-transform-datatransform","class_version":4,"instance_fqid":"41812b45-c516-40ba-8b37-31f91cf66aaa_1","instance_id":"41812b45-c516-40ba-8b37-31f91cf66aaa","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"Mapper"}},"view_serial":100,"input":{"input0":{"view_type":{"value":"document"},"label":{"value":"input0"}}},"settings":{"nullSafeAccess":{"value":false},"passThrough":{"value":false},"transformations":{"value":{"mappingTable":{"value":[{"targetPath":{"value":"$message"},"expression":{"expression":false,"value":"my commit message"}},{"targetPath":{"value":"$committer.name"},"expression":{"expression":true,"value":"pipe.user"}},{"targetPath":{"value":"$committer.email"},"expression":{"expression":true,"value":"pipe.user"}},{"targetPath":{"value":"$content"},"expression":{"expression":true,"value":"Base64.encode(_source_proj + \" project contents from snaplogic\")"}}]},"mappingRoot":{"value":"$"}}}},"error":{"error0":{"view_type":{"value":"document"},"label":{"value":"error0"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"view_type":{"value":"document"},"label":{"value":"output0"}}}},"class_build_tag":"transform2018"},"83cc6c3f-8312-4558-acab-a3d203ea11f3":{"class_fqid":"com-snaplogic-snaps-flow-router_2-flow1909","class_id":"com-snaplogic-snaps-flow-router","class_version":2,"instance_fqid":"83cc6c3f-8312-4558-acab-a3d203ea11f3_1","instance_id":"83cc6c3f-8312-4558-acab-a3d203ea11f3","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"Project exists?"}},"view_serial":100,"input":{"input0":{"view_type":{"value":"document"},"label":{"value":"input0"}}},"settings":{"routes":{"value":[{"expression":{"expression":true,"value":"$headers.status == \"404 Not Found\""},"outputViewName":{"value":"Not Found"}},{"expression":{"expression":true,"value":"!($headers.status == \"404 Not Found\")"},"outputViewName":{"value":"Other error"}}]},"firstMatch":{"value":false}},"error":{"error0":{"view_type":{"value":"document"},"label":{"value":"error0"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"view_type":{"value":"document"},"label":{"value":"Not Found"}},"output1":{"view_type":{"value":"document"},"label":{"value":"Other error"}}}},"class_build_tag":"flow1909"},"cf86a2a1-2bff-4001-a248-763dbdc7f2e0":{"class_fqid":"com-snaplogic-snaps-flow-union_2-flow1909","class_id":"com-snaplogic-snaps-flow-union","class_version":2,"instance_fqid":"cf86a2a1-2bff-4001-a248-763dbdc7f2e0_1","instance_id":"cf86a2a1-2bff-4001-a248-763dbdc7f2e0","instance_version":1,"property_map":{"info":{"label":{"value":"Union1"}},"view_serial":100,"input":{"input0":{"label":{"value":"input0"},"view_type":{"value":"document"}},"input1":{"label":{"value":"input1"},"view_type":{"value":"document"}}},"settings":{},"error":{"error0":{"label":{"value":"error0"},"view_type":{"value":"document"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"label":{"value":"output0"},"view_type":{"value":"document"}}}},"class_build_tag":"flow1909"},"e78f443e-6059-4b21-a067-54ca909f8a90":{"class_fqid":"com-snaplogic-snaps-rest-get_2-rest1992","class_id":"com-snaplogic-snaps-rest-get","class_version":2,"instance_fqid":"e78f443e-6059-4b21-a067-54ca909f8a90_2","instance_id":"e78f443e-6059-4b21-a067-54ca909f8a90","instance_version":2,"property_map":{"info":{"notes":{"value":null},"label":{"value":"Git Read projectspace"}},"view_serial":100,"account":{"account_ref":{"expression":false,"value":{}}},"settings":{"retryInterval":{"value":3},"trustAllCerts":{"value":false},"retry":{"value":5},"hasNext":{"expression":true,"value":null},"timeout":{"value":900},"processArray":{"value":false},"nextUrl":{"expression":true,"value":null},"showAllHeaders":{"value":false},"paginationInterval":{"value":0},"executeDuringPreview":{"value":true},"header":{"value":[{"headerKey":{"expression":false,"value":"Accept"},"headerValue":{"expression":false,"value":"application/vnd.github.v3.raw"}},{"headerKey":{"expression":false,"value":"User-Agent"},"headerValue":{"expression":false,"value":"kabilan6"}}]},"responseEntityType":{"value":"DEFAULT"},"rawData":{"value":false},"serviceUrl":{"expression":true,"value":"\"https://api.github.com/repos/\" + _GH_Owner + \"/\" + encodeURIComponent(_GH_Repo) + \"/contents/\" + encodeURIComponent(_source_space)"},"connTimeout":{"value":30},"queryParams":{"value":[]},"followRedirects":{"value":true}},"error":{"error0":{"view_type":{"value":"document"},"label":{"value":"error0"}},"error_behavior":{"value":"continue"}},"output":{"output0":{"view_type":{"value":"document"},"label":{"value":"output0"}}}},"class_build_tag":"rest1992"},"ab72f6b9-bcce-4fba-b09e-069fe4ed4101":{"class_fqid":"com-snaplogic-snaps-flow-union_2-flow1909","class_id":"com-snaplogic-snaps-flow-union","class_version":2,"instance_fqid":"ab72f6b9-bcce-4fba-b09e-069fe4ed4101_1","instance_id":"ab72f6b9-bcce-4fba-b09e-069fe4ed4101","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"Error Union"}},"view_serial":102,"input":{"input0":{"view_type":{"value":"document"},"label":{"value":"input0"}},"input1":{"view_type":{"value":"document"},"label":{"value":"input1"}},"input101":{"label":{"value":"input2"},"view_type":{"value":"document"}},"input102":{"label":{"value":"input3"},"view_type":{"value":"document"}}},"settings":{},"error":{"error0":{"view_type":{"value":"document"},"label":{"value":"error0"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"view_type":{"value":"document"},"label":{"value":"output0"}}}},"class_build_tag":"flow1909"},"bac87707-10d3-4c5c-b3ec-be25e135eea3":{"class_fqid":"com-snaplogic-snaps-transform-datatransform_4-transform2018","class_id":"com-snaplogic-snaps-transform-datatransform","class_version":4,"instance_fqid":"bac87707-10d3-4c5c-b3ec-be25e135eea3_1","instance_id":"bac87707-10d3-4c5c-b3ec-be25e135eea3","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"Mapper"}},"view_serial":100,"input":{"input0":{"label":{"value":"input0"},"view_type":{"value":"document"}}},"settings":{"nullSafeAccess":{"value":false},"passThrough":{"value":false},"transformations":{"value":{"mappingTable":{"value":[{"targetPath":{"value":"$message"},"expression":{"expression":false,"value":"my commit message"}},{"targetPath":{"value":"$committer.name"},"expression":{"expression":true,"value":"pipe.user"}},{"targetPath":{"value":"$committer.email"},"expression":{"expression":true,"value":"pipe.user"}},{"targetPath":{"value":"$content"},"expression":{"expression":true,"value":"Base64.encode(_source_space + \" project space contents from snaplogic\")"}}]},"mappingRoot":{"value":"$"}}}},"error":{"error0":{"label":{"value":"error0"},"view_type":{"value":"document"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"label":{"value":"output0"},"view_type":{"value":"document"}}}},"class_build_tag":"transform2018"}},"path_id":"/PDX_DEV/Sandbox/BK-Github Integration","path_snode":"59c438d666ef271ffab4c1af"}