From 7297e37643f7be5eacd597538eff868f96230314 Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 11:26:33 +0400 Subject: [PATCH 01/13] Update introduction.md --- docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/introduction.md b/docs/introduction.md index 9e8e8960..dc3836bb 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -22,7 +22,7 @@ Conductor is a platform originally developed at Netflix to orchestrate workflows * Tasks can be system managed (no-code deployment) or your [custom code](how-tos/Workers/write-workers) * Tasks are managed by persistent task queues transparent to users * Custom code tasks can be written in any language and can connect to a workflow using the [client SDKs](how-tos/SDKs) -* Tasks can be run like a programming language, i.e., [sub workflows](docs/reference-docs/sub-workflow-task), step-by-step, [parallel tasks](reference-docs/fork-task), [conditional tasks](reference-docs/switch-task), [dynamic tasks](reference-docs/dynamic-fork-task), etc. [are supported](reference-docs) +* Tasks can be run like a programming language, i.e., [sub workflows](reference-docs/sub-workflow-task), step-by-step, [parallel tasks](reference-docs/fork-task), [conditional tasks](reference-docs/switch-task), [dynamic tasks](reference-docs/dynamic-fork-task), etc. [are supported](reference-docs)

adding a secret via UI

From 69d8b7968e4a855ea8bc999cbfdc056d431fdc13 Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 11:47:45 +0400 Subject: [PATCH 02/13] Update creating-tasks.md --- docs/how-tos/Tasks/creating-tasks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-tos/Tasks/creating-tasks.md b/docs/how-tos/Tasks/creating-tasks.md index b2ad3430..4bf5191c 100644 --- a/docs/how-tos/Tasks/creating-tasks.md +++ b/docs/how-tos/Tasks/creating-tasks.md @@ -142,6 +142,6 @@ fetch("http://localhost:8080/api/metadata/taskdefs", { ## Best Practices 1. You can update a set of tasks together in this API -2. Task configurations are important attributes that controls the behavior of this task in a Workflow. Refer to [Task Configurations](/content/docs/how-tos/task-configurations) for all the options and details' +2. Task configurations are important attributes that controls the behavior of this task in a Workflow. 3. You can also use the Conductor Swagger UI to update the tasks From 07a5df586b0310663874fc20798a818e2a78aa93 Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 11:48:43 +0400 Subject: [PATCH 03/13] Update updating-tasks.md --- docs/how-tos/Tasks/updating-tasks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-tos/Tasks/updating-tasks.md b/docs/how-tos/Tasks/updating-tasks.md index 13cb7e52..26a86af3 100644 --- a/docs/how-tos/Tasks/updating-tasks.md +++ b/docs/how-tos/Tasks/updating-tasks.md @@ -38,4 +38,4 @@ fetch("http://localhost:8080/api/metadata/taskdefs", { ## Best Practices 1. You can also use the Conductor Swagger UI to update the tasks -2. Task configurations are important attributes that controls the behavior of this task in a Workflow. Refer to [Task Configurations](/content/docs/how-tos/task-configurations) for all the options and details' +2. Task configurations are important attributes that controls the behavior of this task in a Workflow. From aa7c1c007378c4e4b907dec4b1641d8020ffbe0c Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 12:04:58 +0400 Subject: [PATCH 04/13] Update helloworld.md --- docs/codelab/helloworld.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/codelab/helloworld.md b/docs/codelab/helloworld.md index 1c8fed06..c3a29869 100644 --- a/docs/codelab/helloworld.md +++ b/docs/codelab/helloworld.md @@ -33,7 +33,7 @@ ON completion of the codelab, the final Hello World workflow looks a lot more co ## Requirements -This demo will use the Orkes [Conductor playground](https://play.orkes.io) to run the workflow. Create an account for free by signing up with an email address or Google account. Alternatively, the open source Conductor [installed locally](/docs/getting-started/install/running-locally) can also be used, using the API to add Tasks and Workflows. The UI in the Playground screenshots will be otherwise similar. +This demo will use the Orkes [Conductor playground](https://play.orkes.io) to run the workflow. Create an account for free by signing up with an email address or Google account. Alternatively, the open source Conductor [installed locally](/docs/getting-started/install/running-locally-docker) can also be used, using the API to add Tasks and Workflows. The UI in the Playground screenshots will be otherwise similar. To run the Java worker, Java must be installed on yur local computer. From e9cbe25fe76d42b51cc8de746fef8a7085de0900 Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 12:15:51 +0400 Subject: [PATCH 05/13] 404 fix --- docs/codelab/beginner.md | 2 +- docs/codelab/orderfulfillment.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/codelab/beginner.md b/docs/codelab/beginner.md index 539c7e41..4ee7a93f 100644 --- a/docs/codelab/beginner.md +++ b/docs/codelab/beginner.md @@ -12,7 +12,7 @@ Let's create a simple workflow that adds Netflix Idents to videos. We'll be mock !!!info "What are Netflix Idents?" Netflix Idents are those 4 second videos with Netflix logo, which appears at the beginning and end of shows. - Learn more about them [here](https://partnerhelp.netflixstudios.com/hc/en-us/articles/115004750187-Master-QC-Identifying-and-Implementing-the-Netflix-Ident-). You might have also noticed they're different for Animation and several other genres. + Learn more about them [here](https://partnerhelp.netflixstudios.com/hc/en-us/articles/1500000260302-Overview-of-the-Netflix-Idents). You might have also noticed they're different for Animation and several other genres. !!!warning "Disclaimer" Obviously, this is not how Netflix adds Idents. Those Workflows are indeed very complex. But, it should give you an idea about how Conductor can be used to implement similar features. diff --git a/docs/codelab/orderfulfillment.md b/docs/codelab/orderfulfillment.md index a64e6059..c1adf9a8 100644 --- a/docs/codelab/orderfulfillment.md +++ b/docs/codelab/orderfulfillment.md @@ -29,7 +29,7 @@ In this codelab, we'll follow your work as you build out a Conductor workflow to ## What you need to complete this codelab -You'll need a development environment to edit and run your local workers. To run conductor, we'll use the [Orkes Playground](https://play.orkes.io), which requires an account for use (but it is free!). You can also use any installation of [Conductor](/content/docs/getting-started/install/running-locally) to build your workflow. +You'll need a development environment to edit and run your local workers. To run conductor, we'll use the [Orkes Playground](https://play.orkes.io), which requires an account for use (but it is free!). You can also use any installation of [Conductor](/content/docs/getting-started/install/running-locally-docker) to build your workflow. ## A simple order Fulfillment workflow From 00eaeb19c9e98346d639f10b004d5df36247d3bf Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 12:16:44 +0400 Subject: [PATCH 06/13] Update orderfulfillment4.md --- docs/codelab/orderfulfillment4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/codelab/orderfulfillment4.md b/docs/codelab/orderfulfillment4.md index e4314bb4..ee84ccfc 100644 --- a/docs/codelab/orderfulfillment4.md +++ b/docs/codelab/orderfulfillment4.md @@ -96,7 +96,7 @@ The other thing to note is that with an HTTP task, the ```connectionTimeout``` a Despite the ```connectionTimeout``` and ```readTimeout``` parameters, it can still take over 5 seconds for the heroku instance to spin up (if it has gone dormant). We can build more error handling into this task to prevent our workflow from failing. -The HTTP Task has the ```retrycount``` built in, but let's [extend the task](/content/docs/how-tos/Tasks/extending-system-tasks) with retry values. +The HTTP Task has the ```retrycount``` built in, but let's extend the task with retry values. To do this, we'll define a new task with the same name as our HTTP Task (click "Task Definitions" and then "Define Task"). From b1c028102216e48909d0b8fe192183e74bf366a3 Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 12:17:46 +0400 Subject: [PATCH 07/13] Update orderfulfillment5.md --- docs/codelab/orderfulfillment5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/codelab/orderfulfillment5.md b/docs/codelab/orderfulfillment5.md index a3df5a4a..994841ac 100644 --- a/docs/codelab/orderfulfillment5.md +++ b/docs/codelab/orderfulfillment5.md @@ -93,7 +93,7 @@ The switch case can evaulate the input in several ways (including running JavaSc } ``` -In this workflow, the switch case is at the end of the workflow, so we'll insert 2 [terminate tasks](https://orkes.io/content/docs/reference-docs/terminate-task0): one for the default case, and one for the failure case. +In this workflow, the switch case is at the end of the workflow, so we'll insert 2 [terminate tasks](https://orkes.io/content/docs/reference-docs/terminate-task): one for the default case, and one for the failure case. ## Terminate task From c4314f4eaa52fa41890b3dbe0eb1240eb3c36d0d Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 12:22:27 +0400 Subject: [PATCH 08/13] Update orderfulfillment6.md --- docs/codelab/orderfulfillment6.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/codelab/orderfulfillment6.md b/docs/codelab/orderfulfillment6.md index 9d627798..5bfd52e0 100644 --- a/docs/codelab/orderfulfillment6.md +++ b/docs/codelab/orderfulfillment6.md @@ -11,7 +11,7 @@ Our workflow creates the labels for multiple shipments - but currently only hand ## Workflow V2 -

adding the do-while loop

+

adding the do-while loop

In order to support drop-shipping while still supporting multiple shipments to a single address, we need to run the ```shipping_loop``` (and the internal ```widget_shipping```) tasks once per address. To do this, we'll utilize the [FORK](/content/docs/reference-docs/fork-task) System task. The Fork task creates a number of parallel task flows thcat can run simultaneously. We'll use a FORK to create address labels for multiple addresses at once. @@ -50,7 +50,7 @@ For space, the 2 forkTasks are left out, but imagine reusing the ```widget_shipp

version 2 regular fork

-Now, this is really great...but with a FORK, the number of 'tines' in the fork are defined at workflow definition. Since the number of addresses will change on each order, we need something more flexible, that can be defined at runtime. Luckily we have that - the [DYNAMIC_FORK](content/docs/reference-docs/dynamic-fork-task). Dynamic forks determine the number of 'tines' at workflow runtime - which is exactly what we need to build our dropshipping application. This will provide the flexibility we need to support dropshipping of Bob's widgets. +Now, this is really great...but with a FORK, the number of 'tines' in the fork are defined at workflow definition. Since the number of addresses will change on each order, we need something more flexible, that can be defined at runtime. Luckily we have that - the [DYNAMIC_FORK](/content/docs/reference-docs/dynamic-fork-task. Dynamic forks determine the number of 'tines' at workflow runtime - which is exactly what we need to build our dropshipping application. This will provide the flexibility we need to support dropshipping of Bob's widgets. But - before we build our dynamic fork, we have a lot of housekeeping to take care of. From c52bbb3ba005cb1c8d763bc745cbb96596b3d41b Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 12:23:45 +0400 Subject: [PATCH 09/13] Update sequentialHTTPtasks.md --- docs/codelab/sequentialHTTPtasks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/codelab/sequentialHTTPtasks.md b/docs/codelab/sequentialHTTPtasks.md index 254ae14a..8f1b31b0 100644 --- a/docs/codelab/sequentialHTTPtasks.md +++ b/docs/codelab/sequentialHTTPtasks.md @@ -25,7 +25,7 @@ The second task can only run with input provided from the first task. ## Codelab Requirements -You'll need a version of Conductor. The images will be based on the [Conductor Playground](https://play.orkes.io), but a [local Conductor instance](/content/docs/getting-started/install/running-locally) works as well. +You'll need a version of Conductor. The images will be based on the [Conductor Playground](https://play.orkes.io), but a [local Conductor instance](/content/docs/getting-started/install/running-locally-docker) works as well. ## Workflow input From 2679966139b7a6de399d286a2b09e2835d7a52be Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 12:25:04 +0400 Subject: [PATCH 10/13] Update sequentialHTTPtasks.md --- docs/codelab/sequentialHTTPtasks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/codelab/sequentialHTTPtasks.md b/docs/codelab/sequentialHTTPtasks.md index 8f1b31b0..e90b52d4 100644 --- a/docs/codelab/sequentialHTTPtasks.md +++ b/docs/codelab/sequentialHTTPtasks.md @@ -174,7 +174,7 @@ The HTTP request system task does not have retry parameters built in by default, } ``` -This tells Conductor to add a ```retryCount: 3```, with a ```"retryDelaySeconds": 5,``` between each attempt. The retry logic is set to ```"retryLogic": "FIXED",``` (but could also be set to ```EXPONENTIAL_BACKOFF```) ([Read more on this](/content/docs/how-tos/Tasks/extending-system-tasks)). +This tells Conductor to add a ```retryCount: 3```, with a ```"retryDelaySeconds": 5,``` between each attempt. The retry logic is set to ```"retryLogic": "FIXED",``` (but could also be set to ```EXPONENTIAL_BACKOFF```). If the timeout is lowered in the HTTP connection (say to 1500ms), this task is much more likely to fail (due to the slow API response time). The task will be attempted 4 times (once and then 3 retries), and if none of the attempts succeed, the workflow will fail after 4 tries. From aac8b7e22a139a5b58c0753f585eb19cc977cb3f Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 12:29:13 +0400 Subject: [PATCH 11/13] Update access-control-applications.md --- docs/getting-started/concepts/access-control-applications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/concepts/access-control-applications.md b/docs/getting-started/concepts/access-control-applications.md index ec684679..103e3489 100644 --- a/docs/getting-started/concepts/access-control-applications.md +++ b/docs/getting-started/concepts/access-control-applications.md @@ -70,7 +70,7 @@ To add a Workflow/Task permission, click the ```+``` at the top of the ```Workf

permission dialog

-> Note: When adding tasks, you can specify a [domain](http://localhost:3000/content/docs/codelab/taskToDomain). This allows you to direct all traffic to a specific instance of a task - without specifying in the API. +> Note: When adding tasks, you can specify a [domain](https://orkes.io/content/docs/codelab/taskToDomain). This allows you to direct all traffic to a specific instance of a task - without specifying in the API. Once all of the workflows and tasks have been added, the table will display the selection. The application below is set for running the [order fulfillment codelab](/content/docs/codelab/orderfulfillment). From 6b3fb724384f7cb850b9e8d1f58726fdd2402b34 Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 12:30:11 +0400 Subject: [PATCH 12/13] Update adding-datadog.md --- docs/Conductor/adding-datadog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Conductor/adding-datadog.md b/docs/Conductor/adding-datadog.md index 3d3b0048..2854b635 100644 --- a/docs/Conductor/adding-datadog.md +++ b/docs/Conductor/adding-datadog.md @@ -9,7 +9,7 @@ There is a Datadog integration in the [Conductor Community](https://github.com/N ## Setting up DataDog -We'll start with the assumption that Conductor is currently running on your system. If not, clone the GitHub repository and get it [running locally](/content/docs/getting-started/install/running-locally). +We'll start with the assumption that Conductor is currently running on your system. If not, clone the GitHub repository and get it [running locally](/content/docs/getting-started/install/running-locally-docker). 1. First, we will add the metrics dependency to the `server/build.gradle` file. From 795d1805b3ba295fab0c9759572dd8925efa2c20 Mon Sep 17 00:00:00 2001 From: RizaFarheen Date: Wed, 7 Dec 2022 12:41:14 +0400 Subject: [PATCH 13/13] Update switch-task.md --- docs/reference-docs/switch-task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference-docs/switch-task.md b/docs/reference-docs/switch-task.md index 04c32ba2..2da099b0 100644 --- a/docs/reference-docs/switch-task.md +++ b/docs/reference-docs/switch-task.md @@ -124,6 +124,6 @@ Here is an example using the `javascript` evaluator type: ``` ### Codelab examples -* [Hello World codelab](http://localhost:3000/content/docs/codelab/helloworld5) using JavaScript Evaluation +* [Hello World codelab](/content/docs/codelab/helloworld5) using JavaScript Evaluation * [Post office Workflows](/content/docs/usecases/US_post_office) Switch handles success and failure mechanisms via `value-param`. * [Document Approval](/content/docs/usecases/document_approvals)