From 4df059ed7006aa1802a00c74a823a3b29f74d2e9 Mon Sep 17 00:00:00 2001 From: Jonathan Shook Date: Mon, 7 Mar 2022 22:16:45 -0600 Subject: [PATCH 1/2] add Apache Rat plugin to ensure Apache Public License Version 2 on all source files --- pom.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pom.xml b/pom.xml index d232d4061..3ae108fe3 100644 --- a/pom.xml +++ b/pom.xml @@ -99,7 +99,28 @@ true + + + org.apache.rat + apache-rat-plugin + 0.13 + + + verify + + check + + + + + + **/*.java + + + + + From a726cc548ed719c0bc0d6607f8afa1d6a03a608f Mon Sep 17 00:00:00 2001 From: Jonathan Shook Date: Mon, 7 Mar 2022 22:17:58 -0600 Subject: [PATCH 2/2] Merge APLv2 license headers for JDBC --- .../jdbc/api/JDBCActionDispenser.java | 16 ++++++++++++++++ .../activitytype/jdbc/api/JDBCActivity.java | 16 ++++++++++++++++ .../activitytype/jdbc/impl/JDBCAction.java | 16 ++++++++++++++++ .../activitytype/jdbc/impl/ReadyJDBCOp.java | 16 ++++++++++++++++ 4 files changed, 64 insertions(+) diff --git a/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/api/JDBCActionDispenser.java b/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/api/JDBCActionDispenser.java index fb4d07441..2c151da6a 100644 --- a/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/api/JDBCActionDispenser.java +++ b/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/api/JDBCActionDispenser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2022 nosqlbench + * + * 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 io.nosqlbench.activitytype.jdbc.api; import io.nosqlbench.activitytype.jdbc.impl.JDBCAction; diff --git a/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/api/JDBCActivity.java b/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/api/JDBCActivity.java index 4b6f17dec..09ecb7624 100644 --- a/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/api/JDBCActivity.java +++ b/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/api/JDBCActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2022 nosqlbench + * + * 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 io.nosqlbench.activitytype.jdbc.api; import com.codahale.metrics.Histogram; diff --git a/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/impl/JDBCAction.java b/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/impl/JDBCAction.java index 616d0f736..c7b613be2 100644 --- a/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/impl/JDBCAction.java +++ b/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/impl/JDBCAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2022 nosqlbench + * + * 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 io.nosqlbench.activitytype.jdbc.impl; import com.codahale.metrics.Timer; diff --git a/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/impl/ReadyJDBCOp.java b/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/impl/ReadyJDBCOp.java index 01a4d8449..844a2f37d 100644 --- a/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/impl/ReadyJDBCOp.java +++ b/driver-jdbc/src/main/java/io/nosqlbench/activitytype/jdbc/impl/ReadyJDBCOp.java @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2022 nosqlbench + * + * 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 io.nosqlbench.activitytype.jdbc.impl; import io.nosqlbench.engine.api.activityconfig.yaml.OpTemplate;