Files
lmxopcua/tests/Server/ZB.MOM.WW.OtOpcUa.ControlPlane.Tests/Telemetry/Protos/telemetry_pre847.proto
T
Joseph Doherty 5c994d1fc8 test(controlplane): mixed-version wire tests for DriverHealth.reporting_node_id (#851)
A frozen pre-#847 copy of DriverHealth (test-only telemetry_pre847.proto, generated via
Grpc.Tools in the test project) stands in for an old node / old central: new->new round-trips
the node id; old->new parses as absent (HasReportingNodeId false -> null, not "") with every
other field intact; new->old ignores field 15 without shifting known fields and preserves it as
an unknown field.
2026-11-11 06:16:06 -05:00

46 lines
1.4 KiB
Protocol Buffer

syntax = "proto3";
// TEST-ONLY frozen copy of telemetry.v1.DriverHealth as it stood BEFORE lmxopcua#847 added
// `optional string reporting_node_id = 15`. It stands in for an old node / an old central in the mixed-version
// wire tests (lmxopcua#851): the same field numbers and wire types as the real message, minus field 15. Never edit
// it to track telemetry.proto — its whole point is to stay old.
package telemetry.tests.pre847;
option csharp_namespace = "ZB.MOM.WW.OtOpcUa.ControlPlane.Tests.Telemetry.Pre847";
import "google/protobuf/timestamp.proto";
message DriverHealthPre847 {
string cluster_id = 1;
string driver_instance_id = 2;
string state = 3;
google.protobuf.Timestamp last_successful_read_utc = 4;
optional string last_error = 5;
int32 error_count_5min = 6;
google.protobuf.Timestamp published_utc = 7;
google.protobuf.Timestamp rediscovery_needed_utc = 8;
optional string rediscovery_reason = 9;
bool has_host_statuses = 10;
repeated HostConnectivityPre847 host_statuses = 11;
SkippedTagsPre847 skipped_tags = 12;
bool has_diagnostics = 13;
map<string, string> diagnostics = 14;
}
message SkippedTagsPre847 {
int32 authored_count = 1;
int32 skipped_count = 2;
repeated SkippedTagPre847 sample = 3;
}
message SkippedTagPre847 {
string raw_path = 1;
string reason = 2;
}
message HostConnectivityPre847 {
string host_name = 1;
string state = 2;
google.protobuf.Timestamp last_changed_utc = 3;
}