feat: Phase 1 - TimeConfiguration ESPI 4.0 schema compliance with JAXB #51
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
Implements Phase 1 of 26 in the NAESB ESPI 4.0 schema compliance plan. This phase establishes TimeConfiguration DTO with JAXB XML marshalling/unmarshalling on Spring Boot 4.0.1 + Java 25.
Implementation Details
DTO Layer (JAXB)
TimeConfigurationDtowith@XmlRootElementand XSD propOrder compliancegetTzOffsetInHours(),getEffectiveOffset(),hasDstRules()Mapper Layer
TimeConfigurationMapperusing MapStruct 1.6.3Entity.id→DTO.uuidRepository
findAllIds(),findAllIdsByUsagePointId()Database Migration
V4__Create_Time_Configurations.sqlwith XSD propOrder column sequencecreated,updated,tz_offsetCode Quality
SonarQube Fixes
throws Exceptionwith specificthrows JAXBExceptionutcMinusEight,utcPlusFivePointFive)hasSameHashCodeAs()for hashCode assertionsSonarQube Configuration
sonar-project.propertiesto exclude Oracle-specific SQL rulessql:S6397,sql:Oracle*Testing
Test Results
Test Environment
Documentation
Analysis Documents
DTO_APPROACH_COMPARISON.md- JAXB vs Jackson XML evaluationPR50_MULTI_PHASE_IMPACT.md- Spring Boot 4.0 impact on all 26 phasesPR50_TEST_FAILURE_FIX.md- Timestamp precision test fixJUNIE_VS_CLAUDE_GUIDELINES_COMPARISON.md- Test pattern migration guidePlan Updates
MULTI_PHASE_SCHEMA_COMPLIANCE_PLAN.mdupdated with Spring Boot 4.0 stackTeam Decisions
JAXB selected for all 26 phases
Test Plan
Next Steps
After this PR merges:
🤖 Generated with Claude Code