Closed mathieu1fb closed 1 month ago
[x] Code review OK
[x] Builds OK
[ ] Tests
Tests were not done, by lack of a way to run them from the command line; code changes are trivial enough that a code review was deemed enough to validate the change.
I will find a way to make it easily testable from a terminal in the next sprint.
Fixes;
IoT3 Mobility SDK: Fix topic root for CAM, DENM and CPM publication : it is now correctly set according to the "context" parameter.
How to test
Clone the its-client project on your IDE.
Ensure that you have Gradle to be able to build the java/iot3 modules (core, mobility and examples).
Find the
Iot3MobilityExample
class in theexamples
module, and set appropriate values for the following fields:Note: use an MQTT broker paired with an interQueue manager taking care of the inQueue -> outQueue copy.
Run
Iot3MobilityExample
and check that the mobility messages are published and received with the appropriate topic root (i.e. equal to the "context" parameter).Expected results:
You can also use the ITSdroid app (with a project code matching the EXAMPLE_CONTEXT value), to visualise the messages at the UTAC TEQMO.