- Remove KCL ecosystem (~220 files deleted) - Migrate all infrastructure to Nickel schema system - Consolidate documentation: legacy docs → provisioning/docs/src/ - Add CI/CD workflows (.github/) and Rust build config (.cargo/) - Update core system for Nickel schema parsing - Update README.md and CHANGES.md for v5.0.0 release - Fix pre-commit hooks: end-of-file, trailing-whitespace - Breaking changes: KCL workspaces require migration - Migration bridge available in docs/src/development/
90 lines
2.0 KiB
Plaintext
90 lines
2.0 KiB
Plaintext
# | Batch operation contracts (schema definitions)
|
|
# | Migrated from: provisioning/kcl/batch.k
|
|
# | Pattern: Pure schema definitions using Nickel contracts
|
|
|
|
{
|
|
BatchScheduler = {
|
|
strategy | String,
|
|
resource_limits,
|
|
scheduling_interval | Number,
|
|
enable_preemption | Bool,
|
|
},
|
|
|
|
BatchQueue = {
|
|
queue_id | String,
|
|
queue_type | String,
|
|
max_size | Number,
|
|
retention_period | Number,
|
|
dead_letter_queue | String | optional,
|
|
max_delivery_attempts | Number,
|
|
},
|
|
|
|
ResourceConstraint = {
|
|
resource_type | String,
|
|
resource_name | String,
|
|
max_units | Number,
|
|
current_units | Number,
|
|
units_per_operation | Number,
|
|
hard_constraint | Bool,
|
|
},
|
|
|
|
BatchMetrics = {
|
|
detailed_metrics | Bool,
|
|
retention_hours | Number,
|
|
aggregation_intervals,
|
|
custom_metrics,
|
|
enable_export | Bool,
|
|
export_config,
|
|
},
|
|
|
|
ProviderMixConfig = {
|
|
primary_provider | String,
|
|
secondary_providers,
|
|
provider_selection | String,
|
|
cross_provider_networking,
|
|
shared_storage | Dyn | optional,
|
|
provider_limits,
|
|
},
|
|
|
|
BatchHealthCheck = {
|
|
enabled | Bool,
|
|
check_interval | Number,
|
|
check_timeout | Number,
|
|
failure_threshold | Number,
|
|
success_threshold | Number,
|
|
health_checks,
|
|
failure_actions,
|
|
},
|
|
|
|
BatchAutoscaling = {
|
|
enabled | Bool,
|
|
min_parallel | Number,
|
|
max_parallel | Number,
|
|
scale_up_threshold | Number,
|
|
scale_down_threshold | Number,
|
|
cooldown_period | Number,
|
|
scale_step | Number,
|
|
target_utilization | Number,
|
|
},
|
|
|
|
BatchExecutor = {
|
|
executor_id | String,
|
|
name | String,
|
|
description | String,
|
|
scheduler | Dyn | optional,
|
|
queues,
|
|
resource_constraints,
|
|
provider_config | Dyn | optional,
|
|
health_check | Dyn | optional,
|
|
autoscaling | Dyn | optional,
|
|
metrics | Dyn | optional,
|
|
storage | Dyn | optional,
|
|
security_config,
|
|
audit_logging | Bool,
|
|
audit_log_path | String,
|
|
webhook_endpoints,
|
|
api_endpoints,
|
|
performance_config,
|
|
},
|
|
}
|