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

Spring Kafka Integration, Partial J2735 2024 Compatibility, and Developer Experience Enhancements #562

Merged
merged 318 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
318 commits
Select commit Hold shift + click to select a range
6538eac
Extract environment variables from OdeProperties into Spring Configur…
mcook42 Nov 14, 2024
c3333d4
Address polish comments
drewjj Nov 15, 2024
b9e6ae1
Merge pull request #117 from CDOT-CV/ssm-processing-fix
drewjj Nov 15, 2024
e5187ba
Add Approval Tests for MAP Data Flows (#116)
mcook42 Nov 18, 2024
29f4f38
Merge branch 'dev' into fix/update-circle-json-properties
dmccoystephenson Nov 20, 2024
3cb982b
Added missing imports in TimTransmogrifierTest
dmccoystephenson Nov 20, 2024
a089aa7
Apply suggestions from code review
dmccoystephenson Nov 20, 2024
7a8f7bf
Merge pull request #114 from CDOT-CV/fix/update-circle-json-properties
dmccoystephenson Nov 20, 2024
898638d
Updated TravelerMessageFromHumanToAsnConverter to ensure compliance w…
dmccoystephenson Nov 20, 2024
d27207b
Removed error handling from unit tests in `TravelerMessageFromHumanTo…
dmccoystephenson Nov 20, 2024
c828175
Removed access modifiers from `TravelerMessageFromHumanToAsnConverte…
dmccoystephenson Nov 20, 2024
2e1c179
Add TIM POJO and builder
drewjj Nov 21, 2024
5effd8a
Modify TimCreator to use the new creator. Add and update unit tests
drewjj Nov 25, 2024
69f5137
Merge remote-tracking branch 'origin/dev' into tim-pojo-rework
drewjj Nov 25, 2024
d93e6ec
Update schemas
drewjj Nov 25, 2024
6848ede
Add support for unsigned TIMs to go to the TMC filtered topic
drewjj Nov 25, 2024
8b8de0c
Update unit tests to address recent changes
drewjj Nov 26, 2024
1973dc7
Updated models to ensure compliance with J2735 2024
dmccoystephenson Nov 26, 2024
6f700e2
Spring Kafka Proof-of-Concept - Implemented in MAP Data Flow (#118)
mcook42 Nov 26, 2024
d6a038d
Switching adopt builder to temurin
John-Wiens Nov 26, 2024
11063ba
Merge branch 'dev' into j2735/update-to-2024-revision
dmccoystephenson Nov 27, 2024
7c5f91a
Cleaned up a TimTransmogrifier test by extracting some helper methods
dmccoystephenson Nov 27, 2024
9317895
Updated expected output for a TimTransmogrifier test to comply with J…
dmccoystephenson Nov 27, 2024
e05405f
Updated TIM schema to comply with J2735 2024
dmccoystephenson Nov 27, 2024
796e5ce
Updated data files to comply with J2735 2024
dmccoystephenson Nov 27, 2024
247c20b
Updated docs to comply with J2735 2024
dmccoystephenson Nov 27, 2024
092c9a5
Replaced older fields with doNotUseX to comply with J2735 2024
dmccoystephenson Nov 27, 2024
7c9c2da
Merge pull request #121 from John-Wiens/adopt-workflow-fix
drewjj Nov 27, 2024
623acf6
Updated expected output in tests for TravelerMessageFromHumanToAsnCon…
dmccoystephenson Nov 27, 2024
80a061f
Implemented unit tests for converting pre-2024 TIM requests to comply…
dmccoystephenson Nov 27, 2024
641ae07
Introduce Checkstyle Linter to GH pipeline and provide steps for loca…
mcook42 Nov 27, 2024
99b156f
Merge branch 'dev' of github.com:CDOT-CV/jpo-ode into j2735/update-to…
dmccoystephenson Nov 27, 2024
41a93df
created failing test for OdeTravelerInputDataTest to validate serdes
dmccoystephenson Nov 27, 2024
046c7b1
added JsonAlias annotations to OdeTravelerInformationMessage.java to …
dmccoystephenson Nov 27, 2024
3a9c298
generated hashCode and equals methods for all subclasses needed to te…
dmccoystephenson Nov 27, 2024
420acc1
Finished moving conversion tests to jpo-ode-core and adding json alia…
dmccoystephenson Dec 1, 2024
5f3966a
Fixed parameter reference in InetPacketSender
dmccoystephenson Dec 1, 2024
56ae0cb
Removed unused imports
dmccoystephenson Dec 1, 2024
c37684d
Updated data types in json strings in TravelerMessageFromHumanToAsnCo…
dmccoystephenson Dec 1, 2024
397df56
Modified TravelerMessageFromHumanToAsnConverter to throw exception if…
dmccoystephenson Dec 1, 2024
07ab12d
Updated major version to 4 due to breaking changes with J2735 2024
dmccoystephenson Dec 1, 2024
53514f2
Added placeholder to release notes for 4.0.0
dmccoystephenson Dec 1, 2024
cac7459
Reverted changes to archived files
dmccoystephenson Dec 2, 2024
bfab325
Removed unnecessary getters & setters from OdeTravelerInputData
dmccoystephenson Dec 2, 2024
c7819e0
Removed unused imports from ServiceRequest
dmccoystephenson Dec 2, 2024
9a15b9b
Removed unused fields in TravelerMessageFromHumanToAsnConverter
dmccoystephenson Dec 2, 2024
e6b0d3b
Updated description of `convertTravelerInputDataToEncodableTim()` met…
dmccoystephenson Dec 2, 2024
642b2e0
Reverted changes to deprecated files
dmccoystephenson Dec 2, 2024
1a41bbc
Updated testing data
dmccoystephenson Dec 2, 2024
da4f03e
Updated types of notUsedX fields in TIM schema
dmccoystephenson Dec 2, 2024
c7af0f2
Updated testing data used in OdeTimDataTest
dmccoystephenson Dec 2, 2024
884aa85
Updated encoded TIM in `udpsender_tim.py`
dmccoystephenson Dec 2, 2024
76c833d
Removed unnecessary comments in OdeTravelerInputDataTest helper method
dmccoystephenson Dec 2, 2024
f311752
Moved to using `@EqualsAndHashCode` annotation in OdeTravelerInputDat…
dmccoystephenson Dec 2, 2024
3b9a0c1
Defined `project.ode.version` property in pom.xml
dmccoystephenson Dec 2, 2024
b94e5d0
Reverted changes to pom.xml
dmccoystephenson Dec 2, 2024
af8d0d0
Added `@JsonAlias` and `@EqualsAndHashCode` annotations to TravelerDa…
dmccoystephenson Dec 2, 2024
82bd2a7
Formatted aemInputContainingCircleGeometry.xml for ease of review & u…
dmccoystephenson Dec 2, 2024
595f47c
Remove the array from the computed lane
drewjj Dec 2, 2024
f3d5cf6
Add dynamic serializing and deserializing of TIM messages with new dy…
drewjj Dec 3, 2024
d01ae2a
Formatted modified java files
dmccoystephenson Dec 3, 2024
e5f447f
add missing confluent.password and confluent.username to application.…
mcook42 Dec 3, 2024
b094a6c
swap ODE_KAFKA_BROKERS in for DOCKER_HOST_IP for kafka configs. updat…
mcook42 Dec 3, 2024
270e5bb
fixing confluent authentication properties and updating environmental…
Michael7371 Dec 3, 2024
0e5223a
Merge branch 'mcook42/spring-kafka/confluent-config-props' of https:/…
Michael7371 Dec 3, 2024
0cb3b29
Merge pull request #123 from CDOT-CV/mcook42/spring-kafka/confluent-c…
Michael7371 Dec 3, 2024
5c1892e
Add @JsonIgnore to fields on asn1 type base classes
iyourshaw Dec 3, 2024
f4a85e6
Serialize Bitstrings as verbose maps for ODE JSON
iyourshaw Dec 3, 2024
3603e0f
Set extension presence booleans to jsonignore annotations
drewjj Dec 4, 2024
7c991f5
BitString serialization rules to build them out as verbose boolean se…
drewjj Dec 4, 2024
c5e7bda
Bitstring deserializer for verbose ODE json
iyourshaw Dec 4, 2024
578e2cc
Remove diagnostic logging statements
iyourshaw Dec 4, 2024
651941e
Remove printf statements
iyourshaw Dec 4, 2024
afee483
Set tim udp buffer size to 2048. Add complex tim example to script
iyourshaw Dec 4, 2024
235f51a
Complex example tims
iyourshaw Dec 4, 2024
ef385c6
Comment manual edits
iyourshaw Dec 4, 2024
2568fab
Java style: use Lobok for getters/setters, capitalize enum items
iyourshaw Dec 5, 2024
f223988
Use 2020/2024 modules as package names. Package names lower case.
iyourshaw Dec 5, 2024
ff5a742
Fix test namespace
iyourshaw Dec 5, 2024
29d7bf6
Merge remote-tracking branch 'iy/tim-pojo-rework' into tim-pojo-rework
drewjj Dec 5, 2024
c726baa
Remove unused older POJOs and update the TIM test with a better XML t…
drewjj Dec 5, 2024
2b8ebcb
Merge remote-tracking branch 'origin/dev' into tim-pojo-rework
drewjj Dec 5, 2024
37e5399
Add test for NodeAttributeSetLL. Fix JSON serialization of dElevatio…
iyourshaw Dec 5, 2024
8ec1957
Updated ensureComplianceWithJ2735Revision2024() in TravelerMessageFro…
dmccoystephenson Dec 5, 2024
795fef6
Pulled object mapper out of individual tests in TravelerDataFrameTest
dmccoystephenson Dec 5, 2024
b643ea6
Updated TravelerMessageFromHumanToAsnConverter to throw custom Noncom…
dmccoystephenson Dec 5, 2024
80064d6
Addressed checkstyle warnings for TimDepositController
dmccoystephenson Dec 5, 2024
dfd600f
Addressed checkstyle warnings for TravelerMessageFromHumanToAsnConver…
dmccoystephenson Dec 5, 2024
08292e5
Addressed checkstyle warnings for RegulatorySpeedLimit, NodeSetXY, No…
dmccoystephenson Dec 5, 2024
f46bcb6
Addressed checkstyle warnings for LaneDataAttributeList, Area, Region…
dmccoystephenson Dec 5, 2024
d6d1942
Addressed checkstyle warnings for Content, Description, SpeedLimitLis…
dmccoystephenson Dec 5, 2024
3abe4e3
use KafkaType instead of Producer Type so that confluent is configure…
mcook42 Dec 5, 2024
3ce6931
Addressed checkstyle warnings for NodeAttributeSetXY, ValidRegion, Of…
dmccoystephenson Dec 5, 2024
921b05e
Merge remote-tracking branch 'origin/dev' into tim-pojo-rework
drewjj Dec 6, 2024
f676a6b
Code styling changes to appease the code styling lords
drewjj Dec 6, 2024
2fc4615
Update checkstyle xml
drewjj Dec 6, 2024
ce5538a
Even more code styling changes
drewjj Dec 6, 2024
fb4f577
Last bit of code styling. Please.
drewjj Dec 6, 2024
abce4e5
Update the TIM schema and resolve some test issues
drewjj Dec 6, 2024
dc0e975
Addressed checkstyle warnings for InetPacketSender, TimDepositControl…
dmccoystephenson Dec 6, 2024
1d1b61c
Merge branch 'dev' into j2735/update-to-2024-revision
dmccoystephenson Dec 6, 2024
1851067
Addressed checkstyle warnings for TimDepositControllerTest & TimTrans…
dmccoystephenson Dec 6, 2024
48fea3a
Regenerated TIM classes: Fix for sequence-of choice serialization to …
iyourshaw Dec 9, 2024
a397df0
itis, region, fix tests
iyourshaw Dec 9, 2024
92c4504
Update attribution documentation to note where the TIM POJOs came from
drewjj Dec 9, 2024
8c35ad2
Address pull request comments
drewjj Dec 9, 2024
7dccf75
Update the imported assertEquals
drewjj Dec 9, 2024
9e48c45
update to TimData class to allow for Tim payload serialization to wor…
Michael7371 Dec 10, 2024
cd232b6
Merge pull request #119 from CDOT-CV/tim-pojo-rework
drewjj Dec 11, 2024
d7fc79a
Migrate UDPRecievers to use Spring Kafka (#129)
mcook42 Dec 11, 2024
e03605e
Migrate Asn1DecodedDataRouter to use Spring Kafka (#131)
mcook42 Dec 13, 2024
9059b15
Merge branch 'dev' into j2735/update-to-2024-revision
dmccoystephenson Dec 13, 2024
43e0333
Finishing addressing merge conflicts in TIM_test.json, TimDepositCont…
dmccoystephenson Dec 13, 2024
05108c5
Addressed checkstyle warnings in TimDepositController & TimDepositCon…
dmccoystephenson Dec 16, 2024
bac7f0a
Update POM version
drewjj Dec 16, 2024
cb5e446
Update last pom
drewjj Dec 16, 2024
c3ce7bb
Remove the "SNAPSHOT" from the version
drewjj Dec 16, 2024
402a84e
Update run bat and sh scripts
drewjj Dec 16, 2024
d2a6812
Updated new TravelerDataFrame POJO to be compliant with J2735 2024 & …
dmccoystephenson Dec 16, 2024
24e7789
Merge branch 'dev' into j2735/update-to-2024-revision
dmccoystephenson Dec 16, 2024
0d900a3
Updated test data used in Asn1DecodedDataRouterTest for TIM data flow
dmccoystephenson Dec 16, 2024
4221056
Updated comment in TravelerMessageFromHumanToAsnConverter
dmccoystephenson Dec 16, 2024
d94cbca
Added `@JsonAlias` to new TravelerDataFrame POJO & accompanying unit …
dmccoystephenson Dec 16, 2024
52e8726
Added unit test to create TIM from decoded 2016 message
dmccoystephenson Dec 16, 2024
5ce6ee2
Merge pull request #132 from CDOT-CV/version-update-4.0.0
dmccoystephenson Dec 16, 2024
363b834
Merge branch 'dev' into j2735/update-to-2024-revision
dmccoystephenson Dec 16, 2024
b89b98c
Updated comments in TravelerMessageFromHumanToAsnConverter.buildItem(…
dmccoystephenson Dec 16, 2024
cb72731
Removed unnecessary empty comments in TravelerMessageFromHumanToAsnCo…
dmccoystephenson Dec 16, 2024
9e126c8
Added `@Data` annotation to Anchor class
dmccoystephenson Dec 17, 2024
9e27a56
Added `@Data` and `@EqualsAndHashCode` annotations to all classes in …
dmccoystephenson Dec 17, 2024
854f7ad
Merge pull request #122 from CDOT-CV/j2735/update-to-2024-revision
payneBrandon Dec 17, 2024
072cffd
Migrate AsnCodecMessageServiceController to Spring Kafka (#134)
mcook42 Dec 20, 2024
6c2914a
Update the schema version to 8 for the output messages
drewjj Dec 23, 2024
5aa498a
Update formatting for checkstyle
drewjj Dec 24, 2024
cc850ac
adding caching to github actions runners
Michael7371 Dec 24, 2024
14d1bb2
Update docs/schemas/README.md
drewjj Dec 29, 2024
d59c4ac
Updated schema constant requirement and associated tests
drewjj Dec 29, 2024
cb51b7b
Merge branch 'fix/schema-version-update' of https://github.com/CDOT-C…
drewjj Dec 29, 2024
bc59dbe
Merge pull request #137 from CDOT-CV/github-actions-caching
Michael7371 Dec 30, 2024
b0ed4a0
Remove outdated comment
drewjj Dec 30, 2024
db4b514
Data flow diagram updates - Spring Kafka related (#140)
mcook42 Dec 30, 2024
9ab6086
Merge pull request #136 from CDOT-CV/fix/schema-version-update
drewjj Dec 31, 2024
31768cd
updating the asn1 codec submodule reference to the 2024 j2735 support
Michael7371 Jan 3, 2025
2eb57ea
Merge pull request #141 from CDOT-CV/fix/asn1_codec_2024-submodule-ref
drewjj Jan 3, 2025
9f266ff
Updated `compatibility.md` for 2025 Q1 release
dmccoystephenson Jan 6, 2025
ad22001
Updated new version for jpo-geojsonconverter in `compatibility.md`
dmccoystephenson Jan 6, 2025
f0e25b4
chore: set scope to provided for annotation processors (#142)
mcook42 Jan 6, 2025
9385a6d
Updated new version for jpo-conflictmonitor in compatibility.md
dmccoystephenson Jan 6, 2025
b0d52cc
Updated `Release_notes.md` for 2025 Q1 release
dmccoystephenson Jan 6, 2025
6534bc5
Add hyphens to the nodexy and nodell objects since it is the correct …
drewjj Jan 7, 2025
b01612b
feat: add Spring Actuator dependency and update configuration
mcook42 Jan 7, 2025
fa2ba93
feat: add trace ID handling for improved observability
mcook42 Jan 7, 2025
a64da09
feat: enable observation in Kafka consumers
mcook42 Jan 7, 2025
abd8baa
Added CDOT PR 145 to 2025 Q1 release notes
dmccoystephenson Jan 7, 2025
722044c
chore: set retries to 1 to reduce noise in logs
mcook42 Jan 7, 2025
f305d33
chore: delete swap
mcook42 Jan 8, 2025
1d7c1a6
Updated jpo-utils git submodule reference to latest commit in CDOT de…
dmccoystephenson Jan 8, 2025
5bfaa70
Added CDOT PR 146 to 2025 Q1 release notes
dmccoystephenson Jan 8, 2025
a56f68e
Merge pull request #146 from CDOT-CV/git/update-jpo-utils-commit-refe…
dmccoystephenson Jan 8, 2025
5c7ccf0
Implemented failing unit test to ensure no missing bytes after retrie…
dmccoystephenson Jan 8, 2025
1d17934
Updated UdpHexDecoder and UperUtil to ensure no missing bytes when re…
dmccoystephenson Jan 8, 2025
b77f0bc
refactor: increase producer retries to 2
mcook42 Jan 8, 2025
3dc0349
refactor: reduce listener retries to zero until we can properly handl…
mcook42 Jan 8, 2025
3418552
Removed UperUtil.stripTrailingZeros, updated decoder input JSON for e…
dmccoystephenson Jan 8, 2025
a7df9b6
Updated UdpHexDecoder.getPayloadHexString() for clarity & updated uni…
dmccoystephenson Jan 8, 2025
e93a213
Updated javadocs for UdpHexDecoder.retrieveRelevantBytes
dmccoystephenson Jan 8, 2025
f4ddc84
Formatted changed java files
dmccoystephenson Jan 8, 2025
b09c66c
Formatted UperUtil.java
dmccoystephenson Jan 8, 2025
8b9ff7d
Reinserted headers into the modified test data
dmccoystephenson Jan 8, 2025
11b5c09
Added CDOT PR 147 to 2025 Q1 release notes
dmccoystephenson Jan 8, 2025
40159ea
chore: delete unnecessary CorrelationIDHandler.java
mcook42 Jan 8, 2025
e849542
chore: remove value from kafka logging to reduce noise
mcook42 Jan 8, 2025
28cc28f
updating jpo utils reference to fix env var requirementes
Michael7371 Jan 8, 2025
e9aebbf
Merge pull request #145 from CDOT-CV/hotfix/tim-schema-v8
dmccoystephenson Jan 8, 2025
dbcec81
Merge pull request #148 from CDOT-CV/git/update-jpo-utils
dmccoystephenson Jan 8, 2025
cffdde9
Added CDOT PR 148 to 2025 Q1 release notes
dmccoystephenson Jan 8, 2025
e781a63
Update schema-tim.json with TIM deposit request metadata field value …
drewjj Jan 9, 2025
336b907
Removed unnecessary else block in UperUtil
dmccoystephenson Jan 9, 2025
76e33d9
update to jpo utils to have sample passwords to reduce docker compose…
Michael7371 Jan 9, 2025
489ce54
Added CDOT PR 149 to 2025 Q1 release notes
dmccoystephenson Jan 9, 2025
59275bb
Merge pull request #149 from CDOT-CV/git/update-jpo-utils
dmccoystephenson Jan 9, 2025
c09d420
Update docs/Release_notes.md
dmccoystephenson Jan 9, 2025
55d630b
chore: turn off consumer observation
mcook42 Jan 9, 2025
5901177
refactor: set producerPerThread and include execption message in fail…
mcook42 Jan 9, 2025
f671b5a
refactor: set producerPerThread in all factories
mcook42 Jan 9, 2025
f3379bd
chore: remove hardcoded log levels from logback.xml
mcook42 Jan 9, 2025
5df2614
chore: observability dependencies from pom and config
mcook42 Jan 9, 2025
2c73e69
chore: undo setProducerPerThread(true)
mcook42 Jan 9, 2025
94e5039
Added CDOT PR 151 to 2025 Q1 release notes
dmccoystephenson Jan 9, 2025
7352e74
Merge pull request #151 from CDOT-CV/mcook42/chore/kafka-and-logging-…
dmccoystephenson Jan 9, 2025
d65f56c
Merge branch 'dev' into udp/convert-packet-bytes-based-on-length
dmccoystephenson Jan 9, 2025
3dd3ed6
perf: set linger.ms to 1 millis to prevent large batching and reduce …
mcook42 Jan 9, 2025
6a4d951
Update map schema elevation to be a String
drewjj Jan 9, 2025
f112784
Update the tim request odeposition3d to be different due to the field…
drewjj Jan 9, 2025
e59d3fe
Update Release_notes.md
dmccoystephenson Jan 9, 2025
e0dfc08
Merge pull request #152 from CDOT-CV/fix/schema-request-metdata
dmccoystephenson Jan 9, 2025
05b60dc
Added CDOT PR 153 to 2025 Q1 release notes
dmccoystephenson Jan 10, 2025
3937a8e
Merge pull request #153 from CDOT-CV/mcook42/fix/producer-failures
dmccoystephenson Jan 10, 2025
e9ac777
use odeKafkaProperties env vars to drive producer retries
mcook42 Jan 10, 2025
f2f4f5e
Added CDOT PR 154 to 2025 Q1 release notes
dmccoystephenson Jan 10, 2025
03d6731
Merge pull request #154 from CDOT-CV/mcook42/fix/producer-config
drewjj Jan 10, 2025
b1d1e35
Moved contents of `ReleaseNotes.md` to `docs/Release_notes.md`
dmccoystephenson Jan 10, 2025
e34ecf0
Merge pull request #143 from CDOT-CV/docs/update-version-compatibilit…
dmccoystephenson Jan 10, 2025
740921e
Merge pull request #147 from CDOT-CV/udp/convert-packet-bytes-based-o…
dmccoystephenson Jan 12, 2025
b988e33
Update docs/Release_notes.md
dmccoystephenson Jan 12, 2025
0b475bb
Update docs/Release_notes.md
dmccoystephenson Jan 12, 2025
e584738
Merge pull request #144 from CDOT-CV/docs/2025-q1/update-release-notes
dmccoystephenson Jan 12, 2025
4f375d7
update to fix PSM schema "recordGeneratedBy" field
Michael7371 Jan 16, 2025
736fe61
added a unit test that failed on old schema
Michael7371 Jan 16, 2025
08a2e58
address checkstyle violations
Michael7371 Jan 16, 2025
97b1c2f
adding PSM schema fix to the release notes
Michael7371 Jan 16, 2025
3a95b03
Update docs/Release_notes.md
Michael7371 Jan 16, 2025
501a1f5
Merge pull request #158 from CDOT-CV/release/psm-schema-fix
drewjj Jan 16, 2025
6839a93
Updated BSM schema to address field renamings in J2735 2024
dmccoystephenson Jan 19, 2025
3428ed1
Updated BSM-related POJOs to address field renamings in J2735 2024
dmccoystephenson Jan 19, 2025
585d36e
Updated 2025 Q1 release notes to include details on partial compatibi…
dmccoystephenson Jan 20, 2025
fa102d9
Reverted change to header for v3 release notes
dmccoystephenson Jan 20, 2025
d986aec
style: address checkstyle warnings in OdeBsmDataCreatorHelperTest
mcook42 Jan 20, 2025
452a417
refactor: simplify test flow in OdeBsmDataCreatorHelperTest
mcook42 Jan 20, 2025
0dcdf1d
test: add BSM validation to assert generated BSM aligns with schema
mcook42 Jan 20, 2025
1cf577f
Pulled XML into separate file from OdeBsmDataCreatorHelperTest
dmccoystephenson Jan 20, 2025
5cfba96
Updated BsmBuilder partII reference, added a unit test for single par…
dmccoystephenson Jan 21, 2025
f280828
Updated test data in BsmBuilderTest.java
dmccoystephenson Jan 21, 2025
161faa7
Addressed checkstyle comments
dmccoystephenson Jan 21, 2025
917795d
Added `@Data` and `@EqualsAndHashCode` annotations to J2735Supplement…
dmccoystephenson Jan 21, 2025
24a9652
Commented out `testCreateOdeBsmData_ThreePartIIExtensions` test case …
dmccoystephenson Jan 21, 2025
eb8b82d
Pulled JSON into separate files for J2735BsmPart2ContentTest.java
dmccoystephenson Jan 21, 2025
bc08490
Pulled test data into separate files for BsmBuilderTest.java
dmccoystephenson Jan 21, 2025
3a38c8a
Added assertion to BsmBuilderTest.shouldTranslateBsm to ensure partII…
dmccoystephenson Jan 21, 2025
14efc44
Added CDOT PR 160 to 2025 Q1 release notes
dmccoystephenson Jan 21, 2025
2da8ff1
Updated wording in 2025 Q1 release notes
dmccoystephenson Jan 21, 2025
f7fe9a1
Added link to usdot-asn1c github issue
dmccoystephenson Jan 21, 2025
fc2e9c6
Updated multi-partII-extension test in OdeBsmDataCreatorHelperTest.java
dmccoystephenson Jan 21, 2025
24132b2
Pulled partII extension definitions into separate schemas for `schema…
dmccoystephenson Jan 21, 2025
2e8b4d1
Updated SupplementalVehicleExtensions schema definition to make doNot…
dmccoystephenson Jan 21, 2025
de3c9f8
Reverted license headers & switched to normal-comment format
dmccoystephenson Jan 21, 2025
7bd94c1
Updated `@EqualsAndHashCode` annotation for J2735VehicleData class to…
dmccoystephenson Jan 21, 2025
13dbb00
Updated 2025 Q1 release notes to include specific unsupported fields
dmccoystephenson Jan 21, 2025
cfbd4d7
Updated 2025 Q1 release notes to include unsupported new fields for S…
dmccoystephenson Jan 21, 2025
c9466c9
Updated comment in BsmBuilder
dmccoystephenson Jan 22, 2025
cfe7caa
Merge pull request #160 from CDOT-CV/j2735/bsm/update-schema-and-pojos
dmccoystephenson Jan 22, 2025
a9ed9bb
Merge pull request #159 from CDOT-CV/rel2025q1/update-release-notes-f…
dmccoystephenson Jan 22, 2025
01b228f
fix: force BigDecimal serialization to NUMBER format
mcook42 Jan 22, 2025
411bbd7
fix: force BigDecimal serialization to NUMBER format in Serialization…
mcook42 Jan 22, 2025
6463f51
fix: set elevation type to number in schema-map.json
mcook42 Jan 22, 2025
137b777
Added CDOT PR 165 to 2025 Q1 release notes
dmccoystephenson Jan 22, 2025
acbe6b7
Merge branch 'mcook42/hotfix/set-big-decimal-serialization-2' of gith…
dmccoystephenson Jan 22, 2025
58f80f0
chore: correct typo in comment
mcook42 Jan 22, 2025
e089177
Merge branch 'mcook42/hotfix/set-big-decimal-serialization-2' of http…
mcook42 Jan 22, 2025
d200673
Merge pull request #165 from CDOT-CV/mcook42/hotfix/set-big-decimal-s…
drewjj Jan 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,7 @@ RUN apt-get install -y g++ cmake libsasl2-dev libsasl2-modules libssl-dev librdk
RUN apt install -y autoconf libtool

ENV REDACTION_PROPERTIES_PATH /workspaces/jpo-ode/jpo-cvdp/config/fieldsToRedact.txt
ENV RPM_DEBUG true
ENV RPM_DEBUG true

# Python3
RUN apt-get install -y python3 python3-venv python3-pip
5 changes: 4 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
"redhat.java",
"redhat.vscode-commons",
"ms-vscode.cpptools",
"ms-vscode.cmake-tools"
"ms-vscode.cmake-tools",
"ms-vscode.makefile-tools",
"ms-python.python",
"hediet.vscode-drawio"
]
}
},
Expand Down
1 change: 1 addition & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ bin/kafka-topics.sh --create --topic "topic.OdeRawEncodedBSMJson" --bootstrap-se

# TIM
bin/kafka-topics.sh --create --topic "topic.OdeTimJson" --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1
bin/kafka-topics.sh --create --topic "topic.OdeTimJsonTMCFiltered" --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1
bin/kafka-topics.sh --create --topic "topic.OdeTimBroadcastJson" --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1
bin/kafka-topics.sh --create --topic "topic.J2735TimBroadcastJson" --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1
bin/kafka-topics.sh --create --topic "topic.OdeTIMCertExpirationTimeJson" --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/artifact-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'
distribution: 'temurin'
cache: 'maven'

- name: Remove snapshot from version
run: mvn versions:set -DremoveSnapshot
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/checkstyle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: checkstyle

on: pull_request

jobs:
checkstyle:
name: runner / checkstyle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dbelyaev/[email protected]
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
level: warning
checkstyle_config: './checkstyle.xml'
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: ci

on: [pull_request, push]
on:
pull_request:
push:
branches:
- "develop"
- "master"
- "release/*"

jobs:
docker:
Expand All @@ -10,6 +16,9 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Build
uses: docker/build-push-action@v5
with:
cache-from: type=gha
cache-to: type=gha,mode=max

sonar:
runs-on: ubuntu-latest
Expand All @@ -27,4 +36,4 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
ls -la && pwd
mvn -e -X clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.projectKey=usdot.jpo.ode:jpo-ode -Dsonar.projectName=jpo-ode -Dsonar.organization=usdot-jpo-ode -Dsonar.host.url=https://sonarcloud.io -Dsonar.branch.name=$GITHUB_REF_NAME
mvn -e clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.projectKey=usdot.jpo.ode:jpo-ode -Dsonar.projectName=jpo-ode -Dsonar.organization=usdot-jpo-ode -Dsonar.host.url=https://sonarcloud.io -Dsonar.branch.name=$GITHUB_REF_NAME
4 changes: 3 additions & 1 deletion .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ jobs:
uses: docker/build-push-action@v3
with:
push: true
tags: usdotjpoode/jpo-ode:${{ env.TAG }}
tags: usdotjpoode/jpo-ode:${{ env.TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/SNMP_Error.log
/Events.log
/uploads
*.iml
**/*.iml
*.DS_Store
SNMP_Error.log
Events.log
Expand All @@ -22,6 +22,8 @@ settings.xml
.metadata
*.pyc
/kafka/
**/target/**
**/.rewrite-cache/**

####################
### jpo-ode-svcs ###
Expand Down Expand Up @@ -132,4 +134,4 @@ settings.xml

#########################
### jpo-cvdp ###
ppm_data/*
ppm_data/*
14 changes: 14 additions & 0 deletions ATTRIBUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,17 @@ The developers also wish to acknowledge the following leaders and contributors:
* Oakridge National Laboratories: Jason Carter and Aaron Ferber

Thanks to the ITS Joint Program Office for their support of the effort.

The J2735 Traveler Information classes were generated using asn1jvm, which is a new ASN.1 compiler targeting Java. The asn1jvm tool is currently capable of compiling the 2016 version of the J2735 ASN.1 specification to Java classes which are capable of serializing and deserializing XER and JER. The output of the tool includes classes with Jackson annotations for each type in the specification, and a runtime library containing base classes for ASN.1 types and custom Jackson serializers and deserialers. The raw output of the tool and associated runtime library are here: https://github.com/iyourshaw/j2735-2016-java

The generated classes were edited for compatibility with the 2020 version of the specification as follows:

* TimDatFrame.java, fields renamed:
* sspTimRights -> notUsed
* sspLocationRights -> notUsed1
* sspMsgRights1 -> notUsed2
* sspMsgRights2 -> notUsed3
* duratonTime -> durationTime
* Classes were moved to Java packages to be consistent with the module organization scheme in the 2020+ versions of J2735, and with Java package naming conventions (lowercase), and existing ODE package naming. Specifically, instead being in a `DSRC` package, the TIM-related classes were moved to `us.dot.its.jpo.ode.plugin.j2735.travelerinformation`, and `us.dot.its.jpo.ode.plugin.j2735.common` packages.

The top level TravelerInformation class was also edited, by changing its base class to `us.dot.its.jpo.ode.plugin.asn1.Asn1Object` to enable it to plug directily into the existing `OdeData`/`OdeMsgPayload` data structure.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM maven:3.8-eclipse-temurin-21-alpine as builder
MAINTAINER [email protected]
FROM maven:3.8-eclipse-temurin-21-alpine AS builder
LABEL org.opencontainers.image.authors="[email protected]"

WORKDIR /home

Expand All @@ -20,13 +20,13 @@ FROM eclipse-temurin:21-jre-alpine

WORKDIR /home

COPY --from=builder /home/jpo-ode-svcs/src/main/resources/application.properties /home
COPY --from=builder /home/jpo-ode-svcs/src/main/resources/application.yaml /home
COPY --from=builder /home/jpo-ode-svcs/src/main/resources/logback.xml /home
COPY --from=builder /home/jpo-ode-svcs/target/jpo-ode-svcs.jar /home
COPY ./scripts/startup_jpoode.sh /home

RUN apk add openssh
RUN apk add openrc
RUN rc-update add sshd
RUN apk --no-cache add openssh \
&& apk --no-cache add openrc \
&& rc-update add sshd

ENTRYPOINT ["sh", "/home/startup_jpoode.sh"]
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ default:
$(info `make build` to build the ODE)
$(info `make stop` to stop the ODE)
$(info `make delete` to stop the ODE and remove the volumes)
$(info `make restart` to stop and then start the ODE)
$(info `make rebuild` to stop, delete, and then rebuild the containers)
$(info `make clean-build` to rebuild the containers without using the cache)

.PHONY: start
start:
ifeq ("$(wildcard .env)", "")
$(error "ERROR: jpo-ode Environment file `.env` not found in ${PWD}")
Expand All @@ -25,14 +27,22 @@ ifeq ("$(wildcard ./jpo-utils/.env)", "")
endif
docker compose build

.PHONY: stop
stop:
docker compose down

.PHONY: delete
delete:
docker compose down -v

.PHONY: restart
restart:
$(MAKE) stop start

.PHONY: rebuild
rebuild:
$(MAKE) stop delete build start

.PHONY: clean-build
clean-build:
docker compose build --no-cache
Loading
Loading