From cf242658401cbb7b7c06dbb046e1426ba7401c13 Mon Sep 17 00:00:00 2001 From: Radu Gidei Date: Thu, 24 Aug 2017 02:17:25 +0100 Subject: [PATCH] added initial sample files the basic sample files from previous round of testing, they need updating and documentation added. --- samples/Dynamo 1.3 - REST API example.dyn | 237 ++++ ...ynamo 2.0 - simple test with benchmark.dyn | 1064 +++++++++++++++++ samples/Dynamo 2.0 - simple test.dyn | 749 ++++++++++++ 3 files changed, 2050 insertions(+) create mode 100644 samples/Dynamo 1.3 - REST API example.dyn create mode 100644 samples/Dynamo 2.0 - simple test with benchmark.dyn create mode 100644 samples/Dynamo 2.0 - simple test.dyn diff --git a/samples/Dynamo 1.3 - REST API example.dyn b/samples/Dynamo 1.3 - REST API example.dyn new file mode 100644 index 0000000..306f1c0 --- /dev/null +++ b/samples/Dynamo 1.3 - REST API example.dyn @@ -0,0 +1,237 @@ + + + + + https://jsonplaceholder.typicode.com/users + + + + + + + + + + + + + users/1 + + + + + + + + + + https://jsonplaceholder.typicode.com + + + + + + + + + + + + + + + + + + + + + + + + + + + + posts + + + + comments + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + users + + + + posts/3 + + + + + + + + $.address + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/Dynamo 2.0 - simple test with benchmark.dyn b/samples/Dynamo 2.0 - simple test with benchmark.dyn new file mode 100644 index 0000000..6faad24 --- /dev/null +++ b/samples/Dynamo 2.0 - simple test with benchmark.dyn @@ -0,0 +1,1064 @@ +{ + "Uuid": "2e557306-8b1b-4845-b1a3-a2ba63aac533", + "IsCustomNode": false, + "Description": "", + "Name": "Home", + "ElementResolver": { + "ResolutionMap": {} + }, + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebRequest.WebRequest@string", + "Id": "3475e5f5-14ef-49a4-9813-4214328e003a", + "Inputs": [ + { + "Id": "56898900-9dc9-42b5-8ee1-a821fa3fddec", + "Name": "url", + "Description": "The URL to send the request to.\n\nstring", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5b9babfa-8da2-48ff-b326-cebdd31cf0d5", + "Name": "WebRequest", + "Description": "The request object, ready for execution.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "Build a simple GET web request to the specified URL\n\nWebRequest.WebRequest (url: string): WebRequest" + }, + { + "ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels", + "NodeType": "StringInputNode", + "InputValue": "http://www.mocky.io/v2/5185415ba171ea3a00704eed", + "Id": "b0069ec7-ce93-4460-9ccf-f25e5ddbc020", + "Inputs": [], + "Outputs": [ + { + "Id": "b7969edc-fd3b-498b-bbef-52439a1ff70e", + "Name": "", + "Description": "String", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a string." + }, + { + "ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels", + "NodeType": "StringInputNode", + "InputValue": "http://www.google.com/", + "Id": "054ef25a-ffb5-4cb7-8d2d-c550b232622f", + "Inputs": [], + "Outputs": [ + { + "Id": "439680ce-e0a1-4909-9425-c05476496d36", + "Name": "", + "Description": "String", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a string." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebRequest.URL", + "Id": "8563c7c9-b62f-405e-a1f5-6c17e862594f", + "Inputs": [ + { + "Id": "1df5ce54-6dd6-49a3-a85c-7873a5b10320", + "Name": "webRequest", + "Description": "DSCore.Web.WebRequest", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "183c5504-3283-45ad-9c15-b765c8779788", + "Name": "string", + "Description": "string", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "The URL for the request\n\nWebRequest.URL: string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebRequest.Time", + "Id": "005c4e7a-9699-4cc0-bb6b-8e333f8e3d65", + "Inputs": [ + { + "Id": "5e3cd5c9-d256-4232-954d-546345d2ca66", + "Name": "webRequest", + "Description": "DSCore.Web.WebRequest", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5baf394b-e242-41fd-92be-34135aac1c58", + "Name": "var", + "Description": "var", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "The time it took for the request to complete\n\nWebRequest.Time: var" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebRequest.Execute@var", + "Id": "e93dda94-b242-44d2-8f58-e19001fe42b9", + "Inputs": [ + { + "Id": "22cc1179-6466-472d-a41c-bad268f3c8e6", + "Name": "request", + "Description": "The web request to execute.\n\nvar", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "b1802a23-5547-4dbc-987e-68d56a6fc060", + "Name": "var", + "Description": "The response from the server as a WebResponse object.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "Executes a WebRequest and returns the response from the server.\n\nWebRequest.Execute (request: var): var" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebResponse.Content", + "Id": "dd8de1bb-518c-40dc-8a50-7f5ac0f736c5", + "Inputs": [ + { + "Id": "5fcb4826-82e9-43c5-9982-9ed03449206f", + "Name": "webResponse", + "Description": "DSCore.Web.WebResponse", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "c5b51e1c-d1a4-4bc9-85a2-07b25ba9d1e2", + "Name": "string", + "Description": "string", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "WebResponse.Content: string" + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "26bf56c4-2f45-47fa-83c4-04804ffa88c9", + "Inputs": [ + { + "Id": "5120f25c-f70d-4cae-98a5-ad46c986e1f2", + "Name": "", + "Description": "Node to evaluate.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ada5766b-92fc-4a8d-b610-ffb7048e484b", + "Name": "", + "Description": "Watch contents.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualize the output of node." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebResponse.ResponseUri", + "Id": "d28ef690-ab5a-457f-bcc2-1fdbb04e97ef", + "Inputs": [ + { + "Id": "5101a2a1-7e35-41f6-8cea-f921bfd8f5a4", + "Name": "webResponse", + "Description": "DSCore.Web.WebResponse", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "94e4d78f-1834-4272-ba1e-cf89fdc66929", + "Name": "var", + "Description": "var", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "WebResponse.ResponseUri: var" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebResponse.Server", + "Id": "8d34747d-10e7-4917-bfd9-c76399962dd7", + "Inputs": [ + { + "Id": "3b0b762b-7e81-42a9-8df4-96609448a024", + "Name": "webResponse", + "Description": "DSCore.Web.WebResponse", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "7da9ea79-884b-44b2-b9c4-823b73aa4109", + "Name": "string", + "Description": "string", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "WebResponse.Server: string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebResponse.StatusCode", + "Id": "89d16582-1c30-4ebb-abda-55a33ffffcb7", + "Inputs": [ + { + "Id": "8629601f-e6e9-4fb2-8687-c110c7571410", + "Name": "webResponse", + "Description": "DSCore.Web.WebResponse", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e32d9633-c25f-482e-9cf4-a60683ece88b", + "Name": "string", + "Description": "string", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "WebResponse.StatusCode: string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebResponse.Headers", + "Id": "6a82e8d2-005c-43be-9ebb-d3bb8d942697", + "Inputs": [ + { + "Id": "492c00d3-30cc-42b0-a0b9-5f87a148604b", + "Name": "webResponse", + "Description": "DSCore.Web.WebResponse", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5654835c-d398-4d9f-8f4d-25b62fc46631", + "Name": "string[][]", + "Description": "string[][]", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "WebResponse.Headers: string[][]" + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "f484d55d-90a6-4a01-9c42-9518cc55a746", + "Inputs": [ + { + "Id": "5349caf8-a281-4947-84ed-207d8f00b8f5", + "Name": "", + "Description": "Node to evaluate.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "47d88d63-804e-4d5a-8ee1-3af52d87407e", + "Name": "", + "Description": "Watch contents.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualize the output of node." + }, + { + "ConcreteType": "CoreNodeModels.WebRequest, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "9b418588-20db-420c-bb0c-c7aa6667d13e", + "Inputs": [ + { + "Id": "f76bb5b8-dfe0-42d3-8903-5b0b56be718e", + "Name": "url", + "Description": "The url for the web request.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "eadc0105-bc2c-43d9-8d39-5b81c077d039", + "Name": "result", + "Description": "The result of the web request.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Make a web request given a url." + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "0f3c1307-221d-4032-8f4d-5bd18cc55c5e", + "Inputs": [ + { + "Id": "36263935-0371-4f9a-ac5f-a3ba646b1867", + "Name": "", + "Description": "Node to evaluate.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ff5a9b54-819e-4526-a17a-b65077db7a1e", + "Name": "", + "Description": "Watch contents.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualize the output of node." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.IO.File.WriteText@string,string", + "Id": "8ec53f9b-48e3-45e4-8787-9081ab1cdedd", + "Inputs": [ + { + "Id": "1c81c830-eb01-4e28-9fda-2f049cb7d4ff", + "Name": "filePath", + "Description": "Path to write to\n\nstring", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "e284f76c-fb33-4a7c-b0f6-b11fc5010a74", + "Name": "text", + "Description": "Text content\n\nstring", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "0e0e16c0-6b9c-4515-bd9e-543573251399", + "Name": "void", + "Description": "void", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Write the text content to a file specified by the path\n\nFile.WriteText (filePath: string, text: string): void" + }, + { + "ConcreteType": "CoreNodeModels.Input.Directory, CoreNodeModels", + "HintPath": "C:\\Users\\radug\\Desktop\\testing", + "InputValue": "C:\\Users\\radug\\Desktop\\testing", + "NodeType": "ExtensionNode", + "Id": "57f49433-8f79-43ac-86ba-7579fe08901f", + "Inputs": [], + "Outputs": [ + { + "Id": "9257a24f-148f-4698-97c8-ad31eb81fb6c", + "Name": "", + "Description": "Directory", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows you to select a directory on the system to get its path" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction, DynamoCore", + "FunctionSignature": "DSCore.IO.File.CombinePath@string[]", + "NodeType": "FunctionNode", + "Id": "148803b8-a25e-4343-9401-b7a67e3a4e0d", + "Inputs": [ + { + "Id": "8e974944-dd5e-4f01-a26c-4616c93905af", + "Name": "path0", + "Description": "String to combine into a path.\n\nstring[]", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "35ecacb5-5b97-450b-ab58-94e6a36e3259", + "Name": "path1", + "Description": "string[]", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "7f799768-8247-4dc6-af08-c89464492d00", + "Name": "string", + "Description": "string", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Combines multiple strings into a single file path.\n\nFile.CombinePath (paths: string[]): string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction, DynamoCore", + "FunctionSignature": "DSCore.IO.File.CombinePath@string[]", + "NodeType": "FunctionNode", + "Id": "67618f84-940c-49c9-9fb4-b26aa5cd814f", + "Inputs": [ + { + "Id": "3b5adff0-6c1a-4bce-b568-f019931d3f3d", + "Name": "path0", + "Description": "String to combine into a path.\n\nstring[]", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "4f499d81-e275-4db7-8b7e-c386c502c0c2", + "Name": "path1", + "Description": "string[]", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "7a9e042a-30e8-436d-9263-15e1a6b722dd", + "Name": "string", + "Description": "string", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Combines multiple strings into a single file path.\n\nFile.CombinePath (paths: string[]): string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "\"DynWWW-response.txt\";\n\"DynamoCoreNode-response.txt\";", + "Id": "19a83881-36b0-4177-9725-f33d36f0313e", + "Inputs": [], + "Outputs": [ + { + "Id": "071b37cd-8997-49f2-806c-45c4fb58ef42", + "Name": "", + "Description": "t6BBA4B28C5E54CF89F300D510499A00E_0", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "77541d46-5bd8-4392-b76d-c99831814c76", + "Name": "", + "Description": "t6BBA4B28C5E54CF89F300D510499A00E_1", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.IO.File.WriteText@string,string", + "Id": "2b72736c-c315-4aad-b419-1d0ec2331031", + "Inputs": [ + { + "Id": "3a2f6797-b392-4f23-9538-1021ba70afb8", + "Name": "filePath", + "Description": "Path to write to\n\nstring", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "5ecbba0c-8b29-494d-84a4-cd2483dfb17b", + "Name": "text", + "Description": "Text content\n\nstring", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "f1cd2159-64fa-4b65-a745-8e67d9dc1fee", + "Name": "void", + "Description": "void", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Write the text content to a file specified by the path\n\nFile.WriteText (filePath: string, text: string): void" + } + ], + "Connectors": [ + { + "Start": "5b9babfa-8da2-48ff-b326-cebdd31cf0d5", + "End": "5e3cd5c9-d256-4232-954d-546345d2ca66", + "Id": "a0c77b90-f789-491f-8db0-8433d743c1f0" + }, + { + "Start": "5b9babfa-8da2-48ff-b326-cebdd31cf0d5", + "End": "1df5ce54-6dd6-49a3-a85c-7873a5b10320", + "Id": "cc545b8d-8d5d-4f0c-8c8d-2c82cc805397" + }, + { + "Start": "5b9babfa-8da2-48ff-b326-cebdd31cf0d5", + "End": "22cc1179-6466-472d-a41c-bad268f3c8e6", + "Id": "f3e04501-98b2-4c61-8ec7-db361719f57f" + }, + { + "Start": "439680ce-e0a1-4909-9425-c05476496d36", + "End": "56898900-9dc9-42b5-8ee1-a821fa3fddec", + "Id": "c3f061cb-ccc0-496f-94ac-6af12881cbc4" + }, + { + "Start": "439680ce-e0a1-4909-9425-c05476496d36", + "End": "f76bb5b8-dfe0-42d3-8903-5b0b56be718e", + "Id": "decc3f17-9094-4339-bc91-73933449a013" + }, + { + "Start": "b1802a23-5547-4dbc-987e-68d56a6fc060", + "End": "5fcb4826-82e9-43c5-9982-9ed03449206f", + "Id": "f7fe5ffe-f94f-4958-8bad-c507ad3fe972" + }, + { + "Start": "b1802a23-5547-4dbc-987e-68d56a6fc060", + "End": "5101a2a1-7e35-41f6-8cea-f921bfd8f5a4", + "Id": "9c45a829-c884-465f-9d46-0d52976d294b" + }, + { + "Start": "b1802a23-5547-4dbc-987e-68d56a6fc060", + "End": "3b0b762b-7e81-42a9-8df4-96609448a024", + "Id": "bbf7f026-fa78-4ae0-a48c-5c3a5466ee7b" + }, + { + "Start": "b1802a23-5547-4dbc-987e-68d56a6fc060", + "End": "8629601f-e6e9-4fb2-8687-c110c7571410", + "Id": "54cd14b2-5544-44f2-9cab-a5e604cb30d4" + }, + { + "Start": "b1802a23-5547-4dbc-987e-68d56a6fc060", + "End": "492c00d3-30cc-42b0-a0b9-5f87a148604b", + "Id": "5e85ade5-38bd-416c-8e83-7a2bbbf098e7" + }, + { + "Start": "c5b51e1c-d1a4-4bc9-85a2-07b25ba9d1e2", + "End": "5120f25c-f70d-4cae-98a5-ad46c986e1f2", + "Id": "1b864acc-66c2-4ed2-bfb2-53e88bdc51c3" + }, + { + "Start": "ada5766b-92fc-4a8d-b610-ffb7048e484b", + "End": "e284f76c-fb33-4a7c-b0f6-b11fc5010a74", + "Id": "2996cbf2-7c07-4bf4-9bb3-0d345834aa98" + }, + { + "Start": "5654835c-d398-4d9f-8f4d-25b62fc46631", + "End": "5349caf8-a281-4947-84ed-207d8f00b8f5", + "Id": "205dcb58-34e2-490c-9852-37d47cfdc208" + }, + { + "Start": "eadc0105-bc2c-43d9-8d39-5b81c077d039", + "End": "36263935-0371-4f9a-ac5f-a3ba646b1867", + "Id": "3d3ef8ab-2f33-4585-ac2c-be25497af36a" + }, + { + "Start": "ff5a9b54-819e-4526-a17a-b65077db7a1e", + "End": "5ecbba0c-8b29-494d-84a4-cd2483dfb17b", + "Id": "b5d40c6c-a35a-4144-99b7-b97c0e4708a5" + }, + { + "Start": "9257a24f-148f-4698-97c8-ad31eb81fb6c", + "End": "8e974944-dd5e-4f01-a26c-4616c93905af", + "Id": "8d3dd211-4361-48fb-acb2-1031f20f8d2b" + }, + { + "Start": "9257a24f-148f-4698-97c8-ad31eb81fb6c", + "End": "3b5adff0-6c1a-4bce-b568-f019931d3f3d", + "Id": "95aaba39-c957-450f-9bf9-686c79054fd1" + }, + { + "Start": "7f799768-8247-4dc6-af08-c89464492d00", + "End": "3a2f6797-b392-4f23-9538-1021ba70afb8", + "Id": "2f1e9563-003c-4d4e-90ca-048396d2f539" + }, + { + "Start": "7a9e042a-30e8-436d-9263-15e1a6b722dd", + "End": "1c81c830-eb01-4e28-9fda-2f049cb7d4ff", + "Id": "97bc66e8-6853-4ea7-b884-418b3ca1a7bb" + }, + { + "Start": "071b37cd-8997-49f2-806c-45c4fb58ef42", + "End": "4f499d81-e275-4db7-8b7e-c386c502c0c2", + "Id": "80cb7e7a-09bf-4ec4-aa12-c46699b9c2e0" + }, + { + "Start": "77541d46-5bd8-4392-b76d-c99831814c76", + "End": "35ecacb5-5b97-450b-ab58-94e6a36e3259", + "Id": "b4a753a7-2bab-4b1a-824f-2a1c795b3a48" + } + ], + "Dependencies": [], + "Bindings": [], + "View": { + "Cameras": { + "EyePosition": "-17,24,50", + "UpDirection": "0,1,0", + "LookDirection": "12,-13,-58", + "Name": "Background Preview" + }, + "NodeViews": [ + { + "ShowGeometry": true, + "Name": "WebRequest.WebRequest", + "Id": "3475e5f5-14ef-49a4-9813-4214328e003a", + "IsUpstreamVisible": true, + "X": 259.63922214862697, + "Y": 382.77156243232588 + }, + { + "ShowGeometry": true, + "Name": "String", + "Id": "b0069ec7-ce93-4460-9ccf-f25e5ddbc020", + "IsUpstreamVisible": true, + "X": -142.93600929687994, + "Y": 645.64250790081 + }, + { + "ShowGeometry": true, + "Name": "String", + "Id": "054ef25a-ffb5-4cb7-8d2d-c550b232622f", + "IsUpstreamVisible": true, + "X": -146.00478483819435, + "Y": 385.825898964139 + }, + { + "ShowGeometry": true, + "Name": "WebRequest.URL", + "Id": "8563c7c9-b62f-405e-a1f5-6c17e862594f", + "IsUpstreamVisible": true, + "X": 999.78101940744534, + "Y": 130.44751344705085 + }, + { + "ShowGeometry": true, + "Name": "WebRequest.Time", + "Id": "005c4e7a-9699-4cc0-bb6b-8e333f8e3d65", + "IsUpstreamVisible": true, + "X": 999.78101940744534, + "Y": 3.609223517032035 + }, + { + "ShowGeometry": true, + "Name": "WebRequest.Execute", + "Id": "e93dda94-b242-44d2-8f58-e19001fe42b9", + "IsUpstreamVisible": true, + "X": 611.63393865048, + "Y": 538.75758268595587 + }, + { + "ShowGeometry": true, + "Name": "WebResponse.Content", + "Id": "dd8de1bb-518c-40dc-8a50-7f5ac0f736c5", + "IsUpstreamVisible": true, + "X": 998.239360062939, + "Y": 512.696692253741 + }, + { + "ShowGeometry": true, + "Name": "Watch", + "Id": "26bf56c4-2f45-47fa-83c4-04804ffa88c9", + "IsUpstreamVisible": true, + "X": 1609.7727329768118, + "Y": 514.31991495213026 + }, + { + "ShowGeometry": true, + "Name": "WebResponse.ResponseUri", + "Id": "d28ef690-ab5a-457f-bcc2-1fdbb04e97ef", + "IsUpstreamVisible": true, + "X": 998.239360062939, + "Y": 606.592577248931 + }, + { + "ShowGeometry": true, + "Name": "WebResponse.Server", + "Id": "8d34747d-10e7-4917-bfd9-c76399962dd7", + "IsUpstreamVisible": true, + "X": 998.239360062939, + "Y": 743.126956419161 + }, + { + "ShowGeometry": true, + "Name": "WebResponse.StatusCode", + "Id": "89d16582-1c30-4ebb-abda-55a33ffffcb7", + "IsUpstreamVisible": true, + "X": 998.239360062939, + "Y": 393.532467213668 + }, + { + "ShowGeometry": true, + "Name": "WebResponse.Headers", + "Id": "6a82e8d2-005c-43be-9ebb-d3bb8d942697", + "IsUpstreamVisible": true, + "X": 998.239360062939, + "Y": 865.111697396642 + }, + { + "ShowGeometry": true, + "Name": "Watch", + "Id": "f484d55d-90a6-4a01-9c42-9518cc55a746", + "IsUpstreamVisible": true, + "X": 1332.62878914606, + "Y": 871.727015410384 + }, + { + "ShowGeometry": true, + "Name": "Web Request", + "Id": "9b418588-20db-420c-bb0c-c7aa6667d13e", + "IsUpstreamVisible": true, + "X": 365.46527174516717, + "Y": 1419.582738580254 + }, + { + "ShowGeometry": true, + "Name": "Watch", + "Id": "0f3c1307-221d-4032-8f4d-5bd18cc55c5e", + "IsUpstreamVisible": true, + "X": 1001.7925644165771, + "Y": 1423.6705499266805 + }, + { + "ShowGeometry": true, + "Name": "File.WriteText", + "Id": "8ec53f9b-48e3-45e4-8787-9081ab1cdedd", + "IsUpstreamVisible": true, + "X": 2144.2288146029582, + "Y": 922.40890072024627 + }, + { + "ShowGeometry": true, + "Name": "Directory Path", + "Id": "57f49433-8f79-43ac-86ba-7579fe08901f", + "IsUpstreamVisible": true, + "X": 789.10471916256392, + "Y": 1796.4737193988988 + }, + { + "ShowGeometry": true, + "Name": "File.CombinePath", + "Id": "148803b8-a25e-4343-9401-b7a67e3a4e0d", + "IsUpstreamVisible": true, + "X": 1205.8267129582214, + "Y": 1782.5575129976294 + }, + { + "ShowGeometry": true, + "Name": "File.CombinePath", + "Id": "67618f84-940c-49c9-9fb4-b26aa5cd814f", + "IsUpstreamVisible": true, + "X": 1217.4284105532145, + "Y": 1666.6630137228503 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "19a83881-36b0-4177-9725-f33d36f0313e", + "IsUpstreamVisible": true, + "X": 710.98022473336118, + "Y": 1683.8452703560777 + }, + { + "ShowGeometry": true, + "Name": "File.WriteText", + "Id": "2b72736c-c315-4aad-b419-1d0ec2331031", + "IsUpstreamVisible": true, + "X": 2146.1055866627289, + "Y": 1064.6655838974971 + } + ], + "Notes": [ + { + "Id": "225188d1-09db-4238-aa63-3cb5856bd667", + "X": -142.56282220321918, + "Y": 547.159267630238, + "Text": "I suggest using something like Mocky.io ( http://www.mocky.io/ ) to test out the package and web responses.\r\nVisit the site to generate a fresh URL, this one will likely be out of date." + }, + { + "Id": "c88f5ec6-5f2c-4136-b79c-cde9cf2f94b2", + "X": 381.95680425004275, + "Y": 1516.6971581618079, + "Text": "The only Dynamo node for web interaction in the core." + } + ], + "Annotations": [ + { + "Id": "c8373cd3-22c9-4e6e-b830-f17e004d5e15", + "Title": "Build paths for log files", + "Nodes": [ + "57f49433-8f79-43ac-86ba-7579fe08901f", + "148803b8-a25e-4343-9401-b7a67e3a4e0d", + "67618f84-940c-49c9-9fb4-b26aa5cd814f", + "19a83881-36b0-4177-9725-f33d36f0313e" + ], + "Left": 700.98022473336118, + "Top": 1613.6630137228503, + "Width": 718.94818581985328, + "Height": 277.31070567604843, + "FontSize": 36.0, + "InitialTop": 1666.6630137228503, + "InitialHeight": 254.31070567604843, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "a01913b2-9c6c-408d-a0a4-baa0321f240f", + "Title": "Response metadata", + "Nodes": [ + "dd8de1bb-518c-40dc-8a50-7f5ac0f736c5", + "d28ef690-ab5a-457f-bcc2-1fdbb04e97ef", + "8d34747d-10e7-4917-bfd9-c76399962dd7", + "89d16582-1c30-4ebb-abda-55a33ffffcb7", + "6a82e8d2-005c-43be-9ebb-d3bb8d942697", + "f484d55d-90a6-4a01-9c42-9518cc55a746" + ], + "Left": 988.239360062939, + "Top": 340.532467213668, + "Width": 572.889429083121, + "Height": 909.194548196716, + "FontSize": 36.0, + "InitialTop": 393.532467213668, + "InitialHeight": 594.579230182974, + "TextblockHeight": 43.0, + "Background": "#FFFFAA45" + }, + { + "Id": "086ae41a-7b8f-429e-9e76-568a24e34689", + "Title": "Request metadata", + "Nodes": [ + "8563c7c9-b62f-405e-a1f5-6c17e862594f", + "005c4e7a-9699-4cc0-bb6b-8e333f8e3d65" + ], + "Left": 989.78101940744534, + "Top": -92.890776482967965, + "Width": 248.0, + "Height": 316.33828993001885, + "FontSize": 36.0, + "InitialTop": 3.609223517032035, + "InitialHeight": 249.83828993001882, + "TextblockHeight": 86.5, + "Background": "#FFFFAA45" + }, + { + "Id": "bfd475bc-4f2c-4155-8982-bd8f745743b1", + "Title": "Response itself", + "Nodes": [ + "26bf56c4-2f45-47fa-83c4-04804ffa88c9" + ], + "Left": 1599.7727329768118, + "Top": 461.31991495213026, + "Width": 310.0, + "Height": 232.5, + "FontSize": 36.0, + "InitialTop": 514.31991495213026, + "InitialHeight": 209.5, + "TextblockHeight": 43.0, + "Background": "#FFFFAA45" + }, + { + "Id": "67592c42-8fb9-48ba-8c0c-f7046046586e", + "Title": "Write to log files", + "Nodes": [ + "8ec53f9b-48e3-45e4-8787-9081ab1cdedd", + "2b72736c-c315-4aad-b419-1d0ec2331031" + ], + "Left": 2134.2288146029582, + "Top": 825.90890072024627, + "Width": 212.3767720597707, + "Height": 357.75668317725081, + "FontSize": 36.0, + "InitialTop": 922.40890072024627, + "InitialHeight": 291.25668317725081, + "TextblockHeight": 86.5, + "Background": "#FFFF7BAC" + }, + { + "Id": "479ac000-fde8-4e1f-b117-50dbeac19cba", + "Title": "Input", + "Nodes": [ + "b0069ec7-ce93-4460-9ccf-f25e5ddbc020", + "054ef25a-ffb5-4cb7-8d2d-c550b232622f", + "225188d1-09db-4238-aa63-3cb5856bd667" + ], + "Left": -156.00478483819435, + "Top": 303.825898964139, + "Width": 305.4419626349752, + "Height": 424.31660893667095, + "FontSize": 60.0, + "InitialTop": 385.825898964139, + "InitialHeight": 372.31660893667095, + "TextblockHeight": 72.0, + "Background": "#FF48B9FF" + }, + { + "Id": "eedc4356-45e5-4d0f-a381-825d3c461fad", + "Title": "Build & Execute the request using this test build of the package.", + "Nodes": [ + "3475e5f5-14ef-49a4-9813-4214328e003a", + "e93dda94-b242-44d2-8f58-e19001fe42b9" + ], + "Left": 249.63922214862697, + "Top": 286.27156243232588, + "Width": 556.494716501853, + "Height": 345.48602025363, + "FontSize": 36.0, + "InitialTop": 382.77156243232588, + "InitialHeight": 278.98602025363, + "TextblockHeight": 86.5, + "Background": "#FF71C6A8" + }, + { + "Id": "d0835f68-c5cb-42c8-a79c-0f52038b30cd", + "Title": "Execute the request using built-in node", + "Nodes": [ + "9b418588-20db-420c-bb0c-c7aa6667d13e", + "c88f5ec6-5f2c-4136-b79c-cde9cf2f94b2" + ], + "Left": 355.46527174516717, + "Top": 1323.082738580254, + "Width": 316.99153250487558, + "Height": 252.61441958155388, + "FontSize": 36.0, + "InitialTop": 1419.582738580254, + "InitialHeight": 165.15389199478614, + "TextblockHeight": 86.5, + "Background": "#FF71C6A8" + }, + { + "Id": "0466c296-6702-4fdc-bafc-b74ea58412f7", + "Title": "Response itself, no metadata available", + "Nodes": [ + "0f3c1307-221d-4032-8f4d-5bd18cc55c5e" + ], + "Left": 991.79256441657708, + "Top": 1327.1705499266805, + "Width": 310.0, + "Height": 205.5, + "FontSize": 36.0, + "InitialTop": 1423.6705499266805, + "InitialHeight": 139.0, + "TextblockHeight": 86.5, + "Background": "#FFFFAA45" + } + ], + "X": 319.17269501694273, + "Y": 67.2272637147326, + "Zoom": 0.35937009279943793 + } +} \ No newline at end of file diff --git a/samples/Dynamo 2.0 - simple test.dyn b/samples/Dynamo 2.0 - simple test.dyn new file mode 100644 index 0000000..d53a3ba --- /dev/null +++ b/samples/Dynamo 2.0 - simple test.dyn @@ -0,0 +1,749 @@ +{ + "Uuid": "2e557306-8b1b-4845-b1a3-a2ba63aac533", + "IsCustomNode": false, + "Description": "", + "Name": "Home", + "ElementResolver": { + "ResolutionMap": {} + }, + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebRequest.WebRequest@string", + "Id": "3475e5f5-14ef-49a4-9813-4214328e003a", + "Inputs": [ + { + "Id": "56898900-9dc9-42b5-8ee1-a821fa3fddec", + "Name": "url", + "Description": "The URL to send the request to.\n\nstring", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5b9babfa-8da2-48ff-b326-cebdd31cf0d5", + "Name": "WebRequest", + "Description": "The request object, ready for execution.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "Build a simple GET web request to the specified URL\n\nWebRequest.WebRequest (url: string): WebRequest" + }, + { + "ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels", + "NodeType": "StringInputNode", + "InputValue": "http://www.mocky.io/v2/5185415ba171ea3a00704eed", + "Id": "b0069ec7-ce93-4460-9ccf-f25e5ddbc020", + "Inputs": [], + "Outputs": [ + { + "Id": "b7969edc-fd3b-498b-bbef-52439a1ff70e", + "Name": "", + "Description": "String", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a string." + }, + { + "ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels", + "NodeType": "StringInputNode", + "InputValue": "http://www.google.com/", + "Id": "054ef25a-ffb5-4cb7-8d2d-c550b232622f", + "Inputs": [], + "Outputs": [ + { + "Id": "439680ce-e0a1-4909-9425-c05476496d36", + "Name": "", + "Description": "String", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a string." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebRequest.URL", + "Id": "8563c7c9-b62f-405e-a1f5-6c17e862594f", + "Inputs": [ + { + "Id": "1df5ce54-6dd6-49a3-a85c-7873a5b10320", + "Name": "webRequest", + "Description": "DSCore.Web.WebRequest", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "183c5504-3283-45ad-9c15-b765c8779788", + "Name": "string", + "Description": "string", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "The URL for the request\n\nWebRequest.URL: string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebRequest.Time", + "Id": "005c4e7a-9699-4cc0-bb6b-8e333f8e3d65", + "Inputs": [ + { + "Id": "5e3cd5c9-d256-4232-954d-546345d2ca66", + "Name": "webRequest", + "Description": "DSCore.Web.WebRequest", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5baf394b-e242-41fd-92be-34135aac1c58", + "Name": "var", + "Description": "var", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "The time it took for the request to complete\n\nWebRequest.Time: var" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebRequest.Execute@var", + "Id": "e93dda94-b242-44d2-8f58-e19001fe42b9", + "Inputs": [ + { + "Id": "22cc1179-6466-472d-a41c-bad268f3c8e6", + "Name": "request", + "Description": "The web request to execute.\n\nvar", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "b1802a23-5547-4dbc-987e-68d56a6fc060", + "Name": "var", + "Description": "The response from the server as a WebResponse object.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "Executes a WebRequest and returns the response from the server.\n\nWebRequest.Execute (request: var): var" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebResponse.Content", + "Id": "dd8de1bb-518c-40dc-8a50-7f5ac0f736c5", + "Inputs": [ + { + "Id": "5fcb4826-82e9-43c5-9982-9ed03449206f", + "Name": "webResponse", + "Description": "DSCore.Web.WebResponse", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "c5b51e1c-d1a4-4bc9-85a2-07b25ba9d1e2", + "Name": "string", + "Description": "string", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "WebResponse.Content: string" + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "26bf56c4-2f45-47fa-83c4-04804ffa88c9", + "Inputs": [ + { + "Id": "5120f25c-f70d-4cae-98a5-ad46c986e1f2", + "Name": "", + "Description": "Node to evaluate.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ada5766b-92fc-4a8d-b610-ffb7048e484b", + "Name": "", + "Description": "Watch contents.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualize the output of node." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebResponse.ResponseUri", + "Id": "d28ef690-ab5a-457f-bcc2-1fdbb04e97ef", + "Inputs": [ + { + "Id": "5101a2a1-7e35-41f6-8cea-f921bfd8f5a4", + "Name": "webResponse", + "Description": "DSCore.Web.WebResponse", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "94e4d78f-1834-4272-ba1e-cf89fdc66929", + "Name": "var", + "Description": "var", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "WebResponse.ResponseUri: var" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebResponse.Server", + "Id": "8d34747d-10e7-4917-bfd9-c76399962dd7", + "Inputs": [ + { + "Id": "3b0b762b-7e81-42a9-8df4-96609448a024", + "Name": "webResponse", + "Description": "DSCore.Web.WebResponse", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "7da9ea79-884b-44b2-b9c4-823b73aa4109", + "Name": "string", + "Description": "string", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "WebResponse.Server: string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebResponse.StatusCode", + "Id": "89d16582-1c30-4ebb-abda-55a33ffffcb7", + "Inputs": [ + { + "Id": "8629601f-e6e9-4fb2-8687-c110c7571410", + "Name": "webResponse", + "Description": "DSCore.Web.WebResponse", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e32d9633-c25f-482e-9cf4-a60683ece88b", + "Name": "string", + "Description": "string", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "WebResponse.StatusCode: string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.Web.WebResponse.Headers", + "Id": "6a82e8d2-005c-43be-9ebb-d3bb8d942697", + "Inputs": [ + { + "Id": "492c00d3-30cc-42b0-a0b9-5f87a148604b", + "Name": "webResponse", + "Description": "DSCore.Web.WebResponse", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5654835c-d398-4d9f-8f4d-25b62fc46631", + "Name": "string[][]", + "Description": "string[][]", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Shortest", + "Description": "WebResponse.Headers: string[][]" + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "f484d55d-90a6-4a01-9c42-9518cc55a746", + "Inputs": [ + { + "Id": "5349caf8-a281-4947-84ed-207d8f00b8f5", + "Name": "", + "Description": "Node to evaluate.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "47d88d63-804e-4d5a-8ee1-3af52d87407e", + "Name": "", + "Description": "Watch contents.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualize the output of node." + }, + { + "ConcreteType": "CoreNodeModels.WebRequest, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "9b418588-20db-420c-bb0c-c7aa6667d13e", + "Inputs": [ + { + "Id": "f76bb5b8-dfe0-42d3-8903-5b0b56be718e", + "Name": "url", + "Description": "The url for the web request.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "eadc0105-bc2c-43d9-8d39-5b81c077d039", + "Name": "result", + "Description": "The result of the web request.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Make a web request given a url." + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "0f3c1307-221d-4032-8f4d-5bd18cc55c5e", + "Inputs": [ + { + "Id": "36263935-0371-4f9a-ac5f-a3ba646b1867", + "Name": "", + "Description": "Node to evaluate.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ff5a9b54-819e-4526-a17a-b65077db7a1e", + "Name": "", + "Description": "Watch contents.", + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualize the output of node." + } + ], + "Connectors": [ + { + "Start": "5b9babfa-8da2-48ff-b326-cebdd31cf0d5", + "End": "5e3cd5c9-d256-4232-954d-546345d2ca66", + "Id": "a0c77b90-f789-491f-8db0-8433d743c1f0" + }, + { + "Start": "5b9babfa-8da2-48ff-b326-cebdd31cf0d5", + "End": "1df5ce54-6dd6-49a3-a85c-7873a5b10320", + "Id": "cc545b8d-8d5d-4f0c-8c8d-2c82cc805397" + }, + { + "Start": "5b9babfa-8da2-48ff-b326-cebdd31cf0d5", + "End": "22cc1179-6466-472d-a41c-bad268f3c8e6", + "Id": "f3e04501-98b2-4c61-8ec7-db361719f57f" + }, + { + "Start": "439680ce-e0a1-4909-9425-c05476496d36", + "End": "56898900-9dc9-42b5-8ee1-a821fa3fddec", + "Id": "c3f061cb-ccc0-496f-94ac-6af12881cbc4" + }, + { + "Start": "439680ce-e0a1-4909-9425-c05476496d36", + "End": "f76bb5b8-dfe0-42d3-8903-5b0b56be718e", + "Id": "decc3f17-9094-4339-bc91-73933449a013" + }, + { + "Start": "b1802a23-5547-4dbc-987e-68d56a6fc060", + "End": "5fcb4826-82e9-43c5-9982-9ed03449206f", + "Id": "f7fe5ffe-f94f-4958-8bad-c507ad3fe972" + }, + { + "Start": "b1802a23-5547-4dbc-987e-68d56a6fc060", + "End": "5101a2a1-7e35-41f6-8cea-f921bfd8f5a4", + "Id": "9c45a829-c884-465f-9d46-0d52976d294b" + }, + { + "Start": "b1802a23-5547-4dbc-987e-68d56a6fc060", + "End": "3b0b762b-7e81-42a9-8df4-96609448a024", + "Id": "bbf7f026-fa78-4ae0-a48c-5c3a5466ee7b" + }, + { + "Start": "b1802a23-5547-4dbc-987e-68d56a6fc060", + "End": "8629601f-e6e9-4fb2-8687-c110c7571410", + "Id": "54cd14b2-5544-44f2-9cab-a5e604cb30d4" + }, + { + "Start": "b1802a23-5547-4dbc-987e-68d56a6fc060", + "End": "492c00d3-30cc-42b0-a0b9-5f87a148604b", + "Id": "5e85ade5-38bd-416c-8e83-7a2bbbf098e7" + }, + { + "Start": "c5b51e1c-d1a4-4bc9-85a2-07b25ba9d1e2", + "End": "5120f25c-f70d-4cae-98a5-ad46c986e1f2", + "Id": "1b864acc-66c2-4ed2-bfb2-53e88bdc51c3" + }, + { + "Start": "5654835c-d398-4d9f-8f4d-25b62fc46631", + "End": "5349caf8-a281-4947-84ed-207d8f00b8f5", + "Id": "205dcb58-34e2-490c-9852-37d47cfdc208" + }, + { + "Start": "eadc0105-bc2c-43d9-8d39-5b81c077d039", + "End": "36263935-0371-4f9a-ac5f-a3ba646b1867", + "Id": "3d3ef8ab-2f33-4585-ac2c-be25497af36a" + } + ], + "Dependencies": [], + "Bindings": [], + "View": { + "Cameras": { + "EyePosition": "-17,24,50", + "UpDirection": "0,1,0", + "LookDirection": "12,-13,-58", + "Name": "Background Preview" + }, + "NodeViews": [ + { + "ShowGeometry": true, + "Name": "WebRequest.WebRequest", + "Id": "3475e5f5-14ef-49a4-9813-4214328e003a", + "IsUpstreamVisible": true, + "X": 259.63922214862697, + "Y": 382.77156243232588 + }, + { + "ShowGeometry": true, + "Name": "String", + "Id": "b0069ec7-ce93-4460-9ccf-f25e5ddbc020", + "IsUpstreamVisible": true, + "X": -199.98026648675403, + "Y": 456.42253283195987 + }, + { + "ShowGeometry": true, + "Name": "String", + "Id": "054ef25a-ffb5-4cb7-8d2d-c550b232622f", + "IsUpstreamVisible": true, + "X": -203.04904202806844, + "Y": 196.60592389528892 + }, + { + "ShowGeometry": true, + "Name": "WebRequest.URL", + "Id": "8563c7c9-b62f-405e-a1f5-6c17e862594f", + "IsUpstreamVisible": true, + "X": 947.935139794807, + "Y": 1457.7699856211909 + }, + { + "ShowGeometry": true, + "Name": "WebRequest.Time", + "Id": "005c4e7a-9699-4cc0-bb6b-8e333f8e3d65", + "IsUpstreamVisible": true, + "X": 947.935139794807, + "Y": 1330.9316956911721 + }, + { + "ShowGeometry": true, + "Name": "WebRequest.Execute", + "Id": "e93dda94-b242-44d2-8f58-e19001fe42b9", + "IsUpstreamVisible": true, + "X": 611.63393865048, + "Y": 538.75758268595587 + }, + { + "ShowGeometry": true, + "Name": "WebResponse.Content", + "Id": "dd8de1bb-518c-40dc-8a50-7f5ac0f736c5", + "IsUpstreamVisible": true, + "X": 963.08936060343478, + "Y": 465.39169848652864 + }, + { + "ShowGeometry": true, + "Name": "Watch", + "Id": "26bf56c4-2f45-47fa-83c4-04804ffa88c9", + "IsUpstreamVisible": true, + "X": 1575.3838624293426, + "Y": 338.775782344092 + }, + { + "ShowGeometry": true, + "Name": "WebResponse.ResponseUri", + "Id": "d28ef690-ab5a-457f-bcc2-1fdbb04e97ef", + "IsUpstreamVisible": true, + "X": 963.08936060343478, + "Y": 559.28758348171857 + }, + { + "ShowGeometry": true, + "Name": "WebResponse.Server", + "Id": "8d34747d-10e7-4917-bfd9-c76399962dd7", + "IsUpstreamVisible": true, + "X": 963.08936060343478, + "Y": 695.82196265194864 + }, + { + "ShowGeometry": true, + "Name": "WebResponse.StatusCode", + "Id": "89d16582-1c30-4ebb-abda-55a33ffffcb7", + "IsUpstreamVisible": true, + "X": 963.08936060343478, + "Y": 346.22747344645558 + }, + { + "ShowGeometry": true, + "Name": "WebResponse.Headers", + "Id": "6a82e8d2-005c-43be-9ebb-d3bb8d942697", + "IsUpstreamVisible": true, + "X": 963.08936060343478, + "Y": 817.80670362942953 + }, + { + "ShowGeometry": true, + "Name": "Watch", + "Id": "f484d55d-90a6-4a01-9c42-9518cc55a746", + "IsUpstreamVisible": true, + "X": 1297.4787896865557, + "Y": 824.42202164317155 + }, + { + "ShowGeometry": true, + "Name": "Web Request", + "Id": "9b418588-20db-420c-bb0c-c7aa6667d13e", + "IsUpstreamVisible": true, + "X": 504.59760635461583, + "Y": 78.3470329451693 + }, + { + "ShowGeometry": true, + "Name": "Watch", + "Id": "0f3c1307-221d-4032-8f4d-5bd18cc55c5e", + "IsUpstreamVisible": true, + "X": 1564.3878658658, + "Y": 83.695233159714462 + } + ], + "Notes": [ + { + "Id": "225188d1-09db-4238-aa63-3cb5856bd667", + "X": -199.60707939309327, + "Y": 357.9392925613879, + "Text": "I suggest using something like Mocky.io ( http://www.mocky.io/ ) to test out the package and web responses.\r\nVisit the site to generate a fresh URL, this one will likely be out of date." + }, + { + "Id": "c88f5ec6-5f2c-4136-b79c-cde9cf2f94b2", + "X": 521.08913885949141, + "Y": 175.46145252672318, + "Text": "The only Dynamo node for web interaction in the core." + } + ], + "Annotations": [ + { + "Id": "3fa6d0d7-1314-4207-9595-f4fc2443b9c6", + "Title": "Response metadata", + "Nodes": [ + "dd8de1bb-518c-40dc-8a50-7f5ac0f736c5", + "d28ef690-ab5a-457f-bcc2-1fdbb04e97ef", + "8d34747d-10e7-4917-bfd9-c76399962dd7", + "89d16582-1c30-4ebb-abda-55a33ffffcb7", + "6a82e8d2-005c-43be-9ebb-d3bb8d942697", + "f484d55d-90a6-4a01-9c42-9518cc55a746" + ], + "Left": 953.08936060343478, + "Top": 293.22747344645558, + "Width": 433.38942908312094, + "Height": 640.19454819671591, + "FontSize": 36.0, + "InitialTop": 346.22747344645558, + "InitialHeight": 623.19454819671591, + "TextblockHeight": 43.0, + "Background": "#FFFFAA45" + }, + { + "Id": "795a34b7-554b-4686-bc85-fe4fc98102ed", + "Title": "Request metadata", + "Nodes": [ + "8563c7c9-b62f-405e-a1f5-6c17e862594f", + "005c4e7a-9699-4cc0-bb6b-8e333f8e3d65" + ], + "Left": 937.935139794807, + "Top": 1234.4316956911721, + "Width": 248.0, + "Height": 316.33828993001885, + "FontSize": 36.0, + "InitialTop": 1330.9316956911721, + "InitialHeight": 271.83828993001885, + "TextblockHeight": 86.5, + "Background": "#FFFFAA45" + }, + { + "Id": "f089908b-d8cd-43ba-8040-677b3fe5c567", + "Title": "Response itself", + "Nodes": [ + "26bf56c4-2f45-47fa-83c4-04804ffa88c9" + ], + "Left": 1565.3838624293426, + "Top": 242.27578234409202, + "Width": 161.31666666666666, + "Height": 205.5, + "FontSize": 36.0, + "InitialTop": 338.775782344092, + "InitialHeight": 145.0, + "TextblockHeight": 86.5, + "Background": "#FFFFAA45" + }, + { + "Id": "f9e3c2b5-de62-4b9d-868b-1f4bbd6dbd5f", + "Title": "Input", + "Nodes": [ + "b0069ec7-ce93-4460-9ccf-f25e5ddbc020", + "054ef25a-ffb5-4cb7-8d2d-c550b232622f", + "225188d1-09db-4238-aa63-3cb5856bd667" + ], + "Left": -213.04904202806844, + "Top": 114.60592389528892, + "Width": 305.4419626349752, + "Height": 424.31660893667095, + "FontSize": 60.0, + "InitialTop": 196.60592389528892, + "InitialHeight": 404.81660893667095, + "TextblockHeight": 72.0, + "Background": "#FF48B9FF" + }, + { + "Id": "4f01c9db-2d73-4340-b5b8-0ca6b5528abb", + "Title": "Build & Execute the request using this test build of the package.", + "Nodes": [ + "3475e5f5-14ef-49a4-9813-4214328e003a", + "e93dda94-b242-44d2-8f58-e19001fe42b9" + ], + "Left": 249.63922214862697, + "Top": 286.27156243232588, + "Width": 556.494716501853, + "Height": 345.48602025363, + "FontSize": 36.0, + "InitialTop": 382.77156243232588, + "InitialHeight": 300.98602025363, + "TextblockHeight": 86.5, + "Background": "#FF71C6A8" + }, + { + "Id": "5e6cf565-1a80-46e8-90f0-807e42a8fcdf", + "Title": "Execute the request using built-in node", + "Nodes": [ + "9b418588-20db-420c-bb0c-c7aa6667d13e", + "c88f5ec6-5f2c-4136-b79c-cde9cf2f94b2" + ], + "Left": 494.59760635461583, + "Top": -18.152967054830697, + "Width": 316.99153250487558, + "Height": 252.61441958155388, + "FontSize": 36.0, + "InitialTop": 78.3470329451693, + "InitialHeight": 237.11441958155388, + "TextblockHeight": 86.5, + "Background": "#FF71C6A8" + }, + { + "Id": "28403e4d-c8a8-436c-92c6-ed700b68b307", + "Title": "Response itself, no metadata available", + "Nodes": [ + "0f3c1307-221d-4032-8f4d-5bd18cc55c5e" + ], + "Left": 1554.3878658658, + "Top": -185.30476684028554, + "Width": 148.34333333333333, + "Height": 378.0, + "FontSize": 36.0, + "InitialTop": 83.695233159714462, + "InitialHeight": 145.0, + "TextblockHeight": 259.0, + "Background": "#FFFFAA45" + } + ], + "X": 161.63232711838214, + "Y": 98.91423907247983, + "Zoom": 0.41171283793262081 + } +} \ No newline at end of file