Titanium Integration#2165
Conversation
35ad001 to
78906ed
Compare
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request focuses on integrating Titanium dependencies and migrating from Akka to Pekko. The changes involve updating dependency versions in POM files, adjusting configuration files (JSON and Helm templates) to use Pekko paths and class names, and updating YANG module revisions. There are also some related code changes to adapt to API updates in the new dependency versions. Overall, the core changes for the Pekko migration seem mechanically correct based on the diffs provided.
Summary of Findings
- Pekko Management Configuration Duplication: The
pekko-default.conffile includes apekko.management.httpconfiguration block that might be redundant or conflict with management settings provided via Helm chart values in a Kubernetes deployment. (Medium severity, commented) - Pekko Snapshot Directory: The
snapshot-store.local.dirproperty is commented out inpekko-default.conf, changing the default snapshot location. The intended new location and its suitability for persistence should be clarified. (Medium severity, commented) - Datastore File Path: A hardcoded path
Path.of("data")is now used for the datastore base directory. Clarification on its purpose and consideration for making it configurable for different deployment environments would be beneficial. (Medium severity, commented) - Snapshot Repository in POMs: The
opendaylight-snapshotrepository is added to several POM files with a TODO to remove it later. This is acceptable for a WIP branch but should be addressed before merging to a stable branch. (Low severity, not commented) - API Adaptations: The code correctly adapts to API changes in updated dependencies, including Pekko, AAA, and Netconf databind. (Low severity, not commented)
- Test Code Refactoring: Test code has been refactored to use a library class (
CompletingServerRequest) instead of a local definition, which is a good practice. (Low severity, not commented) - Configuration File Updates: Configuration files (JSON, Helm templates, .conf) have been updated consistently with the Pekko migration and YANG model revisions. (Low severity, not commented)
Merge Readiness
This pull request introduces significant dependency updates and the migration to Pekko. While the core migration changes appear mechanically correct, there are a few medium-severity issues identified related to configuration clarity and potential conflicts (Pekko management config, snapshot directory, datastore path). Given that this is marked as WIP and these points require clarification or potential adjustments for production readiness, I recommend addressing the commented issues before merging. I am unable to approve this pull request; please have other reviewers review and approve this code before merging.
|
|
687f8e5 to
26ef185
Compare
Adopt: - odlparent-14.1.0 - infrautils-7.1.4 - yangtools-14.0.14 - mdsal-14.0.13 - controller-11.0.0 - aaa-0.21.0 - netconf-9.0.0 - bgpcep-0.23.0 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/controller@9b3c5ed#diff-00fb66ffceadb54ae90cf4a35a76f23afb78c20c414779b581b6d84a9c3ba15c JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
438cf17 to
180c91f
Compare
Migrate according to: opendaylight/controller@20d4ef4 Also add remote artery configuration which should have been present but was not. JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/mdsal@2611261 JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/controller@df23a6e#diff-ee0d49b1bf6fa15779656e34803a4a1057d318b96bced821e91f57ccdabf4ec2 JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/controller@e87b039#diff-5624a113bf7b93c0667c799a270fbd892f1c62a63fb6f3ddea857db88a8ea505 JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/controller@ffea74c JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/netconf@48249d0 JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/netconf@86228ee JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/netconf@8f0a6e3 JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Source routing here is inherent to MdsalRestconfStreamRegistry, integrate ContextListener there and hide the start method -- it should only be called by subclasses. Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/netconf@58801e9#diff-5603be8ec107b51e7bee781048481fd3a13323b94033adbc1a31cd9ae292c48b JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/bgpcep@4811fcf#diff-5aa906ff75773f71a831b88640265678f1d8c107e69942f8ed650c89bdfbb0e1 JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Instead of using Lighty CompletingServerRequest, rather use ODL CompletingServerRequest. JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/controller@e87b039#diff-5624a113bf7b93c0667c799a270fbd892f1c62a63fb6f3ddea857db88a8ea505R11 JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/bgpcep@48b3e26 JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/aaa@bdd775e#diff-a6f62eab4923b81e9a2c1cffd0cd6e7ff5d985a764e5ae8232f2ba71aa47f040 JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/controller@84dfb68 JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/netconf@ee8e530#diff-ac2a896021160f68fc57d56da3547fad22e3eeb88941d15191bca065deb38bf0R63 JIRA: LIGHTY-375 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Checker-qual is no longer transitively: opendaylight/yangtools@fde2db8 JIRA: LIGHTY-375 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/controller@158ab17 JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Implement changes made in: opendaylight/netconf@b25bb1f JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/controller@2d7fe83 JIRA: LIGHTY-354 Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
servlet-jersey is not part of tests, therefore move it away from test dependencies. Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Adopt: