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
Adding support for ClusterList and Originator Id to VI Question #5857
Adding support for ClusterList and Originator Id to VI Question #5857
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r1.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @kylehoferamzn)
projects/question/src/main/java/org/batfish/question/routes/RoutesAnswerer.java, line 293 at r1 (raw file):
Boolean.FALSE, Boolean.TRUE)) .add(
small nit: I'd flip the order of these since originator is mandatory and is generally more useful (IMO)
projects/question/src/main/java/org/batfish/question/routes/RoutesAnswererUtil.java, line 326 at r1 (raw file):
.put( COL_CLUSTER_LIST, bgpv4Route.getClusterList().size() == 0 ? null : bgpv4Route.getClusterList())
I'd do isEmpty()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 3 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
Codecov Report
@@ Coverage Diff @@
## master #5857 +/- ##
============================================
+ Coverage 71.90% 72.01% +0.10%
- Complexity 33875 33964 +89
============================================
Files 2791 2803 +12
Lines 139545 139767 +222
Branches 16754 16784 +30
============================================
+ Hits 100346 100657 +311
+ Misses 31317 31227 -90
- Partials 7882 7883 +1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r3.
Reviewable status: complete! all files reviewed, all discussions resolved
I realize Im missing tests here, I'll add those in but before I do so I wanted to know if the general approach is what you all want