-
Notifications
You must be signed in to change notification settings - Fork 67
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!: Remove Notify out of Device DTO/Model #807
Conversation
BREAKING CHANGE: remove Notify out of Device DTO/Model The current Device model/DTO contains a boolean filed `notify`. When notify is set to true, the device service managing the device will receive a notification. Since core-metadata will publish system event message when device is created or updated, this notify is no longer needed and should be removed. fixes edgexfoundry#805 Signed-off-by: Jude Hung <[email protected]>
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #807 +/- ##
==========================================
+ Coverage 64.46% 64.49% +0.03%
==========================================
Files 80 80
Lines 3079 3076 -3
==========================================
- Hits 1985 1984 -1
+ Misses 905 904 -1
+ Partials 189 188 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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
field into ProvisionWatcher dto BREAKING CHANGE: Remove Notify field out of Device model/dto Per edgexfoundry/go-mod-core-contracts#807, the boolean field notify of Device DTO is removed as device creation notification is handled by system event message now. This commit updates following material to reflect such changes: 1. update go.mod/go.sum to use v3.0.0-dev.20 2. update swagger file correspondingly (remove notify field out of Device dto and add properties field into ProvisionWatcher dto) 3. update unit test correspondingly Signed-off-by: Jude Hung <[email protected]>
Per edgexfoundry/edgex-go#4375 and edgexfoundry/go-mod-core-contracts#807, the notify field of Device DTO is removed, so that documentation should be updated to remove the notify field as well. Signed-off-by: Jude Hung <[email protected]>
Per edgexfoundry/edgex-go#4375 and edgexfoundry/go-mod-core-contracts#807, the notify field of Device DTO is removed, so that documentation should be updated to remove the notify field as well. Signed-off-by: Jude Hung <[email protected]>
BREAKING CHANGE: remove Notify out of Device DTO/Model
The current Device model/DTO contains a boolean filed
notify
. When notify is set to true, the device service managing the device will receive a notification. Since core-metadata will publish system event message when device is created or updated, this notify is no longer needed and should be removed.fixes #805
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:
BREAKING CHANGE:
describing the break)Testing Instructions
New Dependency Instructions (If applicable)