-
Notifications
You must be signed in to change notification settings - Fork 485
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
feature(query-params): Pass QueryParams through EdgeX to Device Services #1571
feature(query-params): Pass QueryParams through EdgeX to Device Services #1571
Conversation
@ernestojeda I assume you're working on the ARM build?
|
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.
I've asked @rsdmike to extend the unit tests with some positive cases where the querystring isn't empty and also to verify we're correctly guarding against malformed querystrings.
Will review again when updated. Otherwise LGTM. Functional test was successful.
Codecov Report
@@ Coverage Diff @@
## master #1571 +/- ##
==========================================
- Coverage 29.4% 28.49% -0.92%
==========================================
Files 125 124 -1
Lines 11000 10998 -2
==========================================
- Hits 3235 3134 -101
- Misses 7594 7697 +103
+ Partials 171 167 -4
Continue to review full report at Codecov.
|
836aa9d
to
59f9d02
Compare
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.
LGTM.
Note, I think the Codecov.io report is in error. The negatively affected files which are attributable to the nearly %1 drop aren't even part of this PR. I think the commit history in the feature branch has thrown off the report. If that turns out to not be the case, will revisit with @rsdmike in the morning.
This pull request is an example/POC that @lenny-intel and I put together of how edgexfoundry#1564 could be accomplished. This is only 1/2 of the equation as the device-sdk would need to be updated to handle the query parameters. The good thing with this is that it wouldn't be a breaking change as the device-sdk would simply ignore the query parameters that are sent on. Addresses edgexfoundry#1564 Signed-off-by: Mike Johanson <michael.johanson@intel.com>
…ces (edgexfoundry#1571) Fix edgexfoundry#1564 This pull request is an example/POC that @lenny-intel and I put together of how edgexfoundry#1564 could be accomplished. This is only 1/2 of the equation as the device-sdk would need to be updated to handle the query parameters. The good thing with this is that it wouldn't be a breaking change as the device-sdk would simply ignore the query parameters that are sent on. Signed-off-by: Mike Johanson <michael.johanson@intel.com>
This pull request is an example/POC that @lenny-intel and I put together of how #1564 could be accomplished. This is only 1/2 of the equation as the device-sdk would need to be updated to handle the query parameters. The good thing with this is that it wouldn't be a breaking change as the device-sdk would simply ignore the query parameters that are sent on.
Signed-off-by: Mike Johanson michael.johanson@intel.com