[GOBBLIN-211] Implement new salesforce writer
Overview
An async salesforce writer built on top of the async http writer framework. Old suite of HttpWriter and SalesforceRestWriter are marked as deprecated.
Auth
OAuthAccessToken provides a standard way to authenticate using OAuth. SalesforceAuth is a OAuthAccessToken with specific way to extract information from config.
Client
ApacheClient provides a standard way to send apache HttpUriRequest and get CloseableHttpResponse. SalesforceClient is a ApacheClient integrated with authentication.
Writer
SalesforceWriterBuilder instantiates SalesforceClient, SalesforceRequestBuilder, SalesforceResponseHandler and plugs them into an instance of AsyncHttpWriter. It builds an AsyncWriterManager that wraps the AsyncHttpWriter instance.
Issue: https://issues.apache.org/jira/browse/GOBBLIN-36 Please update your PR title with following prefix: [GOBBLIN-36]
@abti @zxcware This seems to be waiting merge and hasn't been released. Any reason why its on hold?
That version was not tested. We have a newer version with single record request tested and plan to make it open source soon.
On Wed, Jan 2, 2019 at 9:52 AM buzzvamsi [email protected] wrote:
@abti https://github.com/abti @zxcware https://github.com/zxcware This seems to be waiting merge and hasn't been released. Any reason why its on hold?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apache/incubator-gobblin/pull/1835#issuecomment-450933179, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPva7mlAA8jQ3yYB3NQAa7u0aojqVkxks5u_PHkgaJpZM4NSM4K .