No compilation issues, mvn verify works, live test can pass for list operation, etc.
Verification steps:
- Clone
azure-rest-api-specs repo
- Add java specific configs in tspconfig.yaml in local
azure-rest-api-specs repo, e.g. https://github.com/XiaofeiCao/azure-rest-api-specs/blob/mpg_fluentgen/specification/sphere/Sphere.Management/tspconfig.yaml (notice the added "service-dir", "emit" and "@azure-tools/typespec-java" options)
- Under
azure-sdk-for-java repo root, run pwsh eng/common/scripts/TypeSpec-Project-Process.ps1 <path-to-local-tsp-file-folder>
e.g. pwsh eng/common/scripts/TypeSpec-Project-Process.ps1 ../azure-rest-api-specs/specification/communitytraining/Community.Management
, verify generation process
- Under generated SDK repo folder, run
a. mvn install -f <path-to-sdk-repo>/eng/code-quality-reports/pom.xml
b. mvn verify -f <path-to-generated-sdk-pom>/pom.xml "-Dcodesnippet.skip"
- Add live test for
list operation and run, verify test pass.
- (Optional) api-view diff check for existing SDKs generated with Swagger.
### Tasks
- [x] azurelargeinstance - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/azurelargeinstance/AzureLargeInstance.Management
- [x] communitytraining - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/communitytraining/Community.Management
- [x] containerservicefleet - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/containerservice/Fleet.Management
- [ ] containerstorage - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/containerstorage/ContainerStorage.Management
- [x] devopsinfrastructure - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure
- [ ] iotoperationsdataprocessor - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management
- [ ] iotoperationsmq - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/iotoperationsmq/IoTOperationsMQ.Management
- [ ] iotoperationsorchestrator - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/iotoperationsorchestrator/IoTOperationsOrchestrator.Management
- [ ] liftrastronomer - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/liftrastronomer/Astronomer.Astro.Management
- [ ] liftrqumulo - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/liftrqumulo/Qumulo.Management
- [ ] mpcnetworkfunction - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/mpcnetworkfunction/MpcNetworkFunction.Management
- [ ] networkanalytics - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/networkanalytics/NetworkAnalytics.Management
- [ ] newrelic - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/newrelic/NewRelic.Management
- [ ] playwrighttesting - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/playwrighttesting/PlaywrightTesting.Management
No compilation issues,
mvn verifyworks, live test can pass forlistoperation, etc.Verification steps:
azure-rest-api-specsrepoazure-rest-api-specsrepo, e.g. https://github.com/XiaofeiCao/azure-rest-api-specs/blob/mpg_fluentgen/specification/sphere/Sphere.Management/tspconfig.yaml (notice the added "service-dir", "emit" and "@azure-tools/typespec-java" options)azure-sdk-for-javarepo root, runpwsh eng/common/scripts/TypeSpec-Project-Process.ps1 <path-to-local-tsp-file-folder>e.g.
pwsh eng/common/scripts/TypeSpec-Project-Process.ps1 ../azure-rest-api-specs/specification/communitytraining/Community.Management, verify generation process
a. mvn install -f
<path-to-sdk-repo>/eng/code-quality-reports/pom.xmlb. mvn verify -f
<path-to-generated-sdk-pom>/pom.xml "-Dcodesnippet.skip"listoperation and run, verify test pass.