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 - Remove auth URL from SDK #1511

Merged
merged 5 commits into from
Dec 2, 2021
Merged

Conversation

fbugarski
Copy link
Contributor

@fbugarski fbugarski commented Nov 30, 2021

Signed-off-by: Filip Bugarski filipbugarski@gmail.com

What does this do?

Remove authURL, and add groupsURL

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

Put here Resolves #XXX to auto-close the issue that your PR fixes (if such)

List any changes that modify/break current functionality

Have you included tests for your changes?

Not needed

Did you document any new/modified functionality?

No

Notes

@fbugarski fbugarski requested a review from a team as a code owner November 30, 2021 09:25
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Nov 30, 2021

Codecov Report

Merging #1511 (c7e1786) into master (31d30b2) will increase coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1511      +/-   ##
==========================================
+ Coverage   68.14%   68.16%   +0.01%     
==========================================
  Files         132      132              
  Lines       10781    10781              
==========================================
+ Hits         7347     7349       +2     
+ Misses       2839     2838       -1     
+ Partials      595      594       -1     
Impacted Files Coverage Δ
pkg/sdk/go/groups.go 0.00% <0.00%> (ø)
pkg/sdk/go/sdk.go 100.00% <ø> (ø)
pkg/messaging/nats/publisher.go 36.84% <0.00%> (+10.52%) ⬆️

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 31d30b2...c7e1786. Read the comment docs.

manuio
manuio previously approved these changes Nov 30, 2021
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

cmd/cli/main.go Outdated Show resolved Hide resolved
pkg/sdk/go/groups.go Show resolved Hide resolved
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
cmd/cli/main.go Outdated Show resolved Hide resolved

type assignRequest struct {
Type string `json:"type,omitempty"`
Members []string `json:"members"`
}

type Member struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure, but I think these kind of hig-level struct types are defined elsewhere. Probably in the sdk.go.

pkg/sdk/go/groups.go Outdated Show resolved Hide resolved
Signed-off-by: Filip Bugarski <filipbugarski@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

@dborovcanin dborovcanin merged commit 5112ef6 into absmach:master Dec 2, 2021
mteodor pushed a commit to mteodor/mainflux that referenced this pull request Dec 23, 2021
* Remove auth URL from SDK

Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>

* Update CLi/main.go authURL to GroupsURL

Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>

* Add authURL back

Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>

* Refactor group structures

Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>

* Add AuthURL back to cli/main.go

Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
bioinformatx pushed a commit to bioinformatx/mainflux that referenced this pull request Jan 28, 2022
* Remove auth URL from SDK

Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>

* Update CLi/main.go authURL to GroupsURL

Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>

* Add authURL back

Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>

* Refactor group structures

Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>

* Add AuthURL back to cli/main.go

Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
Signed-off-by: skovacevic <stefan.kovacevic@mainflux.io>
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