diff --git a/pom.xml b/pom.xml index 4fbb8fd..fb42403 100644 --- a/pom.xml +++ b/pom.xml @@ -290,6 +290,10 @@ io.quarkus quarkus-config-yaml + + io.quarkus + quarkus-undertow + diff --git a/src/main/java/auctiora/ImageProcessingService.java b/src/main/java/auctiora/ImageProcessingService.java index f8ccfd5..28f5d21 100644 --- a/src/main/java/auctiora/ImageProcessingService.java +++ b/src/main/java/auctiora/ImageProcessingService.java @@ -44,8 +44,9 @@ class ImageProcessingService { var response = httpClient.sendGetBytes(imageUrl); if (response != null && response.statusCode() == 200) { - // Use Windows path: C:\mnt\okcomputer\output\images - var baseDir = Paths.get("C:", "mnt", "okcomputer", "output", "images"); + // Use environment variable for cross-platform compatibility + var imagesPath = System.getenv().getOrDefault("AUCTION_IMAGES_PATH", "/mnt/okcomputer/output/images"); + var baseDir = Paths.get(imagesPath); var dir = baseDir.resolve(String.valueOf(saleId)).resolve(String.valueOf(lotId)); Files.createDirectories(dir); diff --git a/src/main/resources/resources/beans.xml b/src/main/resources/resources/beans.xml deleted file mode 100644 index c75eff9..0000000 --- a/src/main/resources/resources/beans.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/src/main/resources/resources/index.html b/src/main/resources/resources/index.html deleted file mode 100644 index 0746686..0000000 --- a/src/main/resources/resources/index.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - Scrape-UI 1 - Enterprise - - - - - -
-
-

Scrape-UI Enterprise

-

Powered by Quarkus + Modern Frontend

-
-
- - -
- - -
-

Build & Runtime Status

-
-
- -
-

📦 Maven Build

-
-
- Group: - - -
-
- Artifact: - - -
-
- Version: - - -
-
-
- - -
-

🚀 Runtime

-
-
- Status: - - -
-
- Java: - - -
-
- Platform: - - -
-
-
-
- - -
-
-
-

Last Updated

-

-

-
- -
-
-
-
- - -
-

API Test

- -
-
Click the button to test the API
-
-
- - -
-
-

âš¡ Quarkus Backend

-

Fast startup, low memory footprint, optimized for containers

-
-
-

🚀 REST API

-

RESTful endpoints with JSON responses

-
-
-

🎨 Modern UI

-

Responsive design with Tailwind CSS

-
-
-
- - - - diff --git a/src/main/resources/resources/praetium.html b/src/main/resources/resources/praetium.html deleted file mode 100644 index 37ee01f..0000000 --- a/src/main/resources/resources/praetium.html +++ /dev/null @@ -1,572 +0,0 @@ - - - - - - Auctiora - Monitoring Dashboard - - - - - - - - -
-
-
-
-

- - Auctiora Monitoring Dashboard -

-

Real-time Auction Data Processing & Monitoring

-
-
-
- - System Online -
-
Last updated: --:--
-
-
-
-
- - -
- - -
-
-
-
-
Auctions
-
--
-
-
- -
-
-
- -
-
-
-
Total Lots
-
--
-
-
- -
-
-
- -
-
-
-
Images
-
--
-
-
- -
-
-
- -
-
-
-
Active Lots
-
--
-
-
- -
-
-
- -
-
-
-
Closing Soon
-
--
-
-
- -
-
-
-
- - -
-
-

- - Bidding Statistics -

-
-
-
Lots with Bids
-
--
-
-
-
Total Bid Value
-
--
-
-
-
Average Bid
-
--
-
-
-
- -
-

- - Rate Limiting -

-
-
- Total Requests - -- -
-
- Successful - -- -
-
- Failed - -- -
-
- Avg Duration - -- -
-
-
-
- - -
-

- - Workflow Controls -

-
- - - - - - - -
-
- - -
- -
-

- - Auctions by Country -

-
-
- - -
-

- - Lots by Category -

-
-
-
- - -
-
-

- - Lots Closing Soon (< 30 min) -

- -
-
- - - - - - - - - - - - - - - - -
Lot IDTitleCurrent BidClosing TimeMinutes LeftActions
Loading...
-
-
- - -
-

- - Activity Log -

-
-
Monitoring system started...
-
-
-
- - - - - - - diff --git a/src/main/resources/resources/troostwijk_analysis_20251126_152413.json b/src/main/resources/resources/troostwijk_analysis_20251126_152413.json deleted file mode 100644 index ef830cc..0000000 --- a/src/main/resources/resources/troostwijk_analysis_20251126_152413.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "total_kavels": 5, - "categories": { - "Machinery": 1, - "Material Handling": 1, - "Furniture": 1, - "Power Generation": 1, - "Laboratory": 1 - }, - "locations": { - "Amsterdam, Netherlands": 1, - "Rotterdam, Netherlands": 1, - "Utrecht, Netherlands": 1, - "Eindhoven, Netherlands": 1, - "Leiden, Netherlands": 1 - }, - "price_ranges": { - "\u20ac5,000 - \u20ac15,000": 2, - "Under \u20ac5,000": 1, - "\u20ac15,000 - \u20ac25,000": 12, - "Over \u20ac25,000": 1 - }, - "bid_activity": { - "Medium (10-24 bids)": 12, - "Low (1-9 bids)": 1, - "High (25-39 bids)": 12, - "Very High (40+ bids)": 1 - }, - "time_distribution": {} -} \ No newline at end of file diff --git a/src/main/resources/resources/troostwijk_kavels_20251126_152413.csv b/src/main/resources/resources/troostwijk_kavels_20251126_152413.csv deleted file mode 100644 index a09e11f..0000000 --- a/src/main/resources/resources/troostwijk_kavels_20251126_152413.csv +++ /dev/null @@ -1,6 +0,0 @@ -id,title,description,current_bid,bid_count,end_date,location,auction_place,category,condition,year,images,specifications,url -KAVEL_001,Industrial CNC Machine - Haas VF-2,"Used Haas VF-2 vertical machining center, 30 taper, 10,000 RPM spindle","€12,500",23,2025-11-28 14:00:00,"Amsterdam, Netherlands",Metalworking Equipment Auction,Machinery,Used,2018,"https://example.com/image1.jpg, https://example.com/image2.jpg","{""Spindle Speed"": ""10,000 RPM"", ""Tool Capacity"": ""24 tools"", ""Table Size"": ""914 x 356 mm"", ""Travel X/Y/Z"": ""762/406/508 mm""}",https://www.troostwijkauctions.com/lots/12345 -KAVEL_002,Forklift Truck - Linde E20,"Electric forklift, 2 ton capacity, including charger","€8,750",15,2025-11-28 15:30:00,"Rotterdam, Netherlands",Warehouse Equipment Auction,Material Handling,Good,2020,https://example.com/forklift1.jpg,"{""Capacity"": ""2000 kg"", ""Lift Height"": ""4.5 meters"", ""Battery"": ""80V lithium-ion"", ""Hours"": ""1,250 hours""}",https://www.troostwijkauctions.com/lots/12346 -KAVEL_003,Office Furniture Set - Complete,"Modern office furniture including desks, chairs, and storage units","€2,300",8,2025-11-29 10:00:00,"Utrecht, Netherlands",Office Liquidation Auction,Furniture,Excellent,2023,"https://example.com/office1.jpg, https://example.com/office2.jpg","{""Desks"": ""6 executive desks"", ""Chairs"": ""12 ergonomic office chairs"", ""Storage"": ""4 filing cabinets"", ""Conference Table"": ""1 large table""}",https://www.troostwijkauctions.com/lots/12347 -KAVEL_004,Industrial Generator - 100kVA,"Cummins 100kVA diesel generator, low hours, recently serviced","€15,200",31,2025-11-29 16:00:00,"Eindhoven, Netherlands",Power Equipment Auction,Power Generation,Excellent,2019,https://example.com/generator1.jpg,"{""Power Output"": ""100 kVA"", ""Fuel"": ""Diesel"", ""Hours"": ""450 hours"", ""Voltage"": ""400V 3-phase""}",https://www.troostwijkauctions.com/lots/12348 -KAVEL_005,Laboratory Equipment Package,"Complete lab setup including microscopes, centrifuges, and analytical balances","€28,500",42,2025-11-30 11:00:00,"Leiden, Netherlands",Medical Equipment Auction,Laboratory,Good,2021,"https://example.com/lab1.jpg, https://example.com/lab2.jpg","{""Microscopes"": ""3 digital microscopes"", ""Centrifuges"": ""2 high-speed centrifuges"", ""Balances"": ""5 analytical balances"", ""Incubators"": ""2 temperature-controlled incubators""}",https://www.troostwijkauctions.com/lots/12349 diff --git a/src/main/resources/resources/troostwijk_kavels_20251126_152413.json b/src/main/resources/resources/troostwijk_kavels_20251126_152413.json deleted file mode 100644 index 9df5971..0000000 --- a/src/main/resources/resources/troostwijk_kavels_20251126_152413.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "id": "KAVEL_001", - "title": "Industrial CNC Machine - Haas VF-2", - "description": "Used Haas VF-2 vertical machining center, 30 taper, 10,000 RPM spindle", - "current_bid": "€12,500", - "bid_count": "23", - "end_date": "2025-11-28 14:00:00", - "location": "Amsterdam, Netherlands", - "auction_place": "Metalworking Equipment Auction", - "category": "Machinery", - "condition": "Used", - "year": "2018", - "images": [ - "https://example.com/image1.jpg", - "https://example.com/image2.jpg" - ], - "specifications": { - "Spindle Speed": "10,000 RPM", - "Tool Capacity": "24 tools", - "Table Size": "914 x 356 mm", - "Travel X/Y/Z": "762/406/508 mm" - }, - "url": "https://www.troostwijkauctions.com/lots/12345" - }, - { - "id": "KAVEL_002", - "title": "Forklift Truck - Linde E20", - "description": "Electric forklift, 2 ton capacity, including charger", - "current_bid": "€8,750", - "bid_count": "15", - "end_date": "2025-11-28 15:30:00", - "location": "Rotterdam, Netherlands", - "auction_place": "Warehouse Equipment Auction", - "category": "Material Handling", - "condition": "Good", - "year": "2020", - "images": [ - "https://example.com/forklift1.jpg" - ], - "specifications": { - "Capacity": "2000 kg", - "Lift Height": "4.5 meters", - "Battery": "80V lithium-ion", - "Hours": "1,250 hours" - }, - "url": "https://www.troostwijkauctions.com/lots/12346" - }, - { - "id": "KAVEL_003", - "title": "Office Furniture Set - Complete", - "description": "Modern office furniture including desks, chairs, and storage units", - "current_bid": "€2,300", - "bid_count": "8", - "end_date": "2025-11-29 10:00:00", - "location": "Utrecht, Netherlands", - "auction_place": "Office Liquidation Auction", - "category": "Furniture", - "condition": "Excellent", - "year": "2023", - "images": [ - "https://example.com/office1.jpg", - "https://example.com/office2.jpg" - ], - "specifications": { - "Desks": "6 executive desks", - "Chairs": "12 ergonomic office chairs", - "Storage": "4 filing cabinets", - "Conference Table": "1 large table" - }, - "url": "https://www.troostwijkauctions.com/lots/12347" - }, - { - "id": "KAVEL_004", - "title": "Industrial Generator - 100kVA", - "description": "Cummins 100kVA diesel generator, low hours, recently serviced", - "current_bid": "€15,200", - "bid_count": "31", - "end_date": "2025-11-29 16:00:00", - "location": "Eindhoven, Netherlands", - "auction_place": "Power Equipment Auction", - "category": "Power Generation", - "condition": "Excellent", - "year": "2019", - "images": [ - "https://example.com/generator1.jpg" - ], - "specifications": { - "Power Output": "100 kVA", - "Fuel": "Diesel", - "Hours": "450 hours", - "Voltage": "400V 3-phase" - }, - "url": "https://www.troostwijkauctions.com/lots/12348" - }, - { - "id": "KAVEL_005", - "title": "Laboratory Equipment Package", - "description": "Complete lab setup including microscopes, centrifuges, and analytical balances", - "current_bid": "€28,500", - "bid_count": "42", - "end_date": "2025-11-30 11:00:00", - "location": "Leiden, Netherlands", - "auction_place": "Medical Equipment Auction", - "category": "Laboratory", - "condition": "Good", - "year": "2021", - "images": [ - "https://example.com/lab1.jpg", - "https://example.com/lab2.jpg" - ], - "specifications": { - "Microscopes": "3 digital microscopes", - "Centrifuges": "2 high-speed centrifuges", - "Balances": "5 analytical balances", - "Incubators": "2 temperature-controlled incubators" - }, - "url": "https://www.troostwijkauctions.com/lots/12349" - } -] \ No newline at end of file