Azure / azure-iot-cli-extension

Azure IoT extension for Azure CLI
Other
83 stars 65 forks source link

[Draft] IoT Central cli extension sdk refactor and parameter deprecation #546

Closed HangyiWang closed 2 years ago

HangyiWang commented 2 years ago

It's a draft now since we want to integrate IoT Central July GA version here as well and fix some command support issue from old versions.


Not ready yet. Still working on unit tests and integration tests.

Changes:

  1. Introduce latest IoT Central GA and Preview version sdk for all IoT Central API calls.
    • Commands will call GA version API if they're supported, otherwise they will call Preview version. (except few commands which are needed for other purposes)
  2. Deprecate parameters in some commands since we're going to fully use sdk.
  3. Remove version support in all commands.
  4. No new commands/APIs added.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Thank you for contributing to the IoT extension!

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

Intent for Production

Basic expectations

Azure IoT CLI maintainers reserve the right to enforce any of the outlined expectations.

A PR is considered ready for review when all basic expectations have been met (or do not apply).

HangyiWang commented 2 years ago

Close this since we're going to say sayonara to IoT central. No sdk later.