From 213aeee94f2cd3e0cf3fef53c37bf52bbd4abe73 Mon Sep 17 00:00:00 2001 From: Andy Gross Date: Fri, 15 Mar 2013 14:31:53 -0700 Subject: [PATCH] Join us now and share the software (Add Apache license headers). --- .plugins/rebar_test_plugin.erl | 20 +- LICENSE | 178 ++++++++++++++++++ bench/basho_bench_driver_moss.erl | 20 +- .../clojure/clj-s3/src/java_s3_tests/core.clj | 20 ++ .../src/java_s3_tests/user_creation.clj | 19 ++ .../clj-s3/test/java_s3_tests/test/client.clj | 20 ++ client_tests/erlang/erlcloud_eqc.erl | 20 +- client_tests/php/tests/S3ClientTest.php | 21 +++ client_tests/php/tests/bootstrap.php | 21 +++ client_tests/python/boto_test.py | 20 +- client_tests/python/file_generator.py | 20 ++ client_tests/ruby/spec/s3_spec.rb | 20 ++ include/list_objects.hrl | 20 ++ include/riak_cs.hrl | 20 ++ include/riak_cs_gc_d.hrl | 20 ++ include/rts.hrl | 20 ++ include/s3_api.hrl | 20 ++ int_test/riak_cs_put_fsm_test.erl | 20 +- riak_test/src/rtcs.erl | 19 ++ riak_test/tests/cs296_regression_test.erl | 20 ++ riak_test/tests/cs347_regression_test.erl | 20 ++ riak_test/tests/cs436_regression_test.erl | 20 ++ riak_test/tests/list_objects_test.erl | 20 ++ riak_test/tests/mp_upload_test.erl | 20 ++ .../tests/object_get_conditional_test.erl | 20 ++ riak_test/tests/object_get_test.erl | 20 ++ riak_test/tests/stats_test.erl | 20 ++ riak_test/tests/too_large_entity_test.erl | 20 ++ src/base64url.erl | 6 +- src/riak_cs_access.erl | 20 +- src/riak_cs_access_archiver.erl | 20 +- src/riak_cs_access_archiver_sup.erl | 20 +- src/riak_cs_access_console.erl | 20 +- src/riak_cs_access_log_handler.erl | 20 +- src/riak_cs_acl.erl | 20 +- src/riak_cs_acl_utils.erl | 20 +- src/riak_cs_app.erl | 20 +- src/riak_cs_auth.erl | 20 +- src/riak_cs_block_server.erl | 20 +- src/riak_cs_blockall_auth.erl | 20 +- src/riak_cs_delete_fsm.erl | 20 +- src/riak_cs_delete_fsm_sup.erl | 20 +- src/riak_cs_dtrace.erl | 21 ++- src/riak_cs_gc.erl | 20 +- src/riak_cs_gc_console.erl | 21 ++- src/riak_cs_gc_d.erl | 20 +- src/riak_cs_get_fsm.erl | 20 +- src/riak_cs_get_fsm_sup.erl | 20 +- src/riak_cs_kv_multi_backend.erl | 2 +- src/riak_cs_lfs_utils.erl | 20 +- src/riak_cs_list_objects.erl | 20 +- src/riak_cs_list_objects_ets_cache.erl | 20 +- src/riak_cs_list_objects_ets_cache_sup.erl | 20 +- src/riak_cs_list_objects_fsm.erl | 20 +- src/riak_cs_manifest_fsm.erl | 20 +- src/riak_cs_manifest_resolution.erl | 20 +- src/riak_cs_manifest_utils.erl | 20 +- src/riak_cs_mp_utils.erl | 20 +- src/riak_cs_passthru_auth.erl | 20 +- src/riak_cs_policy.erl | 20 +- src/riak_cs_put_fsm.erl | 20 +- src/riak_cs_put_fsm_sup.erl | 20 +- src/riak_cs_riakc_pool_worker.erl | 20 +- src/riak_cs_s3_auth.erl | 20 +- src/riak_cs_s3_policy.erl | 20 +- src/riak_cs_s3_response.erl | 21 ++- src/riak_cs_s3_rewrite.erl | 20 +- src/riak_cs_stats.erl | 21 ++- src/riak_cs_storage.erl | 20 +- src/riak_cs_storage_console.erl | 21 ++- src/riak_cs_storage_d.erl | 20 +- src/riak_cs_sup.erl | 20 +- src/riak_cs_utils.erl | 20 +- src/riak_cs_web.erl | 20 +- src/riak_cs_wm_bucket.erl | 20 +- src/riak_cs_wm_bucket_acl.erl | 20 +- src/riak_cs_wm_bucket_location.erl | 20 +- src/riak_cs_wm_bucket_policy.erl | 20 +- src/riak_cs_wm_bucket_uploads.erl | 20 +- src/riak_cs_wm_bucket_versioning.erl | 20 +- src/riak_cs_wm_buckets.erl | 20 +- src/riak_cs_wm_common.erl | 20 +- src/riak_cs_wm_error_handler.erl | 21 ++- src/riak_cs_wm_object.erl | 20 +- src/riak_cs_wm_object_acl.erl | 20 +- src/riak_cs_wm_object_upload.erl | 20 +- src/riak_cs_wm_object_upload_part.erl | 20 +- src/riak_cs_wm_objects.erl | 20 +- src/riak_cs_wm_ping.erl | 20 +- src/riak_cs_wm_stats.erl | 20 +- src/riak_cs_wm_usage.erl | 21 ++- src/riak_cs_wm_user.erl | 20 +- src/riak_cs_wm_users.erl | 20 +- src/riak_cs_wm_utils.erl | 20 +- src/riak_cs_xml.erl | 20 +- src/riak_kv_fs2_backend.erl | 2 +- src/rts.erl | 20 +- src/twop_set.erl | 20 +- test/basho_bench_quasi_uuid.erl | 20 ++ test/riak_cs_bucket_name_test.erl | 20 +- test/riak_cs_dummy_gets.erl | 20 +- test/riak_cs_dummy_reader.erl | 20 +- test/riak_cs_gc_d_eqc.erl | 20 +- test/riak_cs_gen.erl | 20 +- test/riak_cs_get_fsm_eqc.erl | 20 +- test/riak_cs_get_fsm_test.erl | 20 +- test/riak_cs_lfs_utils_eqc.erl | 20 +- test/riak_cs_lfs_utils_test.erl | 20 +- test/riak_cs_list_objects_fsm_eqc.erl | 20 +- test/riak_cs_list_objects_fsm_test.erl | 18 +- test/riak_cs_manifest_resolution_eqc.erl | 21 ++- test/riak_cs_manifest_utils_eqc.erl | 21 ++- test/riak_cs_s3_policy_eqc.erl | 18 +- test/riak_cs_s3_policy_test.erl | 20 +- test/riak_cs_s3_rewrite_eqc.erl | 20 +- test/riak_cs_utils_test.erl | 20 +- test/riak_cs_wm_bucket_test.erl | 20 +- test/riak_cs_wm_key_test.erl | 20 +- test/riak_cs_wm_service_test.erl | 20 +- test/riak_cs_wm_test_utils.erl | 20 +- test/riak_socket_dummy.erl | 20 +- test/riakc_pb_socket_fake.erl | 20 +- test/twop_set_eqc.erl | 22 ++- 123 files changed, 2282 insertions(+), 293 deletions(-) create mode 100644 LICENSE diff --git a/.plugins/rebar_test_plugin.erl b/.plugins/rebar_test_plugin.erl index f4eb5e9..e1ec6ae 100644 --- a/.plugins/rebar_test_plugin.erl +++ b/.plugins/rebar_test_plugin.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(rebar_test_plugin). diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e454a52 --- /dev/null +++ b/LICENSE @@ -0,0 +1,178 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + diff --git a/bench/basho_bench_driver_moss.erl b/bench/basho_bench_driver_moss.erl index 21213d3..d8c4ff0 100644 --- a/bench/basho_bench_driver_moss.erl +++ b/bench/basho_bench_driver_moss.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% %% Please note that the in order diff --git a/client_tests/clojure/clj-s3/src/java_s3_tests/core.clj b/client_tests/clojure/clj-s3/src/java_s3_tests/core.clj index 92dedef..f7ace8a 100644 --- a/client_tests/clojure/clj-s3/src/java_s3_tests/core.clj +++ b/client_tests/clojure/clj-s3/src/java_s3_tests/core.clj @@ -1 +1,21 @@ +(comment +--------------------------------------------------------------------- +Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. + +This file is provided to you 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. + +--------------------------------------------------------------------- +) (ns java-s3-tests.core) diff --git a/client_tests/clojure/clj-s3/src/java_s3_tests/user_creation.clj b/client_tests/clojure/clj-s3/src/java_s3_tests/user_creation.clj index 51d88ef..f857ac2 100644 --- a/client_tests/clojure/clj-s3/src/java_s3_tests/user_creation.clj +++ b/client_tests/clojure/clj-s3/src/java_s3_tests/user_creation.clj @@ -1,3 +1,22 @@ +(comment +--------------------------------------------------------------------- +Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. + +This file is provided to you 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. +--------------------------------------------------------------------- +) (ns java-s3-tests.user-creation (:require [cheshire.core :as cheshire]) (:require [clj-http.client :as http])) diff --git a/client_tests/clojure/clj-s3/test/java_s3_tests/test/client.clj b/client_tests/clojure/clj-s3/test/java_s3_tests/test/client.clj index 611cc3d..1bcbc56 100644 --- a/client_tests/clojure/clj-s3/test/java_s3_tests/test/client.clj +++ b/client_tests/clojure/clj-s3/test/java_s3_tests/test/client.clj @@ -1,3 +1,23 @@ +(comment +--------------------------------------------------------------------- +Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. + +This file is provided to you 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. + +--------------------------------------------------------------------- +) (ns java-s3-tests.test.client (:import java.security.MessageDigest org.apache.commons.codec.binary.Hex diff --git a/client_tests/erlang/erlcloud_eqc.erl b/client_tests/erlang/erlcloud_eqc.erl index f7f2694..24b6261 100644 --- a/client_tests/erlang/erlcloud_eqc.erl +++ b/client_tests/erlang/erlcloud_eqc.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Quickcheck test module for `erlcloud' S3 API interaction with Riak CS. diff --git a/client_tests/php/tests/S3ClientTest.php b/client_tests/php/tests/S3ClientTest.php index a7083e4..0adbcfc 100644 --- a/client_tests/php/tests/S3ClientTest.php +++ b/client_tests/php/tests/S3ClientTest.php @@ -1,4 +1,25 @@ diff --git a/client_tests/python/boto_test.py b/client_tests/python/boto_test.py index 7c52e0b..25bf11e 100644 --- a/client_tests/python/boto_test.py +++ b/client_tests/python/boto_test.py @@ -1,6 +1,24 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- - +## --------------------------------------------------------------------- +## +## Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +## +## This file is provided to you 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. +## +## --------------------------------------------------------------------- import os, httplib, json, unittest, uuid, md5 from cStringIO import StringIO diff --git a/client_tests/python/file_generator.py b/client_tests/python/file_generator.py index 1c56f19..7a8a774 100755 --- a/client_tests/python/file_generator.py +++ b/client_tests/python/file_generator.py @@ -1,4 +1,24 @@ #!/usr/bin/env python +## --------------------------------------------------------------------- +## +## Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +## +## This file is provided to you 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. +## +## --------------------------------------------------------------------- + import os class FileGenerator(object): diff --git a/client_tests/ruby/spec/s3_spec.rb b/client_tests/ruby/spec/s3_spec.rb index 3fe5519..09648f2 100644 --- a/client_tests/ruby/spec/s3_spec.rb +++ b/client_tests/ruby/spec/s3_spec.rb @@ -1,3 +1,23 @@ +## --------------------------------------------------------------------- +## +## Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +## +## This file is provided to you 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. +## +## --------------------------------------------------------------------- + require 'aws-sdk' require 'uuid' require 'yaml' diff --git a/include/list_objects.hrl b/include/list_objects.hrl index 31b07f3..8a65cef 100644 --- a/include/list_objects.hrl +++ b/include/list_objects.hrl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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 also: http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGET.html %% non mandatory keys have `| undefined' as a %% type option. diff --git a/include/riak_cs.hrl b/include/riak_cs.hrl index 11afca2..2897763 100644 --- a/include/riak_cs.hrl +++ b/include/riak_cs.hrl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -define(MANIFEST, #lfs_manifest_v3). -define(ACL, #acl_v2). diff --git a/include/riak_cs_gc_d.hrl b/include/riak_cs_gc_d.hrl index 8b5946b..0a139bd 100644 --- a/include/riak_cs_gc_d.hrl +++ b/include/riak_cs_gc_d.hrl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -record(state, { interval :: 'infinity' | non_neg_integer(), last :: undefined | calendar:datetime(), % the last time a deletion was scheduled diff --git a/include/rts.hrl b/include/rts.hrl index 5d0c765..4136a06 100644 --- a/include/rts.hrl +++ b/include/rts.hrl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + %% JSON keys used by rts module -define(START_TIME, <<"StartTime">>). -define(END_TIME, <<"EndTime">>). diff --git a/include/s3_api.hrl b/include/s3_api.hrl index 58e3e1b..abba3ba 100644 --- a/include/s3_api.hrl +++ b/include/s3_api.hrl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -define(ROOT_HOST, "s3.amazonaws.com"). -define(SUBRESOURCES, ["acl", "location", "logging", "notification", "partNumber", "policy", "requestPayment", "torrent", "uploadId", "uploads", diff --git a/int_test/riak_cs_put_fsm_test.erl b/int_test/riak_cs_put_fsm_test.erl index 4cdf330..df7b8c7 100644 --- a/int_test/riak_cs_put_fsm_test.erl +++ b/int_test/riak_cs_put_fsm_test.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_put_fsm_test). diff --git a/riak_test/src/rtcs.erl b/riak_test/src/rtcs.erl index d9c0475..d20832b 100644 --- a/riak_test/src/rtcs.erl +++ b/riak_test/src/rtcs.erl @@ -1,3 +1,22 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(rtcs). -compile(export_all). -include_lib("eunit/include/eunit.hrl"). diff --git a/riak_test/tests/cs296_regression_test.erl b/riak_test/tests/cs296_regression_test.erl index 2395ed5..e04e641 100644 --- a/riak_test/tests/cs296_regression_test.erl +++ b/riak_test/tests/cs296_regression_test.erl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(cs296_regression_test). %% @doc Regression test for `riak_cs' diff --git a/riak_test/tests/cs347_regression_test.erl b/riak_test/tests/cs347_regression_test.erl index de54b65..4af211e 100644 --- a/riak_test/tests/cs347_regression_test.erl +++ b/riak_test/tests/cs347_regression_test.erl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(cs347_regression_test). -include_lib("xmerl/include/xmerl.hrl"). diff --git a/riak_test/tests/cs436_regression_test.erl b/riak_test/tests/cs436_regression_test.erl index afbc6f2..0848f6a 100644 --- a/riak_test/tests/cs436_regression_test.erl +++ b/riak_test/tests/cs436_regression_test.erl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(cs436_regression_test). %% @doc Regression test for `riak_cs' diff --git a/riak_test/tests/list_objects_test.erl b/riak_test/tests/list_objects_test.erl index 3b02741..bbc7816 100644 --- a/riak_test/tests/list_objects_test.erl +++ b/riak_test/tests/list_objects_test.erl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(list_objects_test). %% @doc Integration test for list the contents of a bucket diff --git a/riak_test/tests/mp_upload_test.erl b/riak_test/tests/mp_upload_test.erl index fa53d5b..272ea97 100644 --- a/riak_test/tests/mp_upload_test.erl +++ b/riak_test/tests/mp_upload_test.erl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(mp_upload_test). %% @doc `riak_test' module for testing multipart upload behavior. diff --git a/riak_test/tests/object_get_conditional_test.erl b/riak_test/tests/object_get_conditional_test.erl index 2872236..6d8df31 100644 --- a/riak_test/tests/object_get_conditional_test.erl +++ b/riak_test/tests/object_get_conditional_test.erl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(object_get_conditional_test). %% @doc `riak_test' module for testing conditional object get behavior. diff --git a/riak_test/tests/object_get_test.erl b/riak_test/tests/object_get_test.erl index 0d623aa..44c9d49 100644 --- a/riak_test/tests/object_get_test.erl +++ b/riak_test/tests/object_get_test.erl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(object_get_test). %% @doc `riak_test' module for testing object get behavior. diff --git a/riak_test/tests/stats_test.erl b/riak_test/tests/stats_test.erl index fded6ef..0679433 100644 --- a/riak_test/tests/stats_test.erl +++ b/riak_test/tests/stats_test.erl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(stats_test). -export([confirm/0]). diff --git a/riak_test/tests/too_large_entity_test.erl b/riak_test/tests/too_large_entity_test.erl index 8a46b3e..891f738 100644 --- a/riak_test/tests/too_large_entity_test.erl +++ b/riak_test/tests/too_large_entity_test.erl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(too_large_entity_test). %% @doc `riak_test' module for testing the behavior in dealing with diff --git a/src/base64url.erl b/src/base64url.erl index 50bad27..86f4277 100644 --- a/src/base64url.erl +++ b/src/base64url.erl @@ -1,6 +1,6 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2009-2010 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% %% This file is provided to you under the Apache License, %% Version 2.0 (the "License"); you may not use this file @@ -16,7 +16,7 @@ %% specific language governing permissions and limitations %% under the License. %% -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% @doc base64url is a wrapper around the base64 module to produce %% base64-compatible encodings that are URL safe. diff --git a/src/riak_cs_access.erl b/src/riak_cs_access.erl index 4c24780..0c0ade0 100644 --- a/src/riak_cs_access.erl +++ b/src/riak_cs_access.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Data format and lookup utilities for access logs (I/O usage %% stats). diff --git a/src/riak_cs_access_archiver.erl b/src/riak_cs_access_archiver.erl index 0e5a1c4..b0987a3 100644 --- a/src/riak_cs_access_archiver.erl +++ b/src/riak_cs_access_archiver.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Archives riak_cs_access_logger data to Riak for later %% processing. diff --git a/src/riak_cs_access_archiver_sup.erl b/src/riak_cs_access_archiver_sup.erl index 48a9eb4..445705d 100644 --- a/src/riak_cs_access_archiver_sup.erl +++ b/src/riak_cs_access_archiver_sup.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc This supervisor monitors the access archiver and its Riak %% client. The supervisor is setup for `rest_for_one` restart, such diff --git a/src/riak_cs_access_console.erl b/src/riak_cs_access_console.erl index c169bab..842031e 100644 --- a/src/riak_cs_access_console.erl +++ b/src/riak_cs_access_console.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc These functions are used by the riak-cs-access command line script. -module(riak_cs_access_console). diff --git a/src/riak_cs_access_log_handler.erl b/src/riak_cs_access_log_handler.erl index 4b7c5b3..51b2b4c 100644 --- a/src/riak_cs_access_log_handler.erl +++ b/src/riak_cs_access_log_handler.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Log access to Riak CS. This is where I/O stats are %% computed and recorded. diff --git a/src/riak_cs_acl.erl b/src/riak_cs_acl.erl index c6df264..9c4308e 100644 --- a/src/riak_cs_acl.erl +++ b/src/riak_cs_acl.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Module of functions that provide a way to determine if a %% user may access a particular system resource. diff --git a/src/riak_cs_acl_utils.erl b/src/riak_cs_acl_utils.erl index 229f7ef..da13d8e 100644 --- a/src/riak_cs_acl_utils.erl +++ b/src/riak_cs_acl_utils.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc ACL utility functions diff --git a/src/riak_cs_app.erl b/src/riak_cs_app.erl index ad48246..80c608a 100644 --- a/src/riak_cs_app.erl +++ b/src/riak_cs_app.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Callbacks for the riak_cs application. diff --git a/src/riak_cs_auth.erl b/src/riak_cs_auth.erl index b2f7901..3589bae 100644 --- a/src/riak_cs_auth.erl +++ b/src/riak_cs_auth.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_auth). diff --git a/src/riak_cs_block_server.erl b/src/riak_cs_block_server.erl index 08f570a..b77bcfb 100644 --- a/src/riak_cs_block_server.erl +++ b/src/riak_cs_block_server.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_block_server). diff --git a/src/riak_cs_blockall_auth.erl b/src/riak_cs_blockall_auth.erl index 3f050c0..905d178 100644 --- a/src/riak_cs_blockall_auth.erl +++ b/src/riak_cs_blockall_auth.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_blockall_auth). diff --git a/src/riak_cs_delete_fsm.erl b/src/riak_cs_delete_fsm.erl index 6d2d1fe..96cfa80 100644 --- a/src/riak_cs_delete_fsm.erl +++ b/src/riak_cs_delete_fsm.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Module to manage storage of objects and files diff --git a/src/riak_cs_delete_fsm_sup.erl b/src/riak_cs_delete_fsm_sup.erl index a98c7e6..3703036 100644 --- a/src/riak_cs_delete_fsm_sup.erl +++ b/src/riak_cs_delete_fsm_sup.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Supervisor for `riak_cs_delete_fsm' diff --git a/src/riak_cs_dtrace.erl b/src/riak_cs_dtrace.erl index e8ddaea..fa234c6 100644 --- a/src/riak_cs_dtrace.erl +++ b/src/riak_cs_dtrace.erl @@ -1,8 +1,23 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(riak_cs_dtrace). -export([dtrace/1, dtrace/3, dtrace/4, dtrace/6]). diff --git a/src/riak_cs_gc.erl b/src/riak_cs_gc.erl index 8a02091..ea1e4b8 100644 --- a/src/riak_cs_gc.erl +++ b/src/riak_cs_gc.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Utility module for garbage collection of files. diff --git a/src/riak_cs_gc_console.erl b/src/riak_cs_gc_console.erl index feda093..ab429de 100644 --- a/src/riak_cs_gc_console.erl +++ b/src/riak_cs_gc_console.erl @@ -1,10 +1,25 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc These functions are used by the riak-cs-gc command line script. + -module(riak_cs_gc_console). -export([ diff --git a/src/riak_cs_gc_d.erl b/src/riak_cs_gc_d.erl index 8793985..1e00699 100644 --- a/src/riak_cs_gc_d.erl +++ b/src/riak_cs_gc_d.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc The daemon that handles garbage collection of deleted file %% manifests and blocks. diff --git a/src/riak_cs_get_fsm.erl b/src/riak_cs_get_fsm.erl index 7f21ae6..4cb0a79 100644 --- a/src/riak_cs_get_fsm.erl +++ b/src/riak_cs_get_fsm.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc get fsm for Riak CS. diff --git a/src/riak_cs_get_fsm_sup.erl b/src/riak_cs_get_fsm_sup.erl index 02d10b4..70a475b 100644 --- a/src/riak_cs_get_fsm_sup.erl +++ b/src/riak_cs_get_fsm_sup.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Supervisor for `riak_cs_get_fsm' diff --git a/src/riak_cs_kv_multi_backend.erl b/src/riak_cs_kv_multi_backend.erl index 2b276de..7758afa 100644 --- a/src/riak_cs_kv_multi_backend.erl +++ b/src/riak_cs_kv_multi_backend.erl @@ -2,7 +2,7 @@ %% %% riak_cs_kv_multi_backend: switching between multiple storage engines %% -%% Copyright (c) 2007-2010 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% %% This file is provided to you under the Apache License, %% Version 2.0 (the "License"); you may not use this file diff --git a/src/riak_cs_lfs_utils.erl b/src/riak_cs_lfs_utils.erl index 2190b27..b6f8edf 100644 --- a/src/riak_cs_lfs_utils.erl +++ b/src/riak_cs_lfs_utils.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_lfs_utils). diff --git a/src/riak_cs_list_objects.erl b/src/riak_cs_list_objects.erl index 990f86d..6472359 100644 --- a/src/riak_cs_list_objects.erl +++ b/src/riak_cs_list_objects.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc diff --git a/src/riak_cs_list_objects_ets_cache.erl b/src/riak_cs_list_objects_ets_cache.erl index dcce670..332f028 100644 --- a/src/riak_cs_list_objects_ets_cache.erl +++ b/src/riak_cs_list_objects_ets_cache.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc diff --git a/src/riak_cs_list_objects_ets_cache_sup.erl b/src/riak_cs_list_objects_ets_cache_sup.erl index b72b41f..b9a28de 100644 --- a/src/riak_cs_list_objects_ets_cache_sup.erl +++ b/src/riak_cs_list_objects_ets_cache_sup.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc -module(riak_cs_list_objects_ets_cache_sup). diff --git a/src/riak_cs_list_objects_fsm.erl b/src/riak_cs_list_objects_fsm.erl index 888d1ad..66fc1f5 100644 --- a/src/riak_cs_list_objects_fsm.erl +++ b/src/riak_cs_list_objects_fsm.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc diff --git a/src/riak_cs_manifest_fsm.erl b/src/riak_cs_manifest_fsm.erl index be43942..2db17d5 100644 --- a/src/riak_cs_manifest_fsm.erl +++ b/src/riak_cs_manifest_fsm.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_manifest_fsm). diff --git a/src/riak_cs_manifest_resolution.erl b/src/riak_cs_manifest_resolution.erl index e4ff922..dcc8d14 100644 --- a/src/riak_cs_manifest_resolution.erl +++ b/src/riak_cs_manifest_resolution.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Module to resolve siblings with manifest records diff --git a/src/riak_cs_manifest_utils.erl b/src/riak_cs_manifest_utils.erl index db34d02..f6e3364 100644 --- a/src/riak_cs_manifest_utils.erl +++ b/src/riak_cs_manifest_utils.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Module for choosing and manipulating lists (well, orddict) of manifests diff --git a/src/riak_cs_mp_utils.erl b/src/riak_cs_mp_utils.erl index 31359b4..30f6c5f 100644 --- a/src/riak_cs_mp_utils.erl +++ b/src/riak_cs_mp_utils.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc diff --git a/src/riak_cs_passthru_auth.erl b/src/riak_cs_passthru_auth.erl index 4563197..8fbc6c2 100644 --- a/src/riak_cs_passthru_auth.erl +++ b/src/riak_cs_passthru_auth.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_passthru_auth). diff --git a/src/riak_cs_policy.erl b/src/riak_cs_policy.erl index e0bb3e9..e606fb4 100644 --- a/src/riak_cs_policy.erl +++ b/src/riak_cs_policy.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_policy). diff --git a/src/riak_cs_put_fsm.erl b/src/riak_cs_put_fsm.erl index 2582285..1021607 100644 --- a/src/riak_cs_put_fsm.erl +++ b/src/riak_cs_put_fsm.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Module to manage storage of objects and files diff --git a/src/riak_cs_put_fsm_sup.erl b/src/riak_cs_put_fsm_sup.erl index 465738f..9a70d14 100644 --- a/src/riak_cs_put_fsm_sup.erl +++ b/src/riak_cs_put_fsm_sup.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Supervisor for `riak_cs_put_fsm' diff --git a/src/riak_cs_riakc_pool_worker.erl b/src/riak_cs_riakc_pool_worker.erl index 34feba6..77b527e 100644 --- a/src/riak_cs_riakc_pool_worker.erl +++ b/src/riak_cs_riakc_pool_worker.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Entry point for poolboy to pool Riak connections diff --git a/src/riak_cs_s3_auth.erl b/src/riak_cs_s3_auth.erl index e1738bc..c323587 100644 --- a/src/riak_cs_s3_auth.erl +++ b/src/riak_cs_s3_auth.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_s3_auth). diff --git a/src/riak_cs_s3_policy.erl b/src/riak_cs_s3_policy.erl index d5af29d..18b0f2a 100644 --- a/src/riak_cs_s3_policy.erl +++ b/src/riak_cs_s3_policy.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc policy utility functions %% A (principal) is/isn't allowed (effect) to do B (action) to C (resource) where D (condition) applies diff --git a/src/riak_cs_s3_response.erl b/src/riak_cs_s3_response.erl index e0d0c53..5a3898c 100644 --- a/src/riak_cs_s3_response.erl +++ b/src/riak_cs_s3_response.erl @@ -1,8 +1,23 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(riak_cs_s3_response). -export([api_error/3, status_code/1, diff --git a/src/riak_cs_s3_rewrite.erl b/src/riak_cs_s3_rewrite.erl index fe61d84..a512dde 100644 --- a/src/riak_cs_s3_rewrite.erl +++ b/src/riak_cs_s3_rewrite.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_s3_rewrite). diff --git a/src/riak_cs_stats.erl b/src/riak_cs_stats.erl index 9e51b29..ceb4a61 100644 --- a/src/riak_cs_stats.erl +++ b/src/riak_cs_stats.erl @@ -1,8 +1,23 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(riak_cs_stats). -behaviour(gen_server). diff --git a/src/riak_cs_storage.erl b/src/riak_cs_storage.erl index c81ae43..86c8833 100644 --- a/src/riak_cs_storage.erl +++ b/src/riak_cs_storage.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Tools for summing the storage a user has filled. diff --git a/src/riak_cs_storage_console.erl b/src/riak_cs_storage_console.erl index d65f563..30c75cd 100644 --- a/src/riak_cs_storage_console.erl +++ b/src/riak_cs_storage_console.erl @@ -1,10 +1,25 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc These functions are used by the riak-cs-storage command line script. + -module(riak_cs_storage_console). -export([ diff --git a/src/riak_cs_storage_d.erl b/src/riak_cs_storage_d.erl index 7a6e352..1e2113d 100644 --- a/src/riak_cs_storage_d.erl +++ b/src/riak_cs_storage_d.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc The daemon that calculates Riak CS storage on the configured %% schedule. diff --git a/src/riak_cs_sup.erl b/src/riak_cs_sup.erl index 745a975..933e2ba 100644 --- a/src/riak_cs_sup.erl +++ b/src/riak_cs_sup.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Supervisor for the riak_cs application. diff --git a/src/riak_cs_utils.erl b/src/riak_cs_utils.erl index 4a78924..95c4b53 100644 --- a/src/riak_cs_utils.erl +++ b/src/riak_cs_utils.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc riak_cs utility functions diff --git a/src/riak_cs_web.erl b/src/riak_cs_web.erl index 35e5f3a..12d7930 100644 --- a/src/riak_cs_web.erl +++ b/src/riak_cs_web.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Convenience functions for setting up the riak_cs HTTP interface. diff --git a/src/riak_cs_wm_bucket.erl b/src/riak_cs_wm_bucket.erl index f282dbc..d119076 100644 --- a/src/riak_cs_wm_bucket.erl +++ b/src/riak_cs_wm_bucket.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_bucket). diff --git a/src/riak_cs_wm_bucket_acl.erl b/src/riak_cs_wm_bucket_acl.erl index 511980b..b665119 100644 --- a/src/riak_cs_wm_bucket_acl.erl +++ b/src/riak_cs_wm_bucket_acl.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_bucket_acl). diff --git a/src/riak_cs_wm_bucket_location.erl b/src/riak_cs_wm_bucket_location.erl index fdcee49..0db9734 100644 --- a/src/riak_cs_wm_bucket_location.erl +++ b/src/riak_cs_wm_bucket_location.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_bucket_location). diff --git a/src/riak_cs_wm_bucket_policy.erl b/src/riak_cs_wm_bucket_policy.erl index f5c1a1f..da4f422 100644 --- a/src/riak_cs_wm_bucket_policy.erl +++ b/src/riak_cs_wm_bucket_policy.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_bucket_policy). diff --git a/src/riak_cs_wm_bucket_uploads.erl b/src/riak_cs_wm_bucket_uploads.erl index f8453e6..07c60e1 100644 --- a/src/riak_cs_wm_bucket_uploads.erl +++ b/src/riak_cs_wm_bucket_uploads.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% %% @doc WM callback module for S3 list multipart uploads. %% diff --git a/src/riak_cs_wm_bucket_versioning.erl b/src/riak_cs_wm_bucket_versioning.erl index 2c9cf99..a4442bc 100644 --- a/src/riak_cs_wm_bucket_versioning.erl +++ b/src/riak_cs_wm_bucket_versioning.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_bucket_versioning). diff --git a/src/riak_cs_wm_buckets.erl b/src/riak_cs_wm_buckets.erl index 45e0b2e..298bf83 100644 --- a/src/riak_cs_wm_buckets.erl +++ b/src/riak_cs_wm_buckets.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_buckets). diff --git a/src/riak_cs_wm_common.erl b/src/riak_cs_wm_common.erl index 42d2b82..25f42d1 100644 --- a/src/riak_cs_wm_common.erl +++ b/src/riak_cs_wm_common.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_common). diff --git a/src/riak_cs_wm_error_handler.erl b/src/riak_cs_wm_error_handler.erl index 2800361..26e05d7 100644 --- a/src/riak_cs_wm_error_handler.erl +++ b/src/riak_cs_wm_error_handler.erl @@ -1,8 +1,23 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(riak_cs_wm_error_handler). -export([render_error/3]). diff --git a/src/riak_cs_wm_object.erl b/src/riak_cs_wm_object.erl index d976f84..86510fc 100644 --- a/src/riak_cs_wm_object.erl +++ b/src/riak_cs_wm_object.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_object). diff --git a/src/riak_cs_wm_object_acl.erl b/src/riak_cs_wm_object_acl.erl index 2c0ee5f..3a24940 100644 --- a/src/riak_cs_wm_object_acl.erl +++ b/src/riak_cs_wm_object_acl.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_object_acl). diff --git a/src/riak_cs_wm_object_upload.erl b/src/riak_cs_wm_object_upload.erl index dfc2949..0f8fac9 100644 --- a/src/riak_cs_wm_object_upload.erl +++ b/src/riak_cs_wm_object_upload.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_object_upload). diff --git a/src/riak_cs_wm_object_upload_part.erl b/src/riak_cs_wm_object_upload_part.erl index 7377c7d..c12f78e 100644 --- a/src/riak_cs_wm_object_upload_part.erl +++ b/src/riak_cs_wm_object_upload_part.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_object_upload_part). diff --git a/src/riak_cs_wm_objects.erl b/src/riak_cs_wm_objects.erl index 20d6ca8..6b08eab 100644 --- a/src/riak_cs_wm_objects.erl +++ b/src/riak_cs_wm_objects.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_objects). diff --git a/src/riak_cs_wm_ping.erl b/src/riak_cs_wm_ping.erl index 29ecb52..972201a 100644 --- a/src/riak_cs_wm_ping.erl +++ b/src/riak_cs_wm_ping.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_ping). diff --git a/src/riak_cs_wm_stats.erl b/src/riak_cs_wm_stats.erl index a7125e2..aa7c75f 100644 --- a/src/riak_cs_wm_stats.erl +++ b/src/riak_cs_wm_stats.erl @@ -1,10 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% stats_http_resource: publishing RiakCS runtime stats via HTTP +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_stats). diff --git a/src/riak_cs_wm_usage.erl b/src/riak_cs_wm_usage.erl index 28eea98..3459641 100644 --- a/src/riak_cs_wm_usage.erl +++ b/src/riak_cs_wm_usage.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Webmachine resource for serving usage stats. %% @@ -86,6 +100,7 @@ %% not_requested %% %% ''' + -module(riak_cs_wm_usage). -export([ diff --git a/src/riak_cs_wm_user.erl b/src/riak_cs_wm_user.erl index 1de4b21..a421ed4 100644 --- a/src/riak_cs_wm_user.erl +++ b/src/riak_cs_wm_user.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_user). diff --git a/src/riak_cs_wm_users.erl b/src/riak_cs_wm_users.erl index 9d0ca1a..8412bd5 100644 --- a/src/riak_cs_wm_users.erl +++ b/src/riak_cs_wm_users.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_users). diff --git a/src/riak_cs_wm_utils.erl b/src/riak_cs_wm_utils.erl index 4904b23..46fefd0 100644 --- a/src/riak_cs_wm_utils.erl +++ b/src/riak_cs_wm_utils.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_utils). diff --git a/src/riak_cs_xml.erl b/src/riak_cs_xml.erl index 01152b5..9f77862 100644 --- a/src/riak_cs_xml.erl +++ b/src/riak_cs_xml.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc A collection functions for going to or from XML to an erlang %% record type. diff --git a/src/riak_kv_fs2_backend.erl b/src/riak_kv_fs2_backend.erl index daf69e0..a7c657c 100644 --- a/src/riak_kv_fs2_backend.erl +++ b/src/riak_kv_fs2_backend.erl @@ -2,7 +2,7 @@ %% %% riak_fs2_backend: storage engine based on basic filesystem access %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% %% This file is provided to you under the Apache License, %% Version 2.0 (the "License"); you may not use this file diff --git a/src/rts.erl b/src/rts.erl index 02a4142..0c3fec7 100644 --- a/src/rts.erl +++ b/src/rts.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Riak Time Samples. diff --git a/src/twop_set.erl b/src/twop_set.erl index e7435cc..1a6a2ae 100644 --- a/src/twop_set.erl +++ b/src/twop_set.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc This module implements the two-phase CRDT set. %% This implementation has one notable difference from diff --git a/test/basho_bench_quasi_uuid.erl b/test/basho_bench_quasi_uuid.erl index 95320a2..91cff88 100644 --- a/test/basho_bench_quasi_uuid.erl +++ b/test/basho_bench_quasi_uuid.erl @@ -1,3 +1,23 @@ +%% --------------------------------------------------------------------- +%% +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. +%% +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + -module(basho_bench_quasi_uuid). -compile(export_all). diff --git a/test/riak_cs_bucket_name_test.erl b/test/riak_cs_bucket_name_test.erl index f43deb7..9441944 100644 --- a/test/riak_cs_bucket_name_test.erl +++ b/test/riak_cs_bucket_name_test.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_bucket_name_test). diff --git a/test/riak_cs_dummy_gets.erl b/test/riak_cs_dummy_gets.erl index 1f8d9a0..c66c3c3 100644 --- a/test/riak_cs_dummy_gets.erl +++ b/test/riak_cs_dummy_gets.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_dummy_gets). diff --git a/test/riak_cs_dummy_reader.erl b/test/riak_cs_dummy_reader.erl index da5442c..1804c1f 100644 --- a/test/riak_cs_dummy_reader.erl +++ b/test/riak_cs_dummy_reader.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Module to write data to Riak. diff --git a/test/riak_cs_gc_d_eqc.erl b/test/riak_cs_gc_d_eqc.erl index 331c317..3fd5d2d 100644 --- a/test/riak_cs_gc_d_eqc.erl +++ b/test/riak_cs_gc_d_eqc.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Quickcheck test module for `riak_cs_gc_d'. diff --git a/test/riak_cs_gen.erl b/test/riak_cs_gen.erl index 18f606e..c756405 100644 --- a/test/riak_cs_gen.erl +++ b/test/riak_cs_gen.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Common QuickCheck generators for Riak CS diff --git a/test/riak_cs_get_fsm_eqc.erl b/test/riak_cs_get_fsm_eqc.erl index 683aaa8..f30fee4 100644 --- a/test/riak_cs_get_fsm_eqc.erl +++ b/test/riak_cs_get_fsm_eqc.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Quickcheck test module for `riak_cs_get_fsm'. diff --git a/test/riak_cs_get_fsm_test.erl b/test/riak_cs_get_fsm_test.erl index 385b41d..8b89400 100644 --- a/test/riak_cs_get_fsm_test.erl +++ b/test/riak_cs_get_fsm_test.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_get_fsm_test). diff --git a/test/riak_cs_lfs_utils_eqc.erl b/test/riak_cs_lfs_utils_eqc.erl index 305db6d..92d9c0d 100644 --- a/test/riak_cs_lfs_utils_eqc.erl +++ b/test/riak_cs_lfs_utils_eqc.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Quickcheck test module for `riak_cs_lfs_utils'. diff --git a/test/riak_cs_lfs_utils_test.erl b/test/riak_cs_lfs_utils_test.erl index ac4001b..c5d05f0 100644 --- a/test/riak_cs_lfs_utils_test.erl +++ b/test/riak_cs_lfs_utils_test.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_lfs_utils_test). diff --git a/test/riak_cs_list_objects_fsm_eqc.erl b/test/riak_cs_list_objects_fsm_eqc.erl index ec8861a..035dc35 100644 --- a/test/riak_cs_list_objects_fsm_eqc.erl +++ b/test/riak_cs_list_objects_fsm_eqc.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_list_objects_fsm_eqc). diff --git a/test/riak_cs_list_objects_fsm_test.erl b/test/riak_cs_list_objects_fsm_test.erl index d3dcb39..3af7f01 100644 --- a/test/riak_cs_list_objects_fsm_test.erl +++ b/test/riak_cs_list_objects_fsm_test.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% %% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_list_objects_fsm_test). diff --git a/test/riak_cs_manifest_resolution_eqc.erl b/test/riak_cs_manifest_resolution_eqc.erl index 131fce7..5599c03 100644 --- a/test/riak_cs_manifest_resolution_eqc.erl +++ b/test/riak_cs_manifest_resolution_eqc.erl @@ -1,9 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- - +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_manifest_resolution_eqc). diff --git a/test/riak_cs_manifest_utils_eqc.erl b/test/riak_cs_manifest_utils_eqc.erl index d620625..18e2ed1 100644 --- a/test/riak_cs_manifest_utils_eqc.erl +++ b/test/riak_cs_manifest_utils_eqc.erl @@ -1,9 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- - +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_manifest_utils_eqc). diff --git a/test/riak_cs_s3_policy_eqc.erl b/test/riak_cs_s3_policy_eqc.erl index 2cc5938..7fab697 100644 --- a/test/riak_cs_s3_policy_eqc.erl +++ b/test/riak_cs_s3_policy_eqc.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% %% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_s3_policy_eqc). diff --git a/test/riak_cs_s3_policy_test.erl b/test/riak_cs_s3_policy_test.erl index 51937fc..4775d78 100644 --- a/test/riak_cs_s3_policy_test.erl +++ b/test/riak_cs_s3_policy_test.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc ad-hoc policy tests diff --git a/test/riak_cs_s3_rewrite_eqc.erl b/test/riak_cs_s3_rewrite_eqc.erl index 224ade8..cd2ab30 100644 --- a/test/riak_cs_s3_rewrite_eqc.erl +++ b/test/riak_cs_s3_rewrite_eqc.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Quickcheck test module for `riak_cs_s3_rewrite'. diff --git a/test/riak_cs_utils_test.erl b/test/riak_cs_utils_test.erl index 703daef..c4b3f8b 100644 --- a/test/riak_cs_utils_test.erl +++ b/test/riak_cs_utils_test.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_utils_test). diff --git a/test/riak_cs_wm_bucket_test.erl b/test/riak_cs_wm_bucket_test.erl index 7d89991..6426153 100644 --- a/test/riak_cs_wm_bucket_test.erl +++ b/test/riak_cs_wm_bucket_test.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_bucket_test). diff --git a/test/riak_cs_wm_key_test.erl b/test/riak_cs_wm_key_test.erl index 095aa9e..1d86ec4 100644 --- a/test/riak_cs_wm_key_test.erl +++ b/test/riak_cs_wm_key_test.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_key_test). diff --git a/test/riak_cs_wm_service_test.erl b/test/riak_cs_wm_service_test.erl index 9893c97..aebb2f3 100644 --- a/test/riak_cs_wm_service_test.erl +++ b/test/riak_cs_wm_service_test.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_service_test). diff --git a/test/riak_cs_wm_test_utils.erl b/test/riak_cs_wm_test_utils.erl index 058af58..4ff879e 100644 --- a/test/riak_cs_wm_test_utils.erl +++ b/test/riak_cs_wm_test_utils.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riak_cs_wm_test_utils). diff --git a/test/riak_socket_dummy.erl b/test/riak_socket_dummy.erl index c263c2d..f948c4e 100644 --- a/test/riak_socket_dummy.erl +++ b/test/riak_socket_dummy.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- %% @doc Module to mirror the API of `riakc_pb_socket' so %% to facilitate testing of the `riak_cs_writer' and diff --git a/test/riakc_pb_socket_fake.erl b/test/riakc_pb_socket_fake.erl index a4a1271..09c27a9 100644 --- a/test/riakc_pb_socket_fake.erl +++ b/test/riakc_pb_socket_fake.erl @@ -1,8 +1,22 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% Copyright (c) 2007-2011 Basho Technologies, Inc. All Rights Reserved. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% ------------------------------------------------------------------- +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- -module(riakc_pb_socket_fake). diff --git a/test/twop_set_eqc.erl b/test/twop_set_eqc.erl index f882504..fd4d93b 100644 --- a/test/twop_set_eqc.erl +++ b/test/twop_set_eqc.erl @@ -1,10 +1,24 @@ -%% ------------------------------------------------------------------- +%% --------------------------------------------------------------------- %% -%% twop_set_eqc: Quickcheck testing for the `twop_set' module. +%% Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved. %% -%% Copyright (c) 2007-2012 Basho Technologies, Inc. All Rights Reserved. +%% This file is provided to you 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. +%% +%% --------------------------------------------------------------------- + +%% @doc twop_set_eqc: Quickcheck testing for the `twop_set' module. -module(twop_set_eqc).