Skip to content

Latest commit

 

History

History

service-workflow

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Service Workflow Demo

This demo shows an Activity that invokes a translation microservice, accessible via HTTP, to provide a Spanish greeting for the specified name.

Before continuing, kill all Worker instances still running from previous exercises.

Run the Workflow

Since this Workflow depends on the translation microservice, start that first by running this command in a terminal window:

$ python microservice.py

Next, use a separate terminal window to start the Worker:

$ python worker.py

Finally, use another terminal window to start the Workflow, using the supplied code, specifying your name as input.

$ python starter.py Donna

This is the end of the demo