fix: rename query param device->device_id in telemetry API (v0.2.6)

- GET /telemetry?device_id= now consistently uses device_id
- was: ?device= (inconsistent with response field name)
- found during extended test suite
This commit is contained in:
Naeel
2026-04-21 07:20:12 +03:00
parent f0cc6df9a6
commit 76c11d5476
6 changed files with 69 additions and 202 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ spec:
- name: mqtt-bridge
# Тот же образ что и оператор — оба бинаря в одном слое (manager + iot-mqtt-bridge).
# При смене версии оператора — менять тег и здесь.
image: naeel/iot-operator:v0.2.5
image: naeel/iot-operator:v0.2.6
imagePullPolicy: Always
command: ["/mqtt-bridge"]
env:
+2 -2
View File
@@ -3,7 +3,7 @@
#
# Компоненты:
# - ServiceAccount + ClusterRole + ClusterRoleBinding (RBAC для CRD controller)
# - Deployment: naeel/iot-operator:v0.2.5
# - Deployment: naeel/iot-operator:v0.2.6
# - Service: ClusterIP :9090 (REST API, MQTT auth/acl, admin UI)
#
# iot-operator обслуживает:
@@ -85,7 +85,7 @@ spec:
serviceAccountName: iot-operator
containers:
- name: operator
image: naeel/iot-operator:v0.2.5
image: naeel/iot-operator:v0.2.6
imagePullPolicy: Always
ports:
- name: api
+1 -1
View File
@@ -36,7 +36,7 @@ spec:
containers:
- name: sqs-consumer
# Тот же образ что и оператор — все IoT бинари в одном образе.
image: naeel/iot-operator:v0.2.5
image: naeel/iot-operator:v0.2.6
imagePullPolicy: Always
command: ["/sqs-consumer"]
env: