Add new events for Storage StorageTasks#23280
Conversation
|
Hi, @shulinwang33 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.10.4)] | new version | base version |
|---|---|---|
| Storage.json | 2018-01-01(24105eb) | 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 succeeded [Detail] [Expand]
Validation passes for LintDiff.
| compared tags (via openapi-validator v2.0.0) | new version | base version |
|---|---|---|
| package-2018-01 | package-2018-01(24105eb) | package-2018-01(main) |
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]
API Test is not triggered due to precheck failure. Check pipeline log for details.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️CadlAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView 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.
️️✔️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.
️️✔️TypeSpec Validation succeeded [Detail] [Expand]
Validation passes for TypeSpec Validation.
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
|
|
Thank you for your contribution shulinwang33! We will review the pull request and get back to you soon. |
specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
Outdated
Show resolved
Hide resolved
|
Please add examples for the new events. |
Sample event in production as of today (no customer information) { "topic":"/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/shulin- rg/providers/Microsoft.Storage/storageAccounts/shulinstcanest2", "subject":"DataManagement/StorageTasks", "eventType":"Microsoft.Storage.StorageTaskQueued", "id":"7fddaf06-24e8-4d57-9b66-5b7ab920a626", "data":{ "queuedDateTime":"2023-03-23T16:43:50Z", "taskExecutionId":"deletetest-2023-03-23T16:42:33.8658256Z_2023-03-23T16:42:58.8983000Z" }, "dataVersion":"1.0", "metadataVersion":"1", "eventTime": "2023-03-23T16:43:50Z" } { "topic":"/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/shulin-rg/providers/Microsoft.Storage/storageAccounts/shulinstcanest2", "subject":"DataManagement/StorageTasks", "eventType":"Microsoft.Storage.StorageTaskCompleted", "id":"b34b3b93-a64d-41ea-aba4-d55f2d29190b", "data":{ "status":"Succeeded", "completedDateTime":"2023-03-23T16:52:58Z", "taskExecutionId":"deletetest-2023-03-23T16:42:33.8658256Z_2023-03-23T16:42:58.8983000Z", "taskName":"delete123", "summaryReportBlobUrl":"https://shulinstcanest2.blob.core.windows.net/report/delete123_deletetest_2023-03-23T16:43:50/SummaryReport.json" }, "dataVersion":"1.0", "metadataVersion":"1", "eventTime":"2023-03-23T16:52:58Z" } |
Can you please add the examples as discussed here - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventgrid/data-plane#guidelines-for-defining-a-new-event |
|
Hi @shulinwang33, Your PR has some issues. Please fix the CI sequentially by following the order of
|
specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
Show resolved
Hide resolved
specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
Show resolved
Hide resolved
specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
Outdated
Show resolved
Hide resolved
…18-01-01/Storage.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
@microsoft-github-policy-service agree company="Microsoft" |
* Add new events for Storage StorageTasks * Create storage_task_queued.json * Create storage_task_completed.json * Add files via upload * Add files via upload * Update storage_task_queued.json * Update storage_task_completed.json * Update Storage.json * Update Storage.json * Update Storage.json * Update specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update example ref --------- Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
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