added email notifications
This commit is contained in:
parent
ea9cecb070
commit
2b20e70da2
|
@ -156,48 +156,48 @@
|
||||||
"scriptExpression" : "1 == 1"
|
"scriptExpression" : "1 == 1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
],
|
[
|
||||||
[
|
{
|
||||||
{
|
"name" : "pyrest",
|
||||||
"name" : "pyrest",
|
"taskReferenceName" : "get_rootvo",
|
||||||
"taskReferenceName" : "get_rootvo",
|
"type" : "SIMPLE",
|
||||||
"type" : "SIMPLE",
|
"inputParameters" : {
|
||||||
"inputParameters" : {
|
"url" : "${init.input.keycloak_admin}/clients?clientId=${workflow.input.root_vo}",
|
||||||
"url" : "${init.input.keycloak_admin}/clients?clientId=${workflow.input.root_vo}",
|
"method" : "GET",
|
||||||
"method" : "GET",
|
"headers" : {
|
||||||
"headers" : {
|
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
||||||
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
"Accept" : "application/json"
|
||||||
"Accept" : "application/json"
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
},
|
{
|
||||||
{
|
"name" : "pyrest",
|
||||||
"name" : "pyrest",
|
"taskReferenceName" : "get_rootvo_roles",
|
||||||
"taskReferenceName" : "get_rootvo_roles",
|
"type" : "SIMPLE",
|
||||||
"type" : "SIMPLE",
|
"inputParameters" : {
|
||||||
"inputParameters" : {
|
"url" : "${init.input.keycloak_admin}/clients/${get_rootvo.output.body[0].id}/roles",
|
||||||
"url" : "${init.input.keycloak_admin}/clients/${get_rootvo.output.body[0].id}/roles",
|
"method" : "GET",
|
||||||
"method" : "GET",
|
"headers" : {
|
||||||
"headers" : {
|
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
||||||
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
"Accept" : "application/json"
|
||||||
"Accept" : "application/json"
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
},
|
{
|
||||||
{
|
"name" : "pyrest",
|
||||||
"name" : "pyrest",
|
"taskReferenceName" : "get_rootvo_infra_managers",
|
||||||
"taskReferenceName" : "get_rootvo_infra_managers",
|
"type" : "SIMPLE",
|
||||||
"type" : "SIMPLE",
|
"inputParameters" : {
|
||||||
"inputParameters" : {
|
"url" : "${init.input.keycloak_admin}/clients/${get_rootvo.output.body[0].id}/roles/Infrastructure-Manager/users",
|
||||||
"url" : "${init.input.keycloak_admin}/clients/${get_rootvo.output.body[0].id}/roles/Infrastructure-Manager/users",
|
"method" : "GET",
|
||||||
"method" : "GET",
|
"headers" : {
|
||||||
"headers" : {
|
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
||||||
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
"Accept" : "application/json"
|
||||||
"Accept" : "application/json"
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue