Skip to content

Backend Architecture Changelog

Paulo Gomes da Cruz Junior edited this page Apr 23, 2026 · 1 revision

Architecture Changelog — Waste Plus Backends

2026-04-21 — Add user bookmarks persistence and bookmark endpoints

  • What: Added backend support for user bookmarking: new JPA entity UserBookmarkEntity with a composite primary key, UserBookmarkRepository, migration V1.0.2__bookmarks.sql, and controller endpoints PUT /api/users/bookmarks/{reportingUnitId} and DELETE /api/users/bookmarks/{reportingUnitId}. UserService contains add/delete/bookmark retrieval methods and SearchService now enriches results with bookmark state.
  • Why: Persist user bookmarks to enable quick access and to support offline scenarios; provide a guardable feature flag to allow controlled rollout.
  • Impact: Update backend ERD and security filter chain diagrams, update backend structure tree to include new entity/repository, ensure migration is applied in CI, and add tests for flag-disabled and flag-undefined behaviours.

Waste Plus Wiki

Home

Architecture

Codes

Decisions

Knowledge Base

Development

Changes

Clone this wiki locally