mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-12-16 12:16:16 +01:00
Reapply "Fix wrong memorystore nats schema"
This reverts commit ea7660ddb3.
This commit is contained in:
@@ -51,6 +51,8 @@ const configSchema = `{
|
|||||||
},
|
},
|
||||||
"nats": {
|
"nats": {
|
||||||
"description": "Configuration for accepting published data through NATS.",
|
"description": "Configuration for accepting published data through NATS.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"address": {
|
"address": {
|
||||||
@@ -71,6 +73,8 @@ const configSchema = `{
|
|||||||
},
|
},
|
||||||
"subscriptions": {
|
"subscriptions": {
|
||||||
"description": "Array of various subscriptions. Allows to subscibe to different subjects and publishers.",
|
"description": "Array of various subscriptions. Allows to subscibe to different subjects and publishers.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"subscribe-to": {
|
"subscribe-to": {
|
||||||
@@ -86,4 +90,6 @@ const configSchema = `{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}`
|
}`
|
||||||
|
|||||||
Reference in New Issue
Block a user