fix: disable global API key middleware and add test miner creation endpoint
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 47s
Documentation Validation / validate-docs (push) Successful in 17s
Integration Tests / test-service-integration (push) Successful in 2m11s
Python Tests / test-python (push) Successful in 5m49s
Security Scanning / security-scan (push) Successful in 4m1s
Systemd Sync / sync-systemd (push) Successful in 14s
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 47s
Documentation Validation / validate-docs (push) Successful in 17s
Integration Tests / test-service-integration (push) Successful in 2m11s
Python Tests / test-python (push) Successful in 5m49s
Security Scanning / security-scan (push) Successful in 4m1s
Systemd Sync / sync-systemd (push) Successful in 14s
API Key Middleware Changes:
- Disabled global API key middleware in favor of dependency injection
- Added comment explaining the change
- Preserves existing middleware code for reference
Admin Router Enhancements:
✅ NEW ENDPOINT: POST /debug/create-test-miner for debugging marketplace sync
- Creates test miner with id "debug-test-miner"
- Updates existing miner to ONLINE status if already exists
- Returns miner_id and session_token for testing
- Requires
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
# AITBC Central Virtual Environment Requirements
|
||||
# This file contains all Python dependencies for AITBC services
|
||||
# Merged from all subdirectory requirements files
|
||||
#
|
||||
# Recent Updates:
|
||||
# - Added bech32>=1.2.0 for blockchain address encoding (2026-03-30)
|
||||
# - Fixed duplicate web3 entries and tenseal version
|
||||
# - All dependencies tested and working with current services
|
||||
|
||||
# Core Web Framework
|
||||
fastapi>=0.115.0
|
||||
@@ -35,6 +40,7 @@ cryptography>=46.0.0
|
||||
pynacl>=1.5.0
|
||||
ecdsa>=0.19.0
|
||||
base58>=2.1.1
|
||||
bech32>=1.2.0
|
||||
web3>=6.11.0
|
||||
eth-account>=0.13.0
|
||||
|
||||
@@ -88,5 +94,4 @@ opencv-python>=4.9.0
|
||||
# Additional Dependencies
|
||||
redis>=5.0.0
|
||||
psutil>=5.9.0
|
||||
tenseal
|
||||
web3>=6.11.0
|
||||
tenseal>=0.3.0
|
||||
|
||||
Reference in New Issue
Block a user