Go to file
Bernhard Müller 975f76dbd3 feat(community): add metering data upload and query with XLSX support
Implement complete metering data management for energy communities:

- MeteringData entity with unique constraint (metering_point_id, interval_start, data_type)
- Bulk upload via JSON or XLSX (multipart) with validation
- XLSX parser using Apache POI with comma-decimal support
- Ownership check on GET endpoints (userId must match metering point owner)
- Deduplication: existing records overwritten on re-upload
- DataSource tracking (EMAIL_XLSX, API, MANUAL)
- Query endpoints: by metering point, by type, by upload batch

Additional fixes:
- MapStruct annotation processor: add to execution-level annotationProcessorPaths
  (Spring Boot parent POM was overriding plugin-level config)
- EnergyCommunityMapper + MeteringDataMapper: componentModel=spring
- UserMapper: ignore passwordResetToken/Expiry (unmapped target policy ERROR)
- TariffService: add TariffInviteRepository dependency + invitation check
- TariffServiceTest: add missing @Mock for TariffInviteRepository
- SecurityConfig: permit /actuator/health and /actuator/info
- pom.xml: add poi-ooxml, postgresql, spring-boot-starter-actuator
- .gitignore: add *.log, survey/, backend.log

Tests: 137/137 passing
2026-07-22 12:42:27 +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
eeg_backend feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
eeg_frontend feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +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 feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +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