Skip to content

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?


app.get("/customization/lro/raw", "GetRawLROFinalResult", (req) => {
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