Commit Graph

245 Commits

Author SHA1 Message Date
Tour
8860340cc4 fix-tests-cleanup 2025-12-08 08:44:09 +01:00
Tour
553a61559c fix-tests-cleanup 2025-12-08 08:36:15 +01:00
Tour
5440ed0ace all 2025-12-08 08:16:35 +01:00
Tour
35851c124c all 2025-12-08 08:14:42 +01:00
Tour
49a6c755ee fix-tests-cleanup
Former-commit-id: 3cc0d40fa3
2025-12-08 07:52:54 +01:00
Tour
3cc0d40fa3 fix-tests-cleanup 2025-12-08 07:52:54 +01:00
Tour
df919abad5 fix-tests-cleanup
Former-commit-id: be65f4a5e6
2025-12-08 07:19:50 +01:00
Tour
be65f4a5e6 fix-tests-cleanup 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
3358a2693c fix-tests-cleanup 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
62cda5c0cb fix-tests-cleanup 2025-12-08 05:37:29 +01:00
Tour
270df601d2 slash
Former-commit-id: 7600cebcbb
2025-12-07 18:06:17 +01:00
Tour
7600cebcbb slash 2025-12-07 18:06:17 +01:00
Tour
9cb19bbd8b Features
Former-commit-id: 394469923b
2025-12-07 16:25:29 +01:00
Tour
394469923b Features 2025-12-07 16:25:29 +01:00
Tour
8a74b2bc71 test
Former-commit-id: 2da6049206
2025-12-07 15:51:11 +01:00
Tour
2da6049206 test 2025-12-07 15:51:11 +01:00
Tour
c7040f1ed7 redeploy
Former-commit-id: 3cf2d2ef7a
2025-12-07 15:27:29 +01:00
Tour
3cf2d2ef7a redeploy 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
afd7b311a9 Enrich ALL lots on startup in background thread 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
7ab21ae840 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>
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
12c3a732e4 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>
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
4d7da94315 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>
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
80b9841aee 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
2025-12-07 13:10:39 +01:00
Tour
cadb703a88 goog
Former-commit-id: 00eb3f7aca
2025-12-07 12:59:22 +01:00
Tour
00eb3f7aca goog 2025-12-07 12:59:22 +01:00
Tour
93d47436a8 goog
Former-commit-id: 825058f790
2025-12-07 12:56:53 +01:00
Tour
825058f790 goog 2025-12-07 12:56:53 +01:00
Tour
1ccb4558d7 goog
Former-commit-id: d5d245cfc1
2025-12-07 12:47:36 +01:00
Tour
d5d245cfc1 goog 2025-12-07 12:47:36 +01:00
Tour
d18d4f40f4 Features
Former-commit-id: ca19649b6a
2025-12-07 11:41:22 +01:00
Tour
ca19649b6a Features 2025-12-07 11:41:22 +01:00
Tour
b7e387da62 Features
Former-commit-id: 65bb5cd80a
2025-12-07 11:31:55 +01:00
Tour
65bb5cd80a Features 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
43b5fc03fd Fix mock tests 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
11a76e0292 Fix mock tests 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
a649b629e4 Fix mock tests 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
3efa83bc44 Fix mock tests 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
ef804b3896 Fix mock tests 2025-12-07 06:28:37 +01:00