-
Notifications
You must be signed in to change notification settings - Fork 77
Add 2.0 API pollers routes #133
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 2.0 API pollers routes #133
Conversation
* GET /pollers/library
* GET /pollers/library/{identifier}
* GET /pollers
* GET /pollers/{identifier}
* POST /pollers
* PATCH /pollers/{identifier}
* DELETE /pollers/{identifier}
* PATCH /pollers/{identifier}/pause
* PATCH /pollers/{identifier}/resume
* GET /pollers/{identifier}/data
* GET /pollers/{identifier}/data/current
| body: mockData | ||
| }; | ||
| var res = {}; | ||
| var mockError = new Error('deserializer error'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'mockError' is already defined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'mockError' is already defined.
|
Coverage should improve when @srinia6 submits her PR with unit tests. |
|
@RackHD/corecommitters @geoff-reid @srinia6 @dalebremner @abildw |
|
@brianparry Will there be any functional tests created for these new APIs? |
|
@jlongever Yes. We're planning to start creating functional tests for all of the 2.0 routes soon. We added some test stories to our backlog on Friday. I expect we will start working on them next sprint. |
| @@ -0,0 +1,79 @@ | |||
| // Copyright 2015, EMC, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
created on 2015 or 2016 ?
|
👍 |
1 similar comment
|
👍 |
| body: mockData | ||
| }; | ||
| var res = {}; | ||
| var mockError = new Error('deserializer error'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'mockError' is already defined.
acb31b4 to
6307b77
Compare
|
|
|
test this please |
|
+1 |
This change includes the following methods/routes. @srinia6 will be submitting a follow-on PR with unit tests for these routes.