Add optional SQLite persistence layer for development and testing - #74
Conversation
Co-authored-by: axymthr <17650429+axymthr@users.noreply.github.com>
Co-authored-by: axymthr <17650429+axymthr@users.noreply.github.com>
Co-authored-by: axymthr <17650429+axymthr@users.noreply.github.com>
|
@copilot remove the file main.css from this PR. |
Co-authored-by: axymthr <17650429+axymthr@users.noreply.github.com>
Done. Removed main.css from the PR and added it to .gitignore as it's a Tailwind CSS build artifact that gets regenerated during the build process. (commit: will be added after this comment) Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot rebase from develop |
Rebased onto develop successfully (commit e673a77). The branch now includes 7 new commits from develop:
Resolved merge conflict in .gitignore (combined VS Code/JTE entries with SQLite entries). Build and tests pass successfully.
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
SQLite Persistence Layer Implementation - COMPLETE ✅
Summary
Successfully implemented an optional SQLite persistence layer for the VMS web-backend Spring Boot application. The implementation is disabled by default and requires explicit double opt-in (profile + property) to activate.
Key Features
sqlite+ propertyvms.persistence.sqlite.enabled=true)Files Modified/Added
pom.xml: Added SQLite JDBC and Hibernate dialect dependenciesSQLiteConfig.java: Configuration class with conditional activationapplication-sqlite.yml: SQLite-specific configurationdocs/adr/0004-optional-sqlite-persistence.md: Architecture decision recorddocs/sqlite-persistence.md: 190-line comprehensive user guideREADME.md: Updated to reference SQLite option.gitignore: Excludes SQLite database files and Tailwind build artifactsSQLiteConfigTest.java: Unit tests for SQLite functionalityUse Cases
Configuration Disabled by Default
PostgreSQL with JPA remains the default. SQLite requires explicit activation via both profile and property.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.