Skip to content

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

Merged
YalinLi0312 merged 24 commits into
Azure:mainfrom
YalinLi0312:yall-appconfig-etag
Mar 15, 2024
Merged

[AppConfig] Support monitor page changes by page etag#34346
YalinLi0312 merged 24 commits into
Azure:mainfrom
YalinLi0312:yall-appconfig-etag

Conversation

@YalinLi0312
Copy link
Copy Markdown

@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
Copy Markdown
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
Comment thread sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_models.py Outdated
Comment thread sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md
Comment thread sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_models.py Outdated
Comment thread sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_models.py Outdated
Comment thread sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md Outdated
@YalinLi0312 YalinLi0312 merged commit 9c4e540 into Azure:main Mar 15, 2024
@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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