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

[Azure Event Grid] Adding new public preview api version for new data-plane operations, release with delay and renew lock operations #25421

Merged
merged 20 commits into from
Oct 20, 2023

Renaming Delay to ReleaseDelay

b0d62af
Select commit
Loading
Failed to load commit list.
Merged

[Azure Event Grid] Adding new public preview api version for new data-plane operations, release with delay and renew lock operations #25421

Renaming Delay to ReleaseDelay
b0d62af
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Breaking Change(Cross-Version) failed Oct 20, 2023 in 4m 20s

Breaking Change(Cross-Version) failed

CrossVersionBreakingChange: 1 Errors, 13 Warnings
View more details.

Details

compared swaggers (via Oad v0.10.4)] new version base version
EventGrid.json 2023-10-01-preview(b0d62af) 2023-06-01-preview(main)

The following breaking changes are detected by comparison with the latest stable version:

Rule Message
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/b0d62af46aa1ff9d0d45254d0093e53c92f0d4e0/specification/eventgrid/data-plane/Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.61/common/temp/node_modules/.pnpm/@Azure+oad@0.10.4/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/cross-version-c93b354fd9c14905bb574a8834c4d69b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp
--------------------
2: ERROR: Schema violation: Additional properties not allowed: ?overload=customEvent,
?overload=cloudEvent,
?overload=EventGridEvent
--------------------
3: - file:///mnt/vss/_work/1/cross-version-c93b354fd9c14905bb574a8834c4d69b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json:33:2 ($["x-ms-paths"])
--------------------
4: FATAL: swagger-document/individual/schema-validator - FAILED
--------------------
5: FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
--------------------
6: Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
--------------------"


The following breaking changes are detected by comparison with the latest preview version:

Rule Message
⚠️ 1009 - RemovedRequiredParameter The required parameter 'lockTokens' was removed in the new version.
Old: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L205:11
⚠️ 1009 - RemovedRequiredParameter The required parameter 'lockTokens' was removed in the new version.
Old: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L264:11
⚠️ 1009 - RemovedRequiredParameter The required parameter 'lockTokens' was removed in the new version.
Old: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L323:11
⚠️ 1010 - AddingRequiredParameter The required parameter 'acknowledgeOptions' was added in the new version.
New: Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json#L205:11
⚠️ 1010 - AddingRequiredParameter The required parameter 'releaseOptions' was added in the new version.
New: Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json#L309:11
⚠️ 1010 - AddingRequiredParameter The required parameter 'rejectOptions' was added in the new version.
New: Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json#L368:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'errorCode' renamed or removed?
New: Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json#L643:7
Old: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L539:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'errorDescription' renamed or removed?
New: Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json#L643:7
Old: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L539:7
⚠️ 1034 - AddedRequiredProperty The new version has new required property 'error' that was not found in the old version.
New: Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json#L643:7
Old: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L539:7
⚠️ 1034 - AddedRequiredProperty The new version has new required property 'error' that was not found in the old version.
New: Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json#L489:11
Old: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L385:11
⚠️ 1034 - AddedRequiredProperty The new version has new required property 'error' that was not found in the old version.
New: Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json#L761:11
Old: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L662:11
⚠️ 1034 - AddedRequiredProperty The new version has new required property 'error' that was not found in the old version.
New: Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json#L720:11
Old: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L621:11
⚠️ 1034 - AddedRequiredProperty The new version has new required property 'error' that was not found in the old version.
New: Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json#L640:5
Old: Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json#L536:5
💬 1038 - AddedPath The new version is adding a path that was not found in the old version.
New: Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json#L405:5
💬 1043 - AddingOptionalParameter The optional parameter 'releaseDelayInSeconds' was added in the new version.
New: Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json#L264:11