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

[Preview] AI Integration: Refactors code to make request object available in response object #3261

Merged
merged 16 commits into from
Jun 20, 2022

Conversation

sourabh1007
Copy link
Contributor

@sourabh1007 sourabh1007 commented Jun 10, 2022

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 sure OpenTelemetryResponse has all the information from the SDK response.

There are 2 kind of SDK responses:

  1. ResponseMessage => it already has request information
  2. Response => As part of this PR adding request information all the response of this type of class.

Type of change

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

Closing issues

To automatically close an issue: closes #IssueNumber

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|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.

@sourabh1007 sourabh1007 changed the title [Draft] AI Integration: Emit attributes for Point operations [Draft] AI Integration: Refactors code to make request Object available in Response Object Jun 13, 2022
@sourabh1007 sourabh1007 requested a review from khdang as a code owner June 13, 2022 16:53
@sourabh1007 sourabh1007 changed the title [Draft] AI Integration: Refactors code to make request Object available in Response Object [Draft] AI Integration: Refactors code to make request object available in response object Jun 13, 2022
@sourabh1007 sourabh1007 changed the title [Draft] AI Integration: Refactors code to make request object available in response object AI Integration: Refactors code to make request object available in response object Jun 13, 2022
@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/pointopappinsight branch from 722856b to dc5bad8 Compare June 15, 2022 09:12
@sourabh1007 sourabh1007 changed the title AI Integration: Refactors code to make request object available in response object [Preview] AI Integration: Refactors code to make request object available in response object Jun 15, 2022
@sourabh1007 sourabh1007 self-assigned this Jun 15, 2022
@ealsur ealsur dismissed github-actions’s stale review June 20, 2022 17:27

Bot not detecting change

@ealsur ealsur merged commit 8a4cf53 into master Jun 20, 2022
@ealsur ealsur deleted the users/sourabhjain/pointopappinsight branch June 20, 2022 17:27
kirankumarkolli pushed a commit that referenced this pull request Jun 21, 2022
…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 <sourabhjain@microsoft.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants