fix(mobile-api): tell Spring which AdminDashboardService constructor to use
With a second, package-private constructor for a test clock, Spring found no default constructor and mobile-api failed to start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
5eead327a6
commit
5ffd4176ec
3 files changed
+30
-3
No files matched your search
@@ -20,7 +20,7 @@ Waves:
|
||||
|
||||
## 2. services-counter
|
||||
|
||||
- [ ] 2.1 Status history writes (decision 1) and the dashboard endpoint (decisions 2 to 4).
|
||||
- [x] 2.1 Status history writes (decision 1) and the dashboard endpoint (decisions 2 to 4).
|
||||
- Tests first:
|
||||
- capture saves one history row null → initial status at the capture time, by doneBy;
|
||||
- update saves one row when the status changes and none when it stays;
|
||||
@@ -31,7 +31,7 @@ Waves:
|
||||
|
||||
## 3. mobile-api
|
||||
|
||||
- [ ] 3.1 `GET /api/admin/dashboard/leads` (decision 5).
|
||||
- [x] 3.1 `GET /api/admin/dashboard/leads` (decision 5).
|
||||
- Tests first:
|
||||
- default period is this Malaysian month to today; DAY bucket up to 62 days, MONTH above;
|
||||
- bad date and from after to → 400 `INVALID_PERIOD`;
|
||||
@@ -43,7 +43,7 @@ Waves:
|
||||
|
||||
## 4. Portal
|
||||
|
||||
- [ ] 4.1 Home page dashboard (decision 7).
|
||||
- [x] 4.1 Home page dashboard (decision 7).
|
||||
- Tests first:
|
||||
- without `BO_DASHBOARD` the welcome shows and the dashboard API is not called;
|
||||
- with it: tiles, funnel, chart container, the three tables with Unassigned, whole-percent rates and "–" for null median and zero captures;
|
||||
|
||||
Reference in new issue
Block a user