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

Update Feature Files and Test Agents to 1.5.8 #80

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from

Conversation

matthewd0123
Copy link
Contributor

@matthewd0123 matthewd0123 commented Jul 9, 2024

  • Update the following feature files to 1.5.8
    • UriValidator.feature
    • UAttributesValidator.feature
    • UriSerializer.feature
    • UriDeserializer.feature
    • UUIDSerializer.feature
    • UUIDDeserializer.feature
    • RegisterAndUnregister.feature
    • RegisterAndSend.feature
    • RegisterAndInvoke.feature
  • Update Java, Python and Rust Test Agents to support 1.5.8
  • Update Test Manager to use 1.5.8 compatible APIs
  • Remove feature files and code removed in move from 1.5.7->1.5.8

* Align UriValidator test with v1.5.8
* Update Python and Java TAs to work with UriValidator
* Create skeleton for 1.5.8 version of SocketUTransports in Python and Java (still requires work after this PR)
* Update Test Manager port (was causing issues locally, changing it fixed the issue)
* Remove some deprecated code from Python and Java Test Agents
* Align UUIDValidator test with v1.5.8
* Update UAttributesValidator Feature file to 1.5.8
* Update Python Test Agent to align with 1.5.8
* Remove Long and Micro URI references in code
* Add new UriSerializer and UriDeserializer feature files for 1.5.8
* Update python and java to align to uriserializer and deserializer for 1.5.8
Since up-java doesn't use is_notification_destination, this has been removed from the feature files and from the test agents
* Update UUIDSerializer and UUIDDeserializer feature files to align with 1.5.8
* Update python and java test agents to align with 1.5.8 for uuid serializer and deserializer
* Update support for Rust, Python, Java Test Agents to 1.5.8
* Update register_and_unregister feature file for 1.5.8
* Update registerandsend feature file to 1.5.8
* update step implementations to support updates to 1.5.8
@matthewd0123
Copy link
Contributor Author

#79

* Update registerandinvoke feature file to 1.5.8
* Update Java and Python Test Agents to support 1.5.8
@matthewd0123 matthewd0123 force-pushed the feature/register_and_invoke_1.5.8 branch from 3b2643d to 3bac7dd Compare July 9, 2024 21:03
@matthewd0123 matthewd0123 changed the title Update RegisterAndInvoke to 1.5.8 Update Feature Files and Test Agents to 1.5.8 Jul 11, 2024
@@ -161,27 +157,21 @@ def send(self, message: UMessage) -> UStatus:
return UStatus(code=UCode.INTERNAL, message=f"INTERNAL ERROR: {e}")
return UStatus(code=UCode.OK, message="OK")

def register_listener(self, topic: UUri, listener: UListener) -> UStatus:
def register_listener(self, source_filter: UUri, listener: UListener, sink_filer: UUri = None) -> UStatus:

Choose a reason for hiding this comment

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

my understanding is to consider both source and sink filter while registering... Not sure how the exact flow looks like in terms each of the filter.
This is important to have a combination of source filter and sink filter to store listeners, for service to send the response to the source that has initiated the request.

* Make updates from Divya Vuppala's comments.
@matthewd0123 matthewd0123 force-pushed the feature/register_and_invoke_1.5.8 branch from e42f544 to c72d538 Compare July 15, 2024 13:54
* Update socket transport for rust to 1.5.8
@matthewd0123 matthewd0123 marked this pull request as draft July 18, 2024 16:37
@matthewd0123 matthewd0123 force-pushed the feature/register_and_invoke_1.5.8 branch 7 times, most recently from 6186617 to 818c036 Compare July 18, 2024 18:39
Copy link
Contributor

@gregmedd gregmedd left a comment

Choose a reason for hiding this comment

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

This pull request is far too large for a meaningful review. This must be split into smaller pull requests before it can be accepted into this project.

@matthewd0123
Copy link
Contributor Author

@gregmedd totally agree, I have this in draft because I'm collecting all 1.5.8 changes. Will split once it's ready for review

@gregmedd
Copy link
Contributor

My recommendation for splitting this PR would be to provide one PR for each 1.5.8/1.6.0 language update, then to add new features as one or a series of pull requests after those.

And sets "attributes.source.ue_version_major" to "1"
And sets "attributes.source.resource_id" to "32769"
And sets "attributes.priority" to "UPRIORITY_CS1"
And sets "attributes.type" to "UMESSAGE_TYPE_PUBLISH"
And sets "attributes.commstatus" to "OK"
Copy link
Member

Choose a reason for hiding this comment

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

remove this not allowed for send umessage

* Allow for arbitrary number of Test Agents in a given test
* Update rust to 0.1.1 release
* Remove invoke_method, as it is L2 API
* Add few tests for streamer
@matthewd0123 matthewd0123 force-pushed the feature/register_and_invoke_1.5.8 branch from 818c036 to f72166d Compare July 19, 2024 15:25
matthewd0123 and others added 20 commits July 19, 2024 11:39
* Update Python Test Agent
* Update Python Test Manager
* Update TCK Step Implementations
* Update uuid_validator feature
* Update Python Test Agent
* Update Python Test Manager
* Update TCK Step Implementations
* Update uuid_validator feature
* Align UriValidator test with v1.5.8
* Update Python and Java TAs to work with UriValidator
* Create skeleton for 1.5.8 version of SocketUTransports in Python and Java (still requires work after this PR)
* Update Test Manager port (was causing issues locally, changing it fixed the issue)
* Remove some deprecated code from Python and Java Test Agents
* Align UUIDValidator test with v1.5.8
* Update UAttributesValidator Feature file to 1.5.8
* Update Python Test Agent to align with 1.5.8
* Remove Long and Micro URI references in code
* Add new UriSerializer and UriDeserializer feature files for 1.5.8
* Update python and java to align to uriserializer and deserializer for 1.5.8
Since up-java doesn't use is_notification_destination, this has been removed from the feature files and from the test agents
* Update UUIDSerializer and UUIDDeserializer feature files to align with 1.5.8
* Update python and java test agents to align with 1.5.8 for uuid serializer and deserializer
* Update support for Rust, Python, Java Test Agents to 1.5.8
* Update register_and_unregister feature file for 1.5.8
* Update registerandsend feature file to 1.5.8
* update step implementations to support updates to 1.5.8
* Update registerandinvoke feature file to 1.5.8
* Update Java and Python Test Agents to support 1.5.8
* Make updates from Divya Vuppala's comments.
* Update socket transport for rust to 1.5.8
* Allow for arbitrary number of Test Agents in a given test
* Update rust to 0.1.1 release
* Remove invoke_method, as it is L2 API
* Add few tests for streamer
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.

4 participants