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-898 - Add bulk connect to CLI and SDK #956

Merged
merged 8 commits into from
Nov 21, 2019
Merged

MF-898 - Add bulk connect to CLI and SDK #956

merged 8 commits into from
Nov 21, 2019

Conversation

nwneisen
Copy link
Contributor

What does this do?

Adds bulk connect functionality to the SDK and CLI

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

Resolves #898

List any changes that modify/break current functionality

Multiple connections can now be created using the SDK or CLI

Have you included tests for your changes?

Yes

Did you document any new/modified functionality?

Yes

Notes

Signed-off-by: Nick Neisen <nwneisen@gmail.com>
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
@nwneisen nwneisen requested a review from a team as a code owner November 19, 2019 18:50
@codecov-io
Copy link

codecov-io commented Nov 19, 2019

Codecov Report

Merging #956 into master will decrease coverage by 0.33%.
The diff coverage is 70%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #956      +/-   ##
==========================================
- Coverage      84%   83.66%   -0.34%     
==========================================
  Files          75       75              
  Lines        5382     5308      -74     
==========================================
- Hits         4521     4441      -80     
- Misses        586      595       +9     
+ Partials      275      272       -3
Impacted Files Coverage Δ
sdk/go/sdk.go 96.15% <ø> (+1.28%) ⬆️
sdk/go/things.go 65.51% <70%> (-7.96%) ⬇️
users/postgres/database.go 50% <0%> (-6%) ⬇️
users/api/http/transport.go 80.85% <0%> (-2.84%) ⬇️
users/postgres/users.go 48.64% <0%> (-2.83%) ⬇️
things/service.go 88.97% <0%> (-1.48%) ⬇️
users/api/http/responses.go 75% <0%> (ø) ⬆️
users/users.go 68.42% <0%> (ø) ⬆️
... and 5 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 0ab6277...a288c99. Read the comment docs.

sdk/go/things_test.go Outdated Show resolved Hide resolved
docs/cli.md Show resolved Hide resolved
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
docs/cli.md Outdated Show resolved Hide resolved
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
manuio
manuio previously approved these changes Nov 19, 2019
Copy link
Contributor

@manuio manuio left a comment

Choose a reason for hiding this comment

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

LGTM!

Signed-off-by: Nick Neisen <nwneisen@gmail.com>
manuio
manuio previously approved these changes Nov 19, 2019
Copy link
Contributor

@manuio manuio left a comment

Choose a reason for hiding this comment

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

LGTM!

@nwneisen
Copy link
Contributor Author

I'm not sure why the coverage dropped after changing to consts. It's not giving me much information to go off of.

drasko
drasko previously approved these changes Nov 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

@drasko
Copy link
Contributor

drasko commented Nov 19, 2019

Great contribution again @nwneisen, approved. I'll let other take a look and merge tomorrow.

cli/provision.go Outdated Show resolved Hide resolved
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
@nwneisen nwneisen dismissed stale reviews from drasko and manuio via 657b77f November 20, 2019 19:25
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!

@dborovcanin dborovcanin merged commit 76908d7 into absmach:master Nov 21, 2019
@nwneisen nwneisen deleted the MF-898 branch November 25, 2019 17:18
manuio pushed a commit that referenced this pull request Oct 12, 2020
* Add bulk connect to CLI and SDK

Signed-off-by: Nick Neisen <nwneisen@gmail.com>

* Add test for bulk connect

Signed-off-by: Nick Neisen <nwneisen@gmail.com>

* Update docs

Signed-off-by: Nick Neisen <nwneisen@gmail.com>

* Add file example

Signed-off-by: Nick Neisen <nwneisen@gmail.com>

* Add JSON example to CLI docs

Signed-off-by: Nick Neisen <nwneisen@gmail.com>

* Change some value datatypes back

Signed-off-by: Nick Neisen <nwneisen@gmail.com>

* Use constants for file extensions

Signed-off-by: Nick Neisen <nwneisen@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.

Add bulk connect
7 participants