Conversation
jpo-ode-svcs/src/main/java/us/dot/its/jpo/ode/udp/AbstractUdpReceiverPublisher.java
Outdated
Show resolved
Hide resolved
drewjj
left a comment
There was a problem hiding this comment.
My tests did catch on the TimDepositControllerTest but on a second run all the tests worked. This is similar to how the encoder tests act sometimes so I don't think this is an issue. The majority of the changes seem to be white space changes. One comment regarding a commented out line but that's about it. Nice!
| if (!started) { | ||
| try { | ||
| embeddedKafka.kafkaPorts(4242); | ||
| embeddedKafka.afterPropertiesSet(); | ||
| } catch (Exception e) { | ||
| throw new KafkaException("Embedded broker failed to start", e); | ||
| synchronized (EmbeddedKafkaHolder.class) { | ||
| if (!started) { |
There was a problem hiding this comment.
question(blocking): do we need both !started checks, or can one be removed?
There was a problem hiding this comment.
Good catch, this is resolved now.
|
issue(blocking): I've gotten the same test failure a few times locally. Have you gotten this same failure? I would refer to the CI build to see if it's an issue with my machine, but it doesn't look like we run tests in the CI anymore. |
mcook42
left a comment
There was a problem hiding this comment.
This all looks good to me, but I have a blocking question and issue (noted separately). Once those are resolved, I'm good to approve. Thanks for this work!
It looks like this is an existing test failure, so I won't block this PR on this issue See https://github.com/CDOT-CV/jpo-ode/actions/runs/17335293330/job/49220250166?pr=218 |
Interesting, I am not getting that error locally. I am running the tests in PowerShell and not WSL, so maybe that's part of the reason? @drewjj Do you get the error locally? |
PR Details
Description
This PR updates the spring boot dependencies for the ODE, and it's primary maven modules from version
3.1.3to3.5.4. The primary breaking change was involving the embedded Kafka broker. Outside of that, some dependencies have updated versions to allow for compatibility with spring boot.Related Issue
Motivation and Context
To keep the ODE up to date with spring boot updates and security fixes.
How Has This Been Tested?
/timREST endpoint creates a TIM message on kafka topictopic.OdeTimJsonTMCFilteredTypes of changes
Checklist:
ODE Contributing Guide