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

@@ -11,7 +11,7 @@ WorkingDirectory=/opt/aitbc/apps/coordinator-api/
Environment=PYTHONPATH=/opt/aitbc:/opt/aitbc/apps/coordinator-api/src:/opt/aitbc/packages/py/aitbc-sdk/src:/opt/aitbc/packages/py/aitbc-crypto/src
EnvironmentFile=/etc/aitbc/.env
EnvironmentFile=/etc/aitbc/node.env
ExecStart=/opt/aitbc/venv/bin/python -m uvicorn app.services.adaptive_learning_app:app --host 127.0.0.1 --port 8011
ExecStart=/opt/aitbc/venv/bin/python -m uvicorn app.services.adaptive_learning_app:app --host 127.0.0.1 --port 8012
ExecReload=/bin/kill -HUP $MAINPID
KillMode=mixed
TimeoutStopSec=5