-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feature/add dke ping for health messages #221
Commits on Aug 19, 2024
-
Remove Ar2QA and update URLs in QA
Deleted the `Ar2QA` class to eliminate redundancy and adjusted the URL constants in `QA` class to point to the correct QA environment. This streamlines the QA environment handling within the codebase.
Configuration menu - View commit details
-
Copy full SHA for 9d0c50b - Browse repository at this point
Copy the full SHA 9d0c50bView commit details -
Add support for MQTT communication unit and DKE ping
Introduced MQTT_COMMUNICATION_UNIT in OnboardingResponseRepository and added a corresponding fixture. Updated certification details and added DKE_PING to SystemMessageType for improved system messaging capabilities.
Configuration menu - View commit details
-
Copy full SHA for 007b310 - Browse repository at this point
Copy the full SHA 007b310View commit details -
Add Ping Service implementation
Introduced PingService interface and its implementation, PingServiceImpl, to handle the pinging of health interfaces using MQTT protocol. Created PingParameters class for encapsulating ping request parameters and updated MessageEncoder to support encoding of ping messages. Also added a PingServiceTest class to validate the sending of health messages.
Configuration menu - View commit details
-
Copy full SHA for 8d2c786 - Browse repository at this point
Copy the full SHA 8d2c786View commit details -
Correct formatting in AbstractIntegrationTest
Fixed the indentation of the end-private-key line in AbstractIntegrationTest. Also removed unused import statements in PingServiceTest to clean up the code.
Configuration menu - View commit details
-
Copy full SHA for aa1f4a7 - Browse repository at this point
Copy the full SHA aa1f4a7View commit details
Commits on Aug 20, 2024
-
Enable test and update registration code and onboarding response
Re-enabled the `onboardCommunicationUnitAndSaveToFile` test and updated its registration code. Also updated the `communication-unit.json` with new device and authentication details.
Configuration menu - View commit details
-
Copy full SHA for 7c6168e - Browse repository at this point
Copy the full SHA 7c6168eView commit details -
Update farming software JSON and adjust onboarding test
Updated the `farming-software.json` with new device identifiers, connection criteria, and authentication details. Also, modified the test fixture to enable the onboarding test and updated the registration code accordingly.
Configuration menu - View commit details
-
Copy full SHA for 02118bc - Browse repository at this point
Copy the full SHA 02118bcView commit details -
Add new onboarding response JSON and update test classes
Added a new `mqtt-communication-unit.json` file for onboarding responses. Corrected the file name reference in `OnboardingResponseRepository` and updated the registration code in the `MqttCommunicationUnitFixture` test case, while also re-enabling the previously disabled test.
Configuration menu - View commit details
-
Copy full SHA for 98d2bea - Browse repository at this point
Copy the full SHA 98d2beaView commit details -
Update telemetry platform onboarding response and test fixture
Replaced telemetry platform onboarding details with new identifiers and updated the registration code in the test fixture. Also, enabled the previously disabled test for onboarding.
Configuration menu - View commit details
-
Copy full SHA for ca9bea0 - Browse repository at this point
Copy the full SHA ca9bea0View commit details -
Remove obsolete onboarding responses JSON files
Deleted JSON files for deactivated and removed farming software as well as telemetry platform to clean up outdated resources. These files are no longer needed and have been removed to maintain a leaner project repository.
Configuration menu - View commit details
-
Copy full SHA for b791653 - Browse repository at this point
Copy the full SHA b791653View commit details -
Remove obsolete onboarding responses JSON files
Deleted JSON files for deactivated and removed farming software as well as telemetry platform to clean up outdated resources. These files are no longer needed and have been removed to maintain a leaner project repository.
Configuration menu - View commit details
-
Copy full SHA for 269b4e0 - Browse repository at this point
Copy the full SHA 269b4e0View commit details -
Refactor MQTT test cases for better integration
Updated `PingServiceTest` to extend `AbstractIntegrationTest` and added necessary imports and services for MQTT testing. Modified `MqttCommunicationUnitFixture` to use MQTT instead of REST and added a logger for message delivery confirmation. Adjusted onboarding response JSON to match the new configuration.
Configuration menu - View commit details
-
Copy full SHA for c636aed - Browse repository at this point
Copy the full SHA c636aedView commit details -
Enhance MQTT Ping Service tests and fix onboarding fixture
Refactored `PingServiceTest` to include message delivery and arrival checks. Updated `MqttCommunicationUnitFixture` to match the new test structure and modified the registration code in onboarding parameters. This ensures robust message handling and consistency in tests.
Configuration menu - View commit details
-
Copy full SHA for a9c30f7 - Browse repository at this point
Copy the full SHA a9c30f7View commit details -
Refactor
PingServiceTest
and enhance message handling.Refactored the `PingServiceTest` to use instance variables instead of static. Enhance the `messageArrived` method to decode and validate incoming messages, improving test reliability and logging.
Configuration menu - View commit details
-
Copy full SHA for aab8019 - Browse repository at this point
Copy the full SHA aab8019View commit details -
Remove unused imports and exception handling
Removed unused import statements from three test classes to clean up the code. Additionally, eliminated the unnecessary throws declaration in `messageArrived` method in `PingServiceTest.java`.
Configuration menu - View commit details
-
Copy full SHA for 1355624 - Browse repository at this point
Copy the full SHA 1355624View commit details -
Update project version to 3.3.0
Bump the parent project and all sub-modules from version 3.2.1 to 3.3.0. This ensures all modules are aligned with the latest version for consistency.
Configuration menu - View commit details
-
Copy full SHA for b083269 - Browse repository at this point
Copy the full SHA b083269View commit details
Commits on Nov 1, 2024
-
Refactor: Change async ping method to throw exception
The `sendAsync` method in `PingServiceImpl` now throws a `RuntimeException`, instructing users to use the synchronous method instead. This change ensures clarity on the method's availability and usage.
Configuration menu - View commit details
-
Copy full SHA for 22ecc98 - Browse repository at this point
Copy the full SHA 22ecc98View commit details -
Merge branch 'main' of https://github.com/DKE-Data/agrirouter-sdk-java …
…into feature/add-dke-ping-for-health-messages # Conflicts: # agrirouter-sdk-java-api/pom.xml # agrirouter-sdk-java-convenience/pom.xml # agrirouter-sdk-java-impl/pom.xml # agrirouter-sdk-java-tests/pom.xml # pom.xml
Configuration menu - View commit details
-
Copy full SHA for 1639e7f - Browse repository at this point
Copy the full SHA 1639e7fView commit details