Go to file
Bernhard Müller 96bcf57cee feat(community): add metering point deletion with business rules
Backend:
- Add deleteByIdAndUserId to MeteringPointRepository
- Add deleteOwnMeteringPoint with validation (owner, state checks)
- Add DELETE /{id} endpoint to MeteringPointController

Frontend:
- Add deleteMeteringPoint to MeteringPointService
- Add delete button with confirmation dialog
- Only show delete for inactive points (NEW, REJECTED, ERROR)

Business Rules:
- Only owner can delete own metering points
- Only inactive points (NEW, REJECTED, ERROR) can be deleted
- ACTIVE and WAITING_FOR_CONSENT points cannot be deleted

Tests:
- Add MeteringPointServiceTest with 10 unit tests
- All 37 tests passing
2026-07-21 15:06:48 +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 point deletion with business rules 2026-07-21 15:06:48 +02:00
eeg_frontend feat(community): add metering point deletion with business rules 2026-07-21 15:06:48 +02:00
.gitattributes first commit 2026-05-22 08:59:13 +02:00
.gitignore complete MaKo consent flow and admin initialization 2026-07-21 10:01:19 +02:00
AGENTS.md docs: add conventional commits guideline to AGENTS.md 2026-07-21 11:15:40 +02:00
ai-context.ps1 implemented delete of energy community 2026-07-01 12:57:01 +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
pom.xml first commit 2026-05-22 08:59:13 +02:00