Skip to content

[BUG]Pagination is not working for List namespaces #147

@shraddhagrawal

Description

@shraddhagrawal

Is this a possible security vulnerability?

  • This is NOT a possible security vulnerability

Describe the bug

Even if we specify page size api is returning all namespaces
In docs it is mentioned "servers that support pagination" can you please elaborate what this means?

To Reproduce

curl --location 'http://localhost:8181/api/catalog/v1/polaris/namespaces?parent=accounting&pageSize=1&pageToken=null'
--header 'Authorization: Bearer principal:root;password:xxxxxxxxxxxxxxxx;realm:default-realm;role:ALL'
--data ''

Actual Behavior

returned all namespaces

Expected Behavior

return only one namespace

Additional context

No response

System information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions