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!: Change Database configuration to be single instance #4308

Merged
merged 2 commits into from
Jan 26, 2023

Conversation

lenny-goodell
Copy link
Member

@lenny-goodell lenny-goodell commented Jan 25, 2023

BREAKING CHANGE: Database configuration for services has changed from a Map to a single instance

closes #4131

Signed-off-by: Leonard Goodell leonard.goodell@intel.com

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md

PR Checklist

Please check if your PR fulfills the following requirements:

  • I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
  • I am not introducing a new dependency (add notes below if you are)
  • I have added unit tests for the new feature or bug fix (if not, why?) N/A
  • I have fully tested (add details below) this the new feature or bug fix (if not, why?)
  • I have opened a PR for the related docs change (if not, why?)
    TBD

Testing Instructions

run make docker using this branch
run make run ds-virtual dev from compose builder from edgexfoundry/edgex-compose#328
Verify all service bootstrap successfully

New Dependency Instructions (If applicable)

BREAKING CHANGE: Database configuation for services has changed from a Map to a single instance

closes edgexfoundry#4131

Signed-off-by: Leonard Goodell <leonard.goodell@intel.com>
jim-wang-intel
jim-wang-intel previously approved these changes Jan 25, 2023
Copy link
Contributor

@jim-wang-intel jim-wang-intel left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Leonard Goodell <leonard.goodell@intel.com>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
36.7% 36.7% Duplication

Copy link
Collaborator

@bnevis-i bnevis-i left a comment

Choose a reason for hiding this comment

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

Look ok, but honestly I don't think a lot of these services need "database" anymore as much as they need "messagebus"

@lenny-goodell
Copy link
Member Author

Look ok, but honestly I don't think a lot of these services need "database" anymore as much as they need "messagebus"

@bnevis-i , the MessageBus doesn't provide any persistence. ;-)

@lenny-goodell lenny-goodell merged commit a37026e into edgexfoundry:main Jan 26, 2023
@lenny-goodell lenny-goodell deleted the refactor-db-config branch January 26, 2023 00:01
Copy link
Contributor

@marcpfuller marcpfuller 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.

[Edgex 3.0] Refactor Database config to simplify to single DB rather than collection of DBs
4 participants