ocean
ocean copied to clipboard
[Bug] [Integration] [Bitbucket] Fetch paginated API not working
Ocean Framework Version
v0.26.1
Integration Version
v0.1.53
Steps to reproduce
- Have the Bitbucket Cloud integration installed and configured for a workspace with more than 100 repositories.
- Let the integration fetch data from
https://api.bitbucket.org/2.0/repositories/<workspace>?pagelen=100. - Observe the ingestion result.
What did you expect to see?
The integration should fetch all pages of results using the Bitbucket paginated API and ingest all repositories from the workspace.
What did you see instead?
Only the first page of results is fetched. The exporter does not proceed to the next pages returned in the "next" field of the Bitbucket API response. This leads to partial ingestion and missing repositories.
Are you willing to submit a PR?
- [x] I'm willing to submit a PR!