azure-sdk-for-java
azure-sdk-for-java copied to clipboard
[FEATURE REQ] LIVE test for mgmt GA Lite packages
Guide https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/HOW_TO_ADD_LIVE_TESTS.md
Sample PR (databricks) https://github.com/Azure/azure-sdk-for-java/pull/35315
Test can be very simple, just find the basic resource, create it (one can refer to samples for parameters, but it could be wrong; a better place would be Portal and its "export ARM template"), do some get/list, then delete it in finally
block.
Have a pair of // @embedmeStart
// @embedmeEnd
enclosing the code that create a resource.
Autorest.Java will extract it to README.md "Examples" section in next codegen.
Following lib would be avoided at present
- service that share track2 data-plane and mgmt-plane lib in same folder (especially those having data-plane
test-resources.json/bicep
), e.g. https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/eventgrid
PS: for shared folder, we should be able to specify another folder for bicep in "tests.mgmt.yml" e.g. https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/communication/communication-tests-template.yml#L14-L17. But better to delay it, as they are not many.
high priority
- [x] avs
- [x] cognitiveservices
- [ ] digitaltwins
- [x] hdinsight
- [x] iothub
- [x] mysql
- [x] mysqlflexibleserver (non-GA)
- [x] postgresql
- [x] postgresqlflexibleserver (non-GA)
- [x] redisenterprise
lower priority
- [x] recoveryservicesbackup
- [x] changeanalysis
- [ ] communication (data-plane)
- [ ] desktopvirtualization
- [ ] eventgrid (data-plane)
- [ ] fluidrelay
- [ ] iotcentral
- [x] machinelearningservices
- [ ] newrelicobservability
- [x] providerhub
- [ ] qumulo
- [x] recoveryservices
- [x] resourcemover
- [x] storagemover
- [ ] voiceservices
- [ ] webpubsub (data-plane)
- [x] workloads