Closed aliok closed 8 months ago
/assign
In documentation; https://backstage.io/docs/features/software-catalog/software-catalog-api/#get-entitiesby-query The limit number of entities returned per page is 20(by default).
We will use that default number and not provide any limit per page/batch.
/close
Fixed by #43
@aliok: Closing this issue.
During https://github.com/knative-extensions/backstage-plugins/pull/24, I've added code to fetch the consumers of an eventType. This fetch operation is done using the Backstage catalog api.
Currently, the code doesn't take care of the pagination if there are more than 1 page of components that are matched by the query criteria.
See https://github.com/knative-extensions/backstage-plugins/blob/408beed6455b648286e4873647a859fd150cdd94/backstage/plugins/knative-event-mesh-backend/src/providers/knativeEventMeshProcessor.ts#L102-L111
Tasks: