From 038aa937e5222ff8daafd5c5c99f6df447c5411a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 26 Jul 2020 18:00:22 +0200 Subject: [PATCH] add parameters --- birbnetes.yml | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/birbnetes.yml b/birbnetes.yml index 2e21cb5..5184c9f 100644 --- a/birbnetes.yml +++ b/birbnetes.yml @@ -112,6 +112,17 @@ channels: retain: true bindingVersion: 0.1.0 description: Sensor measurement + parameters: + deviceID: + description: ID of an IoT device + schema: + type: string + format: uuid + sensorID: + description: ID of sensor on a device + schema: + type: string + format: uuid subscribe: summary: Recieve sensor data description: Measurement of a sensor on a particular device. @@ -131,6 +142,12 @@ channels: retain: true bindingVersion: 0.1.0 description: Command messages sent by the cloud + parameters: + deviceID: + description: ID of an IoT device + schema: + type: string + format: uuid subscribe: summary: Recieve control messages of device description: Shutdown and powerof messages sent by cloud to a particular device @@ -150,6 +167,17 @@ channels: retain: true bindingVersion: 0.1.0 description: Command messages sent by the cloud + parameters: + deviceID: + description: ID of an IoT device + schema: + type: string + format: uuid + sensorID: + description: ID of sensor on a device + schema: + type: string + format: uuid subscribe: summary: Recieve control messages of sensor description: Shutdown and powerof messages sent by cloud to a sensor @@ -169,6 +197,12 @@ channels: retain: true bindingVersion: 0.1.0 description: Status messages of a device + parameters: + deviceID: + description: ID of an IoT device + schema: + type: string + format: uuid subscribe: summary: Recieve device status messages of device description: Operation faliure or device status information @@ -188,6 +222,17 @@ channels: retain: true bindingVersion: 0.1.0 description: Status messages of a device + parameters: + deviceID: + description: ID of an IoT device + schema: + type: string + format: uuid + sensorID: + description: ID of sensor on a device + schema: + type: string + format: uuid subscribe: summary: Recieve device status messages of sensor description: Operation faliure or sensor status information @@ -205,7 +250,7 @@ components: user_pass: type: userPassword description: Defined by helm chart. - + messages: wave: name: wave