Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paging does not work for virtual assets in IGC 11.5 #258

Closed
cmgrote opened this issue Feb 28, 2020 · 0 comments
Closed

Paging does not work for virtual assets in IGC 11.5 #258

cmgrote opened this issue Feb 28, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@cmgrote
Copy link
Member

cmgrote commented Feb 28, 2020

There appears to be a bug in IGC v11.5 that means its paging URLs for properties within virtual assets are not fully constructed. Instead of something like the following for the next paging property:

{
  "paging": {
    "numTotal":8,
    "next":"https://infosvr:9446/ibm/iis/igc-rest/v1/assets/extern:fr:7599ac3c8e0d4869b032d151e8ffc86d/database_columns?begin=5&pageSize=5",
    "pageSize":5,
    "end":4,
    "begin":0
  },
  "items": [...]
}

in v11.5 there is only the following (only on virtual assets):

{
  "paging": {
    "numTotal":8,
    "next":"extern:fr:7599ac3c8e0d4869b032d151e8ffc86d",
    "pageSize":5,
    "end":4,
    "begin":0
  },
  "items": [...]
}

This prevents all of the detailed related virtual assets from being retrievable by navigating the paging properties alone -- instead, additional context must be passed around to be able to properly navigate the pages.

@cmgrote cmgrote added the bug Something isn't working label Feb 28, 2020
@cmgrote cmgrote self-assigned this Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant