Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table: Unify the creation of Batch and single op requests #56

Closed
jcookems opened this issue Apr 24, 2012 · 2 comments
Closed

Table: Unify the creation of Batch and single op requests #56

jcookems opened this issue Apr 24, 2012 · 2 comments
Milestone

Comments

@jcookems
Copy link
Contributor

The REST request for a single table operation (for example, updateEntity) should be the same as the MIME part of a batch request containing the same operation.

However, the current Table service implementation had two separate code paths for generating those requests:

updateEntity 
-> putOrMergeEntityCore 
    -> (code for building headers and constructing body)
batch(InsertEntityOperation)
-> createBatchRequestBody
    -> createBatchInsertOrUpdateEntityPart
        -> (code for building headers and constructing body)

To simplify the code, reduce maintenance costs, and ensure consistency between single ops and batch, both code paths should end up in the same function.

joostdenijs pushed a commit to joostdenijs/azure-sdk-for-java that referenced this issue Jan 18, 2013
Encryption integration test
@gcheng
Copy link

gcheng commented Feb 21, 2013

this part is actually odata.

@gcheng
Copy link

gcheng commented Feb 21, 2013

at the time of updating these methods, will may do them. close for now.

@gcheng gcheng closed this as completed Feb 21, 2013
jianghaolu pushed a commit to jianghaolu/azure-sdk-for-java that referenced this issue Apr 5, 2017
Encryption integration test
lenala pushed a commit to lenala/azure-sdk-for-java that referenced this issue Nov 16, 2018
g2vinay pushed a commit to g2vinay/azure-sdk-for-java that referenced this issue Mar 4, 2019
navalev pushed a commit to navalev/azure-sdk-for-java that referenced this issue Dec 24, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants