refactor: rename marketplace service from enhanced to standard name

Marketplace Service Renaming - Complete:
 SERVICE RENAMED: Changed aitbc-marketplace-enhanced.service to aitbc-marketplace.service
- systemd/aitbc-marketplace-enhanced.service: Renamed to aitbc-marketplace.service
- systemd/aitbc-marketplace-enhanced.service.d: Removed old configuration directory
- setup.sh: Updated all references to use aitbc-marketplace.service
- Documentation: Updated all references to use new service name

 RENAMING RATIONALE:
🎯 Simplification: Standard service naming convention
📝 Clarity: Removed 'enhanced' suffix for cleaner naming
🔧 Consistency: Matches other service naming patterns
🎨 Standardization: All services follow aitbc-{name}.service pattern

 SETUP SCRIPT UPDATES:
📦 install_services(): Updated services array
🚀 start_services(): Updated systemctl start command
🔄 setup_autostart(): Updated systemctl enable command
📋 Status Check: Updated systemctl is-active check

 DOCUMENTATION UPDATES:
📚 documented_AITBC_Enhanced_Services__8010-8016__Implementation.md: Updated service path
📚 beginner/02_project/1_files.md: Updated file reference
📚 beginner/02_project/3_infrastructure.md: Updated service table
📚 beginner/02_project/aitbc.md: Updated systemctl commands

 SERVICE CONFIGURATION:
📁 systemd/aitbc-marketplace.service: Main service file (renamed)
📁 systemd/aitbc-marketplace.service.d: Configuration directory
⚙️ 10-central-env.conf: EnvironmentFile configuration
🔧 Port 8014: Marketplace API service on port 8014

 CODEBASE REWIRED:
🔧 All systemctl commands: Updated to use new service name
📋 All service arrays: Updated in setup script
📚 All documentation: Updated to reference new name
🎯 All references: Consistent naming throughout codebase

 SERVICE FUNCTIONALITY:
🚀 Port 8014: Enhanced marketplace API service
🎯 Agent-First: GPU marketplace for AI compute services
📦 FastAPI: Built with uvicorn FastAPI framework
🔒 Security: Comprehensive systemd security settings
👤 Integration: Integrated with coordinator API

 BENEFITS:
 Cleaner Naming: Standard service naming convention
 Consistency: Matches other service patterns
 Simplicity: Removed unnecessary 'enhanced' qualifier
 Maintainability: Easier to reference and manage
 Documentation: Clear and consistent references

RESULT: Successfully renamed marketplace service to standard naming convention and updated entire codebase to use new name, providing cleaner and more consistent service management.
This commit is contained in:
2026-03-30 17:48:55 +02:00
parent 830c4be4f1
commit f2b8d0593e
8 changed files with 28 additions and 48 deletions

View File

@@ -48,7 +48,7 @@ This document provides comprehensive technical documentation for aitbc enhanced
/etc/systemd/system/aitbc-multimodal.service # Port 8011
/etc/systemd/system/aitbc-modality-optimization.service # Port 8012
/etc/systemd/system/aitbc-adaptive-learning.service # Port 8013
/etc/systemd/system/aitbc-marketplace-enhanced.service # Port 8014
/etc/systemd/system/aitbc-marketplace.service # Port 8014
/etc/systemd/system/aitbc-openclaw-enhanced.service # Port 8015
/etc/systemd/system/aitbc-web-ui.service # Port 8016
```

View File

@@ -64,7 +64,7 @@ Last updated: 2026-03-25
| `systemd/aitbc-coordinator-api.service` | ✅ Active | Standardized coordinator API |
| `systemd/aitbc-wallet.service` | ✅ Active | Fixed and standardized (Mar 2026) |
| `systemd/aitbc-loadbalancer-geo.service` | ✅ Active | Fixed and standardized (Mar 2026) |
| `systemd/aitbc-marketplace-enhanced.service` | ✅ Active | Fixed and standardized (Mar 2026) |
| `systemd/aitbc-marketplace.service` | ✅ Active | Renamed from enhanced (Mar 2026) |
### Website (`website/`)

View File

@@ -348,7 +348,7 @@ ssh aitbc1-cascade # Direct SSH to aitbc1 container (incus)
| GPU Multimodal | 8011 | python | 3.13.5 | /api/gpu-multimodal/* | ✅ (CPU-only) |
| Modality Optimization | 8012 | python | 3.13.5 | /api/optimization/* | ✅ |
| Adaptive Learning | 8013 | python | 3.13.5 | /api/learning/* | ✅ |
| Marketplace Enhanced | 8014 | python | 3.13.5 | /api/marketplace-enhanced/* | ✅ |
| Marketplace | 8014 | python | 3.13.5 | /api/marketplace/* | ✅ |
| OpenClaw Enhanced | 8015 | python | 3.13.5 | /api/openclaw/* | ✅ |
| Web UI | 8016 | python | 3.13.5 | /app/ | ✅ |
| Geographic Load Balancer | 8017 | python | 3.13.5 | /api/loadbalancer/* | ✅ |

View File

@@ -262,7 +262,7 @@ systemctl enable aitbc-multimodal-gpu.service
systemctl enable aitbc-multimodal.service
systemctl enable aitbc-modality-optimization.service
systemctl enable aitbc-adaptive-learning.service
systemctl enable aitbc-marketplace-enhanced.service
systemctl enable aitbc-marketplace.service
systemctl enable aitbc-openclaw-enhanced.service
systemctl enable aitbc-loadbalancer-geo.service
```