Skip to content

Commit 5fe27f5

Browse files
authored
Merge pull request #15 from Aiven-Open/storage-write-api-cleanup-license-headers
Update license headers
2 parents 5d2b50f + 54c1208 commit 5fe27f5

File tree

122 files changed

+1478
-255
lines changed

Some content is hidden

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

122 files changed

+1478
-255
lines changed

.github/workflows/prs_and_commits.yml

+32
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
#
2+
# Copyright 2024 Copyright 2022 Aiven Oy and
3+
# bigquery-connector-for-apache-kafka project contributors
4+
#
5+
# This software contains code derived from the Confluent BigQuery
6+
# Kafka Connector, Copyright Confluent, Inc, which in turn
7+
# contains code derived from the WePay BigQuery Kafka Connector,
8+
# Copyright WePay, Inc.
9+
#
10+
# Licensed under the Apache License, Version 2.0 (the "License");
11+
# you may not use this file except in compliance with the License.
12+
# You may obtain a copy of the License at
13+
#
14+
# http://www.apache.org/licenses/LICENSE-2.0
15+
#
16+
# Unless required by applicable law or agreed to in writing,
17+
# software distributed under the License is distributed on an
18+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19+
# KIND, either express or implied. See the License for the
20+
# specific language governing permissions and limitations
21+
# under the License.
22+
#
23+
124
# Workflow to check pull requests and new commits to main branches
225
# This checks the source in the state as if after the merge.
326
name: Pull request checks
@@ -26,6 +49,15 @@ jobs:
2649
distribution: 'adopt'
2750
java-version: 8
2851
cache: maven
52+
- name: License header check
53+
run: |
54+
mvn license:remove license:format
55+
if [[ -n $(git status -s) ]]; then
56+
echo 1>&2 'Some files do not have the correct license header:'
57+
git diff --name-only 1>&2
58+
echo 1>&2 'Please update the license headers for these files by running `mvn license:remove license:format`'
59+
exit 1
60+
fi
2961
- name: Build (Maven)
3062
run: mvn -P ci --batch-mode clean package -DskipTests
3163
- name: Unit tests (Maven)

config/checkstyle/suppressions.xml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
<?xml version="1.0"?>
22
<!--
33
4-
Copyright 2020 Confluent, Inc.
4+
Copyright 2024 Copyright 2022 Aiven Oy and
5+
bigquery-connector-for-apache-kafka project contributors
56
6-
This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
7+
This software contains code derived from the Confluent BigQuery
8+
Kafka Connector, Copyright Confluent, Inc, which in turn
9+
contains code derived from the WePay BigQuery Kafka Connector,
10+
Copyright WePay, Inc.
711
812
Licensed under the Apache License, Version 2.0 (the "License");
913
you may not use this file except in compliance with the License.
1014
You may obtain a copy of the License at
1115
12-
http://www.apache.org/licenses/LICENSE-2.0
16+
http://www.apache.org/licenses/LICENSE-2.0
1317
1418
Unless required by applicable law or agreed to in writing,
1519
software distributed under the License is distributed on an

config/copyright/custom-header-styles.xml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
<?xml version="1.0" encoding="ISO-8859-1"?>
22
<!--
33
4-
Copyright 2020 Confluent, Inc.
4+
Copyright 2024 Copyright 2022 Aiven Oy and
5+
bigquery-connector-for-apache-kafka project contributors
56
6-
This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
7+
This software contains code derived from the Confluent BigQuery
8+
Kafka Connector, Copyright Confluent, Inc, which in turn
9+
contains code derived from the WePay BigQuery Kafka Connector,
10+
Copyright WePay, Inc.
711
812
Licensed under the Apache License, Version 2.0 (the "License");
913
you may not use this file except in compliance with the License.
1014
You may obtain a copy of the License at
1115
12-
http://www.apache.org/licenses/LICENSE-2.0
16+
http://www.apache.org/licenses/LICENSE-2.0
1317
1418
Unless required by applicable law or agreed to in writing,
1519
software distributed under the License is distributed on an

kcbq-api/pom.xml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2020 Confluent, Inc.
4+
Copyright 2024 Copyright 2022 Aiven Oy and
5+
bigquery-connector-for-apache-kafka project contributors
56
6-
This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
7+
This software contains code derived from the Confluent BigQuery
8+
Kafka Connector, Copyright Confluent, Inc, which in turn
9+
contains code derived from the WePay BigQuery Kafka Connector,
10+
Copyright WePay, Inc.
711
812
Licensed under the Apache License, Version 2.0 (the "License");
913
you may not use this file except in compliance with the License.
1014
You may obtain a copy of the License at
1115
12-
http://www.apache.org/licenses/LICENSE-2.0
16+
http://www.apache.org/licenses/LICENSE-2.0
1317
1418
Unless required by applicable law or agreed to in writing,
1519
software distributed under the License is distributed on an

kcbq-api/src/main/java/com/wepay/kafka/connect/bigquery/api/KafkaSchemaRecordType.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
/*
2-
* Copyright 2020 Confluent, Inc.
2+
* Copyright 2024 Copyright 2022 Aiven Oy and
3+
* bigquery-connector-for-apache-kafka project contributors
34
*
4-
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
5+
* This software contains code derived from the Confluent BigQuery
6+
* Kafka Connector, Copyright Confluent, Inc, which in turn
7+
* contains code derived from the WePay BigQuery Kafka Connector,
8+
* Copyright WePay, Inc.
59
*
610
* Licensed under the Apache License, Version 2.0 (the "License");
711
* you may not use this file except in compliance with the License.
812
* You may obtain a copy of the License at
913
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
14+
* http://www.apache.org/licenses/LICENSE-2.0
1115
*
1216
* Unless required by applicable law or agreed to in writing,
1317
* software distributed under the License is distributed on an

kcbq-api/src/main/java/com/wepay/kafka/connect/bigquery/api/SchemaRetriever.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
/*
2-
* Copyright 2020 Confluent, Inc.
2+
* Copyright 2024 Copyright 2022 Aiven Oy and
3+
* bigquery-connector-for-apache-kafka project contributors
34
*
4-
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
5+
* This software contains code derived from the Confluent BigQuery
6+
* Kafka Connector, Copyright Confluent, Inc, which in turn
7+
* contains code derived from the WePay BigQuery Kafka Connector,
8+
* Copyright WePay, Inc.
59
*
610
* Licensed under the Apache License, Version 2.0 (the "License");
711
* you may not use this file except in compliance with the License.
812
* You may obtain a copy of the License at
913
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
14+
* http://www.apache.org/licenses/LICENSE-2.0
1115
*
1216
* Unless required by applicable law or agreed to in writing,
1317
* software distributed under the License is distributed on an

kcbq-connector/pom.xml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2020 Confluent, Inc.
4+
Copyright 2024 Copyright 2022 Aiven Oy and
5+
bigquery-connector-for-apache-kafka project contributors
56
6-
This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
7+
This software contains code derived from the Confluent BigQuery
8+
Kafka Connector, Copyright Confluent, Inc, which in turn
9+
contains code derived from the WePay BigQuery Kafka Connector,
10+
Copyright WePay, Inc.
711
812
Licensed under the Apache License, Version 2.0 (the "License");
913
you may not use this file except in compliance with the License.
1014
You may obtain a copy of the License at
1115
12-
http://www.apache.org/licenses/LICENSE-2.0
16+
http://www.apache.org/licenses/LICENSE-2.0
1317
1418
Unless required by applicable law or agreed to in writing,
1519
software distributed under the License is distributed on an

kcbq-connector/src/main/java/com/wepay/kafka/connect/bigquery/BigQuerySinkConnector.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
/*
2-
* Copyright 2020 Confluent, Inc.
2+
* Copyright 2024 Copyright 2022 Aiven Oy and
3+
* bigquery-connector-for-apache-kafka project contributors
34
*
4-
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
5+
* This software contains code derived from the Confluent BigQuery
6+
* Kafka Connector, Copyright Confluent, Inc, which in turn
7+
* contains code derived from the WePay BigQuery Kafka Connector,
8+
* Copyright WePay, Inc.
59
*
610
* Licensed under the Apache License, Version 2.0 (the "License");
711
* you may not use this file except in compliance with the License.
812
* You may obtain a copy of the License at
913
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
14+
* http://www.apache.org/licenses/LICENSE-2.0
1115
*
1216
* Unless required by applicable law or agreed to in writing,
1317
* software distributed under the License is distributed on an

kcbq-connector/src/main/java/com/wepay/kafka/connect/bigquery/BigQuerySinkTask.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
/*
2-
* Copyright 2020 Confluent, Inc.
2+
* Copyright 2024 Copyright 2022 Aiven Oy and
3+
* bigquery-connector-for-apache-kafka project contributors
34
*
4-
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
5+
* This software contains code derived from the Confluent BigQuery
6+
* Kafka Connector, Copyright Confluent, Inc, which in turn
7+
* contains code derived from the WePay BigQuery Kafka Connector,
8+
* Copyright WePay, Inc.
59
*
610
* Licensed under the Apache License, Version 2.0 (the "License");
711
* you may not use this file except in compliance with the License.
812
* You may obtain a copy of the License at
913
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
14+
* http://www.apache.org/licenses/LICENSE-2.0
1115
*
1216
* Unless required by applicable law or agreed to in writing,
1317
* software distributed under the License is distributed on an

kcbq-connector/src/main/java/com/wepay/kafka/connect/bigquery/ErrantRecordHandler.java

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
/*
2+
* Copyright 2024 Copyright 2022 Aiven Oy and
3+
* bigquery-connector-for-apache-kafka project contributors
4+
*
5+
* This software contains code derived from the Confluent BigQuery
6+
* Kafka Connector, Copyright Confluent, Inc, which in turn
7+
* contains code derived from the WePay BigQuery Kafka Connector,
8+
* Copyright WePay, Inc.
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License");
11+
* you may not use this file except in compliance with the License.
12+
* You may obtain a copy of the License at
13+
*
14+
* http://www.apache.org/licenses/LICENSE-2.0
15+
*
16+
* Unless required by applicable law or agreed to in writing,
17+
* software distributed under the License is distributed on an
18+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19+
* KIND, either express or implied. See the License for the
20+
* specific language governing permissions and limitations
21+
* under the License.
22+
*/
23+
124
package com.wepay.kafka.connect.bigquery;
225

