feat: Introduce 11 new events for Azure API Management in Azure Event Grid system topic#20871
feat: Introduce 11 new events for Azure API Management in Azure Event Grid system topic#20871tomkerkhove wants to merge 5 commits intoAzure:mainfrom
Conversation
… Grid system topic Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
|
Hi, @tomkerkhove Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com |
Swagger Validation Report
|
| compared swaggers (via Oad v0.9.7)] | new version | base version |
|---|---|---|
| APIManagement.json | 2018-01-01(ef8f1f7) | 2018-01-01(main) |
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️❌LintDiff: 2 Errors, 0 Warnings failed [Detail]
[must fix]The following errors/warnings are introduced by current PR:
| Rule | Message | Related RPC [For API reviewers] |
|---|---|---|
AutoRest exception |
"location":"specification/eventgrid/data-plane/readme.md", "tag":"package-2018-01", "details":"swagger-document/individual/schema-validator - FAILED" |
|
AutoRest exception |
"location":"specification/eventgrid/data-plane/readme.md", "tag":"package-2018-01", "details":"Error: [OperationAbortedException] Error occurred. Exiting." |
️❌Avocado: 22 Errors, 0 Warnings failed [Detail]
️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
️️✔️~[Staging] ServiceAPIReadinessTest succeeded [Detail] [Expand]
Validation passes for ServiceAPIReadinessTest.
️️✔️~[Staging] TrafficValidation succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️SDK Track2 Validation succeeded [Detail] [Expand]
Validation passes for SDKTrack2Validation
- The following tags are being changed in this PR
- "https://github.com/Azure/azure-rest-api-specs/blob/ef8f1f7a195dbbe2b6bd64b114a89077e0c78243/specification/eventgrid/data-plane/readme.md#tag-package-2018-01">eventgrid/data-plane/readme.md#package-2018-01
️️✔️PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
|
|
Swagger pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment. |
|
Hi @tomkerkhove, Your PR has some issues. Please fix the CI sequentially by following the order of
|
Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
|
I'm not sure how to fix the remaining validation failures to be honest |
| } | ||
| } | ||
| }, | ||
| "ApiManagementSelfHostedGatewayCreatedEventData": { |
There was a problem hiding this comment.
These event names are pretty long. Could we possibly remove "SelfHosted"?
There was a problem hiding this comment.
Not really as this event is solely aimed for our self-hosted gateway.
Here's a full list of all events:
- Microsoft.ApiManagement.SelfHostedGateway.Created
- Microsoft.ApiManagement.SelfHostedGateway.Updated
- Microsoft.ApiManagement.SelfHostedGateway.Deleted
- Microsoft.ApiManagement.SelfHostedGateway.HostnameConfiguration.Created
- Microsoft.ApiManagement.SelfHostedGateway.HostnameConfiguration.Updated
- Microsoft.ApiManagement.SelfHostedGateway.HostnameConfiguration.Deleted
- Microsoft.ApiManagement.SelfHostedGateway.CertificateAuthority.Created
- Microsoft.ApiManagement.SelfHostedGateway.CertificateAuthority.Updated
- Microsoft.ApiManagement.SelfHostedGateway.CertificateAuthority.Deleted
- Microsoft.ApiManagement.SelfHostedGateway.API.Added
- Microsoft.ApiManagement.SelfHostedGateway.API.Removed
There was a problem hiding this comment.
Do you anticipate there being similar events for the managed gateway at some point?
There was a problem hiding this comment.
I'd like to have this freedom, yet. Our ARM resource is big and these events are coming from https://learn.microsoft.com/en-us/azure/templates/microsoft.apimanagement/service/gateways/apis?pivots=deployment-language-bicep and related sub resources.
Our managed gateway also has custom hostname support as well as CAs.
There was a problem hiding this comment.
As part of our product we always make a distinction
Event Grid IcM: https://portal.microsofticm.com/imp/v3/incidents/details/337589116/home
Data Plane API - Pull Request
API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your engagement record.
Is this review for (select one):
Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified.
Please share a link to the design document for the new APIs, a link to the previous Open API document (swagger) if applicable, and the root paths that have been updated.
❔Got questions? Need additional info?? We are here to help!
Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.
Click here for links to tools, specs, guidelines & other good stuff
Tooling
Guidelines & Specifications
Helpful Links