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: Add Client API to Support object value type in Set Command #676

Merged
merged 2 commits into from
Oct 20, 2021

Conversation

weichou1229
Copy link
Member

@weichou1229 weichou1229 commented Oct 19, 2021

Make the Set Command payload to allow object value type parameters.

Closes #675

Signed-off-by: bruce [email protected]

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

PR Checklist

Please check if your PR fulfills the following requirements:

  • I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
  • I am not introducing a new dependency (add notes below if you are)
  • I have added unit tests for the new feature or bug fix (if not, why?)
  • I have fully tested (add details below) this the new feature or bug fix (if not, why?)
  • I have opened a PR for the related docs change (if not, why?)
    feat(command): Support object value type in Set Command edgex-go#3762

Testing Instructions

  1. Clone the repo or pull the branch from:
  2. Run core-service and simple-device with specified core-contracts branch
  3. Execute Set command
  4. Execute Read command to inspect the result
  5. Query event API to inspect the reading result

New Dependency Instructions (If applicable)

@codecov-commenter
Copy link

codecov-commenter commented Oct 19, 2021

Codecov Report

Merging #676 (4dfadb0) into main (cc6dddc) will increase coverage by 0.03%.
The diff coverage is 73.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #676      +/-   ##
==========================================
+ Coverage   62.39%   62.42%   +0.03%     
==========================================
  Files          75       75              
  Lines        2795     2808      +13     
==========================================
+ Hits         1744     1753       +9     
- Misses        884      886       +2     
- Partials      167      169       +2     
Impacted Files Coverage Δ
clients/http/command.go 73.68% <66.66%> (-1.32%) ⬇️
clients/http/deviceservicecommand.go 55.88% <71.42%> (+4.03%) ⬆️
dtos/deviceprofile.go 77.90% <100.00%> (ø)

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 cc6dddc...4dfadb0. Read the comment docs.

Make the Set Command payload to allow object value type parameters.

Closes edgexfoundry#675

Signed-off-by: bruce <[email protected]>
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

Copy link
Member

@cloudxxx8 cloudxxx8 left a comment

Choose a reason for hiding this comment

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

LGTM

@cloudxxx8 cloudxxx8 merged commit 762fd04 into edgexfoundry:main Oct 20, 2021
@weichou1229 weichou1229 deleted the issue-675 branch October 20, 2021 02:46
jinlinGuan pushed a commit to jinlinGuan/go-mod-core-contracts that referenced this pull request May 23, 2022
…exfoundry#676)

Make the Set Command payload to allow object value type parameters.

Closes edgexfoundry#675

Signed-off-by: bruce <[email protected]>
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.

Add Client API to Support object value type in Set Command
4 participants