182 lines
4.4 KiB
JSON
182 lines
4.4 KiB
JSON
{
|
|
"DefaultBatchOperation": {
|
|
"action": "create",
|
|
"allow_parallel": true,
|
|
"dependencies": [],
|
|
"name": "",
|
|
"operation_id": "",
|
|
"operation_type": "server",
|
|
"parameters": {},
|
|
"priority": 0,
|
|
"success_conditions": [],
|
|
"timeout": 1800,
|
|
"validation_rules": []
|
|
},
|
|
"DefaultBatchWorkflow": {
|
|
"description": "",
|
|
"execution_context": {},
|
|
"fail_fast": false,
|
|
"global_timeout": 7200,
|
|
"max_parallel_operations": 5,
|
|
"name": "",
|
|
"operations": [],
|
|
"post_workflow_hooks": [],
|
|
"pre_workflow_hooks": [],
|
|
"version": "1.0.0",
|
|
"workflow_id": ""
|
|
},
|
|
"DefaultDependencyDef": {
|
|
"conditions": [],
|
|
"dependency_type": "sequential",
|
|
"fail_on_dependency_error": true,
|
|
"target_operation_id": "",
|
|
"timeout": 300
|
|
},
|
|
"DefaultMonitoringConfig": {
|
|
"backend": "prometheus",
|
|
"collection_interval": 30,
|
|
"enable_notifications": false,
|
|
"enable_tracing": true,
|
|
"enabled": true,
|
|
"log_level": "info",
|
|
"notification_channels": []
|
|
},
|
|
"DefaultRetryPolicy": {
|
|
"backoff_multiplier": 2,
|
|
"initial_delay": 5,
|
|
"max_attempts": 3,
|
|
"max_delay": 300,
|
|
"retry_on_any_error": false,
|
|
"retry_on_errors": [
|
|
"connection_error",
|
|
"timeout",
|
|
"rate_limit"
|
|
]
|
|
},
|
|
"DefaultRollbackStrategy": {
|
|
"custom_rollback_operations": [],
|
|
"enabled": true,
|
|
"preserve_partial_state": false,
|
|
"rollback_timeout": 600,
|
|
"strategy": "immediate"
|
|
},
|
|
"DefaultStorageConfig": {
|
|
"backend": "filesystem",
|
|
"base_path": "./batch_workflows",
|
|
"connection_config": {},
|
|
"enable_compression": false,
|
|
"enable_persistence": true,
|
|
"retention_hours": 168
|
|
},
|
|
"DefaultWorkflowExecution": {
|
|
"errors": [],
|
|
"execution_id": "",
|
|
"operation_states": {},
|
|
"resource_usage": {},
|
|
"results": {},
|
|
"rollback_history": [],
|
|
"status": "pending",
|
|
"workflow_id": ""
|
|
},
|
|
"DefaultWorkflowTemplate": {
|
|
"category": "infrastructure",
|
|
"description": "",
|
|
"examples": [],
|
|
"name": "",
|
|
"parameters": {},
|
|
"required_parameters": [],
|
|
"template_id": "",
|
|
"version": "1.0.0"
|
|
},
|
|
"defaults": {
|
|
"batch_operation": {
|
|
"action": "create",
|
|
"allow_parallel": true,
|
|
"dependencies": [],
|
|
"name": "",
|
|
"operation_id": "",
|
|
"operation_type": "server",
|
|
"parameters": {},
|
|
"priority": 0,
|
|
"success_conditions": [],
|
|
"timeout": 1800,
|
|
"validation_rules": []
|
|
},
|
|
"batch_workflow": {
|
|
"description": "",
|
|
"execution_context": {},
|
|
"fail_fast": false,
|
|
"global_timeout": 7200,
|
|
"max_parallel_operations": 5,
|
|
"name": "",
|
|
"operations": [],
|
|
"post_workflow_hooks": [],
|
|
"pre_workflow_hooks": [],
|
|
"version": "1.0.0",
|
|
"workflow_id": ""
|
|
},
|
|
"dependency_def": {
|
|
"conditions": [],
|
|
"dependency_type": "sequential",
|
|
"fail_on_dependency_error": true,
|
|
"target_operation_id": "",
|
|
"timeout": 300
|
|
},
|
|
"monitoring_config": {
|
|
"backend": "prometheus",
|
|
"collection_interval": 30,
|
|
"enable_notifications": false,
|
|
"enable_tracing": true,
|
|
"enabled": true,
|
|
"log_level": "info",
|
|
"notification_channels": []
|
|
},
|
|
"retry_policy": {
|
|
"backoff_multiplier": 2,
|
|
"initial_delay": 5,
|
|
"max_attempts": 3,
|
|
"max_delay": 300,
|
|
"retry_on_any_error": false,
|
|
"retry_on_errors": [
|
|
"connection_error",
|
|
"timeout",
|
|
"rate_limit"
|
|
]
|
|
},
|
|
"rollback_strategy": {
|
|
"custom_rollback_operations": [],
|
|
"enabled": true,
|
|
"preserve_partial_state": false,
|
|
"rollback_timeout": 600,
|
|
"strategy": "immediate"
|
|
},
|
|
"storage_config": {
|
|
"backend": "filesystem",
|
|
"base_path": "./batch_workflows",
|
|
"connection_config": {},
|
|
"enable_compression": false,
|
|
"enable_persistence": true,
|
|
"retention_hours": 168
|
|
},
|
|
"workflow_execution": {
|
|
"errors": [],
|
|
"execution_id": "",
|
|
"operation_states": {},
|
|
"resource_usage": {},
|
|
"results": {},
|
|
"rollback_history": [],
|
|
"status": "pending",
|
|
"workflow_id": ""
|
|
},
|
|
"workflow_template": {
|
|
"category": "infrastructure",
|
|
"description": "",
|
|
"examples": [],
|
|
"name": "",
|
|
"parameters": {},
|
|
"required_parameters": [],
|
|
"template_id": "",
|
|
"version": "1.0.0"
|
|
}
|
|
}
|
|
}
|