Skip to content

Sample and command line refactor #441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Apr 19, 2023
Merged

Sample and command line refactor #441

merged 28 commits into from
Apr 19, 2023

Conversation

TwistedTwigleg
Copy link
Contributor

Description of changes:

Refactors samples not to rely on cmdUtils to setup MQTT clients, to connect/disconnect for connect samples, and overall just makes cmdUtils go back to command line parsing and nothing more.

Also contains the following minor changes:

  • Adjusts all samples to register all command line commands and get the data from said commands in a single function, rather than doing it individually in each sample.
    • This also fixed a few minor inconsistencies that slipped through: like region being used in a couple samples instead of signing_region.
  • Fixes possible Cross-SDK repository communication for PubSub by appending UUIDs to topics

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@xiazhvera xiazhvera left a comment

Choose a reason for hiding this comment

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

Looks good to me! Some trivial comments here.

@TwistedTwigleg
Copy link
Contributor Author

Thanks! Merging into main...

@TwistedTwigleg TwistedTwigleg merged commit d0ae85a into main Apr 19, 2023
@TwistedTwigleg TwistedTwigleg deleted the sample_refactor branch April 19, 2023 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants