Skip to content

Conversation

@roslynlu
Copy link
Contributor

@roslynlu roslynlu commented Apr 30, 2021

Features added to this new swagger version:

1. Dedicated cluster compatibility/linking streaming job 
2. Dynamic scaling
3. Job Compatibility level 1.2
4. Service Bus output SystemProperties
5. Parquet serialization type
6. Time window and Size window output properties for blob output
7. MSI for PBI
8. MSI for Blob
9. SQL DW output
10. Edge support
11. MSI for SQL DB
12. Output data Lake MSI
13. Input partition key
14. Event Hub property columns
15. SQL DB output max batch count and max writer count
16. ContentStoragePolicy property + job storage account
17. MSI for job storage account
18. SQL reference input
19. Input compression

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

@roslynlu roslynlu requested a review from atpham256 as a code owner April 30, 2021 01:19
@openapi-workflow-bot
Copy link

Hi, @roslynlu 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. [email protected]

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

    @roslynlu roslynlu changed the title copy 2016 version into 2020 folder to easily see diff Copy 2016 version into 2020 folder to easily see diff Apr 30, 2021
    @openapi-workflow-bot
    Copy link

    Hi @roslynlu, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff.

    TaskHow to fixPrioritySupport (Microsoft alias)
    AvocadoFix-AvocadoHighruowan
    Semantic validationFix-SemanticValidation-ErrorHighraychen, jianyxi
    Model validationFix-ModelValidation-ErrorHighraychen,jianyxi
    LintDiffFix-LintDiffhighjianyxi, ruoxuan
    If you need further help, please feedback via swagger feedback."

    @roslynlu roslynlu changed the title Copy 2016 version into 2020 folder to easily see diff New 2020-03-01 API Version for Streaming Jobs May 4, 2021
    @openapi-workflow-bot openapi-workflow-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label May 4, 2021
    @openapi-workflow-bot
    Copy link

    Hi, @roslynlu your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]). cc @zhenglaizhang

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

    @Azure Azure deleted a comment from openapi-pipeline-app bot Jun 15, 2021
    @Azure Azure deleted a comment from openapi-pipeline-app bot Jun 15, 2021
    @zhenglaizhang
    Copy link
    Contributor

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @zhenglaizhang
    Copy link
    Contributor

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @zhenglaizhang
    Copy link
    Contributor

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @zhenglaizhang
    Copy link
    Contributor

    /azp run

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 15, 2021

    Swagger Validation Report

    ️❌BreakingChange: 84 Errors, 8 Warnings failed [Detail]

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

    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.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}/RetrieveDefaultDefinition' removed or restructured?
    Old: Microsoft.StreamAnalytics/stable/2016-03-01/functions.json#L368:5
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2016-03-01/functions.json#L118:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2016-03-01/functions.json#L187:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2016-03-01/functions.json#L230:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2016-03-01/functions.json#L282:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2016-03-01/functions.json#L331:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2016-03-01/functions.json#L394:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2016-03-01/inputs.json#L124:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2016-03-01/inputs.json#L199:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2016-03-01/inputs.json#L242:11

    Rule Message
    1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StreamAnalytics/common/v1/definitions.json#L40:5
    Old: Microsoft.StreamAnalytics/common/v1/definitions.json#L40:5
    1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StreamAnalytics/common/v1/definitions.json#L62:5
    Old: Microsoft.StreamAnalytics/common/v1/definitions.json#L60:5
    1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StreamAnalytics/common/v1/definitions.json#L93:5
    Old: Microsoft.StreamAnalytics/common/v1/definitions.json#L90:5
    1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StreamAnalytics/common/v1/definitions.json#L102:5
    Old: Microsoft.StreamAnalytics/common/v1/definitions.json#L98:5
    1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StreamAnalytics/common/v1/definitions.json#L105:9
    Old: Microsoft.StreamAnalytics/common/v1/definitions.json#L100:9
    1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StreamAnalytics/common/v1/definitions.json#L122:15
    Old: Microsoft.StreamAnalytics/common/v1/definitions.json#L116:15
    1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.StreamAnalytics/common/v1/definitions.json#L133:5
    Old: Microsoft.StreamAnalytics/common/v1/definitions.json#L127:5
    ️⚠️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.StreamAnalytics/stable/2020-03-01/streamingjobs.json#L605


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    R4015 - NestedResourcesMustHaveListOperation The nested resource 'Transformation' does not have list operation, please add it.
    Location: Microsoft.StreamAnalytics/stable/2020-03-01/transformations.json#L241
    R4015 - NestedResourcesMustHaveListOperation The nested resource 'Transformation' does not have list operation, please add it.
    Location: Microsoft.StreamAnalytics/stable/2016-03-01/transformations.json#L241
    R4018 - OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.StreamAnalytics/operations' does not match the ARM specification. Please standardize the schema.
    Location: Microsoft.StreamAnalytics/stable/2016-03-01/streamingjobs.json#L36
    R4037 - MissingTypeObject The schema 'properties' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.StreamAnalytics/stable/2020-03-01/subscriptions.json#L104
    R4037 - MissingTypeObject The schema 'OperationListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.StreamAnalytics/stable/2016-03-01/streamingjobs.json#L528
    R4037 - MissingTypeObject The schema 'display' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.StreamAnalytics/stable/2016-03-01/streamingjobs.json#L555
    R4037 - MissingTypeObject The schema 'StreamingJob' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.StreamAnalytics/stable/2016-03-01/streamingjobs.json#L583
    R4037 - MissingTypeObject The schema 'StreamingJobProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.StreamAnalytics/stable/2016-03-01/streamingjobs.json#L598
    R4037 - MissingTypeObject The schema 'Sku' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.StreamAnalytics/stable/2016-03-01/streamingjobs.json#L699
    R4037 - MissingTypeObject The schema 'StreamingJobListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.StreamAnalytics/stable/2016-03-01/streamingjobs.json#L715
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/streamanalytics/resource-manager/readme.md
    tag: specification/streamanalytics/resource-manager/readme.md#tag-package-2020-03-preview
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️❌Cross-Version Breaking Changes: 911 Errors, 8 Warnings failed [Detail]
    The following breaking changes are detected by comparison with the latest stable version:

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

    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.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}/RetrieveDefaultDefinition' removed or restructured?
    Old: Microsoft.StreamAnalytics/stable/2016-03-01/functions.json#L368:5
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L118:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L187:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L230:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L282:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L331:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L394:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json#L124:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json#L199:11
    1011 - AddingResponseCode The new version adds a response code 'default'.
    New: Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json#L242:11


    The following breaking changes are detected by comparison with latest preview version:

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

    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.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}/RetrieveDefaultDefinition' removed or restructured?
    Old: Microsoft.StreamAnalytics/preview/2017-04-01-preview/functions.json#L374:5
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'FunctionConfiguration' removed or renamed?
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L459:3
    Old: Microsoft.StreamAnalytics/preview/2017-04-01-preview/functions.json#L423:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AzureMachineLearningStudioFunctionBinding' removed or renamed?
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L459:3
    Old: Microsoft.StreamAnalytics/preview/2017-04-01-preview/functions.json#L423:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'CSharpFunctionBinding' removed or renamed?
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L459:3
    Old: Microsoft.StreamAnalytics/preview/2017-04-01-preview/functions.json#L423:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters' removed or renamed?
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L459:3
    Old: Microsoft.StreamAnalytics/preview/2017-04-01-preview/functions.json#L423:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters' removed or renamed?
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L459:3
    Old: Microsoft.StreamAnalytics/preview/2017-04-01-preview/functions.json#L423:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'CSharpFunctionRetrieveDefaultDefinitionParameters' removed or renamed?
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L459:3
    Old: Microsoft.StreamAnalytics/preview/2017-04-01-preview/functions.json#L423:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AzureMachineLearningServiceFunctionBinding' removed or renamed?
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L459:3
    Old: Microsoft.StreamAnalytics/preview/2017-04-01-preview/functions.json#L423:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AggregateFunctionProperties' removed or renamed?
    New: Microsoft.StreamAnalytics/stable/2020-03-01/functions.json#L459:3
    Old: Microsoft.StreamAnalytics/preview/2017-04-01-preview/functions.json#L423:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'CustomClrSerialization' removed or renamed?
    New: Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json#L423:3
    Old: Microsoft.StreamAnalytics/preview/2017-04-01-preview/inputs.json#L387:3
    ️️✔️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":"streamanalytics/resource-manager/readme.md",
    "tag":"package-2020-03-preview",
    "details":"> Installing AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0)"|
    |:speech_balloon: AutorestCore/Exception|"readme":"streamanalytics/resource-manager/readme.md",
    "tag":"package-2020-03-preview",
    "details":"> Installed AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"|
    |:speech_balloon: AutorestCore/Exception|"readme":"streamanalytics/resource-manager/readme.md",
    "tag":"package-pure-2020-03",
    "details":"> Loading AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"|
    |:speech_balloon: AutorestCore/Exception|"readme":"streamanalytics/resource-manager/readme.md",
    "tag":"package-pure-2020-03",
    "details":"> Loading AutoRest extension '@autorest/modelerfour' (4.15.456->4.15.456)"|


    The following errors/warnings exist before current PR submission:

    |:speech_balloon: AutorestCore/Exception|"readme":"streamanalytics/resource-manager/readme.md",
    "tag":"package-2020-03-preview",
    "details":"> Loading AutoRest extension '@autorest/modelerfour' (4.15.456->4.15.456)"|
    |:speech_balloon: AutorestCore/Exception|"readme":"streamanalytics/resource-manager/readme.md",
    "tag":"package-pure-2020-03-preview",
    "details":"> Loading AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"|
    |:speech_balloon: AutorestCore/Exception|"readme":"streamanalytics/resource-manager/readme.md",
    "tag":"package-pure-2020-03-preview",
    "details":"> Loading AutoRest extension '@autorest/modelerfour' (4.15.456->4.15.456)"|
    |:speech_balloon: AutorestCore/Exception|"readme":"streamanalytics/resource-manager/readme.md",
    "tag":"package-pure-2017-04-preview",
    "details":"> Loading AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"|
    |:speech_balloon: AutorestCore/Exception|"readme":"streamanalytics/resource-manager/readme.md",
    "tag":"package-pure-2017-04-preview",
    "details":"> Loading AutoRest extension '@autorest/modelerfour' (4.15.456->4.15.456)"|
    |:speech_balloon: AutorestCore/Exception|"readme":"streamanalytics/resource-manager/readme.md",
    "tag":"package-pure-2016-03",
    "details":"> Loading AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"|
    |:speech_balloon: AutorestCore/Exception|"readme":"streamanalytics/resource-manager/readme.md",
    "tag":"package-pure-2016-03",
    "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 15, 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-python-track2 - track2_azure-mgmt-streamanalytics - 1.0.0rc1
    azure-sdk-for-go - streamanalytics/mgmt/2016-03-01/streamanalytics - Approved - v55.2.0
    +	Field `Location` of struct `Resource` has been removed
    +	Field `Tags` of struct `Resource` has been removed
    ️✔️azure-sdk-for-go - preview/streamanalytics/mgmt/2020-03-01-preview/streamanalytics - Approved - v55.2.0
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    ️⚠️ azure-sdk-for-python warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 834d3f4. 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-streamanalytics [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation PrivateEndpointsOperations.delete
      info	[Changelog]   - Added operation StreamingJobsOperations.start
      info	[Changelog]   - Added operation StreamingJobsOperations.stop
      info	[Changelog]   - Added operation StreamingJobsOperations.create_or_replace
      info	[Changelog]   - Added operation StreamingJobsOperations.delete
      info	[Changelog]   - Added operation InputsOperations.test
      info	[Changelog]   - Added operation ClustersOperations.create_or_update
      info	[Changelog]   - Added operation ClustersOperations.update
      info	[Changelog]   - Added operation ClustersOperations.delete
      info	[Changelog]   - Added operation FunctionsOperations.test
      info	[Changelog]   - Added operation OutputsOperations.test
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Operation PrivateEndpointsOperations.create_or_update has a new signature
      info	[Changelog]   - Operation TransformationsOperations.get has a new signature
      info	[Changelog]   - Operation SubscriptionsOperations.list_quotas has a new signature
      info	[Changelog]   - Operation StreamingJobsOperations.list_by_resource_group has a new signature
      info	[Changelog]   - Operation StreamingJobsOperations.list has a new signature
      info	[Changelog]   - Operation StreamingJobsOperations.get has a new signature
      info	[Changelog]   - Operation PrivateEndpointsOperations.list_by_cluster has a new signature
      info	[Changelog]   - Operation PrivateEndpointsOperations.get has a new signature
      info	[Changelog]   - Operation PrivateEndpointsOperations.create_or_update has a new signature
      info	[Changelog]   - Operation OutputsOperations.list_by_streaming_job has a new signature
      info	[Changelog]   - Operation OutputsOperations.get has a new signature
      info	[Changelog]   - Operation OutputsOperations.delete has a new signature
      info	[Changelog]   - Operation InputsOperations.list_by_streaming_job has a new signature
      info	[Changelog]   - Operation InputsOperations.get has a new signature
      info	[Changelog]   - Operation InputsOperations.delete has a new signature
      info	[Changelog]   - Operation FunctionsOperations.retrieve_default_definition has a new signature
      info	[Changelog]   - Operation FunctionsOperations.list_by_streaming_job has a new signature
      info	[Changelog]   - Operation FunctionsOperations.get has a new signature
      info	[Changelog]   - Operation FunctionsOperations.delete has a new signature
      info	[Changelog]   - Operation ClustersOperations.list_streaming_jobs has a new signature
      info	[Changelog]   - Operation ClustersOperations.list_by_resource_group has a new signature
      info	[Changelog]   - Operation ClustersOperations.get has a new signature
      info	[Changelog]   - Operation StreamingJobsOperations.update has a new signature
      info	[Changelog]   - Operation TransformationsOperations.create_or_replace has a new signature
      info	[Changelog]   - Operation TransformationsOperations.update has a new signature
      info	[Changelog]   - Operation InputsOperations.update has a new signature
      info	[Changelog]   - Operation InputsOperations.create_or_replace has a new signature
      info	[Changelog]   - Operation ClustersOperations.list_by_subscription has a new signature
      info	[Changelog]   - Operation Operations.list has a new signature
      info	[Changelog]   - Operation FunctionsOperations.create_or_replace has a new signature
      info	[Changelog]   - Operation FunctionsOperations.update has a new signature
      info	[Changelog]   - Operation OutputsOperations.update has a new signature
      info	[Changelog]   - Operation OutputsOperations.create_or_replace has a new signature
      info	[Changelog]   - Removed operation PrivateEndpointsOperations.begin_delete
      info	[Changelog]   - Removed operation StreamingJobsOperations.begin_stop
      info	[Changelog]   - Removed operation StreamingJobsOperations.begin_delete
      info	[Changelog]   - Removed operation StreamingJobsOperations.begin_start
      info	[Changelog]   - Removed operation StreamingJobsOperations.begin_create_or_replace
      info	[Changelog]   - Removed operation InputsOperations.begin_test
      info	[Changelog]   - Removed operation ClustersOperations.begin_update
      info	[Changelog]   - Removed operation ClustersOperations.begin_delete
      info	[Changelog]   - Removed operation ClustersOperations.begin_create_or_update
      info	[Changelog]   - Removed operation FunctionsOperations.begin_test
      info	[Changelog]   - Removed operation OutputsOperations.begin_test
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 834d3f4. 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
    • ️✔️streamanalytics/mgmt/2016-03-01/streamanalytics [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Field `Location` of struct `Resource` has been removed
      info	[Changelog] - Field `Tags` of struct `Resource` has been removed
      info	[Changelog]
      info	[Changelog] ### New Content
      info	[Changelog]
      info	[Changelog] - New const `JSON`
      info	[Changelog] - New const `Avro`
      info	[Changelog] - New const `Csv`
      info	[Changelog] - New function `ProxyResource.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `PossibleEventSerializationTypeValues() []EventSerializationType`
      info	[Changelog] - New function `TrackedResource.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New struct `Error`
      info	[Changelog] - New struct `ErrorDetails`
      info	[Changelog] - New struct `ErrorError`
      info	[Changelog] - New struct `ProxyResource`
      info	[Changelog] - New struct `TrackedResource`
      info	[Changelog]
      info	[Changelog] Total 1 breaking change(s), 16 additive change(s).
      info	[Changelog]
    • ️✔️preview/streamanalytics/mgmt/2020-03-01-preview/streamanalytics [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 834d3f4. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/streamanalytics/resource-manager/readme.md
    • ️✔️@azure/arm-streamanalytics [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/streamAnalyticsManagementClient.js → ./dist/arm-streamanalytics.js...
      cmderr	[npmPack] created ./dist/arm-streamanalytics.js in 537ms
    ️️✔️ azure-resource-manager-schemas succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 834d3f4. 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
    • ️✔️streamanalytics [View full logs]  [Release Schema Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @ArcturusZhang ArcturusZhang added the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Jun 15, 2021
    @msyyc
    Copy link
    Member

    msyyc commented Jun 15, 2021

    For python, the breaking change is expected.

    @zhenglaizhang zhenglaizhang added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label Jun 15, 2021
    @zhenglaizhang zhenglaizhang merged commit 834d3f4 into Azure:master Jun 15, 2021
    asager pushed a commit to asager/azure-rest-api-specs that referenced this pull request Jun 24, 2021
    * copy 2016 version into 2020 folder to easily see diff
    
    * add the changes from 2017 preview
    
    * add dynamic scaling api and update api version to 2020
    
    * add new version to readme
    
    * remove accidental changes to 2017 folder
    
    * fix streamingjobs.json
    
    * fix operations api
    
    * minor fixes
    
    * address some review comments
    
    * more validation fixes
    
    * address comments
    
    * fix breaking changes
    
    * prettier fix
    
    * update 2016
    
    * fix some validation checks
    
    * try to fix location/tags validation error
    
    * fix lintdiff
    
    * fix lintdiff warnings
    
    * missed one
    
    Co-authored-by: Roslyn Lu <[email protected]>
    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-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go CI-BreakingChange-Python

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    9 participants