-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into keu/source-stripe/c…
…all_rate
- Loading branch information
Showing
389 changed files
with
8,565 additions
and
6,413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Connector Ops CI - Experimental Airbyte CI Release | ||
|
||
# Note this is a workflow simply to test out if github can build using macos | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu-latest", "macos-latest"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.10 | ||
|
||
- run: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - | ||
|
||
- run: cd airbyte-ci/pipelines/airbyte_ci | ||
- run: poetry install --with dev | ||
- run: poetry run pyinstaller --collect-all pipelines --collect-all beartype --collect-all dagger --hidden-import strawberry --name airbyte-ci-${{ matrix.os }} --onefile pipelines/cli/airbyte_ci.py | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: dist/* |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
...te-cdk/airbyte-commons/src/main/java/io/airbyte/commons/features/FeatureFlagsWrapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
/* | ||
* Copyright (c) 2023 Airbyte, Inc., all rights reserved. | ||
*/ | ||
|
||
package io.airbyte.commons.features; | ||
|
||
public class FeatureFlagsWrapper implements FeatureFlags { | ||
|
||
/** | ||
* Overrides the {@link FeatureFlags#useStreamCapableState} method in the feature flags. | ||
*/ | ||
static public FeatureFlags overridingUseStreamCapableState( | ||
final FeatureFlags wrapped, | ||
final boolean useStreamCapableState) { | ||
return new FeatureFlagsWrapper(wrapped) { | ||
|
||
@Override | ||
public boolean useStreamCapableState() { | ||
return useStreamCapableState; | ||
} | ||
|
||
}; | ||
} | ||
|
||
/** | ||
* Overrides the {@link FeatureFlags#deploymentMode} method in the feature flags. | ||
*/ | ||
static public FeatureFlags overridingDeploymentMode( | ||
final FeatureFlags wrapped, | ||
final String deploymentMode) { | ||
return new FeatureFlagsWrapper(wrapped) { | ||
|
||
@Override | ||
public String deploymentMode() { | ||
return deploymentMode; | ||
} | ||
|
||
}; | ||
} | ||
|
||
private final FeatureFlags wrapped; | ||
|
||
public FeatureFlagsWrapper(FeatureFlags wrapped) { | ||
this.wrapped = wrapped; | ||
} | ||
|
||
@Override | ||
public boolean useStreamCapableState() { | ||
return wrapped.useStreamCapableState(); | ||
} | ||
|
||
@Override | ||
public boolean autoDetectSchema() { | ||
return wrapped.autoDetectSchema(); | ||
} | ||
|
||
@Override | ||
public boolean logConnectorMessages() { | ||
return wrapped.logConnectorMessages(); | ||
} | ||
|
||
@Override | ||
public boolean concurrentSourceStreamRead() { | ||
return wrapped.concurrentSourceStreamRead(); | ||
} | ||
|
||
@Override | ||
public boolean applyFieldSelection() { | ||
return wrapped.applyFieldSelection(); | ||
} | ||
|
||
@Override | ||
public String fieldSelectionWorkspaces() { | ||
return wrapped.fieldSelectionWorkspaces(); | ||
} | ||
|
||
@Override | ||
public String strictComparisonNormalizationWorkspaces() { | ||
return wrapped.strictComparisonNormalizationWorkspaces(); | ||
} | ||
|
||
@Override | ||
public String strictComparisonNormalizationTag() { | ||
return wrapped.strictComparisonNormalizationTag(); | ||
} | ||
|
||
@Override | ||
public String deploymentMode() { | ||
return wrapped.deploymentMode(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
airbyte-cdk/java/airbyte-cdk/core/src/main/resources/version.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version=0.4.5 | ||
version=0.4.9 |
Oops, something went wrong.