Skip to content

Commit

Permalink
Merge branch 'master' into grubberr/issue-12173-issue-12266-source-gi…
Browse files Browse the repository at this point in the history
…thub
  • Loading branch information
grubberr committed May 13, 2022
2 parents 3a737be + 0bb3e3b commit df0bf55
Show file tree
Hide file tree
Showing 493 changed files with 9,173 additions and 3,432 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.37.0-alpha
current_version = 0.38.3-alpha
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-[a-z]+)?
Expand Down
2 changes: 1 addition & 1 deletion .env
Expand Up @@ -10,7 +10,7 @@


### SHARED ###
VERSION=0.37.0-alpha
VERSION=0.38.3-alpha

# When using the airbyte-db via default docker image
CONFIG_ROOT=/data
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/start-aws-runner/action.yml
Expand Up @@ -9,7 +9,7 @@ inputs:
required: true
ec2-image-id:
# github-self-hosted-runner-ubuntu-20-100g-disk-with-cypress-deps
default: "ami-08927c058921b27f4"
default: "ami-0f23be2f917510c26"
required: true
ec2-instance-type:
default: "c5.2xlarge"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gradle.yml
Expand Up @@ -57,6 +57,7 @@ jobs:
- 'octavia-cli/**'
connectors:
- 'airbyte-cdk/**'
- 'airbyte-protocol/**'
- 'airbyte-integrations/**'
db:
- 'airbyte-db/**'
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
@@ -1,6 +1,5 @@
.gradle
.idea
.vscode
*.iml
*.swp
build
Expand All @@ -13,7 +12,6 @@ data
.settings
**/gmon.out
static_checker_reports/
.vscode

# Logs
acceptance_tests_logs/
Expand Down
54 changes: 54 additions & 0 deletions .vscode/frontend.code-workspace
@@ -0,0 +1,54 @@
{
"folders": [
{
"path": "../airbyte-webapp"
},
{
"path": "../airbyte-webapp-e2e-tests"
}
],
"extensions": {
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"ms-vsliveshare.vsliveshare",
"eamodio.gitlens"
]
},
"settings": {
"javascript.preferences.quoteStyle": "double",
"typescript.preferences.quoteStyle": "double",
"javascript.preferences.importModuleSpecifier": "shortest",
"typescript.preferences.importModuleSpecifier": "shortest",
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"editor.detectIndentation": true,
"eslint.format.enable": true,
"eslint.run": "onType",
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"[typescriptreact]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"[json]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
}
36 changes: 36 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,36 @@
{
"javascript.preferences.quoteStyle": "double",
"typescript.preferences.quoteStyle": "double",
"javascript.preferences.importModuleSpecifier": "shortest",
"typescript.preferences.importModuleSpecifier": "shortest",
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"editor.detectIndentation": true,
"eslint.format.enable": true,
"eslint.run": "onType",
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"[typescriptreact]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"[json]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
1 change: 1 addition & 0 deletions airbyte-api/src/main/openapi/config.yaml
Expand Up @@ -3862,6 +3862,7 @@ components:
- persistence
- normalization
- dbt
- airbyte_platform
AttemptFailureType:
description: Categorizes well known errors into types for programmatic handling. If not set, the type of error is not well known.
type: string
Expand Down
5 changes: 3 additions & 2 deletions airbyte-bootloader/Dockerfile
@@ -1,7 +1,8 @@
ARG JDK_VERSION=17.0.1
FROM openjdk:${JDK_VERSION}-slim
ARG JDK_IMAGE=openjdk:${JDK_VERSION}-slim
FROM ${JDK_IMAGE}

ARG VERSION=0.37.0-alpha
ARG VERSION=0.38.3-alpha

ENV APPLICATION airbyte-bootloader
ENV VERSION ${VERSION}
Expand Down
4 changes: 2 additions & 2 deletions airbyte-bootloader/build.gradle
Expand Up @@ -14,9 +14,9 @@ dependencies {
implementation project(':airbyte-scheduler:persistence')

implementation 'io.temporal:temporal-sdk:1.8.1'
implementation "org.flywaydb:flyway-core:7.14.0"
implementation libs.flyway.core

testImplementation "org.testcontainers:postgresql:1.15.3"
testImplementation libs.testcontainers.postgresql
testImplementation 'uk.org.webcompere:system-stubs-jupiter:1.2.0'
}

Expand Down

1 comment on commit df0bf55

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

SonarQube Report

SonarQube report for Airbyte Connectors Source Github(#12294)

Measures

Name Value Name Value Name Value
Bugs 0 Reliability Rating A Quality Gate Status ERROR
Lines to Cover 47 Coverage 95.7 Duplicated Blocks 10
Vulnerabilities 0 Security Rating A Duplicated Lines (%) 21.3
Code Smells 4 Lines of Code 990 Blocker Issues 0
Critical Issues 2 Major Issues 2 Minor Issues 0

Detected Issues

Rule File Description Message
python:S3776 (CRITICAL) source_github/streams.py:91 Cognitive Complexity of functions should not be too high Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
python:S5886 (MAJOR) source_github/streams.py:84 Function return types should be consistent with their type hint Return a value of type "Union[int, float]" instead of "NoneType" or update function "backoff_time" type hint.
python:S5797 (CRITICAL) fixtures/github.py:79 Constants should not be used as conditions Replace this expression; used as a condition it will always be constant.
python:S112 (MAJOR) source_github/source.py:77 "Exception" and "BaseException" should not be raised Replace this generic exception class with a more specific one.

Coverage (95.7%)

File Coverage File Coverage
fixtures/github.py 0.0 fixtures/main.py 0.0
source_github/init.py 100.0 source_github/source.py 70.7
source_github/streams.py 95.0

Please sign in to comment.