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

[AppConfig] Support monitor page changes by page etag #34346

Merged
merged 24 commits into from
Mar 15, 2024

Conversation

YalinLi0312
Copy link
Member

@YalinLi0312 YalinLi0312 commented Feb 16, 2024

This PR includes:

  • Enable to monitor page changes via send_request()
  • Enable to get page_etag which lives in response header through custom iterator.

@YalinLi0312 YalinLi0312 added the App Configuration Azure.ApplicationModel.Configuration label Feb 16, 2024
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-appconfiguration

@YalinLi0312 YalinLi0312 marked this pull request as ready for review March 7, 2024 02:48
@YalinLi0312 YalinLi0312 merged commit 9c4e540 into Azure:main Mar 15, 2024
17 checks passed
@YalinLi0312 YalinLi0312 deleted the yall-appconfig-etag branch March 15, 2024 03:10
index += 1
while continuation_token:
request = HttpRequest(
method="GET", url=f"{continuation_token}", headers={"If-None-Match": page_etags[index]}
Copy link
Member

Choose a reason for hiding this comment

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

Is there no way to do this in the SDK?

Copy link
Member

Choose a reason for hiding this comment

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

@mrm9084 : Commenting on a PR that was closed out 8 months ago is probably not the most efficient path for a question. I'd suggest starting an email thread and adding detail around the end-to-end scenario that you're interested in.

Copy link
Member

Choose a reason for hiding this comment

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

I was using this a link to the line that I was looking at to send to Yalin.

Copy link
Member

Choose a reason for hiding this comment

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

This feature is in all of the other SDKs, I'm trying to figure out why not python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Configuration Azure.ApplicationModel.Configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants