You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: adds more KRIs to Overview-like things (#5008)
Adds/ensures KRIs are carried through to the summary YAML views.
There is also a bit of copy/pasting for consistency reasons between
Dataplanes/ZoneProxies. There are reasons for formatting decisions in
the code here and I commented it up quite a bit to explain why rather
than just depend on the formatting to be self-explanatory (that alone it
not explanatory enough I don't think)
I renamed the Dataplane tests and added back the ZoneProxy tests but
renamed them all to make it clearer what they are testing. Usually we
avoid mocking/setting up full data objects to test against, but in this
case its the most straight-forwards way to assert that we have neither
too many fields or not enough fields. If I think of a different way
thats just as straight-forwards but also clearer I might tweak this in
the future.
Note: We are now expected KRIs to be added to the top-level
DataplaneOverviews via the backend. Depending on when this PR gets
merged we can either consider this in this PR or a follow up PR once the
backend PR is complete.
---------
Signed-off-by: John Cowen <john.cowen@konghq.com>
0 commit comments