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

Update license headers #15

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/prs_and_commits.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
#
# Copyright 2024 Copyright 2022 Aiven Oy and
# bigquery-connector-for-apache-kafka project contributors
#
# This software contains code derived from the Confluent BigQuery
# Kafka Connector, Copyright Confluent, Inc, which in turn
# contains code derived from the WePay BigQuery Kafka Connector,
# Copyright WePay, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

# Workflow to check pull requests and new commits to main branches
# This checks the source in the state as if after the merge.
name: Pull request checks
Expand Down Expand Up @@ -26,6 +49,15 @@ jobs:
distribution: 'adopt'
java-version: 8
cache: maven
- name: License header check
run: |
mvn license:remove license:format
if [[ -n $(git status -s) ]]; then
echo 1>&2 'Some files do not have the correct license header:'
git diff --name-only 1>&2
echo 1>&2 'Please update the license headers for these files by running `mvn license:remove license:format`'
exit 1
fi
- name: Build (Maven)
run: mvn -P ci --batch-mode clean package -DskipTests
- name: Unit tests (Maven)
Expand Down
10 changes: 7 additions & 3 deletions config/checkstyle/suppressions.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
<?xml version="1.0"?>
<!--

Copyright 2020 Confluent, Inc.
Copyright 2024 Copyright 2022 Aiven Oy and
bigquery-connector-for-apache-kafka project contributors

This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
This software contains code derived from the Confluent BigQuery
Kafka Connector, Copyright Confluent, Inc, which in turn
contains code derived from the WePay BigQuery Kafka Connector,
Copyright WePay, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
Expand Down
10 changes: 7 additions & 3 deletions config/copyright/custom-header-styles.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--

Copyright 2020 Confluent, Inc.
Copyright 2024 Copyright 2022 Aiven Oy and
bigquery-connector-for-apache-kafka project contributors

This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
This software contains code derived from the Confluent BigQuery
Kafka Connector, Copyright Confluent, Inc, which in turn
contains code derived from the WePay BigQuery Kafka Connector,
Copyright WePay, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
Expand Down
10 changes: 7 additions & 3 deletions kcbq-api/pom.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright 2020 Confluent, Inc.
Copyright 2024 Copyright 2022 Aiven Oy and
bigquery-connector-for-apache-kafka project contributors

This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
This software contains code derived from the Confluent BigQuery
Kafka Connector, Copyright Confluent, Inc, which in turn
contains code derived from the WePay BigQuery Kafka Connector,
Copyright WePay, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
/*
* Copyright 2020 Confluent, Inc.
* Copyright 2024 Copyright 2022 Aiven Oy and
* bigquery-connector-for-apache-kafka project contributors
*
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
* This software contains code derived from the Confluent BigQuery
* Kafka Connector, Copyright Confluent, Inc, which in turn
* contains code derived from the WePay BigQuery Kafka Connector,
* Copyright WePay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
/*
* Copyright 2020 Confluent, Inc.
* Copyright 2024 Copyright 2022 Aiven Oy and
* bigquery-connector-for-apache-kafka project contributors
*
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
* This software contains code derived from the Confluent BigQuery
* Kafka Connector, Copyright Confluent, Inc, which in turn
* contains code derived from the WePay BigQuery Kafka Connector,
* Copyright WePay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
Expand Down
10 changes: 7 additions & 3 deletions kcbq-connector/pom.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright 2020 Confluent, Inc.
Copyright 2024 Copyright 2022 Aiven Oy and
bigquery-connector-for-apache-kafka project contributors

This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
This software contains code derived from the Confluent BigQuery
Kafka Connector, Copyright Confluent, Inc, which in turn
contains code derived from the WePay BigQuery Kafka Connector,
Copyright WePay, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
/*
* Copyright 2020 Confluent, Inc.
* Copyright 2024 Copyright 2022 Aiven Oy and
* bigquery-connector-for-apache-kafka project contributors
*
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
* This software contains code derived from the Confluent BigQuery
* Kafka Connector, Copyright Confluent, Inc, which in turn
* contains code derived from the WePay BigQuery Kafka Connector,
* Copyright WePay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
/*
* Copyright 2020 Confluent, Inc.
* Copyright 2024 Copyright 2022 Aiven Oy and
* bigquery-connector-for-apache-kafka project contributors
*
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
* This software contains code derived from the Confluent BigQuery
* Kafka Connector, Copyright Confluent, Inc, which in turn
* contains code derived from the WePay BigQuery Kafka Connector,
* Copyright WePay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
/*
* Copyright 2024 Copyright 2022 Aiven Oy and
* bigquery-connector-for-apache-kafka project contributors
*
* This software contains code derived from the Confluent BigQuery
* Kafka Connector, Copyright Confluent, Inc, which in turn
* contains code derived from the WePay BigQuery Kafka Connector,
* Copyright WePay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

package com.wepay.kafka.connect.bigquery;

import com.google.cloud.bigquery.BigQueryError;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
/*
* Copyright 2020 Confluent, Inc.
* Copyright 2024 Copyright 2022 Aiven Oy and
* bigquery-connector-for-apache-kafka project contributors
*
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
* This software contains code derived from the Confluent BigQuery
* Kafka Connector, Copyright Confluent, Inc, which in turn
* contains code derived from the WePay BigQuery Kafka Connector,
* Copyright WePay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
/*
* Copyright 2020 Confluent, Inc.
* Copyright 2024 Copyright 2022 Aiven Oy and
* bigquery-connector-for-apache-kafka project contributors
*
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
* This software contains code derived from the Confluent BigQuery
* Kafka Connector, Copyright Confluent, Inc, which in turn
* contains code derived from the WePay BigQuery Kafka Connector,
* Copyright WePay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
/*
* Copyright 2020 Confluent, Inc.
* Copyright 2024 Copyright 2022 Aiven Oy and
* bigquery-connector-for-apache-kafka project contributors
*
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
* This software contains code derived from the Confluent BigQuery
* Kafka Connector, Copyright Confluent, Inc, which in turn
* contains code derived from the WePay BigQuery Kafka Connector,
* Copyright WePay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
/*
* Copyright 2020 Confluent, Inc.
* Copyright 2024 Copyright 2022 Aiven Oy and
* bigquery-connector-for-apache-kafka project contributors
*
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
* This software contains code derived from the Confluent BigQuery
* Kafka Connector, Copyright Confluent, Inc, which in turn
* contains code derived from the WePay BigQuery Kafka Connector,
* Copyright WePay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
/*
* Copyright 2020 Confluent, Inc.
* Copyright 2024 Copyright 2022 Aiven Oy and
* bigquery-connector-for-apache-kafka project contributors
*
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
* This software contains code derived from the Confluent BigQuery
* Kafka Connector, Copyright Confluent, Inc, which in turn
* contains code derived from the WePay BigQuery Kafka Connector,
* Copyright WePay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
/*
* Copyright 2020 Confluent, Inc.
* Copyright 2024 Copyright 2022 Aiven Oy and
* bigquery-connector-for-apache-kafka project contributors
*
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
* This software contains code derived from the Confluent BigQuery
* Kafka Connector, Copyright Confluent, Inc, which in turn
* contains code derived from the WePay BigQuery Kafka Connector,
* Copyright WePay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
/*
* Copyright 2020 Confluent, Inc.
* Copyright 2024 Copyright 2022 Aiven Oy and
* bigquery-connector-for-apache-kafka project contributors
*
* This software contains code derived from the WePay BigQuery Kafka Connector, Copyright WePay, Inc.
* This software contains code derived from the Confluent BigQuery
* Kafka Connector, Copyright Confluent, Inc, which in turn
* contains code derived from the WePay BigQuery Kafka Connector,
* Copyright WePay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
Expand Down
Loading
Loading