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

Microsoft.HanaOnAzure swagger: Update spec to add missing fields #14879

Merged
merged 5 commits into from
Jul 5, 2021

Conversation

lagalbra
Copy link
Contributor

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Changelog

Please ensure to add changelog with 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 you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
    - N/A
  3. When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
    - N/A
  4. If it's an update to existing version, please select SDKs of specific language and CLIs that require refresh after swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No, no need to refresh for updates in this PR

Contribution checklist:

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

ARM API Review Checklist

  • Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

    • Adding new API(s)
    • Adding a new API version
    • Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
    • Adding a new service
  • Please 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 there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

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.

Please follow the link to find more details on PR review process.

@openapi-workflow-bot
Copy link

Hi, @lagalbra 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. vsswagger@microsoft.com

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 17, 2021

    Swagger Validation Report

    ️❌BreakingChange: 3 Errors, 0 Warnings failed [Detail]
    Rule Message
    1040 - AddedReadOnlyPropertyInResponse The new version has a new read-only property 'isDataAction' in response that was not found in the old version.
    New: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L823:7
    Old: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L790:7
    1041 - AddedPropertyInResponse The new version has a new property 'hanaSids' in response that was not found in the old version.
    New: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L740:7
    Old: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L714:7
    1045 - AddedOptionalProperty The new version has a new optional property 'hanaSids' that was not found in the old version.
    New: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L740:7
    Old: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L714:7
    ️⚠️LintDiff: 1 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isDataAction
    Location: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L833


    The following errors/warnings exist before current PR submission:

    Only 10 items are listed, please refer to log for more details.

    Rule Message
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L922
    R4037 - MissingTypeObject The schema 'Resource' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L490
    R4037 - MissingTypeObject The schema 'HanaInstancesListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L522
    R4037 - MissingTypeObject The schema 'HanaInstance' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L538
    R4037 - MissingTypeObject The schema 'HanaInstanceProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L553
    R4037 - MissingTypeObject The schema 'HardwareProfile' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L623
    R4037 - MissingTypeObject The schema 'Disk' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L693
    R4037 - MissingTypeObject The schema 'StorageProfile' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L739
    R4037 - MissingTypeObject The schema 'OSProfile' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L762
    R4037 - MissingTypeObject The schema 'NetworkProfile' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json#L783
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️[Staging] SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation

    The following errors/warnings are introduced by current PR:

    |:speech_balloon: AutorestCore/Exception|"readme":"hanaonazure/resource-manager/readme.md",
    "tag":"package-2017-11",
    "details":"> Installing AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0)"|
    |:speech_balloon: AutorestCore/Exception|"readme":"hanaonazure/resource-manager/readme.md",
    "tag":"package-2017-11",
    "details":"> Installed AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"|


    The following errors/warnings exist before current PR submission:

    |:speech_balloon: AutorestCore/Exception|"readme":"hanaonazure/resource-manager/readme.md",
    "tag":"package-2017-11",
    "details":"> Loading AutoRest extension '@autorest/modelerfour' (4.15.456->4.15.456)"|

    ️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️[Staging] Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 17, 2021

    Swagger Generation Artifacts

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

    Breaking Changes Tracking

    azure-sdk-for-go - preview/hanaonazure/mgmt/2017-11-03-preview/hanaonazure - v55.5.0
    +	Field `Code` of struct `ErrorResponse` has been removed
    +	Field `Message` of struct `ErrorResponse` has been removed
    +	Function `*SapMonitor.UnmarshalJSON` has been removed
    +	Function `*SapMonitorListResultIterator.NextWithContext` has been removed
    +	Function `*SapMonitorListResultIterator.Next` has been removed
    +	Function `*SapMonitorListResultPage.NextWithContext` has been removed
    +	Function `*SapMonitorListResultPage.Next` has been removed
    +	Function `*SapMonitorsCreateFuture.UnmarshalJSON` has been removed
    +	Function `*SapMonitorsDeleteFuture.UnmarshalJSON` has been removed
    +	Function `HanaInstanceProperties.MarshalJSON` has been removed
    +	Function `HardwareProfile.MarshalJSON` has been removed
    +	Function `NetworkProfile.MarshalJSON` has been removed
    +	Function `NewSapMonitorListResultIterator` has been removed
    +	Function `NewSapMonitorListResultPage` has been removed
    +	Function `NewSapMonitorsClientWithBaseURI` has been removed
    +	Function `NewSapMonitorsClient` has been removed
    +	Function `OSProfile.MarshalJSON` has been removed
    +	Function `SapMonitor.MarshalJSON` has been removed
    +	Function `SapMonitorListResult.IsEmpty` has been removed
    +	Function `SapMonitorListResultIterator.NotDone` has been removed
    +	Function `SapMonitorListResultIterator.Response` has been removed
    +	Function `SapMonitorListResultIterator.Value` has been removed
    +	Function `SapMonitorListResultPage.NotDone` has been removed
    +	Function `SapMonitorListResultPage.Response` has been removed
    +	Function `SapMonitorListResultPage.Values` has been removed
    +	Function `SapMonitorProperties.MarshalJSON` has been removed
    +	Function `SapMonitorsClient.CreatePreparer` has been removed
    +	Function `SapMonitorsClient.CreateResponder` has been removed
    +	Function `SapMonitorsClient.CreateSender` has been removed
    +	Function `SapMonitorsClient.Create` has been removed
    +	Function `SapMonitorsClient.DeletePreparer` has been removed
    +	Function `SapMonitorsClient.DeleteResponder` has been removed
    +	Function `SapMonitorsClient.DeleteSender` has been removed
    +	Function `SapMonitorsClient.Delete` has been removed
    +	Function `SapMonitorsClient.GetPreparer` has been removed
    +	Function `SapMonitorsClient.GetResponder` has been removed
    +	Function `SapMonitorsClient.GetSender` has been removed
    +	Function `SapMonitorsClient.Get` has been removed
    +	Function `SapMonitorsClient.ListComplete` has been removed
    +	Function `SapMonitorsClient.ListPreparer` has been removed
    +	Function `SapMonitorsClient.ListResponder` has been removed
    +	Function `SapMonitorsClient.ListSender` has been removed
    +	Function `SapMonitorsClient.List` has been removed
    +	Function `SapMonitorsClient.UpdatePreparer` has been removed
    +	Function `SapMonitorsClient.UpdateResponder` has been removed
    +	Function `SapMonitorsClient.UpdateSender` has been removed
    +	Function `SapMonitorsClient.Update` has been removed
    +	Function `StorageProfile.MarshalJSON` has been removed
    +	Struct `SapMonitorListResultIterator` has been removed
    +	Struct `SapMonitorListResultPage` has been removed
    +	Struct `SapMonitorListResult` has been removed
    +	Struct `SapMonitorProperties` has been removed
    +	Struct `SapMonitor` has been removed
    +	Struct `SapMonitorsClient` has been removed
    +	Struct `SapMonitorsCreateFuture` has been removed
    +	Struct `SapMonitorsDeleteFuture` has been removed
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-hanaonazure - 1.0.0
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from 4503223. 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
      Resource not accessible by integration
      HttpError: Resource not accessible by integration
          at /home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/@octokit/request@5.6.0/node_modules/@octokit/request/dist-node/index.js:86:21
          at processTicksAndRejections (internal/process/task_queues.js:95:5)
          at async workflowPkgUpdatePR (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:346:21)
          at async Object.exports.workflowPkgMain (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:41:5)
          at async workflowHandleReadmeMd (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:172:9)
          at async Object.exports.workflowMain (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:83:9)
          at async Object.exports.sdkAutoMain (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/entrypoint.js:152:13)
          at async /home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/cli/cli.js:20:18
    • ️✔️Az.Hana [View full logs
      error	Fatal error: Resource not accessible by integration
      error	The following packages are still pending:
      error		Az.Hana
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4503223. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] 2021-07-05 03:24:53 INFO [VERSION][Found] current version "com.azure.resourcemanager:azure-resourcemanager-hanaonazure;1.0.0-beta.1;1.0.0-beta.2"
      cmderr	[generate.py] 2021-07-05 03:24:53 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.2"
      cmderr	[generate.py] 2021-07-05 03:24:53 INFO autorest --version=3.1.3 --use=@autorest/java@4.0.30 --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/hanaonazure/azure-resourcemanager-hanaonazure --java.namespace=com.azure.resourcemanager.hanaonazure   --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --azure-arm --verbose --sdk-integration --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL ../azure-rest-api-specs/specification/hanaonazure/resource-manager/readme.md
      cmderr	[generate.py] 2021-07-05 03:25:32 INFO [CI][Skip] ci.yml already has module azure-resourcemanager-hanaonazure
      cmderr	[generate.py] 2021-07-05 03:25:32 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2021-07-05 03:25:32 INFO [POM][Skip] pom already has module azure-resourcemanager-hanaonazure
      cmderr	[generate.py] 2021-07-05 03:25:32 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2021-07-05 03:25:32 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2021-07-05 03:25:32 INFO [POM][Skip] pom already has module sdk/hanaonazure
      cmderr	[generate.py] 2021-07-05 03:25:32 INFO [POM][Success] Write to root pom
    • ️✔️azure-resourcemanager-hanaonazure [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2021-07-05 03:27:04 DEBUG Got artifact_id: azure-resourcemanager-hanaonazure
      cmderr	[Inst] 2021-07-05 03:27:04 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-07-05 03:27:04 DEBUG Got artifact: azure-resourcemanager-hanaonazure-1.0.0-beta.2-javadoc.jar
      cmderr	[Inst] 2021-07-05 03:27:04 DEBUG Got artifact: azure-resourcemanager-hanaonazure-1.0.0-beta.2.jar
      cmderr	[Inst] 2021-07-05 03:27:04 DEBUG Match jar package: azure-resourcemanager-hanaonazure-1.0.0-beta.2.jar
      cmderr	[Inst] 2021-07-05 03:27:04 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/14879/azure-sdk-for-java/azure-resourcemanager-hanaonazure/azure-resourcemanager-hanaonazure-1.0.0-beta.2.jar\" -o azure-resourcemanager-hanaonazure-1.0.0-beta.2.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-hanaonazure -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-hanaonazure-1.0.0-beta.2.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 4503223. SDK Automation 14.0.0
      command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️preview/hanaonazure/mgmt/2017-11-03-preview/hanaonazure [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Function `SapMonitorListResultIterator.Value` has been removed
      info	[Changelog] - Function `NewSapMonitorsClient` has been removed
      info	[Changelog] - Function `SapMonitorListResultPage.NotDone` has been removed
      info	[Changelog] - Function `NewSapMonitorsClientWithBaseURI` has been removed
      info	[Changelog] - Function `SapMonitorsClient.Delete` has been removed
      info	[Changelog] - Function `SapMonitorListResultPage.Response` has been removed
      info	[Changelog] - Function `SapMonitorsClient.ListComplete` has been removed
      info	[Changelog] - Function `NewSapMonitorListResultPage` has been removed
      info	[Changelog] - Function `SapMonitorsClient.Create` has been removed
      info	[Changelog] - Function `*SapMonitorsDeleteFuture.UnmarshalJSON` has been removed
      info	[Changelog] - Function `SapMonitorListResultPage.Values` has been removed
      info	[Changelog] - Function `SapMonitorsClient.DeleteSender` has been removed
      info	[Changelog] - Function `SapMonitorsClient.DeletePreparer` has been removed
      info	[Changelog] - Function `SapMonitor.MarshalJSON` has been removed
      info	[Changelog] - Function `OSProfile.MarshalJSON` has been removed
      info	[Changelog] - Function `HanaInstanceProperties.MarshalJSON` has been removed
      info	[Changelog] - Function `SapMonitorsClient.List` has been removed
      info	[Changelog] - Function `SapMonitorsClient.DeleteResponder` has been removed
      info	[Changelog] - Function `HardwareProfile.MarshalJSON` has been removed
      info	[Changelog] - Function `SapMonitorsClient.GetSender` has been removed
      info	[Changelog] - Function `SapMonitorsClient.Update` has been removed
      info	[Changelog] - Function `SapMonitorsClient.CreateResponder` has been removed
      info	[Changelog] - Function `SapMonitorListResultIterator.NotDone` has been removed
      info	[Changelog] - Function `SapMonitorsClient.GetPreparer` has been removed
      info	[Changelog] - Function `*SapMonitorsCreateFuture.UnmarshalJSON` has been removed
      info	[Changelog] - Function `SapMonitorsClient.ListResponder` has been removed
      info	[Changelog] - Function `SapMonitorListResultIterator.Response` has been removed
      info	[Changelog] - Function `SapMonitorsClient.Get` has been removed
      info	[Changelog] - Function `SapMonitorsClient.UpdatePreparer` has been removed
      info	[Changelog] - Function `NewSapMonitorListResultIterator` has been removed
      info	[Changelog] - Function `SapMonitorsClient.UpdateSender` has been removed
      info	[Changelog] - Function `SapMonitorProperties.MarshalJSON` has been removed
      info	[Changelog] - Function `*SapMonitorListResultPage.Next` has been removed
      info	[Changelog] - Function `SapMonitorsClient.ListSender` has been removed
      info	[Changelog] - Function `StorageProfile.MarshalJSON` has been removed
      info	[Changelog] - Function `SapMonitorsClient.UpdateResponder` has been removed
      info	[Changelog] - Function `SapMonitorsClient.CreatePreparer` has been removed
      info	[Changelog] - Function `NetworkProfile.MarshalJSON` has been removed
      info	[Changelog] - Function `*SapMonitorListResultPage.NextWithContext` has been removed
      info	[Changelog] - Function `*SapMonitorListResultIterator.NextWithContext` has been removed
      info	[Changelog] - Function `*SapMonitor.UnmarshalJSON` has been removed
      info	[Changelog] - Function `SapMonitorsClient.CreateSender` has been removed
      info	[Changelog] - Function `SapMonitorsClient.ListPreparer` has been removed
      info	[Changelog] - Function `*SapMonitorListResultIterator.Next` has been removed
      info	[Changelog] - Function `SapMonitorListResult.IsEmpty` has been removed
      info	[Changelog] - Function `SapMonitorsClient.GetResponder` has been removed
      info	[Changelog] - Struct `SapMonitor` has been removed
      info	[Changelog] - Struct `SapMonitorListResult` has been removed
      info	[Changelog] - Struct `SapMonitorListResultIterator` has been removed
      info	[Changelog] - Struct `SapMonitorListResultPage` has been removed
      info	[Changelog] - Struct `SapMonitorProperties` has been removed
      info	[Changelog] - Struct `SapMonitorsClient` has been removed
      info	[Changelog] - Struct `SapMonitorsCreateFuture` has been removed
      info	[Changelog] - Struct `SapMonitorsDeleteFuture` has been removed
      info	[Changelog] - Field `Code` of struct `ErrorResponse` has been removed
      info	[Changelog] - Field `Message` of struct `ErrorResponse` has been removed
      info	[Changelog]
      info	[Changelog] ### New Content
      info	[Changelog]
      info	[Changelog] - New function `ErrorResponseError.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New struct `ErrorResponseError`
      info	[Changelog] - New struct `SAPSystemID`
      info	[Changelog] - New field `IsDataAction` in struct `Operation`
      info	[Changelog] - New field `Error` in struct `ErrorResponse`
      info	[Changelog] - New field `HanaSids` in struct `StorageProfile`
      info	[Changelog]
      info	[Changelog] Total 63 breaking change(s), 8 additive change(s).
      info	[Changelog]
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 4503223. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/hanaonazure/resource-manager/readme.md
    • ️✔️@azure/arm-hanaonazure [View full logs]  [Release SDK Changes]
      cmderr	[npmPack] loaded rollup.config.js with warnings
      cmderr	[npmPack] (!) Unused external imports
      cmderr	[npmPack] default imported from external module 'rollup' but never used
      cmderr	[npmPack] ./esm/hanaManagementClient.js → ./dist/arm-hanaonazure.js...
      cmderr	[npmPack] created ./dist/arm-hanaonazure.js in 215ms
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4503223. 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
    • ️✔️hanaonazure [View full logs]  [Release Schema Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    NewApiVersionRequired reason:

    A service’s API is a contract with customers and is represented by using the api-version query parameter. Changes such as adding an optional property to a request/response or introducing a new operation is a change to the service’s contract and therefore requires a new api-version value. This is critically important for documentation, client libraries, and customer support.

    EXAMPLE: if a customer calls a service in the public cloud using api-version=2020-07-27, the new property or operation may exist but if they call the service in a government cloud, air-gapped cloud, or Azure Stack Hub cloud using the same api-version, the property or operation may not exist. Because there is no clear relationship between the service api-version and the new property/operation, customers can’t trust the documentation and Azure customer have difficulty helping customers diagnose issues. In addition, each client library version documents the service version it supports. When an optional property or new operation is added to a service and its Swagger, new client libraries must be produced to expose this functionality to customers. Without updating the api-version, it is unclear to customers which version of a client library supports these new features.

    @lagalbra
    Copy link
    Contributor Author

    @raych1 I see the "NewApiVersionRequired" tag was added, but as noted in the PR description, the changes in this PR are limited to fixing S360 issues - let me know if this is an issue with getting this PR merged.

    @raych1 raych1 assigned jianyexi and unassigned raych1 Jun 21, 2021
    @lagalbra
    Copy link
    Contributor Author

    @jianyexi I see the "NewApiVersionRequired" tag was added, but as noted in the PR description, the changes in this PR are limited to fixing S360 issues - let me know if this is an issue with getting this PR merged.

    @openapi-workflow-bot
    Copy link

    Hi @lagalbra, 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.

    @lagalbra
    Copy link
    Contributor Author

    lagalbra commented Jun 22, 2021

    @jianyexi Have created intake: https://msazure.visualstudio.com/One/_workitems/edit/10205315

    Business justification: This change is to resolve an S360 alert on a preview API: https://msazure.visualstudio.com/Swagger%20KPIs/_workitems/edit/9843576

    Will attend office hours next week to review this intake. Let me know if there's anything else I can do to expedite this PR.

    @jianyexi
    Copy link
    Contributor

    @jianyexi Jianye Xi FTE Have created intake: https://msazure.visualstudio.com/One/_workitems/edit/10205315
    Will attend office hours next week to review this intake. Let me know if there's anything else I can do to expedite this PR.

    Follow the action on #14879 (comment) , and clarify that you are fixing S360 issue in the intake.

    @JeffreyRichter JeffreyRichter added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Jun 28, 2021
    @lagalbra
    Copy link
    Contributor Author

    @jianyexi FYI I attended office hours today, and confirmed with Jeffrey that this change can be approved as it is addressing an S360

    @jianyexi
    Copy link
    Contributor

    jianyexi commented Jul 1, 2021

    @jianyexi Jianye Xi FTE FYI I attended office hours today, and confirmed with Jeffrey that this change can be approved as it is addressing an S360

    could you fix the LintDiff violation ? It will not introduce breaking change .

    @lagalbra
    Copy link
    Contributor Author

    lagalbra commented Jul 1, 2021

    @jianyexi Jianye Xi FTE FYI I attended office hours today, and confirmed with Jeffrey that this change can be approved as it is addressing an S360

    could you fix the LintDiff violation ? It will not introduce breaking change .

    Done; LintDiff check is now green.

    @jianyexi jianyexi merged commit 4503223 into Azure:master Jul 5, 2021
    @lagalbra lagalbra deleted the lagalbra/correct-swagger branch July 14, 2021 22:19
    mkarmark pushed a commit to mkarmark/azure-rest-api-specs that referenced this pull request Jul 21, 2021
    …re#14879)
    
    * Microsoft.HanaOnAzure swagger: Update spec with missing fields from RP
    
    Add HanaSID array to StorageProfile properties
    
    * Update ListOperations API to include isDataAction field
    
    * Add examples for HanaSID field
    
    * correct bool to boolean
    
    * Fix LintDiff error introduced by this PR
    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 CI-BreakingChange-Go FixS360
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants