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