azure-rest-api-specs icon indicating copy to clipboard operation
azure-rest-api-specs copied to clipboard

[Hub Generated] Publish private branch 'dev-logic-Microsoft.Logic-2022-09-01-preview'

Open AbodeSaafan opened this issue 2 years ago • 16 comments

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

ARM API Information (Control Plane)

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • [ ] new service onboarding
    • [ ] new API version
    • [ ] update existing version for new feature
    • [ ] update existing version to fix swagger quality issue in s360
    • [ ] Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

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

ARM API Review Checklist

Applicability: :warning:

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

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

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • [ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
  • [ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • [ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.

NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)

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

AbodeSaafan avatar Sep 27 '22 18:09 AbodeSaafan

The PR is created based on the updates in the private branch. The updates in the PR has already been reviewed and approved with this PR Azure/azure-rest-api-specs-pr/7415

AbodeSaafan avatar Sep 27 '22 18:09 AbodeSaafan

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️❌Breaking Change(Cross-Version): 2 Errors, 112 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
logic.json 2022-09-01-preview(7f4f0e5) 2019-05-01(main)
logic.json 2022-09-01-preview(7f4f0e5) 2018-07-01-preview(main)

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

Rule Message
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'subscriptionId' removed or renamed?
New: azure-rest-api-specs/blob/7f4f0e5e037b76d8fd045d11ed0bd98775033100/revision#L22147:2
Old: Microsoft.Logic/stable/2019-05-01/logic.json#L13101:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'api-version' removed or renamed?
New: azure-rest-api-specs/blob/7f4f0e5e037b76d8fd045d11ed0bd98775033100/revision#L22147:2
Old: Microsoft.Logic/stable/2019-05-01/logic.json#L13101:3


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

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

Rule Message
:warning: 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'subscriptionId' removed or renamed?
New: azure-rest-api-specs/blob/7f4f0e5e037b76d8fd045d11ed0bd98775033100/revision#L22147:2
Old: Microsoft.Logic/preview/2018-07-01-preview/logic.json#L10081:3
:warning: 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'api-version' removed or renamed?
New: azure-rest-api-specs/blob/7f4f0e5e037b76d8fd045d11ed0bd98775033100/revision#L22147:2
Old: Microsoft.Logic/preview/2018-07-01-preview/logic.json#L10081:3
:warning: 1009 - RemovedRequiredParameter The required parameter 'workflow' was removed in the new version.
Old: Microsoft.Logic/preview/2018-07-01-preview/logic.json#L274:11
:warning: 1009 - RemovedRequiredParameter The required parameter 'workflow' was removed in the new version.
Old: Microsoft.Logic/preview/2018-07-01-preview/logic.json#L2556:11
:warning: 1010 - AddingRequiredParameter The required parameter 'validate' was added in the new version.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L2733:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L79:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L141:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L195:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L258:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L306:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L354:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L401:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L448:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L507:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L566:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L616:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L676:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L732:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L788:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L846:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L906:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L971:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1032:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1086:11
:warning: 1011 - AddingResponseCode The new version adds a response code '200'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1137:11
:warning: 1011 - AddingResponseCode The new version adds a response code '202'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1140:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1200:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1263:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1320:11
:warning: 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1393:11
️❌CredScan: 0 Errors, 0 Warnings failed [Detail]
️⚠️LintDiff: 255 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.6) new version base version
package-preview-2022-09 package-preview-2022-09(7f4f0e5) default(main)

[must fix]The following errors/warnings are introduced by current PR:

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

Rule Message Related RPC [For API reviewers]
:warning: PreviewVersionOverOneYear The API version:2022-09-01-preview having been in a preview state over one year , please move it to GA or retire.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L6
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L51
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L54
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L106
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L116
:warning: RequiredReadOnlySystemData The response of operation:'Workflows_Get' is defined without 'systemData'. Consider adding the systemData to the response.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L155
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L168
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L185
:warning: RequiredReadOnlySystemData The response of operation:'Workflows_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L203
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L216
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L233
:warning: RequiredReadOnlySystemData The response of operation:'Workflows_Update' is defined without 'systemData'. Consider adding the systemData to the response.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L266
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L279
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L296
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L327
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L344
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L377
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L394
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L424
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L441
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L471
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L488
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L530
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L556
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L589
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L606
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L640
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L666
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L699
:warning: LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L725


The following errors/warnings exist before current PR submission:

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

Rule Message
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L154
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L363
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L410
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L457
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L516
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L575
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L625
PostResponseCodes 200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L626
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L673
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L679
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L685
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L741
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L797
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L858
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L915
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L984
ResourceNameRestriction The resource name parameter 'triggerName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L984
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1041
ResourceNameRestriction The resource name parameter 'triggerName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1041
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1095
ResourceNameRestriction The resource name parameter 'triggerName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1095
LroExtension Operations with a 202 response must specify x-ms-long-running-operation: true.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1096
PostResponseCodes An async POST operation must set ''x-ms-long-running-operation' : true'.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1096
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1140
PathForNestedResource The path for nested resource doest not meet the valid resource pattern.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1152
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1152
ResourceNameRestriction The resource name parameter 'triggerName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1152
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1209
ResourceNameRestriction The resource name parameter 'triggerName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1209
ResourceNameRestriction The resource name parameter 'workflowName' should be defined with a 'pattern' restriction.
Location: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L1272
️❌Avocado: 6 Errors, 0 Warnings failed [Detail]
Rule Message
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Logic/workflows/{}/run is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/logic/resource-manager/readme.md
json: Microsoft.Logic/preview/2015-02-01-preview/logic.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Logic/workflows/{}/accessKeys is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/logic/resource-manager/readme.md
json: Microsoft.Logic/preview/2015-02-01-preview/logic.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Logic/workflows/{}/accessKeys/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/logic/resource-manager/readme.md
json: Microsoft.Logic/preview/2015-02-01-preview/logic.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Logic/workflows/{}/accessKeys/{}/list is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/logic/resource-manager/readme.md
json: Microsoft.Logic/preview/2015-02-01-preview/logic.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Logic/workflows/{}/accessKeys/{}/regenerate is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/logic/resource-manager/readme.md
json: Microsoft.Logic/preview/2015-02-01-preview/logic.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Logic/workflows/{}/triggers/ is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/logic/resource-manager/readme.md
json: Microsoft.Logic/preview/2015-02-01-preview/logic.json
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️❌ModelValidation: 10 Errors, 0 Warnings failed [Detail]
Rule Message
MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
Url: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L6571:17
ExampleUrl: preview/2022-09-01-preview/examples/Workflows_CreateOrUpdate.json#L65:15
MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
Url: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L6571:17
ExampleUrl: preview/2022-09-01-preview/examples/Workflows_CreateOrUpdate.json#L129:15
LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
Url: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L669:22
ExampleUrl: preview/2022-09-01-preview/examples/Workflows_Move.json
INVALID_REQUEST_PARAMETER api-version 2019-05-01 is not equal to swagger version
Url: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L6407:15
ExampleUrl: preview/2022-09-01-preview/examples/Locations_ValidateWorkflowExport.json#L2:17
INVALID_REQUEST_PARAMETER api-version 2019-05-01 is not equal to swagger version
Url: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L6455:15
ExampleUrl: preview/2022-09-01-preview/examples/Locations_WorkflowExport.json#L2:17
MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
Url: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L6571:17
ExampleUrl: preview/2022-09-01-preview/examples/Workflows_CreateOrUpdate.json#L65:15
MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
Url: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L6571:17
ExampleUrl: preview/2022-09-01-preview/examples/Workflows_CreateOrUpdate.json#L129:15
LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
Url: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L669:22
ExampleUrl: preview/2022-09-01-preview/examples/Workflows_Move.json
INVALID_REQUEST_PARAMETER api-version 2019-05-01 is not equal to swagger version
Url: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L6407:15
ExampleUrl: preview/2022-09-01-preview/examples/Locations_ValidateWorkflowExport.json#L2:17
INVALID_REQUEST_PARAMETER api-version 2019-05-01 is not equal to swagger version
Url: Microsoft.Logic/preview/2022-09-01-preview/logic.json#L6455:15
ExampleUrl: preview/2022-09-01-preview/examples/Locations_WorkflowExport.json#L2:17
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Swagger Generation Artifacts

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

Breaking Changes Tracking




️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 5e63ea4dcbe1caeb95f1d88f026a94a116108281. SDK Automation 14.0.0
    command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
    command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
  • ️✔️Azure.ResourceManager.Logic [View full logs]  [Preview SDK Changes]
    info	[Changelog]
️⚠️ azure-sdk-for-python-track2 warning [Detail]
  • ⚠️Warning [Logs] Generate from 5e63ea4dcbe1caeb95f1d88f026a94a116108281. SDK Automation 14.0.0
    command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
    cmderr	[automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: There was an error checking the latest version of pip.
    cmderr	[automation_init.sh] WARNING: There was an error checking the latest version of pip.
    cmderr	[automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: There was an error checking the latest version of pip.
    cmderr	[automation_init.sh] WARNING: There was an error checking the latest version of pip.
    cmderr	[automation_init.sh] WARNING: There was an error checking the latest version of pip.
    cmderr	[automation_init.sh] WARNING: There was an error checking the latest version of pip.
    cmderr	[automation_init.sh] WARNING: There was an error checking the latest version of pip.
    cmderr	[automation_init.sh] WARNING: There was an error checking the latest version of pip.
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    cmderr	[automation_generate.sh]
    cmderr	[automation_generate.sh] npm notice New major version of npm available! 9.8.1 -> 10.2.1
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.1>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️track2_azure-mgmt-logic [View full logs]  [Preview SDK Changes]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Added operation group LocationsOperations
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning [Logs] Generate from 5e63ea4dcbe1caeb95f1d88f026a94a116108281. 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
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-logic [View full logs]  [Preview SDK Changes]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 5e63ea4dcbe1caeb95f1d88f026a94a116108281. SDK Automation 14.0.0
    command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️sdk/resourcemanager/logic/armlogic [View full logs]  [Preview SDK Changes]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog] - New enum type `ExportDetailCategory` with values `ExportDetailCategoryInformation`, `ExportDetailCategoryNotSpecified`, `ExportDetailCategoryRequiredStep`
    info	[Changelog] - New enum type `ExportDetailCode` with values `ExportDetailCodeConnectionCloningUnsupported`, `ExportDetailCodeNotSpecified`
    info	[Changelog] - New enum type `ValidationState` with values `ValidationStateFailed`, `ValidationStateNotSpecified`, `ValidationStateSucceeded`, `ValidationStateSucceededWithWarning`
    info	[Changelog] - New enum type `WorkflowExportOptions` with values `WorkflowExportOptionsCloneConnections`, `WorkflowExportOptionsCloneConnectionsGenerateInfrastructureTemplates`, `WorkflowExportOptionsGenerateInfrastructureTemplates`
    info	[Changelog] - New function `*ClientFactory.NewLocationsClient() *LocationsClient`
    info	[Changelog] - New function `NewLocationsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*LocationsClient, error)`
    info	[Changelog] - New function `*LocationsClient.ValidateWorkflowExport(context.Context, string, WorkflowExportRequest, *LocationsClientValidateWorkflowExportOptions) (LocationsClientValidateWorkflowExportResponse, error)`
    info	[Changelog] - New function `*LocationsClient.WorkflowExport(context.Context, string, WorkflowExportRequest, *LocationsClientWorkflowExportOptions) (LocationsClientWorkflowExportResponse, error)`
    info	[Changelog] - New struct `ConnectionExportValidity`
    info	[Changelog] - New struct `ExportDetail`
    info	[Changelog] - New struct `ResourceExportValidity`
    info	[Changelog] - New struct `WorkflowExportRequest`
    info	[Changelog] - New struct `WorkflowExportResult`
    info	[Changelog] - New struct `WorkflowExportValidity`
    info	[Changelog] - New struct `WorkflowExportValidityResult`
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 34 additive change(s).
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 5e63ea4dcbe1caeb95f1d88f026a94a116108281. SDK Automation 14.0.0
    command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
    warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
    command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
  • ️✔️@azure/arm-logic [View full logs]  [Preview SDK Changes]
    info	[Changelog] **Features**
    info	[Changelog]
    info	[Changelog]   - Added operation group Locations
    info	[Changelog]   - Added Interface ConnectionExportValidity
    info	[Changelog]   - Added Interface ExportDetail
    info	[Changelog]   - Added Interface LocationsValidateWorkflowExportOptionalParams
    info	[Changelog]   - Added Interface LocationsWorkflowExportOptionalParams
    info	[Changelog]   - Added Interface ResourceExportValidity
    info	[Changelog]   - Added Interface WorkflowExportRequest
    info	[Changelog]   - Added Interface WorkflowExportResult
    info	[Changelog]   - Added Interface WorkflowExportValidity
    info	[Changelog]   - Added Interface WorkflowExportValidityResult
    info	[Changelog]   - Added Type Alias ExportDetailCategory
    info	[Changelog]   - Added Type Alias ExportDetailCode
    info	[Changelog]   - Added Type Alias LocationsValidateWorkflowExportResponse
    info	[Changelog]   - Added Type Alias LocationsWorkflowExportResponse
    info	[Changelog]   - Added Type Alias ValidationState
    info	[Changelog]   - Added Type Alias WorkflowExportOptions
    info	[Changelog]   - Added Enum KnownExportDetailCategory
    info	[Changelog]   - Added Enum KnownExportDetailCode
    info	[Changelog]   - Added Enum KnownValidationState
    info	[Changelog]   - Added Enum KnownWorkflowExportOptions
️⚠️ azure-resource-manager-schemas warning [Detail]
  • ⚠️Warning [Logs] Generate from 5e63ea4dcbe1caeb95f1d88f026a94a116108281. 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]  notice
    cmderr	[initScript.sh] npm notice New major version of npm available! 8.19.4 -> 10.2.1
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.1>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    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
    warn	No file changes detected after generation
    warn	Skip detect changed packages
️❌ azure-powershell failed [Detail]
  • Pipeline Framework Failed [Logs] Generate from 5e63ea4dcbe1caeb95f1d88f026a94a116108281. 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
    SSL error: syscall failure: Broken pipe
    Error: SSL error: syscall failure: Broken pipe
  • ⚠️Az.logic.DefaultTag [View full logs
    error	Fatal error: SSL error: syscall failure: Broken pipe
    error	The following packages are still pending:
    error		Az.logic.DefaultTag
Posted by Swagger Pipeline | How to fix these errors?

"/subscriptions/{subscriptionId}/providers/Microsoft.Logic/locations/{location}/workflowExport": {

This looks like this defined as a POST action on the locations resource and takes the workflowid as input.

Few points here :

  • If you do it this way , do you plan to add linked access checks to make sure that the called has permissions on the workflow itself ?

  • why did you choose to not instead go adding this as a post action on the workflow instead ? That way you dont have to worry about such RBAC issues


Refers to: specification/logic/resource-manager/Microsoft.Logic/preview/2022-09-01-preview/logic.json:6454 in 7f4f0e5. [](commit_id = 7f4f0e5e037b76d8fd045d11ed0bd98775033100, deletion_comment = False)

raosuhas avatar Oct 10 '22 22:10 raosuhas

Please ensure to respond feedbacks from the ARM API reviewer. When you are ready to continue the ARM API review, please remove ARMChangesRequested

  • We did add the linked access check necessary, ping me on teams and I can share the manifest in our repo that has this check.
  • The reason is that the workflow export API here can take in 1 or more workflows. So the input is an array of workflows and not a single workflow id. For the same reason, we thought the API shouldn't be on a workflow resource since you can export multiple in the same request. We chose location because the workflows you choose to export have to be from the same location. Let me know if that makes sense, I can share more info if needed.

AbodeSaafan avatar Oct 10 '22 22:10 AbodeSaafan

  • We did add the linked access check necessary, ping me on teams and I can share the manifest in our repo that has this check.
  • The reason is that the workflow export API here can take in 1 or more workflows. So the input is an array of workflows and not a single workflow id. For the same reason, we thought the API shouldn't be on a workflow resource since you can export multiple in the same request. We chose location because the workflows you choose to export have to be from the same location. Let me know if that makes sense, I can share more info if needed.

Thanks this makes sense

raosuhas avatar Oct 13 '22 00:10 raosuhas

/azp run

tianxchen-ms avatar Oct 17 '22 02:10 tianxchen-ms

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Oct 17 '22 02:10 azure-pipelines[bot]

/azp run

tianxchen-ms avatar Oct 17 '22 08:10 tianxchen-ms

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Oct 17 '22 08:10 azure-pipelines[bot]

Hi @AbodeSaafan, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review. Action: To initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki. If you want to know the production traffic statistic, please see ARM Traffic statistic. If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback. Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

/azp run

tianxchen-ms avatar Oct 17 '22 08:10 tianxchen-ms

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Oct 17 '22 08:10 azure-pipelines[bot]

Hi @AbodeSaafan

  • There are some CredScan errors in your PR, it may cause credential leak, you can see details in pipeline log.
  • Service seems not deployed, before merge, service should be deployed.

tianxchen-ms avatar Oct 17 '22 08:10 tianxchen-ms

Hi, @AbodeSaafan. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

ghost avatar Nov 06 '22 16:11 ghost

Hi, @AbodeSaafan. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee.

ghost avatar Nov 21 '22 05:11 ghost

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ Your PR has breaking changes (label: BreakingChangeReviewRequired). See the PR description for help.
  • ❌ The required check named Swagger ModelValidation has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it.

Please address or respond to feedback from the ARM API reviewer.
When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
This will notify the reviewer to have another look.
If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

Hi, @AbodeSaafan. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

Hi, @AbodeSaafan. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

Hi, @AbodeSaafan. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee.