Commit Graph

120 Commits

Author SHA1 Message Date
Tour
df919abad5 fix-tests-cleanup
Former-commit-id: be65f4a5e6
2025-12-08 07:19:50 +01:00
Tour
aecf32eb19 fix-tests-cleanup
Former-commit-id: 3358a2693c
2025-12-08 05:37:35 +01:00
Tour
efc6b7ac21 fix-tests-cleanup
Former-commit-id: 62cda5c0cb
2025-12-08 05:37:29 +01:00
Tour
270df601d2 slash
Former-commit-id: 7600cebcbb
2025-12-07 18:06:17 +01:00
Tour
9cb19bbd8b Features
Former-commit-id: 394469923b
2025-12-07 16:25:29 +01:00
Tour
8a74b2bc71 test
Former-commit-id: 2da6049206
2025-12-07 15:51:11 +01:00
Tour
c7040f1ed7 redeploy
Former-commit-id: 3cf2d2ef7a
2025-12-07 15:27:29 +01:00
Tour
22c1e99c4a Enrich ALL lots on startup in background thread
Former-commit-id: afd7b311a9
2025-12-07 14:48:36 +01:00
Tour
f6f37ff9d1 Add startup enrichment trigger for lot intelligence data
- Added StartupEvent observer to QuarkusWorkflowScheduler
- Triggers enrichment of lots closing within 24 hours on startup
- Ensures bid intelligence data is populated immediately after deployment
- Fixes issue where server showed 0 lots with bids

This ensures the GraphQL enrichment service runs at startup to populate
bid_count, starting_bid, followers_count and other intelligence fields.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Former-commit-id: 7ab21ae840
2025-12-07 14:43:10 +01:00
Tour
86b19db30b Fix database schema: Change auction_id and lot_id from BIGINT to TEXT
The scraper uses TEXT IDs like "A7-40063-2" but DatabaseService was creating
BIGINT columns, causing PRIMARY KEY constraint failures on the server.

Changes:
- auction_id: BIGINT -> TEXT PRIMARY KEY
- lot_id: BIGINT -> TEXT PRIMARY KEY
- sale_id: BIGINT -> TEXT
- Added UNIQUE constraints on URLs
- Added migration script (fix-schema.sql)

This fixes the "UNIQUE constraint failed: auctions.auction_id" errors
and allows bid data to populate correctly on the server.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Former-commit-id: 12c3a732e4
2025-12-07 13:59:26 +01:00
Tour
4f0d5113f5 Fix GraphQL enrichment to use displayId instead of numeric lotId
- Added displayId (String) field to Lot record for full lot ID (e.g., "A1-34732-49")
- Updated ScraperDataAdapter to extract both numeric ID and displayId from database
- Fixed TroostwijkGraphQLClient to query by displayId using lotDetails() instead of lot()
- Matched Python scraper's query structure with LOT_BIDDING_QUERY pattern
- Updated GraphQL response parsing to handle lotDetails.location and biddingStatistics
- Added upsertLotWithIntelligence() method to DatabaseService for full intelligence updates
- Updated LotEnrichmentService to pass displayId to GraphQL client

This fixes the "No intelligence data returned" error on production server.
GraphQL API requires string displayId parameter, not numeric lot ID.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Former-commit-id: 4d7da94315
2025-12-07 13:31:40 +01:00
Tour
2e8af3b1d2 Fix PRIMARY KEY constraint handling in auction import
- Handle both auction_id and URL constraint failures
- Add fallback UPDATE by URL when INSERT fails
- Properly catch and log constraint violations without propagating
- Fixes import errors on server with duplicate auctions


