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

Update LRO related test case #371

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

haolingdong-msft
Copy link
Member

@haolingdong-msft haolingdong-msft commented Mar 17, 2022

Change:

  1. add LRO related calls for "/customization/lro/{mode}". Use this pattern https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#long-running-operations-with-status-monitor as DefaultPollingStrategy only supports this pattern.

@haolingdong-msft haolingdong-msft self-assigned this Mar 17, 2022

app.get("/customization/lro/raw/operationResults/1", "GetRawLROResult", (req) => {
return {
status: 202,

Choose a reason for hiding this comment

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

should be 200?

return {
status: 202,

Choose a reason for hiding this comment

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

200?

Comment on lines +103 to +108
"headers": {
"Operation-Location": {
"description": "Location to poll for final status: will be set to /customization/lro/{mode}/operationResults/1",
"type": "string"
}
},

Choose a reason for hiding this comment

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

not sure whether this is required or not, as API is defined as LRO.

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

Successfully merging this pull request may close these issues.

2 participants