You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: store contribution info on project update (#13832)
## What
<!--
* Describe what the change is solving.
* It helps to add screenshots if it affects the frontend.
-->
We added 2 columns related to contribution info to `connector_builder_project` in https://github.com/airbytehq/airbyte-platform-internal/pull/13597. This PR adds the persistence layers such that when we call `writeConnectorBuilderProject` to create/update a connector builder project, or `getConnectorBuilderProject` to get a project, these fields are stored and returned.
## Can this PR be safely reverted and rolled back?
<!--
* If you know that your be safely rolled back, check YES.*
* If that is not the case (e.g. a database migration), check NO.
* If unsure, leave it blank.*
-->
- [X] YES 💚
- [ ] NO ❌
Copy file name to clipboardExpand all lines: airbyte-commons-server/src/main/java/io/airbyte/commons/server/handlers/ConnectorBuilderProjectsHandler.java
+8-1
Original file line number
Diff line number
Diff line change
@@ -177,7 +177,8 @@ public ConnectorBuilderProjectIdWithWorkspaceId createConnectorBuilderProject(fi
Copy file name to clipboardExpand all lines: airbyte-commons-server/src/main/java/io/airbyte/commons/server/handlers/helpers/ConfigRepositoryBuilderProjectUpdater.java
+5-1
Original file line number
Diff line number
Diff line change
@@ -31,13 +31,17 @@ public void persistBuilderProjectUpdate(final ExistingConnectorBuilderProjectWit
Copy file name to clipboardExpand all lines: airbyte-commons-server/src/test/java/io/airbyte/commons/server/handlers/ConnectorBuilderProjectsHandlerTest.java
Copy file name to clipboardExpand all lines: airbyte-commons-server/src/test/java/io/airbyte/commons/server/handlers/helpers/ConfigRepositoryBuilderProjectUpdaterTest.java
+14-5
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,8 @@ class ConfigRepositoryBuilderProjectUpdaterTest {
37
37
privatestaticfinalStringA_SOURCE_NAME = "a source name";
Copy file name to clipboardExpand all lines: airbyte-config/config-persistence/src/test/java/io/airbyte/config/persistence/ConnectorBuilderProjectPersistenceTest.java
0 commit comments