326
import com.google.cloud.bigquery.BigQueryError;

kcbq-connector/src/main/java/com/wepay/kafka/connect/bigquery/GcpClientBuilder.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
/*
2-
* Copyright 2020 Confluent, Inc.
2+
* Copyright 2024 Copyright 2022 Aiven Oy and
3+
* bigquery-connector-for-apache-kafka project contributors
34
*
4-
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
5+
* This software contains code derived from the Confluent BigQuery
6+
* Kafka Connector, Copyright Confluent, Inc, which in turn
7+
* contains code derived from the WePay BigQuery Kafka Connector,
8+
* Copyright WePay, Inc.
59
*
610
* Licensed under the Apache License, Version 2.0 (the "License");
711
* you may not use this file except in compliance with the License.
812
* You may obtain a copy of the License at
913
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
14+
* http://www.apache.org/licenses/LICENSE-2.0
1115
*
1216
* Unless required by applicable law or agreed to in writing,
1317
* software distributed under the License is distributed on an

kcbq-connector/src/main/java/com/wepay/kafka/connect/bigquery/GcsToBqLoadRunnable.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
/*
2-
* Copyright 2020 Confluent, Inc.
2+
* Copyright 2024 Copyright 2022 Aiven Oy and
3+
* bigquery-connector-for-apache-kafka project contributors
34
*
4-
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
5+
* This software contains code derived from the Confluent BigQuery
6+
* Kafka Connector, Copyright Confluent, Inc, which in turn
7+
* contains code derived from the WePay BigQuery Kafka Connector,
8+
* Copyright WePay, Inc.
59
*
610
* Licensed under the Apache License, Version 2.0 (the "License");
711
* you may not use this file except in compliance with the License.
812
* You may obtain a copy of the License at
913
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
14+
* http://www.apache.org/licenses/LICENSE-2.0
1115
*
1216
* Unless required by applicable law or agreed to in writing,
1317
* software distributed under the License is distributed on an

kcbq-connector/src/main/java/com/wepay/kafka/connect/bigquery/MergeQueries.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
/*
2-
* Copyright 2020 Confluent, Inc.
2+
* Copyright 2024 Copyright 2022 Aiven Oy and
3+
* bigquery-connector-for-apache-kafka project contributors
34
*
4-
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
5+
* This software contains code derived from the Confluent BigQuery
6+
* Kafka Connector, Copyright Confluent, Inc, which in turn
7+
* contains code derived from the WePay BigQuery Kafka Connector,
8+
* Copyright WePay, Inc.
59
*
610
* Licensed under the Apache License, Version 2.0 (the "License");
711
* you may not use this file except in compliance with the License.
812
* You may obtain a copy of the License at
913
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
14+
* http://www.apache.org/licenses/LICENSE-2.0
1115
*
1216
* Unless required by applicable law or agreed to in writing,
1317
* software distributed under the License is distributed on an

kcbq-connector/src/main/java/com/wepay/kafka/connect/bigquery/SchemaManager.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
/*
2-
* Copyright 2020 Confluent, Inc.
2+
* Copyright 2024 Copyright 2022 Aiven Oy and
3+
* bigquery-connector-for-apache-kafka project contributors
34
*
4-
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
5+
* This software contains code derived from the Confluent BigQuery
6+
* Kafka Connector, Copyright Confluent, Inc, which in turn
7+
* contains code derived from the WePay BigQuery Kafka Connector,
8+
* Copyright WePay, Inc.
59
*
610
* Licensed under the Apache License, Version 2.0 (the "License");
711
* you may not use this file except in compliance with the License.
812
* You may obtain a copy of the License at
913
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
14+
* http://www.apache.org/licenses/LICENSE-2.0
1115
*
1216
* Unless required by applicable law or agreed to in writing,
1317
* software distributed under the License is distributed on an

kcbq-connector/src/main/java/com/wepay/kafka/connect/bigquery/config/BigQuerySinkConfig.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
/*
2-
* Copyright 2020 Confluent, Inc.
2+
* Copyright 2024 Copyright 2022 Aiven Oy and
3+
* bigquery-connector-for-apache-kafka project contributors
34
*
4-
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
5+
* This software contains code derived from the Confluent BigQuery
6+
* Kafka Connector, Copyright Confluent, Inc, which in turn
7+
* contains code derived from the WePay BigQuery Kafka Connector,
8+
* Copyright WePay, Inc.
59
*
610
* Licensed under the Apache License, Version 2.0 (the "License");
711
* you may not use this file except in compliance with the License.
812
* You may obtain a copy of the License at
913
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
14+
* http://www.apache.org/licenses/LICENSE-2.0
1115
*
1216
* Unless required by applicable law or agreed to in writing,
1317
* software distributed under the License is distributed on an

kcbq-connector/src/main/java/com/wepay/kafka/connect/bigquery/config/BigQuerySinkTaskConfig.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
/*
2-
* Copyright 2020 Confluent, Inc.
2+
* Copyright 2024 Copyright 2022 Aiven Oy and
3+
* bigquery-connector-for-apache-kafka project contributors
34
*
4-
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
5+
* This software contains code derived from the Confluent BigQuery
6+
* Kafka Connector, Copyright Confluent, Inc, which in turn
7+
* contains code derived from the WePay BigQuery Kafka Connector,
8+
* Copyright WePay, Inc.
59
*
610
* Licensed under the Apache License, Version 2.0 (the "License");
711
* you may not use this file except in compliance with the License.
812
* You may obtain a copy of the License at
913
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
14+
* http://www.apache.org/licenses/LICENSE-2.0
1115
*
1216
* Unless required by applicable law or agreed to in writing,
1317
* software distributed under the License is distributed on an

kcbq-connector/src/main/java/com/wepay/kafka/connect/bigquery/config/CredentialsValidator.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
/*
2-
* Copyright 2020 Confluent, Inc.
2+
* Copyright 2024 Copyright 2022 Aiven Oy and
3+
* bigquery-connector-for-apache-kafka project contributors
34
*
4-
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
5+
* This software contains code derived from the Confluent BigQuery
6+
* Kafka Connector, Copyright Confluent, Inc, which in turn
7+
* contains code derived from the WePay BigQuery Kafka Connector,
8+
* Copyright WePay, Inc.
59
*
610
* Licensed under the Apache License, Version 2.0 (the "License");
711
* you may not use this file except in compliance with the License.
812
* You may obtain a copy of the License at
913
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
14+
* http://www.apache.org/licenses/LICENSE-2.0
1115
*
1216
* Unless required by applicable law or agreed to in writing,
1317
* software distributed under the License is distributed on an

0 commit comments

Comments
 (0)