Skip to content

2019 08 01 rules engine#6962

Closed
johncrane wants to merge 5 commits intoAzure:masterfrom
johsun-msft:2019_08_01_RulesEngine
Closed

2019 08 01 rules engine#6962
johncrane wants to merge 5 commits intoAzure:masterfrom
johsun-msft:2019_08_01_RulesEngine

Conversation

@johncrane
Copy link

@johncrane johncrane commented Aug 14, 2019

Latest improvements:

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

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 14, 2019

In Testing, Please Ignore

[Logs] (Generated from bc437ef, Iteration 5)

Succeeded Python: test-repo-billy/azure-sdk-for-python [Logs] [Diff]
Warning Go: test-repo-billy/azure-sdk-for-go [Logs] [Diff]
Failed JavaScript: test-repo-billy/azure-sdk-for-js [Logs] [Diff]

@AutorestCI
Copy link

AutorestCI commented Aug 14, 2019

Automation for azure-sdk-for-python

A PR has been created for you based on this PR content.

Once this PR will be merged, content will be added to your service PR:
Azure/azure-sdk-for-python#8766

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@AutorestCI
Copy link

AutorestCI commented Aug 14, 2019

Automation for azure-sdk-for-go

Encountered a Subprocess error: (azure-sdk-for-go)

Command: ['/usr/local/bin/autorest', '/tmp/tmpxsfp1mxn/rest/specification/frontdoor/resource-manager/readme.md', '--go', '--go-sdk-folder=/tmp/tmpxsfp1mxn/src/github.com/Azure/azure-sdk-for-go', '--multiapi', '--preview-chk', '--use=@microsoft.azure/autorest.go@~2.1.137', '--use-onever', '--verbose']
Finished with return code 1
and output:

AutoRest code generation utility [version: 2.0.4283; node: v10.15.3]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest

There is a new version of AutoRest available (2.0.4407).
 > You can install the newer version with with npm install -g autorest@latest

   Loading AutoRest core      '/root/.autorest/@microsoft.azure_autorest-core@2.0.4407/node_modules/@microsoft.azure/autorest-core/dist' (2.0.4407)
   Including configuration file 'file:///tmp/tmpxsfp1mxn/rest/specification/frontdoor/resource-manager/readme.go.md'
   Loading AutoRest extension '@microsoft.azure/autorest.go' (~2.1.137->2.1.137)
   Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.38->2.3.38)
Processing batch task - {"tag":"package-2018-08-preview"} .
   Including configuration file 'file:///tmp/tmpxsfp1mxn/rest/specification/frontdoor/resource-manager/readme.go.md'
Processing batch task - {"tag":"package-2019-04"} .
   Including configuration file 'file:///tmp/tmpxsfp1mxn/rest/specification/frontdoor/resource-manager/readme.go.md'
Processing batch task - {"tag":"package-2019-05"} .
   Including configuration file 'file:///tmp/tmpxsfp1mxn/rest/specification/frontdoor/resource-manager/readme.go.md'
Processing batch task - {"tag":"package-2019-08"} .
   Including configuration file 'file:///tmp/tmpxsfp1mxn/rest/specification/frontdoor/resource-manager/readme.go.md'
Failure during batch task - {"tag":"package-2019-08"} -- Error: [Exception] No input files provided.

Use --help to get help information..
[Exception] No input files provided.

Use --help to get help information.

@yungezz
Copy link
Member

yungezz commented Aug 28, 2019

Hi @sergey-shandar could you pls review this PR?

@sergey-shandar sergey-shandar added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Nov 6, 2019
@sergey-shandar
Copy link
Contributor

@johncrane could you resolve conflicts?

@akning-ms
Copy link
Contributor

Hi @johncrane @sergey-shandar, what is the latest status for this PR as it is pending for a long time?
It is pending on ARM review?

Copy link
Contributor

@ravbhatnagar ravbhatnagar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it may be quicker to get this reviewed and signed off over a call. So please set up a review with armapireview.

}
},
"paths": {
"/providers/Microsoft.Network/checkFrontDoorNameAvailability": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Network/checkFrontDoorNameAvailability": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as above.

"$ref": "#/definitions/FrontDoor"
}
},
"202": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For async, using the 201 + non-terminal provisioning state + azure async operation header is the recommended path. Looks like here you are using the 202 + location header pattern. NRP uses 202 pattern for existing types. but for new types, please consider 201. There are advantages of using the 201 pattern.

}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

patch support missing for top level resource.

"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}/enableHttps": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can the enable and disable https scenario be achieved by a PATCH operation on frontdoor resource itself - like updating the property on frontdoor resource which contains this setting.

"$ref": "#/definitions/RulesEngine"
}
},
"202": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above comment on async. 201 recommended

}
}
},
"RulesEngine": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if these scenarios could be achieved through Azure policy. Have you checked with Policy team?

@akning-ms
Copy link
Contributor

Hi @johncrane, as the PR is pending for a long time, let us know whether you still need it?

@akning-ms
Copy link
Contributor

close it as no response for a long time, pls reopen it when it need

@akning-ms akning-ms closed this Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

9 participants