Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MF-1455 - Update Versions of Protobuf #1704

Merged
merged 23 commits into from
Feb 2, 2023
Merged

Conversation

rodneyosodo
Copy link
Member

@rodneyosodo rodneyosodo commented Jan 16, 2023

Signed-off-by: rodneyosodo socials@rodneyosodo.com

What does this do?

Updates versions of protobuf

Which issue(s) does this PR fix/relate to?

Resolves #1455

List any changes that modify/break current functionality

When updating the protobuf version, it is possible that some changes may break backward compatibility. The change in the protobuf version enforces that the message is passed in as a pointer since it contains a sync mutex. Therefore, any existing code that attempted to pass the message without a pointer would no longer function correctly.

Have you included tests for your changes?

No

Did you document any new/modified functionality?

No

Notes

N/A

Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
@rodneyosodo rodneyosodo requested a review from a team as a code owner January 16, 2023 15:15
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Makefile Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Jan 27, 2023

Codecov Report

Merging #1704 (60414ff) into master (2e118ce) will increase coverage by 0.01%.
The diff coverage is 65.21%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master    #1704      +/-   ##
==========================================
+ Coverage   70.30%   70.32%   +0.01%     
==========================================
  Files         148      148              
  Lines       11501    11501              
==========================================
+ Hits         8086     8088       +2     
+ Misses       2747     2745       -2     
  Partials      668      668              
Impacted Files Coverage Δ
auth/api/grpc/server.go 81.81% <ø> (ø)
http/api/requests.go 100.00% <ø> (ø)
mqtt/forwarder.go 0.00% <0.00%> (ø)
mqtt/handler.go 92.45% <0.00%> (ø)
pkg/messaging/mqtt/pubsub.go 73.63% <0.00%> (ø)
pkg/messaging/nats/pubsub.go 72.36% <0.00%> (ø)
pkg/messaging/rabbitmq/pubsub.go 68.67% <0.00%> (ø)
things/api/auth/grpc/server.go 81.57% <ø> (ø)
twins/service.go 71.96% <0.00%> (ø)
ws/api/logging.go 0.00% <0.00%> (ø)
... and 12 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
dborovcanin
dborovcanin previously approved these changes Jan 27, 2023
@@ -92,21 +92,24 @@ func TestTransformCBOR(t *testing.T) {
require.Nil(t, err, "Decoding CBOR expected to succeed")

tr := senml.New(senml.CBOR)
msg := messaging.Message{

// 82AD2169626173652D6E616D6522F956402369626173652D756E6974200A24F9490025F9564000646E616D650164756E697406F95CB0036331323307F958B002F9514005F94900AA2169626173652D6E616D6522F956402369626173652D756E6974200A24F9490025F9564000646E616D6506F95CB007F958B005F94900
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this? Some dead code? Or a regular comment?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was initially there

Copy link
Contributor

@drasko drasko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dborovcanin dborovcanin merged commit ada5813 into absmach:master Feb 2, 2023
rodneyosodo added a commit to rodneyosodo/magistrala that referenced this pull request Feb 6, 2023
* initial commit
* add protoc-gen-gofast
* update generated files
* fix linting
* fix consumers error on message conversion
* fix copying values on transformers
* initial commit
* initial commit
* add protoc-gen-gofast
* update generated files
* fix linting
* fix consumers error on message conversion
* fix copying values on transformers
* embedded for forward compatible.
* remove gogo
* embedded for forward compatible.
* update protoc compiler
* fix linting
* remove hex comment

Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
@rodneyosodo
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bumping up versions of protobuf
4 participants