app-id added and management zone was re-onboarded
parent
0f1f675c04
commit
505b14bcc9
|
|
@ -1,140 +1,39 @@
|
|||
{
|
||||
"dimensionalRules": [],
|
||||
"name": "{{.name}}",
|
||||
"rules": [
|
||||
"entitySelectorBasedRules": [
|
||||
{
|
||||
"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"
|
||||
"entitySelector": "type(Service),tag({{.compassIDs}})"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
"entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.compassIDs}}))"
|
||||
},
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"comparisonInfo": {
|
||||
"negate": false,
|
||||
"operator": "EQUALS",
|
||||
"type": "TAG",
|
||||
"value": {
|
||||
"context": "CONTEXTLESS",
|
||||
"key": "Component",
|
||||
"value": "{{.tag}}"
|
||||
}
|
||||
},
|
||||
"key": {
|
||||
"attribute": "HOST_TAGS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"enabled": true,
|
||||
"type": "HOST"
|
||||
"entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.compassIDs}})"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
"entitySelector": "type(HOST),tag({{.compassIDs}})"
|
||||
},
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"comparisonInfo": {
|
||||
"caseSensitive": true,
|
||||
"negate": false,
|
||||
"operator": "CONTAINS",
|
||||
"type": "STRING",
|
||||
"value": "{{.tag}}"
|
||||
},
|
||||
"key": {
|
||||
"attribute": "CLOUD_APPLICATION_NAME"
|
||||
}
|
||||
}
|
||||
],
|
||||
"enabled": true,
|
||||
"propagationTypes": [],
|
||||
"type": "CLOUD_APPLICATION"
|
||||
"entitySelector": "type(Service),tag({{.appIDs}})"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
"entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.appIDs}}))"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.appIDs}})"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"entitySelector": "type(HOST),tag({{.appIDs}})"
|
||||
}
|
||||
],
|
||||
"type": "SERVICE"
|
||||
}
|
||||
]
|
||||
"rules": []
|
||||
}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
config:
|
||||
- CDXCC: default.json
|
||||
- CDnewComponentTag: default.json
|
||||
|
||||
CDXCC:
|
||||
CDnewComponentTag:
|
||||
- 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