1
0
mirror of synced 2026-01-07 00:05:48 -05:00
Files
airbyte/airbyte-config/specs
Pedro S. Lopez bf43f6264d feat: generate full connector catalog json (#18562)
* move combo catalog generator from cloud to oss, trigger on processResources

* generate catalog

* regenerate catalog

* add test

* add explicit gradle task for generating combo catalog

* run format

* ignore generated file from the formatter

* update generated catalog

* ignore oss catalog

* fix ignore path
2022-11-02 20:16:30 -04:00
..

Generating Seed Connector Specs

The catalog of seeded connector definitions is stored and manually updated in the airbyte-config/init/src/main/resources/seed/*_definitions.yaml files. These manually-maintained connector definitions intentionally do not contain the connector specs, in an effort to keep these files human-readable and easily-editable, and because specs can be automatically fetched.

This automatic fetching of connector specs is the goal of the SeedConnectorSpecGenerator. This class reads the connector definitions in the airbyte-config/init/src/main/resources/seed/*_definitions.yaml files, fetches the corresponding specs from the GCS bucket cache, and writes the specs to the airbyte-config/init/src/main/resources/seed/*_specs.yaml files. See the SeedConnectorSpecGenerator class for more details.

Therefore, whenever a connector definition is updated in the airbyte-config/init/src/main/resources/seed/*_definitions.yaml files, the SeedConnectorSpecGenerator should be re-ran to generate the updated connector specs files. To do so, run ./gradlew :airbyte-config:init:processResources, or just build the platform project, and commit the changes to your PR. If you do not do this, the build in the CI will fail because there will be a diff in the generated files as you have not checked in the changes that were applied by the generator.