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

[MFE] Reorder mfe.json spec for future consistency #14577

Merged
merged 6 commits into from
May 27, 2021
Merged

[MFE] Reorder mfe.json spec for future consistency #14577

merged 6 commits into from
May 27, 2021

Conversation

forteddyt
Copy link
Contributor

@forteddyt forteddyt commented May 27, 2021

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
      Our auto-generation now enforces specific ordering of definitions, properties, and paths. This will make future reviews of mfe.json easier, since ordering will be consistent. There are no schema changes, aside from ordering of definitions, properties, and paths. Ordering of parameters has not changed, either.
  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.

  3. When you expect to publish swagger? Please provide date, or month to public if date is not available yet.

  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, @forteddyt 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 May 27, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.

    ️⚠️LintDiff: 2 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ R3017 - GuidUsage Guid used in model definition 'CertificateDatastoreCredentials' for property 'clientId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#L5620
    ⚠️ R3017 - GuidUsage Guid used in model definition 'ServicePrincipalDatastoreCredentials' for property 'clientId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#L9100


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#L5980
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#L6017
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#L6934
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#L7291
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#L7669
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#L7692
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#L7700
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#L8281
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#L8379
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#L9216
    ️️✔️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: 1 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ Modeler/MissingType "readme":"machinelearningservices/resource-manager/readme.md",
    "tag":"package-2021-03-01-preview",
    "details":"The schema 'components·1dsxf3l·schemas·commandjob·properties·parameters·additionalproperties' has no type or format information whatsoever. Location:\n file:///home/vsts/work/1/azure-rest-api-specs/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/mfe.json#/components/schemas/components·1dsxf3l·schemas·commandjob·properties·parameters·additionalproperties"
    💬 AutorestCore/Exception "readme":"machinelearningservices/resource-manager/readme.md",
    "tag":"package-2021-03-01-preview",
    "details":"> Installing AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0)"
    💬 AutorestCore/Exception "readme":"machinelearningservices/resource-manager/readme.md",
    "tag":"package-2021-03-01-preview",
    "details":"> Installed AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"


    The following errors/warnings exist before current PR submission:

    Rule Message
    ⚠️ PreCheck/PropertyRedeclarationWarning "readme":"machinelearningservices/resource-manager/readme.md",
    "tag":"package-2021-03-01-preview",
    "details":"Schema 'AmlComputeNodesInformation' has a property 'nextLink' that is already declared the parent schema 'ComputeNodesInformation' but isn't significantly different. The property has been removed from AmlComputeNodesInformation"
    💬 AutorestCore/Exception "readme":"machinelearningservices/resource-manager/readme.md",
    "tag":"package-2021-03-01-preview",
    "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 May 27, 2021

    Swagger Generation Artifacts

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

    Breaking Changes Tracking

    ️✔️azure-sdk-for-go - machinelearningservices/mgmt/2020-04-01/machinelearningservices - v54.3.0
    ️✔️azure-sdk-for-go - machinelearningservices/mgmt/2020-03-01/machinelearningservices - v54.3.0
    ️✔️azure-sdk-for-go - machinelearningservices/mgmt/2020-01-01/machinelearningservices - v54.3.0
    ️✔️azure-sdk-for-go - machinelearningservices/mgmt/2019-11-01/machinelearningservices - v54.3.0
    ️✔️azure-sdk-for-go - machinelearningservices/mgmt/2019-06-01/machinelearningservices - v54.3.0
    ️✔️azure-sdk-for-go - machinelearningservices/mgmt/2019-05-01/machinelearningservices - v54.3.0
    ️✔️azure-sdk-for-go - machinelearningservices/mgmt/2018-11-19/machinelearningservices - v54.3.0
    ️✔️azure-sdk-for-go - preview/machinelearningservices/mgmt/2021-03-01-preview/machinelearningservices - v54.3.0
    ️✔️azure-sdk-for-go - preview/machinelearningservices/mgmt/2020-02-18-preview/machinelearningservices - v54.3.0
    ️✔️azure-sdk-for-go - preview/machinelearningservices/mgmt/2018-03-01-preview/machinelearningservices - v54.3.0
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 47d96ce. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-5.0
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/machinelearningservices/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
    • ️✔️Microsoft.Azure.Management.MachineLearningServices [View full logs]  [Release SDK Changes]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 47d96ce. SDK Automation 14.0.0
      command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	go run ./tools/generator/main.go ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️machinelearningservices/mgmt/2020-04-01/machinelearningservices [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️machinelearningservices/mgmt/2020-03-01/machinelearningservices [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️machinelearningservices/mgmt/2020-01-01/machinelearningservices [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️machinelearningservices/mgmt/2019-11-01/machinelearningservices [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️machinelearningservices/mgmt/2019-06-01/machinelearningservices [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️machinelearningservices/mgmt/2019-05-01/machinelearningservices [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️machinelearningservices/mgmt/2018-11-19/machinelearningservices [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️preview/machinelearningservices/mgmt/2021-03-01-preview/machinelearningservices [View full logs]  [Release SDK Changes]
      info	[Changelog] This is a new package
    • ️✔️preview/machinelearningservices/mgmt/2020-02-18-preview/machinelearningservices [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️preview/machinelearningservices/mgmt/2018-03-01-preview/machinelearningservices [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    ️⚠️ azure-sdk-for-python warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 47d96ce. 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] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      cmderr	[automation_init.sh] azure-mgmt-core 1.2.2 requires azure-core<2.0.0,>=1.9.0, but you have azure-core 1.6.0 which is incompatible.
      cmderr	[automation_init.sh] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      cmderr	[automation_init.sh] azure-mgmt-core 1.2.2 requires azure-core<2.0.0,>=1.9.0, but you have azure-core 1.6.0 which is incompatible.
      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
    • ️✔️azure-mgmt-machinelearningservices [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model ListWorkspaceKeysResult has a new parameter notebook_access_keys
      info	[Changelog]   - Model AKS has a new parameter disable_local_auth
      info	[Changelog]   - Model ComputeResource has a new parameter sku
      info	[Changelog]   - Model ComputeResource has a new parameter system_data
      info	[Changelog]   - Model VirtualMachine has a new parameter disable_local_auth
      info	[Changelog]   - Model Resource has a new parameter sku
      info	[Changelog]   - Model Resource has a new parameter system_data
      info	[Changelog]   - Model SslConfiguration has a new parameter overwrite_existing_domain
      info	[Changelog]   - Model SslConfiguration has a new parameter leaf_domain_label
      info	[Changelog]   - Model DataLakeAnalytics has a new parameter disable_local_auth
      info	[Changelog]   - Model Workspace has a new parameter service_managed_resources_settings
      info	[Changelog]   - Model Workspace has a new parameter allow_public_access_when_behind_vnet
      info	[Changelog]   - Model Workspace has a new parameter private_endpoint_connections
      info	[Changelog]   - Model Workspace has a new parameter service_provisioned_resource_group
      info	[Changelog]   - Model Workspace has a new parameter encryption
      info	[Changelog]   - Model Workspace has a new parameter tenant_id
      info	[Changelog]   - Model Workspace has a new parameter image_build_compute
      info	[Changelog]   - Model Workspace has a new parameter system_data
      info	[Changelog]   - Model Workspace has a new parameter hbi_workspace
      info	[Changelog]   - Model Workspace has a new parameter primary_user_assigned_identity
      info	[Changelog]   - Model Workspace has a new parameter sku
      info	[Changelog]   - Model Workspace has a new parameter notebook_info
      info	[Changelog]   - Model Workspace has a new parameter shared_private_link_resources
      info	[Changelog]   - Model Workspace has a new parameter private_link_count
      info	[Changelog]   - Model AmlComputeProperties has a new parameter isolated_network
      info	[Changelog]   - Model AmlComputeProperties has a new parameter remote_login_port_public_access
      info	[Changelog]   - Model AmlComputeProperties has a new parameter os_type
      info	[Changelog]   - Model AmlComputeProperties has a new parameter enable_node_public_ip
      info	[Changelog]   - Model AmlComputeProperties has a new parameter virtual_machine_image
      info	[Changelog]   - Model DataFactory has a new parameter disable_local_auth
      info	[Changelog]   - Model ErrorResponse has a new parameter target
      info	[Changelog]   - Model VirtualMachineSize has a new parameter estimated_vm_prices
      info	[Changelog]   - Model VirtualMachineSize has a new parameter gpus
      info	[Changelog]   - Model Databricks has a new parameter disable_local_auth
      info	[Changelog]   - Model VirtualMachineProperties has a new parameter is_notebook_instance_compute
      info	[Changelog]   - Model AKSProperties has a new parameter load_balancer_subnet
      info	[Changelog]   - Model AKSProperties has a new parameter load_balancer_type
      info	[Changelog]   - Model AKSProperties has a new parameter cluster_purpose
      info	[Changelog]   - Model Identity has a new parameter user_assigned_identities
      info	[Changelog]   - Model WorkspaceUpdateParameters has a new parameter service_managed_resources_settings
      info	[Changelog]   - Model WorkspaceUpdateParameters has a new parameter image_build_compute
      info	[Changelog]   - Model WorkspaceUpdateParameters has a new parameter identity
      info	[Changelog]   - Model WorkspaceUpdateParameters has a new parameter primary_user_assigned_identity
      info	[Changelog]   - Model WorkspaceUpdateParameters has a new parameter sku
      info	[Changelog]   - Model HDInsight has a new parameter disable_local_auth
      info	[Changelog]   - Model AmlCompute has a new parameter disable_local_auth
      info	[Changelog]   - Model DatabricksProperties has a new parameter workspace_url
      info	[Changelog]   - Model Usage has a new parameter aml_workspace_location
      info	[Changelog]   - Model Compute has a new parameter disable_local_auth
      info	[Changelog]   - Added operation MachineLearningComputeOperations.restart
      info	[Changelog]   - Added operation MachineLearningComputeOperations.stop
      info	[Changelog]   - Added operation MachineLearningComputeOperations.start
      info	[Changelog]   - Added operation WorkspacesOperations.list_notebook_access_token
      info	[Changelog]   - Added operation group MachineLearningServiceOperations
      info	[Changelog]   - Added operation group NotebooksOperations
      info	[Changelog]   - Added operation group StorageAccountOperations
      info	[Changelog]   - Added operation group QuotasOperations
      info	[Changelog]   - Added operation group PrivateLinkResourcesOperations
      info	[Changelog]   - Added operation group WorkspaceConnectionsOperations
      info	[Changelog]   - Added operation group PrivateEndpointConnectionsOperations
      info	[Changelog]   - Added operation group WorkspaceOperations
      info	[Changelog]   - Added operation group WorkspaceFeaturesOperations
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Parameter name of model Operation is now required
      info	[Changelog]   - Operation MachineLearningComputeOperations.list_by_workspace has a new signature
      info	[Changelog]   - Operation WorkspacesOperations.list_by_resource_group has a new signature
      info	[Changelog]   - Operation WorkspacesOperations.list_by_subscription has a new signature
      info	[Changelog]   - Model Workspace no longer has parameter creation_time
      info	[Changelog]   - Model AmlComputeNodeInformation has a new signature
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 47d96ce. 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-05-27 23:58:27 INFO [VERSION][Found] current version "com.azure.resourcemanager:azure-resourcemanager-machinelearningservices;1.0.0-beta.1;1.0.0-beta.2"
      cmderr	[generate.py] 2021-05-27 23:58:27 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.2"
      cmderr	[generate.py] 2021-05-27 23:58:27 INFO autorest --version=3.1.3 --use=@autorest/java@4.0.29 --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/machinelearningservices/azure-resourcemanager-machinelearningservices --java.namespace=com.azure.resourcemanager.machinelearningservices   --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/machinelearningservices/resource-manager/readme.md
      cmderr	[generate.py] 2021-05-27 23:59:13 INFO [CI][Skip] ci.yml already has module azure-resourcemanager-machinelearningservices
      cmderr	[generate.py] 2021-05-27 23:59:13 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2021-05-27 23:59:13 INFO [POM][Skip] pom already has module azure-resourcemanager-machinelearningservices
      cmderr	[generate.py] 2021-05-27 23:59:13 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2021-05-27 23:59:13 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2021-05-27 23:59:13 INFO [POM][Skip] pom already has module sdk/machinelearningservices
      cmderr	[generate.py] 2021-05-27 23:59:13 INFO [POM][Success] Write to root pom
    • ️✔️azure-resourcemanager-machinelearningservices [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2021-05-28 00:02:38 DEBUG Got artifact_id: azure-resourcemanager-machinelearningservices
      cmderr	[Inst] 2021-05-28 00:02:38 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-05-28 00:02:38 DEBUG Got artifact: azure-resourcemanager-machinelearningservices-1.0.0-beta.2-javadoc.jar
      cmderr	[Inst] 2021-05-28 00:02:38 DEBUG Got artifact: azure-resourcemanager-machinelearningservices-1.0.0-beta.2-sources.jar
      cmderr	[Inst] 2021-05-28 00:02:38 DEBUG Got artifact: azure-resourcemanager-machinelearningservices-1.0.0-beta.2.jar
      cmderr	[Inst] 2021-05-28 00:02:38 DEBUG Match jar package: azure-resourcemanager-machinelearningservices-1.0.0-beta.2.jar
      cmderr	[Inst] 2021-05-28 00:02:38 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/14577/azure-sdk-for-java/azure-resourcemanager-machinelearningservices/azure-resourcemanager-machinelearningservices-1.0.0-beta.2.jar\" -o azure-resourcemanager-machinelearningservices-1.0.0-beta.2.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-machinelearningservices -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-machinelearningservices-1.0.0-beta.2.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 47d96ce. 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.4.4 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/machinelearningservices/resource-manager/readme.md
    • ️✔️@azure/arm-machinelearningservices [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/azureMachineLearningWorkspaces.js → ./dist/arm-machinelearningservices.js...
      cmderr	[npmPack] created ./dist/arm-machinelearningservices.js in 667ms
    ️️✔️ azure-cli-extensions succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 47d96ce. Azure CLI Automation 14.0.0
      Only show 120 items here, please refer to log for details.
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'ModelEnvironmentDefinitionResponse-python' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'ModelEnvironmentDefinitionResponse-docker' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'ModelEnvironmentDefinitionResponse-spark' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'ModelEnvironmentDefinitionResponse-r' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'ModelDockerSection-baseImageRegistry' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'ModelDockerSectionResponse-baseImageRegistry' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'AKSReplicaStatus-error' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'AKSServiceResponse-dataCollection' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'AKSServiceResponse-autoScaler' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'AKSServiceResponse-deploymentStatus' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'AKSServiceResponse-livenessProbeRequirements' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'AKSServiceResponse-environmentImageRequest' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'CreateServiceRequest-keys' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'CreateServiceRequest-environmentImageRequest' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'ACIServiceCreateRequest-dataCollection' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'ACIServiceCreateRequest-vnetConfiguration' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'ACIServiceCreateRequest-encryptionProperties' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'AKSServiceCreateRequest-dataCollection' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'AKSServiceCreateRequest-autoScaler' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'AKSServiceCreateRequest-livenessProbeRequirements' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/CheckDuplicateSchemas): Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
      cmdout	[Autorest] WARNING (PreCheck/PropertyRedeclarationWarning): Schema 'AmlComputeNodesInformation' has a property 'nextLink' that is already declared the parent schema 'ComputeNodesInformation' but isn't significantly different. The property has been removed from AmlComputeNodesInformation
      cmdout	[Autorest] WARNING (PreNamer/DeduplicateName): Deduplicating schema name: 'synapse_spark_pool_properties' -> 'synapse_spark_pool_propertiesAutoGenerated'
      cmdout	[Autorest] WARNING (): Operation Update has already existed in group! Skip split!
      cmdout	[Autorest] WARNING (): Operation Update has already existed in group! Skip split!
      cmdout	[Autorest] WARNING (): cli.auto-parameter-hidden is not true, skip visibility cleaner
      cmdout	[Autorest] WARNING: parameter properties has two different references but they have the same flattened name
      cmdout	[Autorest] WARNING: parameter properties has two different references but they have the same flattened name
      cmdout	[Autorest] WARNING: parameter properties has two different references but they have the same flattened name
      cmdout	[Autorest] WARNING: parameter properties has two different references but they have the same flattened name
      cmderr	[Autorest] BELOW TEST SCENARIO SECTION CAN BE USED IN readme.cli.md
      cmderr	[Autorest] --------------------------------------------------------
      cmderr	[Autorest]   test-scenario:
      cmderr	[Autorest]     - name: /Workspaces/put/Create Workspace
      cmderr	[Autorest]     - name: /Workspaces/get/Get Workspace
      cmderr	[Autorest]     - name: /Workspaces/get/Get Workspaces by Resource Group
      cmderr	[Autorest]     - name: /Workspaces/get/Get Workspaces by subscription
      cmderr	[Autorest]     - name: /Workspaces/patch/Update Workspace
      cmderr	[Autorest]     - name: /Workspaces/post/List Workspace Keys
      cmderr	[Autorest]     - name: /Workspaces/post/List Workspace Keys
      cmderr	[Autorest]     - name: /Workspaces/post/Resync Workspace Keys
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a AML Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a AML Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a AML Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a AML Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a AML Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a AML Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a AML Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a AML Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a AML Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create AKS Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create AKS Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create AKS Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create AKS Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create AKS Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create AKS Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create AKS Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create AKS Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create AKS Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute with minimal inputs
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute with minimal inputs
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute with minimal inputs
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute with minimal inputs
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute with minimal inputs
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute with minimal inputs
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute with minimal inputs
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute with minimal inputs
      cmderr	[Autorest]     - name: /MachineLearningCompute/put/Create an ComputeInstance Compute with minimal inputs
      cmderr	[Autorest]     - name: /MachineLearningCompute/get/Get a AKS Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/get/Get a AML Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/get/Get an ComputeInstance
      cmderr	[Autorest]     - name: /MachineLearningCompute/get/Get Computes
      cmderr	[Autorest]     - name: /MachineLearningCompute/patch/Update a AmlCompute Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/post/Get compute nodes information for a compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/post/List AKS Compute Keys
      cmderr	[Autorest]     - name: /MachineLearningCompute/post/Restart ComputeInstance Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/post/Start ComputeInstance Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/post/Stop ComputeInstance Compute
      cmderr	[Autorest]     - name: /MachineLearningCompute/delete/Delete Compute
      cmderr	[Autorest]     - name: /MachineLearningService/put/Create Or Update service
      cmderr	[Autorest]     - name: /MachineLearningService/get/Get Service
      cmderr	[Autorest]     - name: /MachineLearningService/get/Get Services
      cmderr	[Autorest]     - name: /MachineLearningService/delete/Delete Service
      cmderr	[Autorest]     - name: /Notebooks/post/List Workspace Keys
      cmderr	[Autorest]     - name: /Notebooks/post/Prepare Notebook
      cmderr	[Autorest]     - name: /PrivateEndpointConnections/put/WorkspacePutPrivateEndpointConnection
      cmderr	[Autorest]     - name: /PrivateEndpointConnections/get/WorkspaceGetPrivateEndpointConnection
      cmderr	[Autorest]     - name: /PrivateEndpointConnections/delete/WorkspaceDeletePrivateEndpointConnection
      cmderr	[Autorest]     - name: /PrivateLinkResources/get/WorkspaceListPrivateLinkResources
      cmderr	[Autorest]     - name: /Quotas/get/List workspace quotas by VMFamily
      cmderr	[Autorest]     - name: /Quotas/post/update quotas
      cmderr	[Autorest]     - name: /StorageAccount/post/List Workspace Keys
      cmderr	[Autorest]     - name: /Usages/get/List Usages
      cmderr	[Autorest]     - name: /VirtualMachineSizes/get/List VM Sizes
      cmderr	[Autorest]     - name: /Workspace/get/List Skus
      cmderr	[Autorest]     - name: /WorkspaceConnections/put/CreateWorkspaceConnection
      cmderr	[Autorest]     - name: /WorkspaceConnections/get/GetWorkspaceConnection
      cmderr	[Autorest]     - name: /WorkspaceConnections/get/ListWorkspaceConnections
      cmderr	[Autorest]     - name: /WorkspaceConnections/delete/DeleteWorkspaceConnection
      cmderr	[Autorest]     - name: /WorkspaceFeatures/get/List Workspace features
      cmderr	[Autorest]     - name: /Workspaces/delete/Delete Workspace
      cmderr	[Autorest] --------------------------------------------------------
    • ️✔️machinelearningservices [View full logs]  [Release Azure CLI Changes]
    ️️✔️ azure-resource-manager-schemas succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 47d96ce. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      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
    • ️✔️machinelearningservices [View full logs]  [Release Schema Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @ArcturusZhang
    Copy link
    Member

    This is said to be purely a reordering of the operations.

    @openapi-workflow-bot
    Copy link

    Hi, @forteddyt your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com). cc @ArcturusZhang

    mkarmark pushed a commit to mkarmark/azure-rest-api-specs that referenced this pull request Jul 21, 2021
    * Enabling java client (Azure#1)
    
    * Revert "Enabling java client (Azure#1)" (Azure#2)
    
    This reverts commit 26873d3.
    
    * Revert "Revert "Enabling java client (Azure#1)" (Azure#2)"
    
    This reverts commit 41d5801.
    
    * Revert "Enabling java client (Azure#1)"
    
    This reverts commit 7537c82.
    
    * reorder spec
    
    Co-authored-by: Harneet Virk <harnvir@microsoft.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    CI-BreakingChange-Python WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants