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: Use Core Metadata Version API for version check #906

Merged
merged 1 commit into from
Jun 17, 2021

Conversation

lenny-goodell
Copy link
Member

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)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Core Data is now optional, so need to use service that will always be present.

Issue Number: #902

What is the new behavior?

Core Data is used for version check, but is now optional service is device services are using MessageBus and no persistence is needed/enabled.

Does this PR introduce a breaking change?

  • Yes
  • No

Are there any new imports or modules? If so, what are they used for and why?

no

Are there any specific instructions or things that should be known prior to reviewing?

Other information

@lenny-goodell lenny-goodell changed the title refactor: Use Core Data version API for version check refactor: Use Core Metadata version API for version check Jun 17, 2021
AlexCuse
AlexCuse previously approved these changes Jun 17, 2021
AlexCuse
AlexCuse previously approved these changes Jun 17, 2021
@lenny-goodell lenny-goodell changed the title refactor: Use Core Metadata version API for version check refactor: Use Core Metadata Version API for version check Jun 17, 2021
Core Data is now optional, so need to use service (Core Metadata) that will always be present.

close edgexfoundry#902

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

Codecov Report

Merging #906 (7d6ed2f) into master (14beec0) will decrease coverage by 0.17%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #906      +/-   ##
==========================================
- Coverage   63.81%   63.64%   -0.18%     
==========================================
  Files          33       33              
  Lines        2117     2107      -10     
==========================================
- Hits         1351     1341      -10     
  Misses        675      675              
  Partials       91       91              
Impacted Files Coverage Δ
internal/bootstrap/handlers/version.go 81.13% <80.00%> (-3.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 14beec0...7d6ed2f. Read the comment docs.

@lenny-goodell lenny-goodell requested a review from AlexCuse June 17, 2021 16:14
@lenny-goodell lenny-goodell merged commit 94336c9 into edgexfoundry:master Jun 17, 2021
@lenny-goodell lenny-goodell deleted the version-check branch June 17, 2021 16:17
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.

3 participants