-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Review request for Microsoft.HealthcareApis to add version stable/2022-12-01 #21620
Review request for Microsoft.HealthcareApis to add version stable/2022-12-01 #21620
Conversation
…022-06-01 to version 2022-12-01
Hi, @jnlycklama 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 |
Hi, @jnlycklama your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com). |
Swagger Validation Report
|
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
healthcare-apis.json | 2022-12-01(0960efa) | 2022-06-01(main) |
healthcare-apis.json | 2022-12-01(0960efa) | 2022-10-01-preview(main) |
The following breaking changes are detected by comparison with the latest stable version:
Rule | Message |
---|---|
1007 - RemovedClientParameter |
The new version is missing a client parameter that was found in the old version. Was 'subscriptionId' removed or renamed? New: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L4117:3 Old: Microsoft.HealthcareApis/stable/2022-06-01/healthcare-apis.json#L4098:3 |
1007 - RemovedClientParameter |
The new version is missing a client parameter that was found in the old version. Was 'apiVersion' removed or renamed? New: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L4117:3 Old: Microsoft.HealthcareApis/stable/2022-06-01/healthcare-apis.json#L4098:3 |
The following breaking changes are detected by comparison with the latest preview version:
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️
LintDiff: 1 Warnings warning [Detail]
compared tags (via openapi-validator v2.0.0) | new version | base version |
---|---|---|
package-2022-12 | package-2022-12(0960efa) | default(main) |
[must fix]The following errors/warnings are introduced by current PR:
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L3829 |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L37 |
CreateOperationAsyncResponseValidation |
An async PUT operation must set long running operation options 'x-ms-long-running-operation-options' Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L78 |
PatchIdentityProperty |
The patch operation body parameter schema should contains property 'identity'. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L162 |
LroPatch202 |
The async patch operation should return 202. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L172 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options' Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L187 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L214 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L355 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L400 |
ResourceNameRestriction |
The resource name parameter 'privateEndpointConnectionName' should be defined with a 'pattern' restriction. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L400 |
CreateOperationAsyncResponseValidation |
An async PUT operation must set long running operation options 'x-ms-long-running-operation-options' Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L444 |
CreateOperationAsyncResponseValidation |
An async PUT operation must return 201. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L476 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options' Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L497 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L524 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L545 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L587 |
ResourceNameRestriction |
The resource name parameter 'groupName' should be defined with a 'pattern' restriction. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L587 |
ResourceNameRestriction |
The resource name parameter 'workspaceName' should be defined with a 'pattern' restriction. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L717 |
CreateOperationAsyncResponseValidation |
An async PUT operation must set long running operation options 'x-ms-long-running-operation-options' Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L758 |
CreateOperationAsyncResponseValidation |
Only 201 is the supported response code for PUT async response. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L806 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L806 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L862 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options' Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L876 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L906 |
ResourceNameRestriction |
The resource name parameter 'workspaceName' should be defined with a 'pattern' restriction. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L921 |
ResourceNameRestriction |
The resource name parameter 'workspaceName' should be defined with a 'pattern' restriction. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L966 |
ResourceNameRestriction |
The resource name parameter 'dicomServiceName' should be defined with a 'pattern' restriction. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L966 |
CreateOperationAsyncResponseValidation |
An async PUT operation must set long running operation options 'x-ms-long-running-operation-options' Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L1010 |
CreateOperationAsyncResponseValidation |
Only 201 is the supported response code for PUT async response. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L1061 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L1061 |
ParametersOrder |
The parameters:resourceGroupName,dicomServiceName,workspaceName should be kept in the same order as they present in the path. Location: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L1075 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ApiReadinessCheck succeeded [Detail] [Expand]
️❌
~[Staging] ServiceAPIReadinessTest: 32 Errors, 0 Warnings failed [Detail]
Tag package-2022-12; Prod region: Deployed
Test run on region: centralindia; Operation coverage: total: 46, untested: 0, failed: 28, passed: 18
Service API Readiness Test failed. Check pipeline artifact for detail report.
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
CLIENT_ERROR |
statusCode: 400, errorCode: BadRequest, errorMessage: WWW-Authenticate header is invalid in response from endpoint https://my-vault.vault.azure.net/keys/my-key. header value: Bearer authorization="https://login.windows.net/974efe84-a7ab-4d1e-9d45-a3ded745a319", resource="https://vault.azure.net" Source: runtime OperationId: Services_CreateOrUpdate |
CLIENT_ERROR |
statusCode: 404, errorCode: ResourceNotFound, errorMessage: The Resource 'Microsoft.HealthcareApis/services/resource3c7ppy' under resource group 'apiTest-oBYoIY-21620' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix Source: runtime OperationId: Services_Get |
CLIENT_ERROR |
statusCode: 404, errorCode: ResourceNotFound, errorMessage: The Resource 'Microsoft.HealthcareApis/services/resource3c7ppy' under resource group 'apiTest-oBYoIY-21620' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix Source: runtime OperationId: Services_Update |
OBJECT_ADDITIONAL_PROPERTIES |
Additional properties not allowed: errorSettings Source: response OperationId: IotConnectors_CreateOrUpdate |
PATTERN |
String does not match pattern ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$: workspacrtmdzz/iotconnen6uhip Source: response OperationId: IotConnectors_CreateOrUpdate |
OBJECT_ADDITIONAL_PROPERTIES |
Additional properties not allowed: errorSettings Source: response OperationId: IotConnectors_ListByWorkspace |
PATTERN |
String does not match pattern ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$: workspacrtmdzz/iotconnen6uhip Source: response OperationId: IotConnectors_ListByWorkspace |
OBJECT_ADDITIONAL_PROPERTIES |
Additional properties not allowed: errorSettings Source: response OperationId: IotConnectors_Get |
PATTERN |
String does not match pattern ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$: workspacrtmdzz/iotconnen6uhip Source: response OperationId: IotConnectors_Get |
OBJECT_ADDITIONAL_PROPERTIES |
Additional properties not allowed: errorSettings Source: response OperationId: IotConnectors_Update |
PATTERN |
String does not match pattern ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$: workspacrtmdzz/iotconnen6uhip Source: response OperationId: IotConnectors_Update |
PATTERN |
String does not match pattern ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$: workspacrtmdzz/fhirservnjirn9 Source: response OperationId: FhirServices_CreateOrUpdate |
PATTERN |
String does not match pattern ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$: workspacrtmdzz/fhirservnjirn9 Source: response OperationId: FhirServices_ListByWorkspace |
PATTERN |
String does not match pattern ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$: workspacrtmdzz/fhirservnjirn9 Source: response OperationId: FhirServices_Get |
PATTERN |
String does not match pattern ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$: workspacrtmdzz/fhirservnjirn9 Source: response OperationId: FhirServices_Update |
PATTERN |
String does not match pattern ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$: workspacrtmdzz/dicomser52ol16 Source: response OperationId: DicomServices_CreateOrUpdate |
PATTERN |
String does not match pattern ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$: workspacrtmdzz/dicomser52ol16 Source: response OperationId: DicomServices_ListByWorkspace |
PATTERN |
String does not match pattern ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$: workspacrtmdzz/dicomser52ol16 Source: response OperationId: DicomServices_Get |
PATTERN |
String does not match pattern ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$: workspacrtmdzz/dicomser52ol16 Source: response OperationId: DicomServices_Update |
CLIENT_ERROR |
statusCode: 400, errorCode: BadRequest, errorMessage: Private Endpoint Connection in request contains null or empty Id. Source: runtime OperationId: WorkspacePrivateEndpointConnections_CreateOrUpdate |
CLIENT_ERROR |
statusCode: 404, errorCode: NotFound, errorMessage: Private Endpoint Connection in request is null. Source: runtime OperationId: WorkspacePrivateEndpointConnections_Get |
CLIENT_ERROR |
statusCode: 400, errorCode: BadRequest, errorMessage: The fhirServiceResourceId property must be a resource id for a FHIR Service in the same workspace. Source: runtime OperationId: IotConnectorFhirDestination_CreateOrUpdate |
CLIENT_ERROR |
statusCode: 404, errorCode: ResourceNotFound, errorMessage: The resource with identifier '/subscriptions/db5eb68e-73e2-4fa8-b18a-46cd1be4cce5/resourceGroups/apiTest-oBYoIY-21620/providers/Microsoft.HealthcareApis/workspaces/workspacrtmdzz/iotconnectors/iotconnen6uhip/fhirdestinations/fhirdesttfm39m' is not found. Source: runtime OperationId: IotConnectorFhirDestination_Get |
CLIENT_ERROR |
statusCode: 404, errorCode: ParentResourceNotFound, errorMessage: Can not perform requested operation on nested resource. Parent resource 'resource3c7ppy' not found. Source: runtime OperationId: PrivateEndpointConnections_CreateOrUpdate |
CLIENT_ERROR |
statusCode: 404, errorCode: ParentResourceNotFound, errorMessage: Can not perform requested operation on nested resource. Parent resource 'resource3c7ppy' not found. Source: runtime OperationId: PrivateEndpointConnections_ListByService |
CLIENT_ERROR |
statusCode: 404, errorCode: ParentResourceNotFound, errorMessage: Can not perform requested operation on nested resource. Parent resource 'resource3c7ppy' not found. Source: runtime OperationId: PrivateEndpointConnections_Get |
CLIENT_ERROR |
statusCode: 400, errorCode: NoRegisteredProviderFound, errorMessage: No registered resource provider found for location 'locationim7mv9' and API version '2022-12-01' for type 'locations/operationresults'. The supported api-versions are '2018-08-20-preview, 2019-09-16, 2020-03-15, 2020-03-30, 2020-05-01-preview, 2021-01-11, 2021-06-01-preview, 2021-11-01, 2022-01-31-preview, 2022-05-15, 2022-06-01, 2022-12-01'. The supported locations are 'ukwest, northcentralus, westus2, australiaeast, southeastasia, uksouth, eastus, westeurope, southcentralus, eastus2, northeurope, westcentralus, japaneast, germanywestcentral, canadacentral, southafricanorth, switzerlandnorth, centralindia, westus3, koreacentral, swedencentral, francecentral, qatarcentral'. Source: runtime OperationId: OperationResults_Get |
CLIENT_ERROR |
statusCode: 404, errorCode: ParentResourceNotFound, errorMessage: Can not perform requested operation on nested resource. Parent resource 'resource3c7ppy' not found. Source: runtime OperationId: PrivateLinkResources_ListByService |
CLIENT_ERROR |
statusCode: 404, errorCode: ParentResourceNotFound, errorMessage: Can not perform requested operation on nested resource. Parent resource 'resource3c7ppy' not found. Source: runtime OperationId: PrivateLinkResources_Get |
CLIENT_ERROR |
statusCode: 404, errorCode: ParentResourceNotFound, errorMessage: Can not perform requested operation on nested resource. Parent resource 'resource3c7ppy' not found. Source: runtime OperationId: PrivateEndpointConnections_Delete |
️️✔️
~[Staging] SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
~[Staging] CadlAPIView 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.
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
|
Generated ApiView
|
Hi @jnlycklama, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review. |
Hi, @jnlycklama, For review efficiency consideration, when creating a new api version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki. Or you could onboard API spec pipeline |
…tionGuidesConfig FHIR Implementation Guides configuration
Looking for a sign-off on the changes from the past 2 weeks, after sjanamma approved. Commits to review: Which is these listed commits: |
Not a blocking comment , but consider making this an enum as explained here : https://eng.ms/docs/products/arm/rp_onboarding/process/api_review_best_practices Replace boolean/switch properties with better enum Refers to: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json:3834 in 0960efa. [](commit_id = 0960efa, deletion_comment = False) |
Thank you for the suggestion, @raosuhas. Using enums is something we'll consider in future changes. |
SigningOff the changes after last approval. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Hi @jnlycklama , Ishould not merge this pr with errors of API readiness check, it is great to fix this and could you create a pr to fix this? |
…s to add version stable/2022-12-01 (#2693) Create to sync Azure/azure-rest-api-specs#21620 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...azure-sdk:sdkAuto/healthcareapis?expand=1)
This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
ARM API Information (Control Plane)
Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:
Target is early December.
Ideally ASAP, but also targeting early December
Contribution checklist (MS Employees Only):
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Otherwise your PR may be subject to ARM review requirements. Complete the following:
Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.
If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.