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

refactor(meta): V2 Device OperatingState value change #385

Merged
merged 3 commits into from
Dec 8, 2020

Conversation

weichou1229
Copy link
Member

@weichou1229 weichou1229 commented Dec 8, 2020

Fix #318

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/go-mod-core-contracts/blob/master/.github/Contributing.md.

What is the current behavior?

Issue Number: #318

What is the new behavior?

V2 Device OperatingState value change the enumeration value of OperatingState from Enabled/Disabled to Up/Down/Unknown

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?
This PR is based on the #384

Discussed in the Device WG meeting on 5th-Oct-2020, the OperatingState field in DeviceService model is not used. Its status should be monitored via health check like other services in general, so it is not necessary to manage it in core-metadata.

Fix edgexfoundry#319

Signed-off-by: weichou <weichou1229@gmail.com>
Fix edgexfoundry#318

Signed-off-by: weichou <weichou1229@gmail.com>
Discussed in the Device WG meeting on 5th-Oct-2020, we would like to change the enumeration value of OperatingState from Enabled/Disabled to Up/Down/Unknown.

Fix edgexfoundry#318

Signed-off-by: weichou <weichou1229@gmail.com>
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

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.

[V2 metadata] Device OperatingState value change
2 participants