Commit 10e9172
authored
This commit addresses configuration inconsistencies between CI/CD pipeline (#56)
and TestContainers setup that would prevent PostgreSQL integration tests
from running correctly when re-enabled.
## Changes Made
### 1. Fixed Flyway Migration Paths
- Files: application-testcontainers-postgresql.yml (datacustodian & thirdparty)
- Before: classpath:db/migration/postgresql (non-existent path)
- After: classpath:db/migration,classpath:db/vendor/postgres
- Impact: Integration tests can now find and execute Flyway migrations
### 2. Upgraded PostgreSQL Version in CI/CD
- File: .github/workflows/ci.yml
- Before: postgres:15
- After: postgres:18
- Impact: Aligns CI/CD with TestContainers environment
### 3. Updated Test Documentation
- File: DataCustodianApplicationPostgresTest.java
- Updated @disabled annotation to reflect:
- Configuration issues (Issue #55) are now RESOLVED
- UUID type mismatch (Issue #53) still blocks test execution
- Tests will be re-enabled after MULTI_PHASE schema compliance plan
## Test Results
Verified that fixing Issue #55 configuration problems does NOT resolve
Issue #53 UUID type mismatch. The test still fails with:
Schema validation: wrong column type encountered in column [id];
found [bpchar (Types#CHAR)], but expecting [uuid (Types#UUID)]
This confirms Issue #53 requires V4 migration script to convert CHAR(36)
columns to native UUID type, which will be implemented after MULTI_PHASE
schema compliance plan completes.
## Related Issues
- Fixes #55 - PostgreSQL configuration mismatches
- Ref #53 - UUID CHAR(36) type mismatch (still blocking)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>"1 parent 0fda4a2 commit 10e9172
File tree
4 files changed
+8
-6
lines changed- .github/workflows
- openespi-common/src/test/java/org/greenbuttonalliance/espi/common/migration
- openespi-datacustodian/src/test/resources
- openespi-thirdparty/src/test/resources
4 files changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments