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: Update for new service key names and overrides for hyphen to underscore #208

Merged
merged 3 commits into from
May 18, 2021

Conversation

lenny-goodell
Copy link
Member

@lenny-goodell lenny-goodell commented May 13, 2021

Dependent on edgexfoundry/go-mod-core-contracts#613
Dependent on edgexfoundry/go-mod-bootstrap#216
Dependent on edgexfoundry/device-sdk-go#926

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/device-virtual-go/blob/master/.github/CONTRIBUTING.md

What is the current behavior?

Service key constants have the edgex- prefix

Issue Number: #207 & #189

What is the new behavior?

Service key constants no longer have the edgex- prefix
Hyphen in Overrides are converted to underscore

Does this PR introduce a breaking change?

  • Yes
  • No

BREAKING CHANGE: Service key names used in configuration have changed.

New Imports

  • Yes
  • No

Specific Instructions

Other information

cloudxxx8
cloudxxx8 previously approved these changes May 17, 2021
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

@lenny-goodell lenny-goodell force-pushed the service-keys branch 2 times, most recently from 225b20e to 5ed0bc6 Compare May 17, 2021 19:13
@lenny-goodell lenny-goodell marked this pull request as ready for review May 17, 2021 23:08
…o underscore

closes #207
closes #189

BREAKING CHANGE: Service key names used in configuration have changed.

Signed-off-by: lenny <[email protected]>
@chr1shung
Copy link

Is there any way to re-trigger the sdk build?
Otherwise can't pickup the latest change

@lenny-goodell
Copy link
Member Author

Is there any way to re-trigger the sdk build?
Otherwise can't pickup the latest change

@hahattan Yes, DevOps can do it. Once the CI Pipeline issue is resolved, I'll ping them to restart the SDK merge job so I have the tag to use in these DS PRs. Those tag updates will triggers these PRs to build.

@codecov-commenter
Copy link

Codecov Report

Merging #208 (8d7f49a) into master (702ee4e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #208   +/-   ##
=======================================
  Coverage   55.73%   55.73%           
=======================================
  Files          13       13           
  Lines         811      811           
=======================================
  Hits          452      452           
  Misses        311      311           
  Partials       48       48           

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 702ee4e...8d7f49a. Read the comment docs.

Copy link

@chr1shung chr1shung left a comment

Choose a reason for hiding this comment

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

LGTM

@jpwhitemn jpwhitemn self-requested a review May 18, 2021 23:11
@lenny-goodell lenny-goodell merged commit bdaefdf into edgexfoundry:master May 18, 2021
@lenny-goodell lenny-goodell deleted the service-keys branch July 7, 2021 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants