Jimmy Ma
ff1ebb0e0a
Improve performance of list connection operations (#20264)
* Enable source/destination filtering in /web_backend/connection/list
* Add tests on connection filtering
* Remove redundant DB call
* Make some methods static to avoid sneaky db calls
* Minor refactor
* Small refactoring + add filtering by source for catalog fetch events
* Add comment
* Trim WebBackendConnectionList response payload
* fix build errors
* Remove requests to list_by_workspace and list_latest
* Add sourcedefid and destdefid to source/dest snippets read
* fixed sourceDefinitionId and destinationDefinitionId
* Fix webbackend handler tests
Co-authored-by: Volodymyr Petrov <volodymyr.s.petrov@globallogic.com>
Co-authored-by: KC <krishna@airbyte.io>