Go to file
Bernhard Müller fb53b169a2 fix(community): migrate metering data timestamps from LocalDateTime to Instant to fix DST constraint violation
Switch interval_start/interval_end from LocalDateTime to Instant across the
entire metering data stack (entity, DTOs, parser, repository, services, controllers).
This eliminates DST-related unique constraint violations that occurred when two
different wall-clock times mapped to the same epoch millis during CET/CEST transitions.

Key changes:
- MeteringData entity: intervalStart/intervalEnd now Instant
- XlsxMeteringDataParser: produces Instant via JVM timezone conversion
- MeteringDataRepository: all queries use Instant parameters
- MeteringDataService: simplified deduplicate() (Instant has no DST ambiguity)
- Added hibernate.jdbc.time_zone=UTC and test profile for in-memory H2
- Added MeteringDataUploadIntegrationTest with real H2 database
- Added DST-specific parser and service tests
- All 216 tests passing
2026-07-24 13:23:35 +02:00
.idea generalized dashboard for member and admin 2026-07-05 10:49:46 +02:00
.mvn/wrapper first commit 2026-05-22 08:59:13 +02:00
docs/compose chore: cleanup test data and add missing test files 2026-07-24 11:48:56 +02:00
eeg_backend fix(community): migrate metering data timestamps from LocalDateTime to Instant to fix DST constraint violation 2026-07-24 13:23:35 +02:00
eeg_frontend chore: cleanup test data and add missing test files 2026-07-24 11:48:56 +02:00
.dockerignore feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
.env.example feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
.gitattributes first commit 2026-05-22 08:59:13 +02:00
.gitignore chore: cleanup test data and add missing test files 2026-07-24 11:48:56 +02:00
AGENTS.md feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
ai-context.ps1 implemented delete of energy community 2026-07-01 12:57:01 +02:00
deploy.sh feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
DEPLOYMENT.md feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
docker-compose.yml feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
Dockerfile feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
mvnw first commit 2026-05-22 08:59:13 +02:00
mvnw.cmd first commit 2026-05-22 08:59:13 +02:00
nginx-ssl.conf feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
nginx.conf feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
pom.xml first commit 2026-05-22 08:59:13 +02:00
setup-server.sh feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
setup-ssl.sh feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00