uber-go / cadence-client

Framework for authoring workflows and activities running on top of the Cadence orchestration engine.
https://cadenceworkflow.io
MIT License
339 stars 128 forks source link

Change registry Apis signature to return info interface #1355

Closed ketsiambaku closed 1 week ago

ketsiambaku commented 1 week ago

Detailed Description [In-depth description of the changes made to the interfaces, specifying new fields, removed fields, or modified data structures]

Change in signature on the following WorkflowRegistry methods: GetWorkflowFunc GetRegisteredWorkflows

the two methods are combined into one where GetRegisteredWorkflows now returns an RegistryInfo interface. The info interface exposes methods to retrieve the function and workflow info.

The same goes for the ActivityRegistry methods: GetActivityFunc GetRegisteredActivities

Impact Analysis

Testing Plan

Rollout Plan