From e83cbb7ccf97bdba7bbae58e29e941ca55f26293 Mon Sep 17 00:00:00 2001 From: jiasirui Date: Tue, 14 Mar 2023 18:24:31 +0800 Subject: [PATCH] add interface log storage days Change-Id: I3cd7e7fd109c0576abd8abc78fb83816dc9061fb --- venus/api/v1/router.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/venus/api/v1/router.py b/venus/api/v1/router.py index cceacff..dd3019b 100644 --- a/venus/api/v1/router.py +++ b/venus/api/v1/router.py @@ -55,6 +55,16 @@ class APIRouter(venus.api.openstack.APIRouter): action='set_config', conditions={'method': ['POST']}) + mapper.connect("get_log_storage_days", "/log_storage_days", + controller=config_resource, + action='get_config', + conditions={'method': ['GET']}) + + mapper.connect("set_log_storage_days", "/log_storage_days", + controller=config_resource, + action='set_config', + conditions={'method': ['POST']}) + mapper.connect("search_params", "/search/params", controller=search_resource, action='search_params',