diff --git a/src/spaceone/inventory/service/change_history_service.py b/src/spaceone/inventory/service/change_history_service.py index bd453f8..fa91927 100644 --- a/src/spaceone/inventory/service/change_history_service.py +++ b/src/spaceone/inventory/service/change_history_service.py @@ -35,6 +35,7 @@ def __init__(self, metadata): ] ) @append_keyword_filter(["diff.key", "diff.before", "diff.after"]) + @set_query_page_limit(1000) def list(self, params: dict): """ Args: diff --git a/src/spaceone/inventory/service/cloud_service_type_service.py b/src/spaceone/inventory/service/cloud_service_type_service.py index aa82acb..881a633 100644 --- a/src/spaceone/inventory/service/cloud_service_type_service.py +++ b/src/spaceone/inventory/service/cloud_service_type_service.py @@ -215,6 +215,7 @@ def get(self, params: dict) -> CloudServiceType: ] ) @append_keyword_filter(_KEYWORD_FILTER) + @set_query_page_limit(1000) def list(self, params: dict) -> Tuple[QuerySet, int]: """ Args: diff --git a/src/spaceone/inventory/service/collector_rule_service.py b/src/spaceone/inventory/service/collector_rule_service.py index 5789364..d4dd14a 100644 --- a/src/spaceone/inventory/service/collector_rule_service.py +++ b/src/spaceone/inventory/service/collector_rule_service.py @@ -302,6 +302,7 @@ def get(self, params): ] ) @append_keyword_filter(["collector_rule_id", "name"]) + @set_query_page_limit(1000) def list(self, params): """List collector rule diff --git a/src/spaceone/inventory/service/collector_service.py b/src/spaceone/inventory/service/collector_service.py index 7341af7..f8b05f7 100644 --- a/src/spaceone/inventory/service/collector_service.py +++ b/src/spaceone/inventory/service/collector_service.py @@ -392,6 +392,7 @@ def get(self, params: dict) -> Collector: ] ) @append_keyword_filter(_KEYWORD_FILTER) + @set_query_page_limit(1000) def list(self, params: dict) -> Tuple[QuerySet, int]: """List collectors Args: diff --git a/src/spaceone/inventory/service/job_task_service.py b/src/spaceone/inventory/service/job_task_service.py index 685da2d..412e9c8 100644 --- a/src/spaceone/inventory/service/job_task_service.py +++ b/src/spaceone/inventory/service/job_task_service.py @@ -86,6 +86,7 @@ def get(self, params: dict) -> JobTask: "user_projects", ] ) + @set_query_page_limit(1000) @append_keyword_filter(["job_task_id"]) def list(self, params): """ diff --git a/src/spaceone/inventory/service/metric_example_service.py b/src/spaceone/inventory/service/metric_example_service.py index 7986281..8daefd7 100644 --- a/src/spaceone/inventory/service/metric_example_service.py +++ b/src/spaceone/inventory/service/metric_example_service.py @@ -167,6 +167,7 @@ def get( ] ) @append_keyword_filter(["example_id", "name"]) + @set_query_page_limit(1000) @convert_model def list( self, params: MetricExampleSearchQueryRequest diff --git a/src/spaceone/inventory/service/metric_service.py b/src/spaceone/inventory/service/metric_service.py index f1c3031..a3ecd90 100644 --- a/src/spaceone/inventory/service/metric_service.py +++ b/src/spaceone/inventory/service/metric_service.py @@ -262,6 +262,7 @@ def get(self, params: MetricGetRequest) -> Union[MetricResponse, dict]: ] ) @append_keyword_filter(["metric_id", "name"]) + @set_query_page_limit(1000) @convert_model def list(self, params: MetricSearchQueryRequest) -> Union[MetricsResponse, dict]: """List metrics diff --git a/src/spaceone/inventory/service/namespace_service.py b/src/spaceone/inventory/service/namespace_service.py index 1ab254a..01499fe 100644 --- a/src/spaceone/inventory/service/namespace_service.py +++ b/src/spaceone/inventory/service/namespace_service.py @@ -174,6 +174,7 @@ def get(self, params: NamespaceGetRequest) -> Union[NamespaceResponse, dict]: ] ) @append_keyword_filter(["namespace_id", "name"]) + @set_query_page_limit(1000) @convert_model def list( self, params: NamespaceSearchQueryRequest diff --git a/src/spaceone/inventory/service/note_service.py b/src/spaceone/inventory/service/note_service.py index 1fa8215..04376ec 100644 --- a/src/spaceone/inventory/service/note_service.py +++ b/src/spaceone/inventory/service/note_service.py @@ -168,6 +168,7 @@ def get(self, params: dict) -> Note: ] ) @append_keyword_filter(["note"]) + @set_query_page_limit(1000) def list(self, params: dict): """List notes in record diff --git a/src/spaceone/inventory/service/region_service.py b/src/spaceone/inventory/service/region_service.py index 359f064..4c56f72 100644 --- a/src/spaceone/inventory/service/region_service.py +++ b/src/spaceone/inventory/service/region_service.py @@ -155,6 +155,7 @@ def get(self, params: dict) -> Region: ] ) @append_keyword_filter(_KEYWORD_FILTER) + @set_query_page_limit(1000) def list(self, params: dict) -> Tuple[QuerySet, int]: """ Args: