Revert "Fix wrong memorystore nats schema"

This reverts commit 856ccbb969.
This commit is contained in:
Aditya Ujeniya
2025-10-28 08:50:33 +01:00
parent 44e98e8f2f
commit ea7660ddb3

View File

@@ -51,45 +51,39 @@ const configSchema = `{
}, },
"nats": { "nats": {
"description": "Configuration for accepting published data through NATS.", "description": "Configuration for accepting published data through NATS.",
"type": "array", "type": "object",
"items": { "properties": {
"type": "object", "address": {
"properties": { "description": "Address of the NATS server.",
"address": { "type": "string"
"description": "Address of the NATS server.", },
"type": "string" "username": {
}, "description": "Optional: If configured with username/password method.",
"username": { "type": "string"
"description": "Optional: If configured with username/password method.", },
"type": "string" "password": {
}, "description": "Optional: If configured with username/password method.",
"password": { "type": "string"
"description": "Optional: If configured with username/password method.", },
"type": "string" "creds-file-path": {
}, "description": "Optional: If configured with Credential File method. Path to your NATS cred file.",
"creds-file-path": { "type": "string"
"description": "Optional: If configured with Credential File method. Path to your NATS cred file.", },
"type": "string" "subscriptions": {
}, "description": "Array of various subscriptions. Allows to subscibe to different subjects and publishers.",
"subscriptions": { "type": "object",
"description": "Array of various subscriptions. Allows to subscibe to different subjects and publishers.", "properties": {
"type": "array", "subscribe-to": {
"items": { "description": "Channel name",
"type": "object", "type": "string"
"properties": { },
"subscribe-to": { "cluster-tag": {
"description": "Channel name", "description": "Optional: Allow lines without a cluster tag, use this as default",
"type": "string" "type": "string"
}, }
"cluster-tag": { }
"description": "Optional: Allow lines without a cluster tag, use this as default", }
"type": "string" }
}
}
}
}
}
}
} }
} }
}` }`