Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove source/destination spec IDs and replace with source/destinationIds in the backend #528

Merged
merged 15 commits into from
Oct 9, 2020

Conversation

sherifnada
Copy link
Contributor

@sherifnada sherifnada commented Oct 9, 2020

What

This PR removes spec IDs as first class citizens from everywhere in the (backend) codebase.

Copy link
Contributor

@michel-tricot michel-tricot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am very confused with the models naming (doesn't seem to match what we discussed in https://airbytehq.slack.com/archives/C019WEENQRM/p1601672342057100).


package io.airbyte.commons.docker;

public class DockerUtil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DockerUtils


final Path path =
Paths.get("../airbyte-server/src/test/resources/json/TestSpecification.json");
class DockerUtilTest {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DockerUtilsTest

- sourceId
- specification
- connectionSpecification
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the naming is confusing here and it introduces a new term connection
what about something like: expectedConfigurations or configurations

@@ -875,16 +875,46 @@ components:
properties:
sourceId:
$ref: "#/components/schemas/SourceId"
SourceCreate:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't that be called SourceDefinitionCreate based on https://airbytehq.slack.com/archives/C019WEENQRM/p1601672342057100

sourceId:
$ref: "#/components/schemas/SourceId"
dockerImageTag:
type: string
SourceRead:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SourceDefinitionRead

dockerRepository:
type: string
dockerImageVersion:
type: string
SourceReadList:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SourceDefinitionList

@sherifnada
Copy link
Contributor Author

sherifnada commented Oct 9, 2020

@michel-tricot gonna do the rename in a future PR. I felt the scope of these changes was already decently large and was going to disturb Artem's flow more than needed. That ok with you?

@sherifnada sherifnada merged commit b39abdf into master Oct 9, 2020
@sherifnada sherifnada deleted the sherif/remove-internal-integrationsjava branch October 9, 2020 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants