newts icon indicating copy to clipboard operation
newts copied to clipboard

NEWTS-111: OpenNMS Integration with cloud-hosted Cassandra

Open jeffgdotorg opened this issue 3 years ago • 4 comments

  • Updated Cassandra driver to v3.8.0
  • Added accessors for cloudConnectBundle
  • Hooked up existing username and password as client-ID and client-secret when a cloud-connect bundle is configured
  • Updated logging

jeffgdotorg avatar Apr 14 '21 14:04 jeffgdotorg

Changes look good. I think we may also need to bump the version of cassandra-unit that is used for the tests to pass.

We also need to understand any changes to the transient dependencies made by upgrading the Cassandra driver as this may impact which versions of OpenNMS we can pull this into.

j-white avatar Apr 15 '21 14:04 j-white

Nice, it's green! I can help take a look at comparing the dependency changes.

j-white avatar Apr 20 '21 20:04 j-white

Transient dependencies look good - only a new dependency on com.fasterxml.jackson.core:jackson-databind:jar:2.5.4:compile - version if Netty remains unchanged.

j-white avatar Apr 27 '21 13:04 j-white

Just double-checked deps after fixing tests and bumping to 3.11.0, and it looks like in addition to jackson-databind, it ends up bumping netty and adding a few things as well, but on the opennms side we're actually already using/overriding newer versions anyways. We'll just want to double-check what gets pulled in before and after, but since this would go to develop it should be OK.

[INFO] |  |  \- com.fasterxml.jackson.core:jackson-databind:jar:2.5.4:compile
[INFO] |  |     +- com.fasterxml.jackson.core:jackson-annotations:jar:2.5.0:compile
[INFO] |  |     \- com.fasterxml.jackson.core:jackson-core:jar:2.5.4:compile
...
[INFO]    |  +- commons-codec:commons-codec:jar:1.9:compile
...
[INFO]    +- io.netty:netty-handler:jar:4.0.44.Final:compile
[INFO]    |  +- io.netty:netty-buffer:jar:4.0.44.Final:compile
[INFO]    |  |  \- io.netty:netty-common:jar:4.0.44.Final:compile
[INFO]    |  +- io.netty:netty-transport:jar:4.0.44.Final:compile
[INFO]    |  \- io.netty:netty-codec:jar:4.0.44.Final:compile
[INFO]    +- org.apache.thrift:libthrift:jar:0.9.2:compile
[INFO]    |  +- org.apache.httpcomponents:httpclient:jar:4.2.5:compile
[INFO]    |  |  \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO]    |  \- org.apache.httpcomponents:httpcore:jar:4.2.4:compile
[INFO]    +- net.java.dev.jna:jna:jar:4.1.0:compile

RangerRick avatar Jun 25 '21 19:06 RangerRick

Can be configured using "driver settings file" exposed in 3.0.0

j-white avatar Mar 30 '23 12:03 j-white