You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/smardigo/pmci/datasource/data-entity-services-proces...

19 lines
513 B
JSON

{
"name": "data-entity-services-processed",
"restApi": true,
"configKey": "data-entity-services-processed",
"payloadType": "POST_PROCESSING",
"config": [
{
"name": "datasource_key",
"type": "STRING",
"value": "data-entity-services"
},
{
"name": "groovy_script",
"type": "STRING",
"value": "data.collect{ row ->\n row.link = 'https://' + row.cluster.stage + '-' + row.tenant_key + '-01-' + row.cluster.service + '.smardigo.digital'\n row\n}"
}
]
}