1
0
mirror of synced 2026-01-07 00:05:48 -05:00
Files
airbyte/airbyte-server
Benoit Moriceau 0b97ce3d6c Extract split the server into 2 modules (#21736)
* tmp

* For diff

* Extract common server

* Format

* Better way to get resources

* Extract the old mapper

* Move test as well

* Format
2023-01-24 07:51:20 -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.