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 basic gateways CRUD operations to js sdk #620

Merged
merged 4 commits into from
May 3, 2019

Conversation

bafonins
Copy link
Contributor

@bafonins bafonins commented May 2, 2019

Summary

This PR adds basic crud operations to the gateways service in js sdk.
References: #26

Changes

  • Add selectors to the list operation
  • Add basic crud operations to gateways service
  • Fix gateways middleware
  • Add gateways service methods to the console

@bafonins bafonins added c/console This is related to the Console c/sdk/js This is related to the JavaScript SDK labels May 2, 2019
@bafonins bafonins added this to the May 2019 milestone May 2, 2019
@bafonins bafonins requested a review from kschiffer May 2, 2019 13:47
@bafonins bafonins self-assigned this May 2, 2019
@coveralls
Copy link

coveralls commented May 2, 2019

Coverage Status

Coverage decreased (-0.02%) to 73.587% when pulling ec8b4e2 on feature/26-gateways-service into 711d05b on master.

This was referenced May 2, 2019
Copy link
Member

@kschiffer kschiffer left a comment

Choose a reason for hiding this comment

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

Works 👌 . See my comment on unwrapping delete responses.


// Delete

async deleteById (id) {
Copy link
Member

Choose a reason for hiding this comment

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

I think it's better if we also unwrap the results here using Marshaler.payloadSingleResponse(). Same thing with Applications.delete().

@bafonins bafonins force-pushed the feature/26-gateways-service branch from 959952e to ec8b4e2 Compare May 3, 2019 09:57
@bafonins bafonins requested a review from kschiffer May 3, 2019 09:57
Copy link
Member

@kschiffer kschiffer left a comment

Choose a reason for hiding this comment

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

LGTM

@bafonins bafonins merged commit 2970ec3 into master May 3, 2019
@bafonins bafonins deleted the feature/26-gateways-service branch May 3, 2019 10:56
@kschiffer kschiffer mentioned this pull request May 3, 2019
48 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/console This is related to the Console c/sdk/js This is related to the JavaScript SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants