What changed?
Introduce the following methods to the WorkflowRegistry and ActivityRegistry interfaces:
GetRegisteredWorkflows
GetWorkflowAlias
GetWorkflowFn
GetRegisteredActivities
GetActivityAlias
GetActivityFn
The logic already exists in the internal implementation of the registry but not exposed to the public API.
Also implement these methods for WorkflowReplayer and WorkflowShadower.
Update unit tests so that they now call the top level methods.
Why?
To expose on Uber internal debug page
How did you test it?
Unit tests
Tested on staging environment
Potential risks
Worst case: these methods return unexpected result
What changed? Introduce the following methods to the WorkflowRegistry and ActivityRegistry interfaces:
The logic already exists in the internal implementation of the registry but not exposed to the public API. Also implement these methods for WorkflowReplayer and WorkflowShadower. Update unit tests so that they now call the top level methods.
Why? To expose on Uber internal debug page
How did you test it? Unit tests Tested on staging environment
Potential risks Worst case: these methods return unexpected result