duoertai / iwf-golang-sdk

Golang SDK for iWF engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iWF Golang SDK

Go Reference Go Report Card Coverage Status

Build status

Golang SDK for iWF workflow engine

See samples for how to use this SDK.

Contribution

See contribution guide

Development Plan

1.0

  • Start workflow API
  • Executing start/decide APIs and completing workflow
  • Parallel execution of multiple states
  • Timer command
  • Signal command
  • SearchAttribute
  • DataAttributes
  • StateExecutionLocal
  • Signal workflow API
  • Get workflow result API
  • Search workflow API
  • Describe workflow API
  • Stop workflow API
  • Reset workflow API
  • Command type(s) for inter-state communications (e.g. internal channel)
  • More workflow start options: IdReusePolicy, cron schedule, retry
  • StateOption: Start/Decide API timeout and retry policy
  • Reset workflow by stateId/StateExecutionId
  • More workflow start options: initial search attributes

1.1

  • Skip timer API for testing/operation
  • Decider trigger type: any command combination

1.2

  • API improvements to reduce boilerplate code

1.3

  • Support failing workflow with results
  • Improve workflow uncompleted error return(canceled, failed, timeout, terminated)

1.4

  • Renaming some concepts/APIs with breaking changes(see release notes)
  • Support workflow RPC
  • PARTIAL_WITH_EXCLUSIVE_LOCK persistence loading type

About

Golang SDK for iWF engine

License:Apache License 2.0


Languages

Language:Go 94.3%Language:Makefile 3.7%Language:Shell 2.1%