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

Batch API: Adds Session token support #1870

Merged
merged 20 commits into from
Feb 12, 2021
Merged

Conversation

rakkuma
Copy link
Contributor

@rakkuma rakkuma commented Sep 23, 2020

Session token support for transactional batch

Description

This adds support for passing session token for transactional Batch. In TransactionalBatchRequestOptions new option namely SessionToken is added.

Type of change

  • [] New feature (non-breaking change which adds functionality)

Closing issues

To automatically close an issue: closes #1567

Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow the required format: "[Internal] Category: (Adds|Fixes|Refactors) Description"

Examples:
Diagnostics: Adds GetElapsedClientLatency to CosmosDiagnostics
PartitionKey: Fixes null reference when using default(PartitionKey)
[v4] Client Encryption: Refactors code to external project
[Internal] Query: Adds code generator for CosmosNumbers for easy additions in the future.

@rakkuma rakkuma changed the title Session token support for transactional batch Batch API: Adds Session token support Sep 23, 2020
Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
Copy link
Member

@ealsur ealsur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting on the response to the behavior for the end user

@kirankumarkolli
Copy link
Member

Please resolve all comments

ealsur
ealsur previously approved these changes Sep 28, 2020
Copy link
Member

@ealsur ealsur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments for text/links updates

Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
@rakkuma rakkuma dismissed stale reviews from ealsur and kirankumarkolli via c48272e September 29, 2020 06:37
Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
j82w
j82w previously approved these changes Oct 8, 2020
abhijitpai
abhijitpai previously approved these changes Oct 8, 2020
@ealsur
Copy link
Member

ealsur commented Oct 16, 2020

@rakkuma Can you fix the Emulator tests that are failing? They are throwing NullReferenceException

@rakkuma rakkuma dismissed stale reviews from abhijitpai and j82w via 8ebbaae October 19, 2020 09:49
@rakkuma rakkuma force-pushed the users/rakkuma/batch-session-token branch from f3b8f35 to a32289b Compare October 19, 2020 15:16
@rakkuma
Copy link
Contributor Author

rakkuma commented Oct 19, 2020

The change which enable few test cases are in 0901. So until the next emulator is built, we can wait. The current is build out of 0815.

Copy link
Member

@ealsur ealsur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please get a signoff from @kirankumarkolli due to the public API change

@ghost
Copy link

ghost commented Dec 15, 2021

Closing due to in-activity, pease feel free to re-open.

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.

Session token and transactional batch
6 participants