hzn-cli
Version:
Open Horizon CLI toolkit helps streamline the process of preparing node agents and perform tasks between orgs environments
50 lines (49 loc) • 1.09 kB
JSON
{
"label": "$MMS_SERVICE_NAME Deployment Policy",
"description": "A super-simple sample Horizon Deployment Policy",
"service": {
"name": "$MMS_SERVICE_NAME",
"org": "$HZN_ORG_ID",
"arch": "$ARCH",
"serviceVersions": [
{
"version": "$MMS_SERVICE_VERSION",
"priority":{
"priority_value": 2,
"retries": 2,
"retry_durations": 360,
"verified_durations": 42
},
"upgradePolicy": {}
},
{
"version":"$MMS_SERVICE_FALLBACK_VERSION",
"priority":{
"priority_value": 3,
"retries": 3,
"retry_durations": 360,
"verified_durations": 42
},
"upgradePolicy": {}
}
]
},
"properties": [
],
"constraints": [
"$SERVICE_CONSTRAINTS"
],
"userInput": [
{
"serviceOrgid": "$HZN_ORG_ID",
"serviceUrl": "$MMS_SERVICE_NAME",
"serviceVersionRange": "[0.0.0,INFINITY)",
"inputs": [
{
"name": "HW_WHO",
"value": "from the EDGE!"
}
]
}
]
}