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

add support for users #145

Merged
merged 6 commits into from
Feb 26, 2020
Merged

add support for users #145

merged 6 commits into from
Feb 26, 2020

Conversation

sbfaulkner
Copy link
Contributor

@sbfaulkner sbfaulkner commented Feb 14, 2020

this PR adds support (and tests) for user-related API operations

the endpoints supported are...

GET /users
GET /customer/<id>/users
GET /current_user
GET /user/<id>
POST /user
PUT /user/<id>
DELETE /user/<id>

/cc @philippschulte

@sbfaulkner
Copy link
Contributor Author

or maybe @phamann ?

Copy link
Member

@phamann phamann left a comment

Choose a reason for hiding this comment

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

Thanks for this contribution @sbfaulkner.
👍 LGTM other than a minor nit about struct fields.

fastly/user.go Outdated Show resolved Hide resolved
@sbfaulkner
Copy link
Contributor Author

if this is good, I'd appreciate if y'all could merge and ship a new version of the package (so we can add some terraform support for it)

@phamann
Copy link
Member

phamann commented Feb 24, 2020

Apologies, @sbfaulkner I forgot to CC @philippschulte in my PR review, I'd like to get his approval before we merge and cut a new release. @philippschulte This looks good to me, can you please review and release?

Copy link
Member

@philippschulte philippschulte left a comment

Choose a reason for hiding this comment

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

Looking good, thank you! I just commented on a couple of details.

fastly/user.go Outdated Show resolved Hide resolved
fastly/user.go Outdated Show resolved Hide resolved
fastly/user.go Show resolved Hide resolved
fastly/user.go Show resolved Hide resolved
fastly/user.go Show resolved Hide resolved
fastly/user_test.go Show resolved Hide resolved
@sbfaulkner
Copy link
Contributor Author

maybe now @philippschulte

Copy link
Member

@philippschulte philippschulte left a comment

Choose a reason for hiding this comment

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

Looking good! Thanks for the changes!

@philippschulte philippschulte merged commit 0d40e83 into fastly:master Feb 26, 2020
@sbfaulkner sbfaulkner deleted the users branch February 26, 2020 15:02
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.

None yet

3 participants