Update cluster.schema.json

Move MetricDataRepository property to cc config file.
This commit is contained in:
Jan Eitzinger 2022-08-25 12:26:13 +02:00
parent 5cf89a6a3b
commit 5ea38d5a6c

View File

@ -8,31 +8,6 @@
"description": "The unique identifier of a cluster",
"type": "string"
},
"metricDataRepository": {
"description": "Type of the metric data repository for this cluster",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"influxdb-v1",
"influxdb-v2",
"prometheus",
"cc-metric-store"
]
},
"url": {
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"kind",
"url"
]
},
"metricConfig": {
"description": "Metric specifications",
"type": "array",
@ -94,7 +69,6 @@
"alert"
]
}
}
},
"required": [
"name",
@ -102,6 +76,8 @@
"scope",
"timestep"
]
}
}
},
"subClusters": {
"description": "Array of cluster hardware partitions",
@ -248,7 +224,6 @@
},
"required":[
"name",
"metricDataRepository",
"metricConfig",
"subClusters"
]
@ -256,4 +231,3 @@
}
}
}
}