app-id added and management zone was re-onboarded
parent
0f1f675c04
commit
505b14bcc9
|
|
@ -1,140 +1,39 @@
|
||||||
{
|
{
|
||||||
"dimensionalRules": [],
|
"dimensionalRules": [],
|
||||||
"name": "{{.name}}",
|
"name": "{{.name}}",
|
||||||
"rules": [
|
"entitySelectorBasedRules": [
|
||||||
{
|
|
||||||
"conditions": [
|
|
||||||
{
|
{
|
||||||
"comparisonInfo": {
|
"enabled": true,
|
||||||
"negate": false,
|
"entitySelector": "type(Service),tag({{.compassIDs}})"
|
||||||
"operator": "EQUALS",
|
},
|
||||||
"type": "TAG",
|
|
||||||
"value": {
|
|
||||||
"context": "CONTEXTLESS",
|
|
||||||
"key": "Component",
|
|
||||||
"value": "{{.tag}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"key": {
|
|
||||||
"attribute": "SERVICE_TAGS"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"enabled": true,
|
|
||||||
"propagationTypes": [
|
|
||||||
"SERVICE_TO_PROCESS_GROUP_LIKE",
|
|
||||||
"SERVICE_TO_HOST_LIKE"
|
|
||||||
],
|
|
||||||
"type": "SERVICE"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"conditions": [
|
|
||||||
{
|
{
|
||||||
"comparisonInfo": {
|
"enabled": true,
|
||||||
"negate": false,
|
"entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.compassIDs}}))"
|
||||||
"operator": "EQUALS",
|
},
|
||||||
"type": "TAG",
|
|
||||||
"value": {
|
|
||||||
"context": "CONTEXTLESS",
|
|
||||||
"key": "Component",
|
|
||||||
"value": "{{.tag}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"key": {
|
|
||||||
"attribute": "PROCESS_GROUP_TAGS"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"enabled": true,
|
|
||||||
"propagationTypes": [
|
|
||||||
"PROCESS_GROUP_TO_HOST"
|
|
||||||
],
|
|
||||||
"type": "PROCESS_GROUP"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"conditions": [
|
|
||||||
{
|
{
|
||||||
"comparisonInfo": {
|
"enabled": true,
|
||||||
"negate": false,
|
"entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.compassIDs}})"
|
||||||
"operator": "EQUALS",
|
},
|
||||||
"type": "TAG",
|
|
||||||
"value": {
|
|
||||||
"context": "CONTEXTLESS",
|
|
||||||
"key": "Component",
|
|
||||||
"value": "{{.tag}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"key": {
|
|
||||||
"attribute": "HOST_TAGS"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"enabled": true,
|
|
||||||
"type": "HOST"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"conditions": [
|
|
||||||
{
|
{
|
||||||
"comparisonInfo": {
|
"enabled": true,
|
||||||
"caseSensitive": true,
|
"entitySelector": "type(HOST),tag({{.compassIDs}})"
|
||||||
"negate": false,
|
},
|
||||||
"operator": "CONTAINS",
|
|
||||||
"type": "STRING",
|
|
||||||
"value": "{{.tag}}"
|
|
||||||
},
|
|
||||||
"key": {
|
|
||||||
"attribute": "CLOUD_APPLICATION_NAMESPACE_NAME"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"enabled": true,
|
|
||||||
"propagationTypes": [],
|
|
||||||
"type": "CLOUD_APPLICATION_NAMESPACE"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"conditions": [
|
|
||||||
{
|
{
|
||||||
"comparisonInfo": {
|
"enabled": true,
|
||||||
"caseSensitive": true,
|
"entitySelector": "type(Service),tag({{.appIDs}})"
|
||||||
"negate": false,
|
|
||||||
"operator": "CONTAINS",
|
|
||||||
"type": "STRING",
|
|
||||||
"value": "{{.tag}}"
|
|
||||||
},
|
},
|
||||||
"key": {
|
|
||||||
"attribute": "CLOUD_APPLICATION_NAME"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"enabled": true,
|
|
||||||
"propagationTypes": [],
|
|
||||||
"type": "CLOUD_APPLICATION"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"conditions": [
|
|
||||||
{
|
{
|
||||||
"comparisonInfo": {
|
"enabled": true,
|
||||||
"negate": false,
|
"entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.appIDs}}))"
|
||||||
"operator": "EQUALS",
|
},
|
||||||
"type": "TAG",
|
{
|
||||||
"value": {
|
"enabled": true,
|
||||||
"context": "CONTEXTLESS",
|
"entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.appIDs}})"
|
||||||
"key": "app-id",
|
},
|
||||||
"value": "APP-18886"
|
{
|
||||||
}
|
"enabled": true,
|
||||||
},
|
"entitySelector": "type(HOST),tag({{.appIDs}})"
|
||||||
"key": {
|
|
||||||
"attribute": "SERVICE_TAGS",
|
|
||||||
"type": "STATIC"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"enabled": true,
|
"rules": []
|
||||||
"propagationTypes": [
|
|
||||||
"SERVICE_TO_PROCESS_GROUP_LIKE",
|
|
||||||
"SERVICE_TO_HOST_LIKE"
|
|
||||||
],
|
|
||||||
"type": "SERVICE"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
config:
|
config:
|
||||||
- CDXCC: default.json
|
- CDnewComponentTag: default.json
|
||||||
|
|
||||||
CDXCC:
|
CDnewComponentTag:
|
||||||
- name: CD_XCC
|
- name: CD_XCC
|
||||||
- tag: XCC
|
- compassIDs: \"compass-id:xcc-campaigns\",\"compass-id:xcc-settings\",\"compass-id:xcc-statistics\",\"compass-id:xcc-cmgr\",\"compass-id:xcc-users\",\"compass-id:xcc-next-campaigns\",\"compass-id:xcc-next-legacy-facade\"
|
||||||
|
- appIDs: \"app-id:APP-18886\"
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
### How to configure management zones?
|
||||||
|
|
||||||
|
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Management+Zones) page to configure your management zones.
|
||||||
|
|
@ -0,0 +1,140 @@
|
||||||
|
{
|
||||||
|
"dimensionalRules": [],
|
||||||
|
"name": "{{.name}}",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"negate": false,
|
||||||
|
"operator": "EQUALS",
|
||||||
|
"type": "TAG",
|
||||||
|
"value": {
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [
|
||||||
|
"SERVICE_TO_PROCESS_GROUP_LIKE",
|
||||||
|
"SERVICE_TO_HOST_LIKE"
|
||||||
|
],
|
||||||
|
"type": "SERVICE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"negate": false,
|
||||||
|
"operator": "EQUALS",
|
||||||
|
"type": "TAG",
|
||||||
|
"value": {
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "PROCESS_GROUP_TAGS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [
|
||||||
|
"PROCESS_GROUP_TO_HOST"
|
||||||
|
],
|
||||||
|
"type": "PROCESS_GROUP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"negate": false,
|
||||||
|
"operator": "EQUALS",
|
||||||
|
"type": "TAG",
|
||||||
|
"value": {
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "HOST_TAGS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"type": "HOST"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"caseSensitive": true,
|
||||||
|
"negate": false,
|
||||||
|
"operator": "CONTAINS",
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "CLOUD_APPLICATION_NAMESPACE_NAME"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [],
|
||||||
|
"type": "CLOUD_APPLICATION_NAMESPACE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"caseSensitive": true,
|
||||||
|
"negate": false,
|
||||||
|
"operator": "CONTAINS",
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "CLOUD_APPLICATION_NAME"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [],
|
||||||
|
"type": "CLOUD_APPLICATION"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"negate": false,
|
||||||
|
"operator": "EQUALS",
|
||||||
|
"type": "TAG",
|
||||||
|
"value": {
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "app-id",
|
||||||
|
"value": "APP-18886"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "SERVICE_TAGS",
|
||||||
|
"type": "STATIC"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [
|
||||||
|
"SERVICE_TO_PROCESS_GROUP_LIKE",
|
||||||
|
"SERVICE_TO_HOST_LIKE"
|
||||||
|
],
|
||||||
|
"type": "SERVICE"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
config:
|
||||||
|
- CDXCC: default.json
|
||||||
|
|
||||||
|
CDXCC:
|
||||||
|
- name: CD_XCC
|
||||||
|
- tag: XCC
|
||||||
Loading…
Reference in New Issue