Alternative Services Module
Alternative Services Module
Separation of Duties: See Separation of Duties - Drupal modules are responsible for Drupal-specific functionality. They do NOT own agent manifests, execution, or OSSA spec.
Service management and monitoring dashboard for platform services with AI integration and ECA automation.
Module Information
- Name: Alternative Services
- Machine Name:
alternative_services - Package: Bluefly Platform
- Version: 0.1.1
- Drupal Compatibility: ^10 || ^11
- Source:
$LLM_ROOT/all_drupal_custom/modules/alternative_services/
Features
- Service management dashboard
- Service health monitoring
- AI integration for intelligent service orchestration
- ECA workflow automation
- REST API and JSON:API support
- Real-time service status updates
- Service dependency management
- OpenAPI documentation
Installation
composer require drupal/alternative_services drush en alternative_services -y
Dependencies
Required
- drupal:serialization
- drupal:rest
- drupal:jsonapi
- drupal:views
- drupal:user
- drupal:node
- drupal:ai
- drupal:ai_automators
- drupal:eca
- drupal:eca_base
Suggested
- health_check:health_check - Health monitoring
- monitoring:monitoring - System monitoring
- dashboards:dashboards - Dashboard management
- advancedqueue:advancedqueue - Service queue management
- openapi:openapi - API documentation
- openapi_ui:openapi_ui
Configuration
Navigate to: /admin/config/alternative_services/dashboard
Usage
Service Management
<?php // Register service $service_manager = \Drupal::service('alternative_services.manager'); $service_manager->register('my_service', [ 'label' => 'My Service', 'type' => 'api', 'endpoint' => 'https://api.example.com', 'health_check_interval' => 60, ]); // Check service health $status = $service_manager->checkHealth('my_service');
API Endpoints
# List services GET /jsonapi/service # Service status GET /api/v1/services/{service_id}/status