-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NETOBSERV-1959: Remove hardcoded columns rendering + other enhancemen…
…ts (#633) * NETOBSERV-1959: Remove hardcoded columns rendering + other enhancements - Remove hardcoded columns - Change some of the rendering scripted functions: - getConcatenatedValue -> concat now dedicated to just concatenate values - they can now accept litterals (e.g. concat(DstAddr,':',DstPort)) - remove getSrcOrDstValue since there was also "[...]" for the same role - add new kubeObject func to show kind-name-namespace sort of things - Improve performance by avoiding re-parsing everything for every rendered flow - there's probably more that we could do on that side - Add unit tests * preprocess a bit more of parsed functions * address feedback * Fix issues about visible fields in side panel Previously, visible fields were determined out of several criteria including: - fields with calculated values were filtered out - record with null value was filtered out (as opposed to undefined) Also, "Common" columns was determined by having a calculated value (ie. non-common columns were prohibited to use calculated) This must change since columns can now have calculated and still must be visible (e.g. SrcK8S_Name is a kubeObject calculated value) - So, Common now is when calculated in the form of "[a,b]" - Visible columns for side panel is now based on being tied to fields * Use fieldValue func for filters * NETOBSERV-1969: Fix IcmpType & IcmpCode Those fields should be correctly displayed when ICMP data is present, and not displayed (in side panel) when ICMP data is absent. * format
- Loading branch information
Showing
13 changed files
with
464 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.