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
61 lines
732 B
Plaintext
61 lines
732 B
Plaintext
HELP.md
|
|
target/
|
|
.mvn/wrapper/maven-wrapper.jar
|
|
!**/src/main/**/target/
|
|
!**/src/test/**/target/
|
|
|
|
### STS ###
|
|
.apt_generated
|
|
.classpath
|
|
.factorypath
|
|
.project
|
|
.settings
|
|
.springBeans
|
|
.sts4-cache
|
|
|
|
### IntelliJ IDEA ###
|
|
.idea
|
|
*.iws
|
|
*.iml
|
|
*.ipr
|
|
|
|
### NetBeans ###
|
|
/nbproject/private/
|
|
/nbbuild/
|
|
/dist/
|
|
/nbdist/
|
|
/.nb-gradle/
|
|
build/
|
|
!**/src/main/**/build/
|
|
!**/src/test/**/build/
|
|
|
|
### VS Code ###
|
|
.vscode/
|
|
|
|
### Frontend ###
|
|
eeg_frontend/node/
|
|
node_modules/
|
|
eeg_frontend/.angular/
|
|
|
|
### H2 Datenbank ###
|
|
*.db
|
|
*.lock.db
|
|
|
|
### Test-Dateien ###
|
|
test_*.json
|
|
|
|
### Projekt-spezifisch ###
|
|
/projekt_kontext.txt
|
|
.mimocode/
|
|
run_test.ps1
|
|
server_output.log
|
|
backend.log
|
|
*.log
|
|
|
|
### Research / Umfeld ###
|
|
survey/
|
|
|
|
### Docker ###
|
|
.env
|
|
docker-compose.override.yml
|