Former-commit-id: 80b9841aee
2025-12-07 13:10:39 +01:00
Tour
cadb703a88 goog
Former-commit-id: 00eb3f7aca
2025-12-07 12:59:22 +01:00
Tour
93d47436a8 goog
Former-commit-id: 825058f790
2025-12-07 12:56:53 +01:00
Tour
1ccb4558d7 goog
Former-commit-id: d5d245cfc1
2025-12-07 12:47:36 +01:00
Tour
d18d4f40f4 Features
Former-commit-id: ca19649b6a
2025-12-07 11:41:22 +01:00
Tour
b7e387da62 Features
Former-commit-id: 65bb5cd80a
2025-12-07 11:31:55 +01:00
Tour
fb31915b39 Fix mock tests
Former-commit-id: 43b5fc03fd
2025-12-07 11:08:59 +01:00
Tour
89969b8234 Fix mock tests
Former-commit-id: 11a76e0292
2025-12-07 09:59:08 +01:00
Tour
c63cc2dc3d Fix mock tests
Former-commit-id: a649b629e4
2025-12-07 06:51:18 +01:00
Tour
ca38327834 Fix mock tests
Former-commit-id: 3efa83bc44
2025-12-07 06:32:03 +01:00
Tour
03f94de020 Fix mock tests
Former-commit-id: ef804b3896
2025-12-07 06:28:37 +01:00
Tour
4764f072b5 Fix mock tests
Former-commit-id: f561a73b01
2025-12-07 02:36:00 +01:00
Tour
5d966da2c4 Fix mock tests
Former-commit-id: 432fcbc503
2025-12-06 21:37:08 +01:00
Tour
57524de4ad Fix mock tests
Former-commit-id: b4e0f8c13b
2025-12-06 21:36:55 +01:00
Tour
f750f211db Fix build: Update tests for image download refactor
- Remove RateLimitedHttpClient from ImageProcessingService constructor
- Rewrite ImageProcessingServiceTest to test new object detection workflow
- Fix IntegrationTest constructor call
- Add insertImage() back to DatabaseService for test compatibility
- Tests now focus on object detection rather than image downloading


Former-commit-id: e216a763ac
2025-12-06 21:34:29 +01:00
Tour
9baaca9013 go
Former-commit-id: 6091b7180f
2025-12-06 21:27:19 +01:00
Tour
49cb4f94aa test
Former-commit-id: 288ee6a2a6
2025-12-06 07:08:07 +01:00
Tour
4375021a65 %*
Former-commit-id: a25c0bdf5d
2025-12-06 07:04:53 +01:00
Tour
4ab55cb55c all
Former-commit-id: 4ecb6625c8
2025-12-06 06:23:34 +01:00
Tour
d055b52c43 all
Former-commit-id: 174d0b136e
2025-12-06 06:19:23 +01:00
Tour
f6246c5156 front-end-fix
Former-commit-id: d8f7464944
2025-12-06 06:14:26 +01:00
Tour
175fa3a4fd front-end-fix
Former-commit-id: 9f5003ecc5
2025-12-06 06:03:43 +01:00
Tour
f8cd3f21c7 front-end-fix
Former-commit-id: cda9b648ad
2025-12-06 05:59:22 +01:00
Tour
14389236a3 front-end-fix
Former-commit-id: 1af565ae1b
2025-12-06 05:51:55 +01:00
Tour
39c0161dc2 Fix mock tests
Former-commit-id: 36b03dea7b
2025-12-06 05:41:14 +01:00
Tour
745fbdadd5 front-end-fix
Former-commit-id: 528a217708
2025-12-06 05:39:59 +01:00
Tour
4223628c0e front-end-fix
Former-commit-id: d1a149e40d
2025-12-06 05:29:41 +01:00
Tour
08312daead Fix mock tests
Former-commit-id: 758e60ecb3
2025-12-05 21:10:17 +01:00
Tour
2b5762237d done
Former-commit-id: e06f5747ec
2025-12-05 20:58:32 +01:00
Tour
5e0c8ab531 done
Former-commit-id: 0b1be38681
2025-12-05 20:54:23 +01:00
Tour
7b07db83a3 init
Former-commit-id: e9b4298f58
2025-12-05 09:42:48 +01:00
Tour
ffa7b47d5d dns
Former-commit-id: 887295260f
2025-12-05 09:35:17 +01:00
Tour
30d2407b1e dns
Former-commit-id: a06434642c
2025-12-05 08:59:23 +01:00
Tour
3f984b9024 dns
Former-commit-id: 36a1edfecf
2025-12-05 08:57:29 +01:00
Tour
60e92ad234 all
Former-commit-id: 243573d4b2
2025-12-05 08:49:59 +01:00
Tour
ca1a1812d0 all
Former-commit-id: 41de6c1e8a
2025-12-05 08:35:19 +01:00
Tour
4629e7db39 all
Former-commit-id: 0ab9430f35
2025-12-05 08:27:43 +01:00
Tour
d9c900c7d7 update
Former-commit-id: 20c2129d06
2025-12-05 08:20:18 +01:00
Tour
64cc09ce7a update
Former-commit-id: 5430610b56
2025-12-05 08:14:15 +01:00