Skip to content

Conversation

shijiesheng
Copy link
Member

What changed?

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

What changed?

added client entities that maps 1:1 with thrift (generated from a generator)
added BaseError, which is a catchall similar to TException.
added mappers to transform Proto to client entities. (mostly copied from thrift mappers)
added IWorkflowServiceV4 which is exactly same as IWorkflowService except for it's using the client entities.
added WorkflowServiceGrpc that implements the V4 interface
Plan

new V4 interface with new entities < This PR
replace all pointers to V4 in one go (Should be import change only)
Why?

Thrift deprecation work

How did you test it?

Unit Test on mappers from ClientObjects to ProtoObjects
* move com.uber.cadence.entities to com.uber.cadence

* remove thrift entities

* change all imports

* replace IWorkflowService with IWorkflowServiceV4

* fix unit test except for replayer test

* fix replayer test
This reverts commit c639a34.
Signed-off-by: Shijie Sheng <liouvetren@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant