refactor: update service layer exports and fix import paths
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Successful in 17s
Documentation Validation / validate-docs (push) Failing after 9s
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Successful in 2m38s
Python Tests / test-python (push) Failing after 9s
Security Scanning / security-scan (push) Successful in 26s
Systemd Sync / sync-systemd (push) Successful in 19s

- Export service layer classes in aitbc/__init__.py lazy exports
- Add BlockchainService, RPCBlockchainService, BlockchainServiceFactory
- Add DatabaseService, SQLiteDatabaseService, DatabaseServiceFactory
- Remove obsolete AITBCHTTPClient export
- Fix import path in multichain_exchange_api.py (http_client -> network.http_client)
- Fix import path in agent-coordinator-wrapper.py (paths -> utils.paths)
- Update Learning Service port from 8011 to
This commit is contained in:
aitbc
2026-05-09 12:33:46 +02:00
parent f235a47405
commit 29779bc06f
8 changed files with 323 additions and 8 deletions

View File

@@ -76,7 +76,12 @@ _LAZY_EXPORTS: dict[str, tuple[str, str]] = {
"get_nested_value": ("json_utils", "get_nested_value"),
"set_nested_value": ("json_utils", "set_nested_value"),
"flatten_json": ("json_utils", "flatten_json"),
"AITBCHTTPClient": ("http_client", "AITBCHTTPClient"),
"BlockchainService": ("blockchain_service", "BlockchainService"),
"RPCBlockchainService": ("blockchain_service", "RPCBlockchainService"),
"BlockchainServiceFactory": ("blockchain_service", "BlockchainServiceFactory"),
"DatabaseService": ("database_service", "DatabaseService"),
"SQLiteDatabaseService": ("database_service", "SQLiteDatabaseService"),
"DatabaseServiceFactory": ("database_service", "DatabaseServiceFactory"),
"AsyncAITBCHTTPClient": ("http_client", "AsyncAITBCHTTPClient"),
"BaseAITBCConfig": ("config", "BaseAITBCConfig"),
"AITBCConfig": ("config", "AITBCConfig"),