Skip to content
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

[MQTT] Generate random client ID #1034

Merged
merged 2 commits into from
Jan 8, 2021

Conversation

VonOx
Copy link
Contributor

@VonOx VonOx commented Jan 6, 2021

Pull Request check-list

To ensure your Pull Request can be accepted as fast as possible, make sure to review and check all of these items:

- [ ] If your changes affects code, did your write the tests?

  • Are tests passing? (npm test on both front/server)
  • Is the linter passing? (npm run eslint on both front/server)
  • Did you run prettier? (npm run prettier on both front/server)

- [ ] If you are adding a new features/services, did you run integration comparator? (npm run compare-translations on front)
- [ ] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
- [ ] If you are adding a new features/services which needs explanation, did you modify the user documentation? See the GitHub repo and the website.
- [ ] Did you add fake requests data for the demo mode (front/src/config/demo.json) so that the demo website is working without a backend? (if needed) See https://demo.gladysassistant.com.

NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.

Description of change

Fix #1033

@codecov
Copy link

codecov bot commented Jan 6, 2021

Codecov Report

Merging #1034 (6cb8c12) into master (ad845d5) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1034   +/-   ##
=======================================
  Coverage   94.97%   94.97%           
=======================================
  Files         524      524           
  Lines        6944     6944           
=======================================
  Hits         6595     6595           
  Misses        349      349           
Impacted Files Coverage Δ
server/services/mqtt/lib/connect.js 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ad845d5...6cb8c12. Read the comment docs.

@VonOx VonOx marked this pull request as ready for review January 7, 2021 08:07
@VonOx VonOx requested a review from Pierre-Gilles January 7, 2021 08:07
Copy link
Contributor

@Pierre-Gilles Pierre-Gilles left a comment

Choose a reason for hiding this comment

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

Good for me! Thanks for your PR 🙏

@Pierre-Gilles Pierre-Gilles merged commit d12ee01 into GladysAssistant:master Jan 8, 2021
atrovato pushed a commit to atrovato/Gladys that referenced this pull request Feb 21, 2021
* ✨ mqtt clientId random suffix

* 🐛 Revert logging for fixing test
@VonOx VonOx deleted the mqtt-client branch September 5, 2021 08:15
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.

[MQTT] Client ID configuration
2 participants