diff options
author | Ed Tanous <ed@tanous.net> | 2024-06-26 01:07:36 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-07-01 18:10:04 +0300 |
commit | 1cf823137844d1f3ef28c3b7129d8a7eb7f2662a (patch) | |
tree | 03a4560af0edb63acda002e4a2e9dc2450a97f1f /redfish-core/lib/health.hpp | |
parent | 2261a9826c5fae19679286f6be9f27a0648f4cd7 (diff) | |
download | bmcweb-1cf823137844d1f3ef28c3b7129d8a7eb7f2662a.tar.xz |
Allow fuzzy string comparisons in $filter expr
Filter allows comparing certain strings as numeric greater than or less
than operators. The most obvious example of this is something like
\$filter=Created gt <timestamp>
Because internally timestamps are treated as strings, this requires
including and parsing out the timestamps again, which we have utilities
for.
In addition, "fuzzy" string comparisons, like
GPU_2 gt GPU_1
Should also be supported.
Tested: Unit tests pass
Change-Id: I39fc543921ed8cc93664d9cf297dad8ee902b68f
Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'redfish-core/lib/health.hpp')
0 files changed, 0 insertions, 0 deletions