Skip to content

autokitteh/demodriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published