From 9e6e1758dd3faba1b580f707035623187d8c87c4 Mon Sep 17 00:00:00 2001 From: "Robert J. Moore" <Robert.J.Moore@allanbank.com> Date: Wed, 14 Oct 2015 22:49:49 -0400 Subject: [PATCH] [licensing] Added ASLv2 headers to files without them for v0.4.0. Fixes #438 --- .travis.yml | 16 ++++++++++++++++ hbase10/src/test/resources/log4j.properties | 17 +++++++++++++++++ jdbc/src/main/resources/sql/create_table.mysql | 15 +++++++++++++++ jdbc/src/main/resources/sql/create_table.sql | 15 +++++++++++++++ tarantool/src/main/conf/tarantool-hash.lua | 15 +++++++++++++++ tarantool/src/main/conf/tarantool-tree.lua | 15 +++++++++++++++ 6 files changed, 93 insertions(+) diff --git a/.travis.yml b/.travis.yml index 5c845bc1..aef900b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,19 @@ +# Copyright (c) 2010 Yahoo! Inc., 2012 - 2015 YCSB contributors. +# All rights reserved. +# +# 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. See accompanying +# LICENSE file. + # more info here about TravisCI and Java projects # http://docs.travis-ci.com/user/languages/java/ diff --git a/hbase10/src/test/resources/log4j.properties b/hbase10/src/test/resources/log4j.properties index 8aac768a..a9df32e0 100644 --- a/hbase10/src/test/resources/log4j.properties +++ b/hbase10/src/test/resources/log4j.properties @@ -1,3 +1,20 @@ +# +# Copyright (c) 2015 YCSB contributors. All rights reserved. +# +# 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. See accompanying +# LICENSE file. +# + # Root logger option log4j.rootLogger=WARN, stderr diff --git a/jdbc/src/main/resources/sql/create_table.mysql b/jdbc/src/main/resources/sql/create_table.mysql index 7b89e3e5..35875370 100644 --- a/jdbc/src/main/resources/sql/create_table.mysql +++ b/jdbc/src/main/resources/sql/create_table.mysql @@ -1,3 +1,18 @@ +-- Copyright (c) 2015 YCSB contributors. All rights reserved. +-- +-- 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. See accompanying +-- LICENSE file. + -- Creates a Table. -- Drop the table if it exists; diff --git a/jdbc/src/main/resources/sql/create_table.sql b/jdbc/src/main/resources/sql/create_table.sql index c394f26f..0fdb0c71 100644 --- a/jdbc/src/main/resources/sql/create_table.sql +++ b/jdbc/src/main/resources/sql/create_table.sql @@ -1,3 +1,18 @@ +-- Copyright (c) 2015 YCSB contributors. All rights reserved. +-- +-- 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. See accompanying +-- LICENSE file. + -- Creates a Table. -- Drop the table if it exists; diff --git a/tarantool/src/main/conf/tarantool-hash.lua b/tarantool/src/main/conf/tarantool-hash.lua index 256d93c6..02c55f71 100644 --- a/tarantool/src/main/conf/tarantool-hash.lua +++ b/tarantool/src/main/conf/tarantool-hash.lua @@ -1,3 +1,18 @@ +-- Copyright (c) 2015 YCSB contributors. All rights reserved. +-- +-- 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. See accompanying +-- LICENSE file. + box.cfg { listen=3303, logger="tarantool.log", diff --git a/tarantool/src/main/conf/tarantool-tree.lua b/tarantool/src/main/conf/tarantool-tree.lua index 1e2a90e3..0782bb18 100644 --- a/tarantool/src/main/conf/tarantool-tree.lua +++ b/tarantool/src/main/conf/tarantool-tree.lua @@ -1,3 +1,18 @@ +-- Copyright (c) 2015 YCSB contributors. All rights reserved. +-- +-- 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. See accompanying +-- LICENSE file. + box.cfg { listen=3303, logger="tarantool.log", -- GitLab