Skip to content

Commit 4cb9368

Browse files
authored
Merge branch 'main' into cyberhippo/external-db-ssl
2 parents 800a3b7 + f89852b commit 4cb9368

File tree

2,385 files changed

+160558
-75407
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,385 files changed

+160558
-75407
lines changed

.bumpversion.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ replace = appVersion: {new_version}
3333
search = appVersion: dev
3434
replace = appVersion: {new_version}
3535

36-
[bumpversion:file:charts/airbyte-pod-sweeper/Chart.yaml]
37-
search = appVersion: dev
38-
replace = appVersion: {new_version}
39-
4036
[bumpversion:file:charts/airbyte-server/Chart.yaml]
4137
search = appVersion: dev
4238
replace = appVersion: {new_version}

.github/workflows/fe-validate-links.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
name: Airbyte Platform OSS Developer Build
55

66
env:
7-
S3_BUILD_CACHE_ACCESS_KEY_ID: ${{ secrets.SELF_RUNNER_AWS_ACCESS_KEY_ID }}
8-
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.SELF_RUNNER_AWS_SECRET_ACCESS_KEY }}
7+
S3_BUILD_CACHE_ACCESS_KEY_ID: ${{ secrets.PLATFORM_BUILD_CACHE_ACCESS_KEY_ID }}
8+
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.PLATFORM_BUILD_CACHE_SECRET_KEY }}
99

1010
on:
1111
#ability to start task manually in Web UI

.github/workflows/slash-commands.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/terminate-zombie-build-instances.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
steps:
1616
- name: List and Terminate Instances Older Than 4 Hours
1717
env:
18-
AWS_ACCESS_KEY_ID: ${{ secrets.SELF_RUNNER_AWS_ACCESS_KEY_ID }}
19-
AWS_SECRET_ACCESS_KEY: ${{ secrets.SELF_RUNNER_AWS_SECRET_ACCESS_KEY }}
18+
AWS_ACCESS_KEY_ID: ${{ secrets.PLATFORM_BUILD_CACHE_ACCESS_KEY_ID }}
19+
AWS_SECRET_ACCESS_KEY: ${{ secrets.PLATFORM_BUILD_CACHE_SECRET_KEY }}
2020
# See https://github.com/aws/aws-cli/issues/5623
2121
AWS_EC2_METADATA_DISABLED: true
2222
run: |

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ acceptance_tests_logs/
2222
# Secrets
2323
secrets
2424
!airbyte-config/config-secrets/src/main/kotlin/secrets
25+
!airbyte-config/config-secrets/src/test/kotlin/secrets
26+
!airbyte-config/config-models/src/main/kotlin/io/airbyte/config/secrets
27+
!airbyte-config/config-models/src/test/kotlin/io/airbyte/config/secrets
28+
!airbyte-domain/services/src/main/kotlin/io/airbyte/domain/services/secrets
29+
!airbyte-domain/services/src/test/kotlin/io/airbyte/domain/services/secrets
2530
updated_configurations
2631
!airbyte-integrations/connector-templates/**/secrets
2732

airbyte-analytics/src/test/kotlin/io/airbyte/analytics/TrackingIdentityFetcherTest.kt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
package io.airbyte.analytics
66

77
import io.airbyte.api.client.generated.WorkspaceApi
8-
import io.airbyte.api.client.model.generated.Geography
98
import io.airbyte.api.client.model.generated.WorkspaceIdRequestBody
109
import io.airbyte.api.client.model.generated.WorkspaceRead
10+
import io.airbyte.commons.constants.GEOGRAPHY_AUTO
1111
import io.airbyte.config.Organization
1212
import io.airbyte.config.ScopeType
1313
import io.airbyte.data.services.OrganizationService
@@ -141,8 +141,7 @@ class TrackingIdentityFetcherTest {
141141
anonymousDataCollection = false,
142142
news = true,
143143
securityUpdates = true,
144-
defaultGeography =
145-
Geography.AUTO,
144+
defaultGeography = GEOGRAPHY_AUTO,
146145
name = "",
147146
slug = "",
148147
initialSetupComplete = true,
@@ -176,8 +175,7 @@ class TrackingIdentityFetcherTest {
176175
anonymousDataCollection = true,
177176
news = true,
178177
securityUpdates = true,
179-
defaultGeography =
180-
Geography.AUTO,
178+
defaultGeography = GEOGRAPHY_AUTO,
181179
name = "",
182180
slug = "",
183181
initialSetupComplete = true,

airbyte-api/commons/src/main/kotlin/io/airbyte/api/client/auth/AirbyteApiInterceptor.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ package io.airbyte.api.client.auth
77
import okhttp3.Interceptor
88

99
/**
10-
* Custom interface that extends the OkHttp3 {@link Interceptor} interface
11-
* for dependency injection purposes. This allows for DI configuration to
12-
* differentiate between interceptors that should be used by the different
13-
* API clients (Airbyte API, Workload API, etc.).
10+
* Custom interface that extends the OkHttp3 {@link Interceptor} interface for dependency injection purposes.
11+
*
12+
* This allows for DI configuration to differentiate between interceptors that should be used by the different API clients
13+
* (Airbyte API, Workload API, etc.).
1414
*/
1515
interface AirbyteApiInterceptor : Interceptor

airbyte-api/commons/src/main/kotlin/io/airbyte/api/client/config/ClientConfigurationSupport.kt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,15 @@ private val logger = KotlinLogging.logger {}
1818

1919
private val UUID_REGEX = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}".toRegex()
2020

21-
fun getUrlTags(httpUrl: HttpUrl?): Array<MetricAttribute> {
22-
return httpUrl?.let {
21+
fun getUrlTags(httpUrl: HttpUrl?): Array<MetricAttribute> =
22+
httpUrl?.let {
2323
val last = it.pathSegments.last()
2424
if (last.contains(UUID_REGEX)) {
25-
return arrayOf(MetricAttribute("url", it.toString().removeSuffix(last)), MetricAttribute("workload-id", last))
25+
arrayOf(MetricAttribute("url", it.toString().removeSuffix(last)), MetricAttribute("workload-id", last))
2626
} else {
27-
return arrayOf(MetricAttribute("url", it.toString()))
27+
arrayOf(MetricAttribute("url", it.toString()))
2828
}
2929
} ?: emptyArray()
30-
}
3130

3231
const val UNKNOWN = "unknown"
3332

0 commit comments

Comments
 (0)