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

feat(command): processing query params of url in put method #3034

Merged
merged 2 commits into from
Feb 9, 2021

Conversation

jlikeme
Copy link
Contributor

@jlikeme jlikeme commented Jan 15, 2021

Signed-off-by: GaoJing 270615179@qq.com

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/master/.github/Contributing.md.

What is the current behavior?

There are no query params in put method when calling device put commands.

Issue Number: #3033

What is the new behavior?

Processing query params of url in put method. In NewPutCommand function, when creating restful url, adding the query params in url.

Does this PR introduce a breaking change?

  • Yes
  • No

New Imports

  • Yes
  • No

Specific Instructions

Are there any specific instructions or things that should be known prior to reviewing?

Other information

Signed-off-by: GaoJing <270615179@qq.com>
@codecov-io
Copy link

Codecov Report

Merging #3034 (4574322) into master (6045104) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3034   +/-   ##
=======================================
  Coverage   40.52%   40.52%           
=======================================
  Files         158      158           
  Lines       13775    13776    +1     
=======================================
+ Hits         5582     5583    +1     
  Misses       7872     7872           
  Partials      321      321           
Impacted Files Coverage Δ
internal/core/command/put.go 71.42% <100.00%> (+2.19%) ⬆️

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 6045104...4574322. Read the comment docs.

@jlikeme jlikeme changed the title feat: processing query params of url in put method feat(command): processing query params of url in put method Jan 15, 2021
@lenny-goodell lenny-goodell linked an issue Jan 22, 2021 that may be closed by this pull request
Copy link
Member

@lenny-goodell lenny-goodell left a comment

Choose a reason for hiding this comment

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

LGTM

@sonarcloud
Copy link

sonarcloud bot commented Feb 9, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@lenny-goodell lenny-goodell merged commit 5c26320 into edgexfoundry:master Feb 9, 2021
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.

[Core Command] processing query params of url in put method
3 participants