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

DB-Layer fixes/enhancements #26

Merged
merged 3 commits into from
Oct 19, 2020
Merged

Conversation

a-barboza
Copy link
Contributor

  • Added additional DBs
  • NoDelete option used (Set|Mod)Entry
  • MultiDB changes
  • GetKeysByPattern(), Publish(), RunScript()
  • DeleteKeys() bug fix

* Added additional DBs
* NoDelete option used (Set|Mod)Entry
* MultiDB changes
* GetKeysByPattern(), Publish(), RunScript()
* DeleteKeys() bug fix
* Go Test fix for Multi-DB Config File missing.
@sachinholla
Copy link
Contributor

@a-barboza, tests failed due to missing database_config.json file in the test environment. Please include sonic-mgmt-common/tools/test/database_config.json file also in this PR.

@a-barboza
Copy link
Contributor Author

@a-barboza, tests failed due to missing database_config.json file in the test environment. Please include sonic-mgmt-common/tools/test/database_config.json file also in this PR.

Yes, I saw this. I had already included this in the translib/db/db_test.go go test file. But there are other go tests besides the db/db_test.go that do not include the file. Trying to see if there are other ways to provide a default if the file is not found

* Added Multi-DB Test Config file tools/test/database_config.json
* DB Layer uses the sonic-mgmt-common database_config.json file
  as a last resort if the file specified by DB_CONFIG_PATH environment
  variable, or the default file cannot be found.
@renukamanavalan renukamanavalan merged commit 5e2466b into sonic-net:master Oct 19, 2020
@a-barboza a-barboza deleted the dblayer branch June 7, 2023 21:15
@a-barboza a-barboza restored the dblayer branch June 7, 2023 21:16
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