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

Add MergedMigrationPath to aos_iamanager.cfg #92

Merged
merged 4 commits into from
Dec 10, 2024

Conversation

mykola-kobets-epam
Copy link
Collaborator

No description provided.

@mykola-kobets-epam mykola-kobets-epam force-pushed the iam-migration-fix branch 2 times, most recently from dfd6235 to 46df98e Compare December 6, 2024 17:03
Copy link

codecov bot commented Dec 6, 2024

Codecov Report

Attention: Patch coverage is 93.54839% with 2 lines in your changes missing coverage. Please review.

Project coverage is 85.51%. Comparing base (b4dbb1e) to head (6f03d68).
Report is 88 commits behind head on develop.

Files with missing lines Patch % Lines
src/app/app.cpp 0.00% 1 Missing ⚠️
src/config/config.cpp 85.71% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #92      +/-   ##
===========================================
- Coverage    87.61%   85.51%   -2.10%     
===========================================
  Files           43       49       +6     
  Lines         3092     5205    +2113     
  Branches       225      419     +194     
===========================================
+ Hits          2709     4451    +1742     
- Misses         383      754     +371     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mykola-kobets-epam mykola-kobets-epam force-pushed the iam-migration-fix branch 4 times, most recently from 934e2a0 to eba5d30 Compare December 9, 2024 12:11
Signed-off-by: Mykola Kobets <mykola_kobets@epam.com>
Signed-off-by: Mykola Kobets <mykola_kobets@epam.com>
Signed-off-by: Mykola Kobets <mykola_kobets@epam.com>
@mykola-kobets-epam mykola-kobets-epam changed the title Add (Merged)MigrationPath to aos_iamanager.cfg Add MergedMigrationPath to aos_iamanager.cfg Dec 10, 2024
@@ -38,7 +38,8 @@ Database::Database()
Poco::Data::SQLite::Connector::registerConnector();
}

aos::Error Database::Init(const std::string& dbPath, const std::string& migrationPath)
aos::Error Database::Init(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we pass config reference instead?

Copy link
Collaborator Author

@mykola-kobets-epam mykola-kobets-epam Dec 10, 2024

Choose a reason for hiding this comment

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

There is no entry in the config for dbPath:
App class uses dbPath Poco::Path(config.mValue.mWorkingDir, cDBFileName).toString(),

Signed-off-by: Mykola Kobets <mykola_kobets@epam.com>
@al1img al1img merged commit bfd2d66 into aosedge:develop Dec 10, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants