Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Urgent fix in uTwin package Definition (#114)
Browse files Browse the repository at this point in the history
uTwin was changed from v1 to v2 because we were going to call the original uTwin API that used cloudevents as V1 however the package name was not fixed in the proto causing build issues.  This fix addresses that problem as well as a minor document change in uprotocol_options.proto for the topic ID number.
  • Loading branch information
Steven Hartley authored Apr 3, 2024
1 parent 8d1da1e commit 926efe2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions uprotocol/core/utwin/v2/utwin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
*/
syntax = "proto3";

package uprotocol.core.utwin.v1;
package uprotocol.core.utwin.v2;

import "uprotocol_options.proto";
import "ustatus.proto";
import "uri.proto";
import "umessage.proto";

option java_package = "org.eclipse.uprotocol.core.utwin.v1";
option java_package = "org.eclipse.uprotocol.core.utwin.v2";
option java_outer_classname = "UTwinProto";
option java_multiple_files = true;

Expand Down
2 changes: 1 addition & 1 deletion uprotocol/uprotocol_options.proto
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ extend google.protobuf.EnumValueOptions {
message UServiceTopic {
// The topic id. <br>
// * *MUST* be unique within the uService scope
// * *MUST* start at 0x800h
// * *MUST* start at 0x8000h
uint32 id = 1;

// Topic name represented as a string
Expand Down

0 comments on commit 926efe2

Please sign in to comment.