1
0
mirror of synced 2026-01-05 21:02:13 -05:00
Files
airbyte/airbyte-config/config-persistence
Jimmy Ma 8683bc873c Check protocol version compatibility during a platform update (#19200)
* Refactoring to improve code re-use

* Add ProtocolVersionChecker

* Add an option to configure if we are automatically upgrading connectors

* Add airbyte version check to pass the fresh install case

* Inject DefinitionsProvider in the BootloaderApp

* Remove AutoUpgradeConnector config

* Improve logging

* Use named argument rather than positional

* Make DefinitionsProvider optional

* Format
2022-11-14 10:16:17 -08:00
..

airbyte-config:config-persistence

This module contains the logic for accessing the config database. This database is primarily used by the airbyte-server but is also accessed from airbyte-workers. It contains all configuration information for Airbyte.

Key files

  • ConfigPersistence.java is the interface over "low-level" access to the db. The most commonly used implementation of it is DatabaseConfigPersistence.java.
  • ConfigRepository.java is what is most used for accessing the databases. The ConfigPersistence iface was hard to work with. ConfigRepository builds on top of it and houses any databases queries to keep them from proliferating throughout the codebase.