mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-12-16 04:06:16 +01:00
Fix wrong memorystore nats schema
This commit is contained in:
committed by
Michael Panzlaff
parent
0920286b4c
commit
856ccbb969
@@ -51,39 +51,45 @@ const configSchema = `{
|
|||||||
},
|
},
|
||||||
"nats": {
|
"nats": {
|
||||||
"description": "Configuration for accepting published data through NATS.",
|
"description": "Configuration for accepting published data through NATS.",
|
||||||
"type": "object",
|
"type": "array",
|
||||||
"properties": {
|
"items": {
|
||||||
"address": {
|
"type": "object",
|
||||||
"description": "Address of the NATS server.",
|
"properties": {
|
||||||
"type": "string"
|
"address": {
|
||||||
},
|
"description": "Address of the NATS server.",
|
||||||
"username": {
|
"type": "string"
|
||||||
"description": "Optional: If configured with username/password method.",
|
},
|
||||||
"type": "string"
|
"username": {
|
||||||
},
|
"description": "Optional: If configured with username/password method.",
|
||||||
"password": {
|
"type": "string"
|
||||||
"description": "Optional: If configured with username/password method.",
|
},
|
||||||
"type": "string"
|
"password": {
|
||||||
},
|
"description": "Optional: If configured with username/password method.",
|
||||||
"creds-file-path": {
|
"type": "string"
|
||||||
"description": "Optional: If configured with Credential File method. Path to your NATS cred file.",
|
},
|
||||||
"type": "string"
|
"creds-file-path": {
|
||||||
},
|
"description": "Optional: If configured with Credential File method. Path to your NATS cred file.",
|
||||||
"subscriptions": {
|
"type": "string"
|
||||||
"description": "Array of various subscriptions. Allows to subscibe to different subjects and publishers.",
|
},
|
||||||
"type": "object",
|
"subscriptions": {
|
||||||
"properties": {
|
"description": "Array of various subscriptions. Allows to subscibe to different subjects and publishers.",
|
||||||
"subscribe-to": {
|
"type": "array",
|
||||||
"description": "Channel name",
|
"items": {
|
||||||
"type": "string"
|
"type": "object",
|
||||||
},
|
"properties": {
|
||||||
"cluster-tag": {
|
"subscribe-to": {
|
||||||
"description": "Optional: Allow lines without a cluster tag, use this as default",
|
"description": "Channel name",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
},
|
||||||
}
|
"cluster-tag": {
|
||||||
}
|
"description": "Optional: Allow lines without a cluster tag, use this as default",
|
||||||
}
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}`
|
}`
|
||||||
|
|||||||
Reference in New Issue
Block a user