-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Sync-Stack: Tables #33143
Sync-Stack: Tables #33143
Conversation
� Conflicts: � sdk/search/azure-search-documents/CHANGELOG.md
… non-main patch release for Search
…to jairmyree/tables-sync-stack
…to jairmyree/tables-sync-stack
API change check APIView has identified API level changes in this PR and created following API reviews. |
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableAsyncClient.java
Outdated
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Outdated
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Outdated
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClientBuilder.java
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableServiceClient.java
Outdated
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableServiceClient.java
Outdated
Show resolved
Hide resolved
...bles/azure-data-tables/src/main/java/com/azure/data/tables/models/TableSignedIdentifier.java
Outdated
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Outdated
Show resolved
Hide resolved
- Added Synchronous Rest Proxy Context - Added Trailing Context Checkstyle adjustments
You'll need to add this to the PR as well then @jairmyree. |
|
sdk/tables/azure-data-tables/src/test/java/com/azure/data/tables/TableClientTestBase.java
Outdated
Show resolved
Hide resolved
...tables/azure-data-tables/src/test/java/com/azure/data/tables/TableServiceClientTestBase.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have yet to review the batch operations code, but added comments for everything else :)
...ables/azure-data-tables/src/test/java/com/azure/data/tables/TableServiceAsyncClientTest.java
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/test/java/com/azure/data/tables/TableServiceClientTest.java
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/test/java/com/azure/data/tables/TableClientTest.java
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/test/java/com/azure/data/tables/TableAsyncClientTest.java
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableServiceClientBuilder.java
Outdated
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Outdated
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Outdated
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Outdated
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableServiceClient.java
Outdated
Show resolved
Hide resolved
I reviewed the sync |
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sync stack changes lgtm!
Left some comments for code refactoring. (can be addressed in a separate PR).
Make sure to run Live tests before merging the PR.
AzureNamedKeyCredential azureNamedKeyCredential = TableSasUtils.extractNamedKeyCredential(getHttpPipeline()); | ||
|
||
if (azureNamedKeyCredential == null) { | ||
throw logger.logExceptionAsError(new IllegalStateException("Cannot generate a SAS token with a client that" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider putting these strings into util.Constants so they can be shared with asyn client.
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Show resolved
Hide resolved
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java
Show resolved
Hide resolved
/azp run java - tables - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - tables - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Introducing a fully synchronous implementation of the Tables synchronous clients, replacing the sync-over-asynchronous implementation.
Includes test improvements and updated code generation to fix failing live tests for both synchronous and asynchronous clients.