From d9e89dfd49538c54d280dce3750f4af264cfd5fc Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Wed, 27 Mar 2024 14:08:59 -0700 Subject: Simplify router Now that we only support string types in the router we no longer need to build a "Tag" to be used for constructing argument types. Now, we can just track the number of arguments, which simplifies the code significantly, and removes the need to convert to and from the tag to parameter counts. This in turn deletes a lot of code in the router, removing the need for tracking tag types. Tested: Redfish service validator passes. Unit tests pass. Change-Id: Ide1d665dc1984552681e8c05952b38073d5e32dd Signed-off-by: Ed Tanous --- include/authentication.hpp | 1 - include/login_routes.hpp | 1 - 2 files changed, 2 deletions(-) (limited to 'include') diff --git a/include/authentication.hpp b/include/authentication.hpp index f3246c0fcf..fbc226750f 100644 --- a/include/authentication.hpp +++ b/include/authentication.hpp @@ -1,6 +1,5 @@ #pragma once -#include "common.hpp" #include "forward_unauthorized.hpp" #include "http_request.hpp" #include "http_response.hpp" diff --git a/include/login_routes.hpp b/include/login_routes.hpp index ae99757ef8..f78c159cf9 100644 --- a/include/login_routes.hpp +++ b/include/login_routes.hpp @@ -1,7 +1,6 @@ #pragma once #include "app.hpp" -#include "common.hpp" #include "http_request.hpp" #include "http_response.hpp" #include "multipart_parser.hpp" -- cgit v1.2.3