-
Notifications
You must be signed in to change notification settings - Fork 91
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!: Change configuration and devices files format to YAML #445
Conversation
cmd/res/configuration.yaml
Outdated
Service: | ||
Port: 59901 | ||
StartupMsg: device modbus started |
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.
Service: | |
Port: 59901 | |
StartupMsg: device modbus started | |
Service: | |
Host: localhost | |
Port: 59901 | |
StartupMsg: device modbus started |
@@ -0,0 +1,56 @@ | |||
# Pre-define Devices | |||
DeviceList: |
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.
Same issue here as in the other PR about fields needing to be camelCase.
BREAKING CHANGE: Configuration and devices files are now in YAML format closes issue edgexfoundry#444 Signed-off-by: Valina Li <valina.li@intel.com>
Signed-off-by: Valina Li <valina.li@intel.com>
Signed-off-by: Valina Li <valina.li@intel.com>
Signed-off-by: Valina Li <valina.li@intel.com>
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 #445 +/- ##
=======================================
Coverage 42.52% 42.52%
=======================================
Files 6 6
Lines 555 555
=======================================
Hits 236 236
Misses 276 276
Partials 43 43 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.
Still need to remove TOML modules from Attribution.txt
Signed-off-by: Valina Li <valina.li@intel.com>
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
BREAKING CHANGE: Configuration and devices files are now in YAML format
closes issue #444
If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/device-modbus-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
device-modbus-go$ make tidy
device-modbus-go$ make build
device-modbus-go$ make test
device-modbus-go$ make docker
edgex-compose$ make pull
edgex-compose/compose-builder$ make run no-secty
device-modbus-go/cmd$ ./device-modbus -cp -o
verified that device-modbus-go log has below printout without error
New Dependency Instructions (If applicable)