Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temporal Demo Driver

$ make bin
$ ./bin/dd

Default port is 9001.

Configuration

Triggers path

DD_DRIVER_TRIGGERSPATH="examples/triggers.yaml"
-- triggers.yaml --
http:
  src: http
  qname: q
  wtype: w4

slack:
  src: slack
  qname: q
  wtype: w4

Slack source

DD_SLACKSOURCE_BOTTOKEN="xoxb-...."
DD_SLACKSOURCE_APPTOKEN="xapp-..."

API

Post this form the workflow:

POST host:9001/api/signals
{
     "name": "signal name",
     "wid": "temporal workflow id to receive signal",
     "src": "slack|http",
     "filter": "..."
}

And when a matching event is received by source, DD will signsl the workflow with the trigger name and the event data.

About

Temporal Demo Driver

Topics

Resources

Code of conduct

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages