Bundle Deploy Script
Unveiling Evento Server's Bundle Deployment Script
The Trigger: A Signal for Deployment
{
"id": "string", // Unique identifier for the bundle
"version": number, // Version number of the bundle
"description": "string", // Optional description of the bundle
"detail": "string", // Optional additional details about the bundle
"bucketType": "string", // Type of bucket associated with the bundle (implementation specific)
"artifactCoordinates": "string", // Location of the bundle artifact (e.g., JAR file)
"artifactOriginalName": "string", // Original name of the bundle artifact
"containsHandlers": boolean, // Indicates if the bundle contains event handlers
"environment": {
"string": "string" // Key-value pairs for environment variables
},
"vmOptions": {
"string": "string" // Key-value pairs for VM options (if applicable)
},
"autorun": boolean, // Indicates if the bundle should be automatically run
"minInstances": number, // Minimum number of bundle instances to spawn (for scaling)
"maxInstances": number, // Maximum number of bundle instances to spawn (for scaling)
"updatedAt": "string" // Timestamp of the bundle's last update (in ISO 8601 format)
}The Script in Action: Decoding and Orchestrating
The Provided Example: A Concrete Illustration
Conclusion:
Last updated