Azure / azure-sdk-for-rust

This repository is for the active development of the Azure SDK for Rust. For consumers of the SDK we recommend visiting Docs.rs and looking up the docs for any of libraries in the SDK.
MIT License
707 stars 245 forks source link

migrate SDKs to use generated services #803

Open cataggar opened 2 years ago

cataggar commented 2 years ago

The goal is to have the SDKs use the generated services. Ideally, they are a thin layer on top. Previously brought up in #717.

There are several issues for the generated crates that need to be resolved before this will be possible.

johnbatty commented 2 years ago

Do you have an example of how the SDK crates improve the API/interface compared to the autogenerated crates? In other words, what do you expect the "thin layer" to be doing?

cataggar commented 2 years ago

Not yet, we were going to try to figure that out as part of #733.

mario-guerra commented 2 years ago

@cataggar will the service bus crate be included in this effort?

ctaggart commented 2 years ago

@mario-guerra, there is not a generated azure_svc_servicebus crate because the Service Bus Runtime REST API does not have a published specification https://github.com/Azure/azure-rest-api-specs/issues/16429. If it was documented, would we have a REST API implementation and an AMQP implementation of overlapping functionality? There has been some recent work geting an AMQP implemeantion to work with Service Bus in https://github.com/Azure/azure-sdk-for-rust/issues/643 by @minghuaw.