dsl

command
v0.0.0-...-df6f7bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

README

This sample demonstrates how to implement a DSL workflow. In this sample, we provide 2 sample yaml files each defines a custom workflow that can be processed by this dsl workflow sample code.

Steps to run this sample:

  1. You need a cadence service running. See cmd/samples/README.md for more details.
  2. Run "./bin/dsl -m worker" to start workers for dsl workflow.
  3. Run "./bin/dsl -dslConfig cmd/samples/dsl/workflow1.yaml" to submit start request for workflow defined in workflow1.yaml file.

Next:

  1. You can replace the dslConfig to workflow2.yaml to see the result.
  2. You can also write your own yaml config to play with it.
  3. You can replace the dummy activities to your own real activities to build real workflow based on this simple dsl workflow.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL