8000 Admin /services API, "offset" omit service created between several paged calls · Issue #14649 · Kong/kong · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Admin /services API, "offset" omit service created between several paged calls #14649
Open
@JCBourne97

Description

@JCBourne97

Is there an existing issue for this?

  • I have searched the existing issues

Kong version ($ kong version)

Kong 2.5

Current Behavior

when I want to get all the services, if there are new services created during I call /services API, the new services might be omit.
1: http://localhost:8001/services?size=2
2: http://localhost:8001/services?size=2&offset=xxx. // xxx is the offset response by the first call
3. some services created
4. when the response next is null, some new services might omit

Expected Behavior

if the offset can use something like created_at param, not id (since id not monotonically increasing)

Steps To Reproduce

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending author feedbackWaiting for the issue author to get back to a maintainer with findings, more details, etc...

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0