diff options
author | Scott Murray <scott.murray@konsulko.com> | 2024-04-01 19:47:05 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2024-04-04 05:14:20 -0400 |
commit | e437300d0b5c20114ea1843dbf00815304af3f27 (patch) | |
tree | 34e7d1630569f4706a1c4fd389ba03d520641f35 /protos | |
parent | 52dbc88ee006d4c7e9cab625d4a976919b86e4ac (diff) |
Initial check-inHEADsalmon_18.90.0salmon/18.90.0ricefish_18.0.2ricefish_18.0.1ricefish_18.0.0ricefish/18.0.2ricefish/18.0.1ricefish/18.0.0quillback_17.1.4quillback_17.1.3quillback_17.1.2quillback_17.1.1quillback_17.1.0quillback/17.1.4quillback/17.1.3quillback/17.1.2quillback/17.1.1quillback/17.1.0lamprey_12.1.20lamprey/12.1.2018.90.018.0.218.0.118.0.017.1.417.1.317.1.217.1.117.1.012.1.20quillbackmaster
Initial check-in of proxy implementation. See README.md for build
and configuration information, as well as feature implementation
status (TODOs section).
Bug-AGL: SPEC-5109
Change-Id: I681c693a73f29e284670be977e1a460883f27769
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'protos')
-rw-r--r-- | protos/vss-notification.proto | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/protos/vss-notification.proto b/protos/vss-notification.proto new file mode 100644 index 0000000..6a40d7a --- /dev/null +++ b/protos/vss-notification.proto @@ -0,0 +1,91 @@ +/******************************************************************************** + * Copyright (c) 2022 Contributors to the Eclipse Foundation + * Copyright (c) 2024 Konsulko Group + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made available under the + * terms of the Apache License 2.0 which is available at + * http://www.apache.org/licenses/LICENSE-2.0 + * + * SPDX-License-Identifier: Apache-2.0 + ********************************************************************************/ + +syntax = "proto3"; + +package agl; + +import "google/protobuf/timestamp.proto"; + +message SignalUpdateNotification { + string clientId = 1; + repeated SignalUpdateEntry signals = 2; +} + +/* + * Derived from KUKSA.val's Datapoint + * + * Type conversions from VSS types follow the rules outlined in: + * https://github.com/eclipse/kuksa.val/blob/master/kuksa_databroker/doc/TYPES.md + */ + +message SignalUpdateEntry { + oneof signal { + string path = 1; + string uuid = 2; + } + + google.protobuf.Timestamp timestamp = 3; + + oneof value { + string string = 11; + bool bool = 12; + sint32 int32 = 13; + sint64 int64 = 14; + uint32 uint32 = 15; + uint64 uint64 = 16; + float float = 17; + double double = 18; + StringArray string_array = 21; + BoolArray bool_array = 22; + Int32Array int32_array = 23; + Int64Array int64_array = 24; + Uint32Array uint32_array = 25; + Uint64Array uint64_array = 26; + FloatArray float_array = 27; + DoubleArray double_array = 28; + } +} + +message StringArray { + repeated string values = 1; +} + +message BoolArray { + repeated bool values = 1; +} + +message Int32Array { + repeated sint32 values = 1; +} + +message Int64Array { + repeated sint64 values = 1; +} + +message Uint32Array { + repeated uint32 values = 1; +} + +message Uint64Array { + repeated uint64 values = 1; +} + +message FloatArray { + repeated float values = 1; +} + +message DoubleArray { + repeated double values = 1; +} |