blob: 503616593dd7e731e94c9a57cb94545b3f4578a6 [file] [log] [blame]
{
"guard_policies": {
"guard1":{
"recipe": "Rebuild",
"actor": "SO",
"clname": "testloop",
"guardTargets": ".*",
"minGuard": "3",
"maxGuard": "7",
"limitGuard": "",
"timeUnitsGuard": "",
"timeWindowGuard": "",
"guardActiveStart": "00:00:01-05:00",
"guardActiveEnd": "23:59:01-05:00"
},
"guard2":{
"recipe": "Migrate",
"actor": "SO",
"clname": "testloop",
"guardTargets": ".*",
"minGuard": "1",
"maxGuard": "2",
"limitGuard": "",
"timeUnitsGuard": "",
"timeWindowGuard": "",
"guardActiveStart": "00:00:01-05:00",
"guardActiveEnd": "23:59:01-05:00"
}
},
"operational_policy": {
"controlLoop": {
"controlLoopName": "control loop",
"version": "2.0.0",
"trigger_policy": "new1",
"timeout": "30",
"abatement": "true"
},
"policies": [
{
"id": "new1",
"recipe": "Rebuild",
"retry": "10",
"timeout": "20",
"actor": "SO",
"payload": "test",
"success": "new2",
"failure": "new2",
"failure_timeout": "new2",
"failure_retries": "new2",
"failure_exception": "new2",
"failure_guard": "new2",
"target": {
"type": "VFC",
"resourceTargetId": "test"
}
},
{
"id": "new2",
"recipe": "Migrate",
"retry": "30",
"timeout": "40",
"actor": "SDNC",
"payload": "test",
"target": {
"type": "VFC",
"resourceTargetId": "test"
}
}
]
}
}