-
Notifications
You must be signed in to change notification settings - Fork 16
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
base: main
Are you sure you want to change the base?
Update Feature Files and Test Agents to 1.5.8 #80
Conversation
matthewd0123
commented
Jul 9, 2024
•
edited
Loading
edited
- 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
* Update registerandinvoke feature file to 1.5.8 * Update Java and Python Test Agents to support 1.5.8
3b2643d
to
3bac7dd
Compare
@@ -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: |
There was a problem hiding this comment.
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.
e42f544
to
c72d538
Compare
* Update socket transport for rust to 1.5.8
6186617
to
818c036
Compare
There was a problem hiding this 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.
@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 |
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" |
There was a problem hiding this comment.
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
818c036
to
f72166d
Compare
* 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
…atthewd0123/up-tck into feature/update_python_to_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
* 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
…m/matthewd0123/up-tck into feature/register_and_invoke_1.5.8