Skip to content

Update codebase to comply with up-spec 1.5.8 L1#39

Merged
neelam-kushwah merged 2 commits intoeclipse-uprotocol:mainfrom
neelam-kushwah:main
Jul 2, 2024
Merged

Update codebase to comply with up-spec 1.5.8 L1#39
neelam-kushwah merged 2 commits intoeclipse-uprotocol:mainfrom
neelam-kushwah:main

Conversation

@neelam-kushwah
Copy link
Copy Markdown
Contributor

@neelam-kushwah neelam-kushwah commented Jun 18, 2024

In version 1.5.8, we have implemented the following enhancements:

  • URI: Unified definitions into a single format, eliminating the long and micro forms. Predicates have been simplified for improved usability.
  • uTransport API: Enhanced to support pattern matching for all message types.
  • UAttributes: Updated the data model and removed UPayload, with the format now in the header and payload data directly in UMessage.
  • uProtocol Custom Options: Moved to uoptions.proto to include SOME/IP serialization support and explicit topic declaration.
  • Remove Cloudevent code: Not needed in up-python
  • Update codebase to comply with up-spec 1.5.8 L1 and below work #40

@github-actions
Copy link
Copy Markdown

Code coverage report is ready! 📈

@neelam-kushwah
Copy link
Copy Markdown
Contributor Author

@princemac, Would you mind taking a look at it? It has major changes, so I would really appreciate your feedback.

Copy link
Copy Markdown
Contributor

@matthewd0123 matthewd0123 left a comment

Choose a reason for hiding this comment

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

Looks great! Added a few comments, mostly just matching method docs with the arg names.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 1, 2024

Code coverage report is ready! 📈

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 1, 2024

Code coverage report is ready! 📈

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 1, 2024

Code coverage report is ready! 📈

@neelam-kushwah neelam-kushwah requested a review from princemac July 1, 2024 22:09
Copy link
Copy Markdown

@stevenhartley stevenhartley left a comment

Choose a reason for hiding this comment

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

minor code change is all I found

Factories.UPROTOCOL.create(),
UMessageType.UMESSAGE_TYPE_RESPONSE,
)
.with_priority(UPriority.UPRIORITY_CS4)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
.with_priority(UPriority.UPRIORITY_CS4)
.with_priority(request.priority)

Copy link
Copy Markdown
Contributor Author

@neelam-kushwah neelam-kushwah Jul 2, 2024

Choose a reason for hiding this comment

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

Fixed and added a test case to verify this scenario.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 2, 2024

Code coverage report is ready! 📈

Copy link
Copy Markdown

@stevenhartley stevenhartley left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 2, 2024

Code coverage report is ready! 📈

neelam-kushwah and others added 2 commits July 2, 2024 17:45
Co-Authored-By: Matthew D'Alonzo <matthewdalonzo@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 2, 2024

Code coverage report is ready! 📈

@neelam-kushwah neelam-kushwah merged commit 296e2a0 into eclipse-uprotocol:main Jul 2, 2024
@neelam-kushwah neelam-kushwah linked an issue Jul 31, 2024 that may be closed by this pull request
@neelam-kushwah neelam-kushwah self-assigned this Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Update codebase to comply with up-spec 1.5.8 L1 and below work

4 participants