Educates Backend Plugin#
Overview#
The Educates backend plugin provides the server-side functionality required to integrate Educates training portals with Backstage. It handles API communication, authentication, session management, and exposes endpoints for the frontend plugin to consume.
Features#
API Integration#
- Seamless communication with Educates training portals
- Support for multiple portal configurations
- Secure API token management
- Error handling and retries
Authentication Management#
- Token-based authentication
- Automatic token refresh
- Secure credential storage
- Session persistence
Workshop Management#
- Workshop catalog retrieval
- Workshop metadata handling
- Session creation and tracking
Multi-Portal Support#
- Multiple portal configurations out of the box
Technical Details#
Integration Points#
- Educates Training Portal API
- Backstage backend services
- Permission framework
- Authentication system
Type Definitions#
Utilizes shared types from the common package:
TrainingPortalConfig
EducatesConfig
Workshop
WorkshopEnvironment
TrainingPortalStatus
WorkshopSession
Error Handling#
- Comprehensive error types
- Detailed error messages
- Automatic retries
- Rate limiting protection
Security#
- Secure credential management
- Token-based authentication
- Permission-based access control
- Request validation
Architecture#
Components#
-
API Router
- Endpoint registration
- Request handling
- Response formatting
-
Portal Manager
- Portal configuration
- Health monitoring
- Connection management
-
Session Controller
- Session lifecycle
- Resource allocation
-
Authentication Handler
- Token management
- Credential storage
- Permission checks
Data Flow#
- Request received from frontend
- Authentication and permission validation
- Portal communication
- Response processing
- Result returned to client
For installation and configuration details, refer to the Installation Guide and Configuration Guide.