-
Notifications
You must be signed in to change notification settings - Fork 44
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
PSM Data Feed Support, DockerHub Docs, Commsignia Log Offloading Support #522
Conversation
…indows Removed DOCKER_SHARED_VOLUME_WINDOWS env var
Release Notes for v1.6.0
…NAPSHOT Changed version to 1.6.0-SNAPSHOT
Sync CDOT dev with USDOT dev & update logback version
jpo-ode-svcs/src/main/java/us/dot/its/jpo/ode/coder/stream/LogFileToAsn1CodecPublisher.java
Outdated
Show resolved
Hide resolved
jpo-ode-svcs/src/main/java/us/dot/its/jpo/ode/coder/stream/LogFileToAsn1CodecPublisher.java
Show resolved
Hide resolved
jpo-ode-svcs/src/main/java/us/dot/its/jpo/ode/coder/stream/LogFileToAsn1CodecPublisher.java
Show resolved
Hide resolved
jpo-ode-svcs/src/main/java/us/dot/its/jpo/ode/importer/parser/PayloadParser.java
Show resolved
Hide resolved
jpo-ode-svcs/src/main/java/us/dot/its/jpo/ode/importer/parser/PayloadParser.java
Outdated
Show resolved
Hide resolved
jpo-ode-svcs/src/main/java/us/dot/its/jpo/ode/importer/parser/PayloadParser.java
Outdated
Show resolved
Hide resolved
jpo-ode-svcs/src/main/java/us/dot/its/jpo/ode/importer/parser/PayloadParser.java
Outdated
Show resolved
Hide resolved
|
What output do you get when running Do you experience the same behavior when using the dev container for the project? @dmccoystephenson The dev container works. Thanks!
|
Have you followed the "Downloading the source code from a non-default branch" section of the root readme? It may help with getting the submodule references setup the same way as the dev branch does. |
USDOT PSM/Log Offloading Fixes
This PR is ready for re-review. |
Looks good. Thank you! |
PR Details
Description
PSM Data Feed Support
This PR introduces support for PSM message processing to the ODE. Support for both required and optional fields is present, however a sample message that covers any of the optional fields is not available for testing. All required fields have been tested with sample PSM messages generated from the NJDOT deployment.
This pipeline takes in PSM messages on the new UDP port (44940) and outputs processed JSON PSM messages on the topic: topic.OdePsmJson. As with other data feeds, multiple other topics are used for internal processing/management: topic.OdeRawEncodedPSMJson and topic.OdePsmTxPojo.
DockerHub Documentation
Documentation for using the image has been added to
docs/dockerhub.md
.Commsignia Log Offloading Support
This PR adds support for processing log offloading from Commsignia devices. The primary change here is supporting the new line characters that are included in these log messages, as well as parsing off the WSMP message header in the payload.
Additional Changes
Related Issue
Commsignia Log Offloading Support
To process offloaded logs in both CDOT/WYDOT deployment. In preparation of the anticipated firmware release that supports log offloading.
Motivation and Context
PSM Data Feed Support
Required for processing Personal Safety Messages through the ODE.
How Has This Been Tested?
PSM Data Feed Support
The convention from previous data feeds was followed for unit testing and verified message processing with sample messages from the NJDOT deployment.
Commsignia Log Offloading Support
Added new unit tests to verify log processing of old messages (without newline characters).
Tested the log offloading of all .gz example log files in the data directory. To run this test, run the ODE through docker, at the minimum run the zookeeper, kafka, ODE, AEM, and ADM services. Copy all of the .gz files from the jpo-ode/data folder into the jpo-ode/uploads/bsmlog folder. This folder is monitored by the ODE and the files are ingested into the appropriate topics. If the processing succeeds the files are forwarded to the jpo-ode/uploads/backup folder and if they fail it goes to the jpo-ode/uploads/failed directory.
Types of changes
Checklist:
ODE Contributing Guide