Skip to content
Commit 15a42df0 authored by Ed Tanous's avatar Ed Tanous Committed by Ed Tanous
Browse files

Remove number support from the router



The router historically came from crow.  Crow supported wildcards of
<int>, <float>, and <double>.  bmcweb doesn't use them, nor should it in
basically any case, as we now have explicit 404 handling.

This commit removes them.  This amounts to about -450 lines of code, but
it's some of the scarier code we have, some of it existing in the
namespace "black_magic".  Reducing the brain debt for people working in
this subsystem seems worthwhile.  There is no case in the future where
we would use integer based url parameters.

Tested: Redfish service validator passes.  Should be good enough
coverage for a code removal.

Signed-off-by: default avatarEd Tanous <edtanous@google.com>
Change-Id: I34add8df7d3486952474ca7ec3dc6be990c50ed0
parent 02e01b51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment