-
Notifications
You must be signed in to change notification settings - Fork 498
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
[Preview] AI Integration: Refactors code to make request object available in response object #3261
Conversation
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.
Please follow the required format: "[Internal] Category: (Adds|Fixes|Refactors|Removes) Description"
Internal should be used for PRs that have no customer impact. This flag is used to help generate the changelog to know which PRs should be included. 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.
Microsoft.Azure.Cosmos/src/Resource/ClientEncryptionKey/ClientEncryptionKeyResponse.cs
Outdated
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/Resource/ClientEncryptionKey/ClientEncryptionKeyResponse.cs
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryResponse{T}.cs
Outdated
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryResponse.cs
Outdated
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/ChangeFeedProcessor/ChangeFeedEstimatorIterator.cs
Outdated
Show resolved
Hide resolved
722856b
to
dc5bad8
Compare
…able in response object (#3261) * open telemetry response support generics * typo * Include request object in response object * code refactor * add null check and make changes in encryption file * fix contract * code refactor * review pkg error for encryption * override at one more place * revert to public * contract changes * remove request message from readMany API * update documentation * requestMessage as internal * contract changes Co-authored-by: Sourabh Jain <[email protected]> Co-authored-by: Matias Quaranta <[email protected]>
Description
As part of this PR,
OpenTelemetryResponseCore
has been created which is a parent of any kind of response in SDK. and 2 new Implementation classes are also added to make sureOpenTelemetryResponse
has all the information from the SDK response.There are 2 kind of SDK responses:
Type of change
Closing issues
To automatically close an issue: closes #IssueNumber