David Morgan
b02d12ff1e
JSONPath support for json compare analyzer ( #1244 )
...
This adds JSONPath support to the json compare analyzer using
k8s.io/client-go/util/jsonpath implementation.
To preserve backwards compatibility a new attribute, `JsonPath, is added
to the compare analyzer as opposed to changing how `Path` works. Only
one should be set, but preference is given to `Path`, again to maintain
backwards compatibility.
As a convience for users, if the result of running the JSONPath
expression returns a single value, that value is unwrapped from its
enclosing array and used as the comparison with `Value`. This isn't
strictly compatible with how JSONPath works (all results are wrapped in
an array), but it's easier for end users who are expecting a single
result from their JSONPath expression.
2023-07-10 13:02:00 -04:00
..
2023-05-30 17:53:03 -04:00
2023-03-22 11:45:41 -04:00
2023-05-29 16:40:10 +12:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-05-29 16:40:10 +12:00
2023-05-29 16:40:10 +12:00
2023-04-06 09:17:33 +01:00
2023-04-06 09:17:33 +01:00
2023-01-13 10:32:39 +00:00
2023-02-03 15:26:36 +00:00
2023-06-08 07:51:11 -04:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-04-06 09:17:33 +01:00
2021-01-28 18:22:48 +00:00
2023-01-13 10:32:39 +00:00
2022-11-28 10:45:10 +13:00
2023-02-03 15:26:36 +00:00
2021-01-28 18:22:48 +00:00
2023-02-03 15:26:36 +00:00
2023-01-03 18:05:15 +00:00
2023-02-24 18:24:51 +00:00
2023-03-10 12:52:21 +10:00
2023-04-18 13:25:45 +12:00
2023-04-18 13:25:45 +12:00
2021-07-06 08:42:12 -05:00
2022-10-21 16:41:07 +13:00
2021-07-08 11:08:53 -05:00
2022-05-12 03:39:19 +00:00
2021-09-22 22:50:38 +00:00
2022-05-12 16:46:24 +00:00
2021-07-22 08:27:39 -05:00
2022-05-12 16:46:24 +00:00
2021-07-28 11:19:41 -05:00
2022-05-12 16:46:24 +00:00
2022-05-12 16:46:24 +00:00
2021-07-06 08:42:12 -05:00
2022-05-12 03:39:19 +00:00
2021-10-06 09:03:53 -05:00
2022-09-08 15:10:53 +12:00
2021-07-08 11:08:53 -05:00
2022-05-12 03:39:19 +00:00
2021-10-12 14:42:23 -07:00
2023-01-13 10:32:39 +00:00
2021-07-06 08:42:12 -05:00
2022-05-12 03:39:19 +00:00
2023-03-10 12:52:21 +10:00
2021-12-10 12:05:21 -08:00
2022-05-12 16:46:24 +00:00
2023-06-16 15:01:41 +12:00
2023-04-11 15:22:05 -04:00
2023-04-19 12:58:31 -07:00
2023-04-19 12:58:31 -07:00
2021-07-22 08:27:39 -05:00
2022-05-12 16:46:24 +00:00
2021-07-06 08:42:12 -05:00
2022-05-12 03:39:19 +00:00
2023-01-24 16:38:54 -05:00
2023-01-24 16:38:54 -05:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2022-11-28 10:45:10 +13:00
2023-02-03 15:26:36 +00:00
2023-07-10 13:02:00 -04:00
2023-07-10 13:02:00 -04:00
2023-06-08 07:51:11 -04:00
2023-06-08 07:51:11 -04:00
2021-10-22 15:24:07 -05:00
2023-02-03 15:26:36 +00:00
2023-03-27 16:06:27 +01:00
2023-03-27 16:06:27 +01:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2022-11-28 10:45:10 +13:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2022-11-28 10:45:10 +13:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2022-11-28 10:45:10 +13:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00
2023-02-03 15:26:36 +00:00