Repository navigation
feat: persistent storage — H2 file-based with JPA entities - #11
Merged
Merged
Conversation
Plan covers 5 features: - F0: Spring profiles + H2 file-based config - F1: Bulk job JPA entities (3 new entities, 3 repos) - F2: Metadata JPA entities (3 new entities, 3 repos) - F3: Reset behavior with FK-safe truncation - F4: Extensibility documentation for PostgreSQL migration Zero new dependencies. Zero API surface changes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- dev: H2 file-based (./data/sfdb) with ddl-auto: update - test: H2 in-memory with ddl-auto: create-drop - prod: PostgreSQL placeholder with env var config - .gitignore: exclude data/ directory - All 101 tests pass unchanged Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Covers PostgreSQL migration (3 steps, zero code changes), schema management strategies, repository catalog, and future paths for auth, multi-tenancy, and monitoring. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Bulk API: - BulkIngestJob converted from POJO to JPA entity - New entities: BulkBatchEntity (CSV data), BulkRowResultEntity (per-row results) - BulkJobService refactored from ConcurrentHashMap to JPA repositories - 3 new repositories: BulkIngestJobRepository, BulkBatchRepository, BulkRowResultRepository Metadata API: - New entities: MetadataResourceEntity, MetadataDeployJobEntity, MetadataRetrieveJobEntity - MetadataService refactored from 3 ConcurrentHashMaps to JPA repositories - 3 new repositories: MetadataResourceRepository, MetadataDeployJobRepository, MetadataRetrieveJobRepository - Existing record types kept as DTOs for controller compatibility All 101 tests pass. Zero API behavior changes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dev(H2 file),test(H2 mem),prod(PostgreSQL placeholder)Test plan
mvn -pl service package -DskipTests🤖 Generated with Claude Code