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

MF-488 - Remove Thing type (app or device) #718

Merged
merged 6 commits into from
Apr 20, 2019
Merged

MF-488 - Remove Thing type (app or device) #718

merged 6 commits into from
Apr 20, 2019

Conversation

manuio
Copy link
Contributor

@manuio manuio commented Apr 17, 2019

Signed-off-by: Manuel Imperiale manuel.imperiale@gmail.com

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
@codecov-io
Copy link

codecov-io commented Apr 17, 2019

Codecov Report

Merging #718 into master will decrease coverage by 1.27%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #718      +/-   ##
==========================================
- Coverage   86.59%   85.32%   -1.28%     
==========================================
  Files          64       64              
  Lines        4372     3993     -379     
==========================================
- Hits         3786     3407     -379     
+ Misses        400      399       -1     
- Partials      186      187       +1
Impacted Files Coverage Δ
sdk/go/sdk.go 96.15% <ø> (+2.4%) ⬆️
things/api/http/endpoint.go 98.14% <ø> (-1.21%) ⬇️
things/redis/streams.go 93.44% <ø> (-2.02%) ⬇️
readers/cassandra/messages.go 91.66% <ø> (-0.65%) ⬇️
things/api/http/responses.go 90.14% <ø> (-2.42%) ⬇️
things/postgres/init.go 91.48% <ø> (-0.35%) ⬇️
things/things.go 100% <ø> (ø) ⬆️
things/redis/events.go 88.23% <ø> (-2.04%) ⬇️
things/api/http/requests.go 96% <100%> (-0.67%) ⬇️
things/postgres/things.go 76.07% <100%> (-1.12%) ⬇️
... and 13 more

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 44615c5...679b9fc. Read the comment docs.

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
This proves that messages have been well send through the system, via protocol adapter (`mainflux-http`) and `normalizer` service which corectly parsed messages.
Copy link
Contributor

Choose a reason for hiding this comment

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

correctly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks

@@ -35,7 +35,7 @@ const (
)

var (
thing = things.Thing{Type: "app", Name: "test_app", Metadata: map[string]interface{}{"test": "data"}}
thing = things.Thing{ Name: "test_app", Metadata: map[string]interface{}{"test": "data"}}
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove extra space in front of Name:.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks

Copy link
Contributor

@anovakovic01 anovakovic01 left a comment

Choose a reason for hiding this comment

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

@manuio You'll have to remove type from UI too. :)

@manuio
Copy link
Contributor Author

manuio commented Apr 18, 2019

@anovakovic01 sure :) I'm starting right now

manuio and others added 2 commits April 18, 2019 20:45
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
drasko
drasko previously approved these changes Apr 19, 2019
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

Copy link
Collaborator

@dborovcanin dborovcanin left a comment

Choose a reason for hiding this comment

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

@@ -87,6 +87,13 @@ func TestCreateThing(t *testing.T) {
err: nil,
location: "1",
},
{
desc: "create new epmty thing",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Typo: epmty.

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
Signed-off-by: Manuel Imperiale <manuel.imperiale@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

Copy link
Contributor

@anovakovic01 anovakovic01 left a comment

Choose a reason for hiding this comment

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

LGTM!

@drasko drasko merged commit b97deb5 into absmach:master Apr 20, 2019
davide83 pushed a commit to davide83/mainflux that referenced this pull request May 13, 2019
* MF-488 - Remove Thing type (app or device)

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Typo fix

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
rugwirobaker pushed a commit to rugwirobaker/mainflux that referenced this pull request Jun 26, 2019
* MF-488 - Remove Thing type (app or device)

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Typo fix

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
manuio added a commit that referenced this pull request Oct 12, 2020
* MF-488 - Remove Thing type (app or device)

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Typo fix

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@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.

5 participants