feat: add collection and session sqlite configurations#18
Conversation
- Added `auth_api_sqlite_collection_file_path` and `auth_api_sqlite_collection_pool_size` - Added `auth_api_sqlite_session_file_path` and `auth_api_sqlite_session_pool_size` - Updated `DpsConfig::new()` to load these from environment variables - Added getters and setters with appropriate defaults - Updated README.md with new properties and environment variable examples - Added unit tests for new properties Co-authored-by: pauldps <1726774+pauldps@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Co-authored-by: pauldps <1726774+pauldps@users.noreply.github.com>
- Added collection and session SQLite configurations - Updated README.md - Added tests - Formatted code with cargo fmt Co-authored-by: pauldps <1726774+pauldps@users.noreply.github.com>
This PR adds four new properties to the
DpsConfigstruct to support SQLite configurations for "collection" and "session" databases, alongside the existing "main" database configuration.New properties:
auth_api_sqlite_collection_file_path(default:data/collection-development.db)auth_api_sqlite_collection_pool_size(default:1)auth_api_sqlite_session_file_path(default:data/session-development.db)auth_api_sqlite_session_pool_size(default:1)Each property has a corresponding getter and setter, and can be configured via environment variables. The README has been updated to reflect these changes. tests have been added to ensure correctness.
PR created automatically by Jules for task 11847150933469752607 started by @pauldps