feat: add websocket upstream adapter

This commit is contained in:
a.tolmachev
2026-04-06 13:23:45 +03:00
parent b5f80c5d2f
commit 45ea011b7f
27 changed files with 978 additions and 30 deletions
+14
View File
@@ -430,6 +430,20 @@
- `kind`
- `wsdl_ref`
## 5. `ProtocolOptions`
`ProtocolOptions` хранит protocol-specific runtime tuning, который не должен смешиваться с общей `ExecutionConfig`.
### 5.1. `GrpcProtocolOptions`
- `use_tls`
### 5.2. `WebsocketProtocolOptions`
- `heartbeat_interval_ms`
- `reconnect_max_attempts`
- `reconnect_backoff_ms`
- `service_name`
- `port_name`
- `operation_name`
+6 -2
View File
@@ -79,8 +79,6 @@ WebSocket operation должна включать:
- `url`
- `headers`
- `subprotocols`
- `connect_timeout_ms`
- `heartbeat_interval_ms`
- `subscribe_message_template`
- `unsubscribe_message_template`
- `input_mapping`
@@ -88,6 +86,12 @@ WebSocket operation должна включать:
- `execution_config`
- `tool_description`
Protocol-specific runtime tuning хранится отдельно в `ProtocolOptions.websocket`:
- `heartbeat_interval_ms`
- `reconnect_max_attempts`
- `reconnect_backoff_ms`
## 7. Как оператор настраивает WebSocket operation
1. Указывает URL WebSocket upstream.