|
|
|
@ -113,6 +113,20 @@
|
|
|
|
|
"expression": "Java.from($.prevpolicies).concat($.newpolicy)"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "INLINE_TASK",
|
|
|
|
|
"taskReferenceName": "count_check",
|
|
|
|
|
"inputParameters": {
|
|
|
|
|
"tocount": "${to_policy_array.output.result[*].id}",
|
|
|
|
|
"tocompare": "${retrieve_default_permission_policies.output.body}",
|
|
|
|
|
"evaluatorType": "javascript",
|
|
|
|
|
"expression": "if($.tocount.length < $.tocompare.length) throw 'Unexpected low value'; else $.tocount.length < $.tocompare.length"
|
|
|
|
|
},
|
|
|
|
|
"type": "INLINE",
|
|
|
|
|
"startDelay": 0,
|
|
|
|
|
"optional": false,
|
|
|
|
|
"asyncComplete": false
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name" : "pyrest",
|
|
|
|
|
"taskReferenceName" : "finalize_permission",
|
|
|
|
|