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

Review request for Microsoft.HealthcareApis to add version stable/2022-12-01 #21620

Conversation

jnlycklama
Copy link
Member

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:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.

Target is early December.

  1. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.

Ideally ASAP, but also targeting early December

  1. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

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.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] 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.

@openapi-workflow-bot
Copy link

Hi, @jnlycklama Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

    @openapi-workflow-bot openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Nov 21, 2022
    @openapi-workflow-bot
    Copy link

    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).

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 21, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️❌Breaking Change(Cross-Version): 2 Errors, 14 Warnings failed [Detail]
    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:

    Rule Message
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/analyticsconnectors' removed or restructured?
    Old: Microsoft.HealthcareApis/preview/2022-10-01-preview/healthcare-apis.json#L2202:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/analyticsconnectors/{analyticsConnectorName}' removed or restructured?
    Old: Microsoft.HealthcareApis/preview/2022-10-01-preview/healthcare-apis.json#L2247:5
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyticsConnectorPatchResource' removed or renamed?
    New: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L2281:3
    Old: Microsoft.HealthcareApis/preview/2022-10-01-preview/healthcare-apis.json#L2545:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyticsConnector' removed or renamed?
    New: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L2281:3
    Old: Microsoft.HealthcareApis/preview/2022-10-01-preview/healthcare-apis.json#L2545:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyticsConnectorProperties' removed or renamed?
    New: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L2281:3
    Old: Microsoft.HealthcareApis/preview/2022-10-01-preview/healthcare-apis.json#L2545:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyticsConnectorDataSource' removed or renamed?
    New: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L2281:3
    Old: Microsoft.HealthcareApis/preview/2022-10-01-preview/healthcare-apis.json#L2545:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyticsConnectorFhirServiceDataSource' removed or renamed?
    New: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L2281:3
    Old: Microsoft.HealthcareApis/preview/2022-10-01-preview/healthcare-apis.json#L2545:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyticsConnectorMapping' removed or renamed?
    New: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L2281:3
    Old: Microsoft.HealthcareApis/preview/2022-10-01-preview/healthcare-apis.json#L2545:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyticsConnectorFhirToParquetMapping' removed or renamed?
    New: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L2281:3
    Old: Microsoft.HealthcareApis/preview/2022-10-01-preview/healthcare-apis.json#L2545:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyticsConnectorDataDestination' removed or renamed?
    New: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L2281:3
    Old: Microsoft.HealthcareApis/preview/2022-10-01-preview/healthcare-apis.json#L2545:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyticsConnectorDataLakeDataDestination' removed or renamed?
    New: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L2281:3
    Old: Microsoft.HealthcareApis/preview/2022-10-01-preview/healthcare-apis.json#L2545:3
    ⚠️ 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/preview/2022-10-01-preview/healthcare-apis.json#L4582: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/preview/2022-10-01-preview/healthcare-apis.json#L4582:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'analyticsConnectorName' removed or renamed?
    New: Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json#L4117:3
    Old: Microsoft.HealthcareApis/preview/2022-10-01-preview/healthcare-apis.json#L4582:3
    ️️✔️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]
    ⚠️ EnumInsteadOfBoolean 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.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 21, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-go - sdk/resourcemanager/healthcareapis/armhealthcareapis - Approved - 2.0.0
    +	Type of `IotMappingProperties.Content` has been changed from `interface{}` to `any`
    +	Type of `OperationResultsDescription.Properties` has been changed from `interface{}` to `any`


    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 1f65704. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]
      cmderr	[automation_generate.sh] npm notice New major version of npm available! 8.19.3 -> 9.4.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.4.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@9.4.0` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-healthcareapis [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Model DicomService has a new parameter cors_configuration
      info	[Changelog]   - Model DicomService has a new parameter event_state
      info	[Changelog]   - Model FhirService has a new parameter implementation_guides_configuration
      info	[Changelog]   - Model FhirService has a new parameter import_configuration
      info	[Changelog]   - Model MetricSpecification has a new parameter enable_regional_mdm_account
      info	[Changelog]   - Model MetricSpecification has a new parameter is_internal
      info	[Changelog]   - Model MetricSpecification has a new parameter metric_filter_pattern
      info	[Changelog]   - Model MetricSpecification has a new parameter resource_id_dimension_name_override
      info	[Changelog]   - Model MetricSpecification has a new parameter source_mdm_account
      info	[Changelog]   - Model ServicesProperties has a new parameter import_configuration
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️⌛ azure-sdk-for-go pending [Detail]
    ️❌ azure-sdk-for-js failed [Detail]
    • Failed [Logs]Release - Generate from 1f65704. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
      cmderr	[automation_generate.sh] [ERROR] Error:
      cmderr	[automation_generate.sh] [ERROR] An error occurred while run build for readme file: "specification/healthcareapis/resource-manager/readme.md":
      cmderr	[automation_generate.sh] [ERROR] Err: Error: Command failed: rush build -t @azure/arm-healthcareapis
      cmderr	[automation_generate.sh] [ERROR] Stderr: "null"
      cmderr	[automation_generate.sh] [ERROR] Stdout: "null"
      cmderr	[automation_generate.sh] [ERROR] ErrorStack: "Error: Command failed: rush build -t @azure/arm-healthcareapis
      cmderr	[automation_generate.sh] [ERROR]     at checkExecSyncError (node:child_process:861:11)
      cmderr	[automation_generate.sh] [ERROR]     at Object.execSync (node:child_process:932:15)
      cmderr	[automation_generate.sh] [ERROR]     at Object.<anonymous> (/opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/@azure-tools/js-sdk-release-tools/dist/hlc/generateMgmt.js:87:33)
      cmderr	[automation_generate.sh] [ERROR]     at Generator.next (<anonymous>)
      cmderr	[automation_generate.sh] [ERROR]     at fulfilled (/opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/@azure-tools/js-sdk-release-tools/node_modules/tslib/tslib.js:112:62)
      cmderr	[automation_generate.sh] [ERROR]     at processTicksAndRejections (node:internal/process/task_queues:96:5)"
    • @azure/arm-healthcareapis [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 1f65704. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh]  WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • ️✔️healthcareapis [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from 1f65704. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    • Az.healthcareapis [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 21, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Java azure-resourcemanager-healthcareapis Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    .Net Azure.ResourceManager.HealthcareApis Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

    @AzureRestAPISpecReview AzureRestAPISpecReview added BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-MissingBaseCommit new-api-version resource-manager labels Nov 21, 2022
    @openapi-workflow-bot
    Copy link

    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.
    Action: To initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.
    Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

    @openapi-workflow-bot
    Copy link

    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

    @sjanamma sjanamma added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Dec 8, 2022
    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Dec 8, 2022
    @jnlycklama
    Copy link
    Member Author

    Looking for a sign-off on the changes from the past 2 weeks, after sjanamma approved.
    We already had an initial sign off, but since then have added another property and would like to get that reviewed as well.

    Commits to review:
    Everything since 99cd202

    Which is these listed commits:
    99cd202
    9bb2d06
    7725ff1
    98e8da7
    0f365f0
    0960efa

    @raosuhas
    Copy link

      }
    

    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
    A Boolean will forever have two valid values (true or false). A string enum type is always preferred. Also, properties should always provide better values just than True and False. For example two switches "isTypeA" and "isTypeB" should be replaced with one enum "type": [A, B, DefaultType]. Even if you still believe [True, False] are the correct values for a property, you should use a string enum with values [True, False] instead of boolean. Enums are always a more flexible and future proof option because they allow additional values to be added in the future in a non-breaking way, e.g. [True, False, Unknown].


    Refers to: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json:3834 in 0960efa. [](commit_id = 0960efa, deletion_comment = False)

    @fhibf
    Copy link
    Contributor

    fhibf commented Jan 24, 2023

      }
    

    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 A Boolean will forever have two valid values (true or false). A string enum type is always preferred. Also, properties should always provide better values just than True and False. For example two switches "isTypeA" and "isTypeB" should be replaced with one enum "type": [A, B, DefaultType]. Even if you still believe [True, False] are the correct values for a property, you should use a string enum with values [True, False] instead of boolean. Enums are always a more flexible and future proof option because they allow additional values to be added in the future in a non-breaking way, e.g. [True, False, Unknown].

    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.

    @jnlycklama jnlycklama added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jan 25, 2023
    @visingla-ms
    Copy link
    Contributor

    SigningOff the changes after last approval.

    @visingla-ms visingla-ms removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jan 25, 2023
    @live1206
    Copy link
    Member

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @tadelesh tadelesh added the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Jan 29, 2023
    @xiaoxuqi-ms xiaoxuqi-ms merged commit 1f65704 into Azure:main Jan 29, 2023
    @xiaoxuqi-ms
    Copy link
    Member

    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?

    ghost pushed a commit to Azure/azure-resource-manager-schemas that referenced this pull request Jan 29, 2023
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-BreakingChange-Go CI-MissingBaseCommit new-api-version ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.