Commit Graph

62 Commits

Author SHA1 Message Date
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
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
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
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
4375021a65 %*
Former-commit-id: a25c0bdf5d
2025-12-06 07:04:53 +01:00
Tour
745fbdadd5 front-end-fix
Former-commit-id: 528a217708
2025-12-06 05:39:59 +01:00
Tour
08312daead Fix mock tests
Former-commit-id: 758e60ecb3
2025-12-05 21:10:17 +01:00
Tour
c431c551b8 update
Former-commit-id: c91b2d7f3a
2025-12-05 07:57:58 +01:00
Tour
040b52d182 update
Former-commit-id: 3357267581
2025-12-05 07:42:17 +01:00
Tour
a6e32573e2 update
Former-commit-id: c6263e78b2
2025-12-05 07:40:26 +01:00
Tour
96db0c9c0a monitor-page
Former-commit-id: 6325d07909
2025-12-05 07:06:34 +01:00
Tour
01743dce79 Fix mock tests
Former-commit-id: 04df491d64
2025-12-05 06:19:28 +01:00
Tour
b69571afee Fix mock tests
Former-commit-id: f05a8b73ec
2025-12-05 04:48:41 +01:00
Tour
96cc09c387 Fix mock tests
Former-commit-id: 8ecd9fcbda
2025-12-05 03:42:36 +01:00
Tour
2ff7aa6027 Fix mock tests
Former-commit-id: ff8f5f2c1a
2025-12-04 20:14:28 +01:00
Tour
4ceb284ab7 Fix mock tests
Former-commit-id: 2ff6fcca17
2025-12-04 20:07:54 +01:00
Tour
7265a6dbaf Fix mock tests
Former-commit-id: d52bd8f94e
2025-12-04 20:00:33 +01:00
Tour
2bf5a3f51a Fix mock tests
Former-commit-id: ed74bb5e93
2025-12-04 19:38:38 +01:00
Tour
4642b31062 Fix mock tests
Former-commit-id: 9857f053a1
2025-12-04 04:30:44 +01:00
Tour
5b091cd2f0 USe ASM 9.8 with Java 25
Former-commit-id: e71d52be8a
2025-12-04 04:00:03 +01:00
Tour
59b640c696 USe ASM 9.8 with Java 25
Former-commit-id: cad27f1842
2025-12-04 03:31:27 +01:00
Tour
3ff8decf9a start
Former-commit-id: 8e06e20b70
2025-12-03 19:03:03 +01:00
Tour
1aa4d76559 start
Former-commit-id: 4c32043e5f
2025-12-03 17:30:09 +01:00
Tour
51f834fab8 start
Former-commit-id: 8fff75dcf2
2025-12-03 17:17:49 +01:00
Tour
6c1a6313c8 start
Former-commit-id: febd08821a
2025-12-03 15:40:19 +01:00
Tour
f3c450ad85 start
Former-commit-id: d3dc37576d
2025-12-03 15:32:41 +01:00
Tour
be2842f390 start
Former-commit-id: aef7a3aa30
2025-12-03 15:32:34 +01:00
Tour
4bb36e23e9 start
Former-commit-id: 853c3cf53e
2025-12-03 15:09:39 +01:00
13cedfa84c start
Former-commit-id: 7fa3e4a545
2025-11-28 14:43:58 +01:00
0c73b53790 start
Former-commit-id: 836ce3527f
2025-11-28 06:37:04 +01:00
bbaab28fa3 start
Former-commit-id: b174f77f6c
2025-11-28 06:23:30 +01:00
9708a1bba7 start
Former-commit-id: 0f5800441a
2025-11-28 05:54:30 +01:00
92c5bd5d66 start
Former-commit-id: f5ee240283
2025-11-28 05:46:53 +01:00
cef5aae8fb start
Former-commit-id: bde45e0dc9
2025-11-28 05:39:23 +01:00
1762a7f9f2 start
Former-commit-id: b560240c17
2025-11-28 05:16:51 +01:00