maasglobal_cicdtest/00_Global-Config/conditional-naming-service/BASEservicename-environment...

41 lines
739 B
JSON

{
"displayName": "{{.name}}",
"enabled": true,
"metadata": {
"clusterVersion": "1.211.111.20210222-093946",
"configurationVersions": [
0
]
},
"nameFormat": "{Service:DetectedName} - {ProcessGroup:SpringBootProfileName/[^\\-]*$}",
"rules": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "BASE"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
},
{
"comparisonInfo": {
"caseSensitive": null,
"negate": true,
"operator": "EXISTS",
"type": "STRING",
"value": null
},
"key": {
"attribute": "SERVICE_DATABASE_NAME"
}
}
],
"type": "SERVICE"
}