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

NOISSUE - Add content type as part of MQTT subscription topic #810

Merged
merged 3 commits into from
Jul 29, 2019

Conversation

anovakovic01
Copy link
Contributor

What does this do?

Adds content type as part of MQTT subscription topic.

Which issue(s) does this PR fix/relate to?

There is no issue for this PR.

List any changes that modify/break current functionality

The default value for content type is not SenML JSON, but an empty string.

Have you included tests for your changes?

No.

Did you document any new/modified functionality?

I've updated existing docs.

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
Remove default content type value (SenML JSON) and replace it with
an empty string.

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
Copy link
Contributor

@drasko drasko left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-io
Copy link

Codecov Report

Merging #810 into master will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #810      +/-   ##
==========================================
+ Coverage   85.29%   85.37%   +0.07%     
==========================================
  Files          72       72              
  Lines        4653     4651       -2     
==========================================
+ Hits         3969     3971       +2     
+ Misses        455      452       -3     
+ Partials      229      228       -1
Impacted Files Coverage Δ
http/api/transport.go 74.39% <ø> (-0.61%) ⬇️
ws/api/transport.go 87.7% <100%> (+1.63%) ⬆️
things/service.go 88.02% <0%> (+1.4%) ⬆️

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 2996193...d3a7c61. Read the comment docs.

@drasko drasko merged commit 55d03ec into absmach:master Jul 29, 2019
manuio pushed a commit that referenced this pull request Oct 12, 2020
* Add content type to MQTT sub topic

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>

* Remove default content type value

Remove default content type value (SenML JSON) and replace it with
an empty string.

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>

* Update docs in accordance with changes

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
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.

4 participants