use pyeval to squeeze out service names

This commit is contained in:
Marco Lettere 2021-06-30 17:42:22 +02:00
parent 050990db34
commit b6fda3975d
1 changed files with 9 additions and 0 deletions

View File

@ -65,6 +65,15 @@
} }
} }
}, },
{
"name" : "pyeval",
"taskReferenceName" : "extract_client_ids",
"type" : "SIMPLE",
"inputParameters" : {
"code" : "import xml.etree.ElementTree as ET;\nout=[]\nfor n in ET.fromstring(data.xmlstring).findAll('Resource/Profile/Name'):out.append(n.text);\nreturn out",
"xmlstring" : "${retrieve_system_services.output.body}"
}
},
{ {
"name" : "pyrest", "name" : "pyrest",
"taskReferenceName" : "authorize", "taskReferenceName" : "authorize",