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

Rename defaultNamespace to prefix and make it optional #2350

Merged
merged 3 commits into from
Mar 8, 2021

Conversation

ChristopheDuong
Copy link
Contributor

What

Describe what the change is solving
Closes #2335

How

Describe the solution
Rename defaultNamespace to prefix

Copy link
Contributor

@cgardens cgardens left a comment

Choose a reason for hiding this comment

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

The API interface configuration is still marking the prefix field as required. That's not what we want, right? After that is fixed, it looks good. It looks like you're changing stuff on the FE too. Probably means @jamakase doesn't need to do anything (other than review this PR)

airbyte-api/src/main/openapi/config.yaml Outdated Show resolved Hide resolved
airbyte-api/src/main/openapi/config.yaml Outdated Show resolved Hide resolved
airbyte-api/src/main/openapi/config.yaml Outdated Show resolved Hide resolved
airbyte-api/src/main/openapi/config.yaml Outdated Show resolved Hide resolved
airbyte-api/src/main/openapi/config.yaml Outdated Show resolved Hide resolved
airbyte-api/src/main/openapi/config.yaml Outdated Show resolved Hide resolved
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.

% charles comments

// TODO chris: use defaultNamespace as a namespace/schema/dataset in destination
return defaultNamespace + streamName;
private static String transformStreamName(final String streamName, final String prefix) {
if (prefix != null && !prefix.isEmpty()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Strings.isEmpty or smthing like that does the same

@ChristopheDuong ChristopheDuong merged commit e3cbb4e into master Mar 8, 2021
@ChristopheDuong ChristopheDuong deleted the chris/rename-prefix branch March 8, 2021 19:08
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.

Rename defaultNamespace => prefix
3 participants