1
0
mirror of synced 2026-02-03 10:02:09 -05:00
Files
airbyte/airbyte-server
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>
2023-01-03 13:54:44 -08:00
..
2021-02-19 14:56:13 -08:00
2022-03-13 14:45:36 -07:00

airbyte-server

This module contains the actual app that runs the Airbyte Configuration API. The main method can be found in ServerApp.java.

The external API interface that it implements is declared in airbyte-api. The class that actually implements that interface is called ConfigurationApi. You will notice that class is very large, because generates a method for every endpoint. To keep it manageable, that class just delegates all requests to more tightly-scoped, resource-based handlers. For example, the workspace/get endpoint is present in ConfigurationApi, but all it does it delegate the call to the WorkspaceHandler which contains all Workspace-specific logic. Unit tests for the server happen at the Handler-level, not for the ConfigurationApi.