diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/LICENSE @@ -0,0 +1,202 @@ + + 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 + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/Makefile b/Makefile index e692bc0..674dce4 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,7 @@ verify: ${mvn} verify lint: + ${mvn} license:check ${mvn} fmt:check ${mvn} checkstyle:check ${mvn} compile test-compile @@ -60,6 +61,7 @@ lint-docs: ${mvn} javadoc:jar javadoc:aggregate javadoc:aggregate-jar javadoc:resource-bundle lint-fix: + ${mvn} license:format ${mvn} fmt:format compile: diff --git a/license-header.txt b/license-header.txt new file mode 100644 index 0000000..9618ced --- /dev/null +++ b/license-header.txt @@ -0,0 +1,13 @@ +Copyright ScyllaDB, Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/pom.xml b/pom.xml index 9f810a1..8445dad 100644 --- a/pom.xml +++ b/pom.xml @@ -180,6 +180,21 @@ fmt-maven-plugin 2.25 + + com.mycila + license-maven-plugin + 5.1.1 + + + +
${project.basedir}/license-header.txt
+ + src/**/*.java + +
+
+
+
org.codehaus.mojo build-helper-maven-plugin diff --git a/src/demo/java/com/scylladb/alternator/demo/Demo2.java b/src/demo/java/com/scylladb/alternator/demo/Demo2.java index 8601db7..13e354b 100644 --- a/src/demo/java/com/scylladb/alternator/demo/Demo2.java +++ b/src/demo/java/com/scylladb/alternator/demo/Demo2.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.demo; import com.scylladb.alternator.AlternatorDynamoDbClient; diff --git a/src/demo/java/com/scylladb/alternator/demo/Demo3.java b/src/demo/java/com/scylladb/alternator/demo/Demo3.java index 9bcd35a..11bece3 100644 --- a/src/demo/java/com/scylladb/alternator/demo/Demo3.java +++ b/src/demo/java/com/scylladb/alternator/demo/Demo3.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.demo; import static java.util.concurrent.Executors.newFixedThreadPool; diff --git a/src/demo/java/com/scylladb/alternator/demo/Demo4.java b/src/demo/java/com/scylladb/alternator/demo/Demo4.java index e3942dc..f8a58d6 100644 --- a/src/demo/java/com/scylladb/alternator/demo/Demo4.java +++ b/src/demo/java/com/scylladb/alternator/demo/Demo4.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.demo; import com.scylladb.alternator.AlternatorDynamoDbClient; diff --git a/src/demo/java/com/scylladb/alternator/demo/Demo5.java b/src/demo/java/com/scylladb/alternator/demo/Demo5.java index ad67be9..13c00db 100644 --- a/src/demo/java/com/scylladb/alternator/demo/Demo5.java +++ b/src/demo/java/com/scylladb/alternator/demo/Demo5.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.demo; import static java.util.concurrent.Executors.newFixedThreadPool; diff --git a/src/demo/java/com/scylladb/alternator/demo/Demo6.java b/src/demo/java/com/scylladb/alternator/demo/Demo6.java index f4d5eb4..de9cbe0 100644 --- a/src/demo/java/com/scylladb/alternator/demo/Demo6.java +++ b/src/demo/java/com/scylladb/alternator/demo/Demo6.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.demo; import com.scylladb.alternator.AlternatorDynamoDbClient; diff --git a/src/demo/java/com/scylladb/alternator/demo/LazyQueryPlanDemo.java b/src/demo/java/com/scylladb/alternator/demo/LazyQueryPlanDemo.java index 26b5eae..1de747f 100644 --- a/src/demo/java/com/scylladb/alternator/demo/LazyQueryPlanDemo.java +++ b/src/demo/java/com/scylladb/alternator/demo/LazyQueryPlanDemo.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.demo; import com.scylladb.alternator.internal.AlternatorLiveNodes; diff --git a/src/integration-test/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClientIT.java b/src/integration-test/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClientIT.java index 2e4f68b..a9b0be2 100644 --- a/src/integration-test/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClientIT.java +++ b/src/integration-test/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClientIT.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/integration-test/java/com/scylladb/alternator/AlternatorDynamoDbClientIT.java b/src/integration-test/java/com/scylladb/alternator/AlternatorDynamoDbClientIT.java index 688e5d2..8ec7627 100644 --- a/src/integration-test/java/com/scylladb/alternator/AlternatorDynamoDbClientIT.java +++ b/src/integration-test/java/com/scylladb/alternator/AlternatorDynamoDbClientIT.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/integration-test/java/com/scylladb/alternator/DynamoDbOperationsIT.java b/src/integration-test/java/com/scylladb/alternator/DynamoDbOperationsIT.java index 2898fde..35ecfa7 100644 --- a/src/integration-test/java/com/scylladb/alternator/DynamoDbOperationsIT.java +++ b/src/integration-test/java/com/scylladb/alternator/DynamoDbOperationsIT.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/integration-test/java/com/scylladb/alternator/HttpClientImplementationAsyncIT.java b/src/integration-test/java/com/scylladb/alternator/HttpClientImplementationAsyncIT.java index 54fbe50..8f1b17c 100644 --- a/src/integration-test/java/com/scylladb/alternator/HttpClientImplementationAsyncIT.java +++ b/src/integration-test/java/com/scylladb/alternator/HttpClientImplementationAsyncIT.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/integration-test/java/com/scylladb/alternator/HttpClientImplementationSyncIT.java b/src/integration-test/java/com/scylladb/alternator/HttpClientImplementationSyncIT.java index 1560cbf..a287b96 100644 --- a/src/integration-test/java/com/scylladb/alternator/HttpClientImplementationSyncIT.java +++ b/src/integration-test/java/com/scylladb/alternator/HttpClientImplementationSyncIT.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/integration-test/java/com/scylladb/alternator/HttpConnectionReuseIT.java b/src/integration-test/java/com/scylladb/alternator/HttpConnectionReuseIT.java index 108a05a..b2b8adc 100644 --- a/src/integration-test/java/com/scylladb/alternator/HttpConnectionReuseIT.java +++ b/src/integration-test/java/com/scylladb/alternator/HttpConnectionReuseIT.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/integration-test/java/com/scylladb/alternator/KeyRouteAffinityAutodiscoveryIT.java b/src/integration-test/java/com/scylladb/alternator/KeyRouteAffinityAutodiscoveryIT.java index 5a297e4..eb705f9 100644 --- a/src/integration-test/java/com/scylladb/alternator/KeyRouteAffinityAutodiscoveryIT.java +++ b/src/integration-test/java/com/scylladb/alternator/KeyRouteAffinityAutodiscoveryIT.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/integration-test/java/com/scylladb/alternator/ResponseCompressionIT.java b/src/integration-test/java/com/scylladb/alternator/ResponseCompressionIT.java index bda7870..533d027 100644 --- a/src/integration-test/java/com/scylladb/alternator/ResponseCompressionIT.java +++ b/src/integration-test/java/com/scylladb/alternator/ResponseCompressionIT.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/integration-test/java/com/scylladb/alternator/TlsConfigIT.java b/src/integration-test/java/com/scylladb/alternator/TlsConfigIT.java index 1d29f3b..31ed071 100644 --- a/src/integration-test/java/com/scylladb/alternator/TlsConfigIT.java +++ b/src/integration-test/java/com/scylladb/alternator/TlsConfigIT.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/integration-test/java/com/scylladb/alternator/TlsSessionResumptionIT.java b/src/integration-test/java/com/scylladb/alternator/TlsSessionResumptionIT.java index fae27ad..e9bd4e9 100644 --- a/src/integration-test/java/com/scylladb/alternator/TlsSessionResumptionIT.java +++ b/src/integration-test/java/com/scylladb/alternator/TlsSessionResumptionIT.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/integration-test/java/com/scylladb/alternator/internal/AlternatorLiveNodesDnsDiscoveryIT.java b/src/integration-test/java/com/scylladb/alternator/internal/AlternatorLiveNodesDnsDiscoveryIT.java index 82435cb..d636f87 100644 --- a/src/integration-test/java/com/scylladb/alternator/internal/AlternatorLiveNodesDnsDiscoveryIT.java +++ b/src/integration-test/java/com/scylladb/alternator/internal/AlternatorLiveNodesDnsDiscoveryIT.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.assertFalse; diff --git a/src/integration-test/java/com/scylladb/alternator/internal/ConnectionPoolIT.java b/src/integration-test/java/com/scylladb/alternator/internal/ConnectionPoolIT.java index 7a327cb..30f4843 100644 --- a/src/integration-test/java/com/scylladb/alternator/internal/ConnectionPoolIT.java +++ b/src/integration-test/java/com/scylladb/alternator/internal/ConnectionPoolIT.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/main/java/com/scylladb/alternator/AlternatorConfig.java b/src/main/java/com/scylladb/alternator/AlternatorConfig.java index 96ec073..f83c125 100644 --- a/src/main/java/com/scylladb/alternator/AlternatorConfig.java +++ b/src/main/java/com/scylladb/alternator/AlternatorConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import com.scylladb.alternator.keyrouting.KeyRouteAffinity; diff --git a/src/main/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClient.java b/src/main/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClient.java index 15df7f7..9b438bc 100644 --- a/src/main/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClient.java +++ b/src/main/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClient.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import com.scylladb.alternator.internal.AlternatorLiveNodes; diff --git a/src/main/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClientWrapper.java b/src/main/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClientWrapper.java index a3752dd..addf07f 100644 --- a/src/main/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClientWrapper.java +++ b/src/main/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClientWrapper.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import com.scylladb.alternator.internal.AlternatorLiveNodes; diff --git a/src/main/java/com/scylladb/alternator/AlternatorDynamoDbClient.java b/src/main/java/com/scylladb/alternator/AlternatorDynamoDbClient.java index 632ebe1..966d762 100644 --- a/src/main/java/com/scylladb/alternator/AlternatorDynamoDbClient.java +++ b/src/main/java/com/scylladb/alternator/AlternatorDynamoDbClient.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import com.scylladb.alternator.internal.AlternatorLiveNodes; diff --git a/src/main/java/com/scylladb/alternator/AlternatorDynamoDbClientWrapper.java b/src/main/java/com/scylladb/alternator/AlternatorDynamoDbClientWrapper.java index ad2e852..9356620 100644 --- a/src/main/java/com/scylladb/alternator/AlternatorDynamoDbClientWrapper.java +++ b/src/main/java/com/scylladb/alternator/AlternatorDynamoDbClientWrapper.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import com.scylladb.alternator.internal.AlternatorLiveNodes; diff --git a/src/main/java/com/scylladb/alternator/AlternatorUserAgent.java b/src/main/java/com/scylladb/alternator/AlternatorUserAgent.java index c0a258f..7090cd9 100644 --- a/src/main/java/com/scylladb/alternator/AlternatorUserAgent.java +++ b/src/main/java/com/scylladb/alternator/AlternatorUserAgent.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import java.io.IOException; diff --git a/src/main/java/com/scylladb/alternator/GzipRequestInterceptor.java b/src/main/java/com/scylladb/alternator/GzipRequestInterceptor.java index 749b709..1e218d6 100644 --- a/src/main/java/com/scylladb/alternator/GzipRequestInterceptor.java +++ b/src/main/java/com/scylladb/alternator/GzipRequestInterceptor.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import java.io.ByteArrayOutputStream; diff --git a/src/main/java/com/scylladb/alternator/HeadersFilteringSdkAsyncHttpClient.java b/src/main/java/com/scylladb/alternator/HeadersFilteringSdkAsyncHttpClient.java index 7b3ff5d..c49dc2a 100644 --- a/src/main/java/com/scylladb/alternator/HeadersFilteringSdkAsyncHttpClient.java +++ b/src/main/java/com/scylladb/alternator/HeadersFilteringSdkAsyncHttpClient.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import java.util.HashSet; diff --git a/src/main/java/com/scylladb/alternator/HeadersFilteringSdkHttpClient.java b/src/main/java/com/scylladb/alternator/HeadersFilteringSdkHttpClient.java index 4f5f1fd..85293a4 100644 --- a/src/main/java/com/scylladb/alternator/HeadersFilteringSdkHttpClient.java +++ b/src/main/java/com/scylladb/alternator/HeadersFilteringSdkHttpClient.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import java.util.HashSet; diff --git a/src/main/java/com/scylladb/alternator/HttpClientType.java b/src/main/java/com/scylladb/alternator/HttpClientType.java index 635674a..39f4db5 100644 --- a/src/main/java/com/scylladb/alternator/HttpClientType.java +++ b/src/main/java/com/scylladb/alternator/HttpClientType.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import com.scylladb.alternator.internal.AsyncClientDetector; diff --git a/src/main/java/com/scylladb/alternator/RequestCompressionAlgorithm.java b/src/main/java/com/scylladb/alternator/RequestCompressionAlgorithm.java index d7c5feb..06985d7 100644 --- a/src/main/java/com/scylladb/alternator/RequestCompressionAlgorithm.java +++ b/src/main/java/com/scylladb/alternator/RequestCompressionAlgorithm.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; /** diff --git a/src/main/java/com/scylladb/alternator/ResponseCompressionAlgorithm.java b/src/main/java/com/scylladb/alternator/ResponseCompressionAlgorithm.java index 1380214..4ca29ea 100644 --- a/src/main/java/com/scylladb/alternator/ResponseCompressionAlgorithm.java +++ b/src/main/java/com/scylladb/alternator/ResponseCompressionAlgorithm.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import java.util.ArrayList; diff --git a/src/main/java/com/scylladb/alternator/ResponseCompressionInterceptor.java b/src/main/java/com/scylladb/alternator/ResponseCompressionInterceptor.java index e706c6b..c985c05 100644 --- a/src/main/java/com/scylladb/alternator/ResponseCompressionInterceptor.java +++ b/src/main/java/com/scylladb/alternator/ResponseCompressionInterceptor.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import java.io.ByteArrayInputStream; diff --git a/src/main/java/com/scylladb/alternator/TlsConfig.java b/src/main/java/com/scylladb/alternator/TlsConfig.java index ac8e5a4..29167ec 100644 --- a/src/main/java/com/scylladb/alternator/TlsConfig.java +++ b/src/main/java/com/scylladb/alternator/TlsConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import java.nio.file.Path; diff --git a/src/main/java/com/scylladb/alternator/TlsSessionCacheConfig.java b/src/main/java/com/scylladb/alternator/TlsSessionCacheConfig.java index caad3a1..d17ce32 100644 --- a/src/main/java/com/scylladb/alternator/TlsSessionCacheConfig.java +++ b/src/main/java/com/scylladb/alternator/TlsSessionCacheConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import java.util.Objects; diff --git a/src/main/java/com/scylladb/alternator/UserAgentSdkAsyncHttpClient.java b/src/main/java/com/scylladb/alternator/UserAgentSdkAsyncHttpClient.java index de023ad..2b96d01 100644 --- a/src/main/java/com/scylladb/alternator/UserAgentSdkAsyncHttpClient.java +++ b/src/main/java/com/scylladb/alternator/UserAgentSdkAsyncHttpClient.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import java.util.concurrent.CompletableFuture; diff --git a/src/main/java/com/scylladb/alternator/UserAgentSdkHttpClient.java b/src/main/java/com/scylladb/alternator/UserAgentSdkHttpClient.java index e7145d4..ad633b5 100644 --- a/src/main/java/com/scylladb/alternator/UserAgentSdkHttpClient.java +++ b/src/main/java/com/scylladb/alternator/UserAgentSdkHttpClient.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import java.util.function.UnaryOperator; diff --git a/src/main/java/com/scylladb/alternator/internal/AlternatorLiveNodes.java b/src/main/java/com/scylladb/alternator/internal/AlternatorLiveNodes.java index c331cad..d7c124b 100644 --- a/src/main/java/com/scylladb/alternator/internal/AlternatorLiveNodes.java +++ b/src/main/java/com/scylladb/alternator/internal/AlternatorLiveNodes.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import com.scylladb.alternator.AlternatorConfig; diff --git a/src/main/java/com/scylladb/alternator/internal/ApacheSyncClientFactory.java b/src/main/java/com/scylladb/alternator/internal/ApacheSyncClientFactory.java index 6264a09..1f13ca7 100644 --- a/src/main/java/com/scylladb/alternator/internal/ApacheSyncClientFactory.java +++ b/src/main/java/com/scylladb/alternator/internal/ApacheSyncClientFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import com.scylladb.alternator.AlternatorConfig; diff --git a/src/main/java/com/scylladb/alternator/internal/AsyncClientDetector.java b/src/main/java/com/scylladb/alternator/internal/AsyncClientDetector.java index 0bdeda6..86e3bbd 100644 --- a/src/main/java/com/scylladb/alternator/internal/AsyncClientDetector.java +++ b/src/main/java/com/scylladb/alternator/internal/AsyncClientDetector.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import java.util.logging.Level; diff --git a/src/main/java/com/scylladb/alternator/internal/ClasspathUtil.java b/src/main/java/com/scylladb/alternator/internal/ClasspathUtil.java index e35027d..c64e3d3 100644 --- a/src/main/java/com/scylladb/alternator/internal/ClasspathUtil.java +++ b/src/main/java/com/scylladb/alternator/internal/ClasspathUtil.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import java.util.logging.Level; diff --git a/src/main/java/com/scylladb/alternator/internal/CrtAsyncClientFactory.java b/src/main/java/com/scylladb/alternator/internal/CrtAsyncClientFactory.java index 14c087d..23d6c9d 100644 --- a/src/main/java/com/scylladb/alternator/internal/CrtAsyncClientFactory.java +++ b/src/main/java/com/scylladb/alternator/internal/CrtAsyncClientFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import com.scylladb.alternator.AlternatorConfig; diff --git a/src/main/java/com/scylladb/alternator/internal/CrtSyncClientFactory.java b/src/main/java/com/scylladb/alternator/internal/CrtSyncClientFactory.java index 2d7e0d3..6c4b460 100644 --- a/src/main/java/com/scylladb/alternator/internal/CrtSyncClientFactory.java +++ b/src/main/java/com/scylladb/alternator/internal/CrtSyncClientFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import com.scylladb.alternator.AlternatorConfig; diff --git a/src/main/java/com/scylladb/alternator/internal/GoRand.java b/src/main/java/com/scylladb/alternator/internal/GoRand.java index c9a5f6f..8508635 100644 --- a/src/main/java/com/scylladb/alternator/internal/GoRand.java +++ b/src/main/java/com/scylladb/alternator/internal/GoRand.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; /** diff --git a/src/main/java/com/scylladb/alternator/internal/LazyQueryPlan.java b/src/main/java/com/scylladb/alternator/internal/LazyQueryPlan.java index b1f37c8..d2d957d 100644 --- a/src/main/java/com/scylladb/alternator/internal/LazyQueryPlan.java +++ b/src/main/java/com/scylladb/alternator/internal/LazyQueryPlan.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import java.net.URI; diff --git a/src/main/java/com/scylladb/alternator/internal/LocalNodesResponseParser.java b/src/main/java/com/scylladb/alternator/internal/LocalNodesResponseParser.java index 097e51b..300e8cf 100644 --- a/src/main/java/com/scylladb/alternator/internal/LocalNodesResponseParser.java +++ b/src/main/java/com/scylladb/alternator/internal/LocalNodesResponseParser.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import java.io.IOException; diff --git a/src/main/java/com/scylladb/alternator/internal/NettyAsyncClientFactory.java b/src/main/java/com/scylladb/alternator/internal/NettyAsyncClientFactory.java index 0d0d349..b746b0d 100644 --- a/src/main/java/com/scylladb/alternator/internal/NettyAsyncClientFactory.java +++ b/src/main/java/com/scylladb/alternator/internal/NettyAsyncClientFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import com.scylladb.alternator.AlternatorConfig; diff --git a/src/main/java/com/scylladb/alternator/internal/SyncClientDetector.java b/src/main/java/com/scylladb/alternator/internal/SyncClientDetector.java index ab7b077..dc39a46 100644 --- a/src/main/java/com/scylladb/alternator/internal/SyncClientDetector.java +++ b/src/main/java/com/scylladb/alternator/internal/SyncClientDetector.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import com.scylladb.alternator.TlsConfig; diff --git a/src/main/java/com/scylladb/alternator/internal/TlsContextFactory.java b/src/main/java/com/scylladb/alternator/internal/TlsContextFactory.java index a712708..c5aaeed 100644 --- a/src/main/java/com/scylladb/alternator/internal/TlsContextFactory.java +++ b/src/main/java/com/scylladb/alternator/internal/TlsContextFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import com.scylladb.alternator.TlsConfig; diff --git a/src/main/java/com/scylladb/alternator/internal/TlsHttpClientSupport.java b/src/main/java/com/scylladb/alternator/internal/TlsHttpClientSupport.java index 509a4b0..c71e16d 100644 --- a/src/main/java/com/scylladb/alternator/internal/TlsHttpClientSupport.java +++ b/src/main/java/com/scylladb/alternator/internal/TlsHttpClientSupport.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import com.scylladb.alternator.TlsConfig; diff --git a/src/main/java/com/scylladb/alternator/internal/TlsSessionCacheSupport.java b/src/main/java/com/scylladb/alternator/internal/TlsSessionCacheSupport.java index ef99b51..e549bc3 100644 --- a/src/main/java/com/scylladb/alternator/internal/TlsSessionCacheSupport.java +++ b/src/main/java/com/scylladb/alternator/internal/TlsSessionCacheSupport.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import com.scylladb.alternator.TlsConfig; diff --git a/src/main/java/com/scylladb/alternator/keyrouting/AttributeValueHasher.java b/src/main/java/com/scylladb/alternator/keyrouting/AttributeValueHasher.java index 7d67352..a6fe489 100644 --- a/src/main/java/com/scylladb/alternator/keyrouting/AttributeValueHasher.java +++ b/src/main/java/com/scylladb/alternator/keyrouting/AttributeValueHasher.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.keyrouting; import java.nio.charset.StandardCharsets; diff --git a/src/main/java/com/scylladb/alternator/keyrouting/KeyAffinityRequestClassifier.java b/src/main/java/com/scylladb/alternator/keyrouting/KeyAffinityRequestClassifier.java index da33bf5..c008f2b 100644 --- a/src/main/java/com/scylladb/alternator/keyrouting/KeyAffinityRequestClassifier.java +++ b/src/main/java/com/scylladb/alternator/keyrouting/KeyAffinityRequestClassifier.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.keyrouting; import java.util.ArrayList; diff --git a/src/main/java/com/scylladb/alternator/keyrouting/KeyRouteAffinity.java b/src/main/java/com/scylladb/alternator/keyrouting/KeyRouteAffinity.java index 224f5af..90ee1bc 100644 --- a/src/main/java/com/scylladb/alternator/keyrouting/KeyRouteAffinity.java +++ b/src/main/java/com/scylladb/alternator/keyrouting/KeyRouteAffinity.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.keyrouting; /** diff --git a/src/main/java/com/scylladb/alternator/keyrouting/KeyRouteAffinityConfig.java b/src/main/java/com/scylladb/alternator/keyrouting/KeyRouteAffinityConfig.java index 51525e8..2dc2dde 100644 --- a/src/main/java/com/scylladb/alternator/keyrouting/KeyRouteAffinityConfig.java +++ b/src/main/java/com/scylladb/alternator/keyrouting/KeyRouteAffinityConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.keyrouting; import java.util.Collections; diff --git a/src/main/java/com/scylladb/alternator/keyrouting/MurmurHash3.java b/src/main/java/com/scylladb/alternator/keyrouting/MurmurHash3.java index 38f3228..b5609d1 100644 --- a/src/main/java/com/scylladb/alternator/keyrouting/MurmurHash3.java +++ b/src/main/java/com/scylladb/alternator/keyrouting/MurmurHash3.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file diff --git a/src/main/java/com/scylladb/alternator/keyrouting/PartitionKeyResolver.java b/src/main/java/com/scylladb/alternator/keyrouting/PartitionKeyResolver.java index 465fb5b..a1f6521 100644 --- a/src/main/java/com/scylladb/alternator/keyrouting/PartitionKeyResolver.java +++ b/src/main/java/com/scylladb/alternator/keyrouting/PartitionKeyResolver.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.keyrouting; import java.util.Map; diff --git a/src/main/java/com/scylladb/alternator/queryplan/AffinityQueryPlanInterceptor.java b/src/main/java/com/scylladb/alternator/queryplan/AffinityQueryPlanInterceptor.java index becb303..c5db28b 100644 --- a/src/main/java/com/scylladb/alternator/queryplan/AffinityQueryPlanInterceptor.java +++ b/src/main/java/com/scylladb/alternator/queryplan/AffinityQueryPlanInterceptor.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.queryplan; import com.scylladb.alternator.internal.AlternatorLiveNodes; diff --git a/src/main/java/com/scylladb/alternator/queryplan/BasicQueryPlanInterceptor.java b/src/main/java/com/scylladb/alternator/queryplan/BasicQueryPlanInterceptor.java index 61893cb..abea0f3 100644 --- a/src/main/java/com/scylladb/alternator/queryplan/BasicQueryPlanInterceptor.java +++ b/src/main/java/com/scylladb/alternator/queryplan/BasicQueryPlanInterceptor.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.queryplan; import com.scylladb.alternator.internal.AlternatorLiveNodes; diff --git a/src/main/java/com/scylladb/alternator/routing/ClusterScope.java b/src/main/java/com/scylladb/alternator/routing/ClusterScope.java index 0c5a319..fa947de 100644 --- a/src/main/java/com/scylladb/alternator/routing/ClusterScope.java +++ b/src/main/java/com/scylladb/alternator/routing/ClusterScope.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.routing; /** diff --git a/src/main/java/com/scylladb/alternator/routing/DatacenterScope.java b/src/main/java/com/scylladb/alternator/routing/DatacenterScope.java index 0a9049c..3ea05a7 100644 --- a/src/main/java/com/scylladb/alternator/routing/DatacenterScope.java +++ b/src/main/java/com/scylladb/alternator/routing/DatacenterScope.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.routing; /** diff --git a/src/main/java/com/scylladb/alternator/routing/RackScope.java b/src/main/java/com/scylladb/alternator/routing/RackScope.java index d96a5a0..3511ab1 100644 --- a/src/main/java/com/scylladb/alternator/routing/RackScope.java +++ b/src/main/java/com/scylladb/alternator/routing/RackScope.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.routing; /** diff --git a/src/main/java/com/scylladb/alternator/routing/RoutingScope.java b/src/main/java/com/scylladb/alternator/routing/RoutingScope.java index 5a0d45f..8e95342 100644 --- a/src/main/java/com/scylladb/alternator/routing/RoutingScope.java +++ b/src/main/java/com/scylladb/alternator/routing/RoutingScope.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.routing; /** diff --git a/src/main/java/com/scylladb/alternator/routing/RoutingScopeQuery.java b/src/main/java/com/scylladb/alternator/routing/RoutingScopeQuery.java index 1dd51e4..44200e8 100644 --- a/src/main/java/com/scylladb/alternator/routing/RoutingScopeQuery.java +++ b/src/main/java/com/scylladb/alternator/routing/RoutingScopeQuery.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.routing; import java.net.URLEncoder; diff --git a/src/test/java/com/scylladb/alternator/AffinityQueryPlanInterceptorTest.java b/src/test/java/com/scylladb/alternator/AffinityQueryPlanInterceptorTest.java index a0842f2..1eb5df4 100644 --- a/src/test/java/com/scylladb/alternator/AffinityQueryPlanInterceptorTest.java +++ b/src/test/java/com/scylladb/alternator/AffinityQueryPlanInterceptorTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/AlternatorConfigCompressionTest.java b/src/test/java/com/scylladb/alternator/AlternatorConfigCompressionTest.java index 3df6680..84ef072 100644 --- a/src/test/java/com/scylladb/alternator/AlternatorConfigCompressionTest.java +++ b/src/test/java/com/scylladb/alternator/AlternatorConfigCompressionTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/AlternatorConfigConnectionPoolTest.java b/src/test/java/com/scylladb/alternator/AlternatorConfigConnectionPoolTest.java index 1b869ad..51d18f6 100644 --- a/src/test/java/com/scylladb/alternator/AlternatorConfigConnectionPoolTest.java +++ b/src/test/java/com/scylladb/alternator/AlternatorConfigConnectionPoolTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/AlternatorConfigHeadersTest.java b/src/test/java/com/scylladb/alternator/AlternatorConfigHeadersTest.java index 4f6f025..4880ef6 100644 --- a/src/test/java/com/scylladb/alternator/AlternatorConfigHeadersTest.java +++ b/src/test/java/com/scylladb/alternator/AlternatorConfigHeadersTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/AlternatorConfigTlsTest.java b/src/test/java/com/scylladb/alternator/AlternatorConfigTlsTest.java index b061cb9..ec73eef 100644 --- a/src/test/java/com/scylladb/alternator/AlternatorConfigTlsTest.java +++ b/src/test/java/com/scylladb/alternator/AlternatorConfigTlsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClientCustomizerTest.java b/src/test/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClientCustomizerTest.java index 16da972..5082d03 100644 --- a/src/test/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClientCustomizerTest.java +++ b/src/test/java/com/scylladb/alternator/AlternatorDynamoDbAsyncClientCustomizerTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/AlternatorDynamoDbClientCustomizerTest.java b/src/test/java/com/scylladb/alternator/AlternatorDynamoDbClientCustomizerTest.java index b4253e8..1e1ad9e 100644 --- a/src/test/java/com/scylladb/alternator/AlternatorDynamoDbClientCustomizerTest.java +++ b/src/test/java/com/scylladb/alternator/AlternatorDynamoDbClientCustomizerTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/AlternatorDynamoDbClientWrapperShutdownTest.java b/src/test/java/com/scylladb/alternator/AlternatorDynamoDbClientWrapperShutdownTest.java index 9953ad7..41663ab 100644 --- a/src/test/java/com/scylladb/alternator/AlternatorDynamoDbClientWrapperShutdownTest.java +++ b/src/test/java/com/scylladb/alternator/AlternatorDynamoDbClientWrapperShutdownTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/com/scylladb/alternator/AlternatorLiveNodesTest.java b/src/test/java/com/scylladb/alternator/AlternatorLiveNodesTest.java index 739f3ff..c8850c1 100644 --- a/src/test/java/com/scylladb/alternator/AlternatorLiveNodesTest.java +++ b/src/test/java/com/scylladb/alternator/AlternatorLiveNodesTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/DynamoDbEnhancedClientTest.java b/src/test/java/com/scylladb/alternator/DynamoDbEnhancedClientTest.java index de7aaf6..040a196 100644 --- a/src/test/java/com/scylladb/alternator/DynamoDbEnhancedClientTest.java +++ b/src/test/java/com/scylladb/alternator/DynamoDbEnhancedClientTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/GzipRequestInterceptorTest.java b/src/test/java/com/scylladb/alternator/GzipRequestInterceptorTest.java index bace9d0..93e8b9e 100644 --- a/src/test/java/com/scylladb/alternator/GzipRequestInterceptorTest.java +++ b/src/test/java/com/scylladb/alternator/GzipRequestInterceptorTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/HeadersFilteringSdkAsyncHttpClientTest.java b/src/test/java/com/scylladb/alternator/HeadersFilteringSdkAsyncHttpClientTest.java index fac19f4..d83ff69 100644 --- a/src/test/java/com/scylladb/alternator/HeadersFilteringSdkAsyncHttpClientTest.java +++ b/src/test/java/com/scylladb/alternator/HeadersFilteringSdkAsyncHttpClientTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/HeadersFilteringSdkHttpClientTest.java b/src/test/java/com/scylladb/alternator/HeadersFilteringSdkHttpClientTest.java index cf7a868..d2bdfb6 100644 --- a/src/test/java/com/scylladb/alternator/HeadersFilteringSdkHttpClientTest.java +++ b/src/test/java/com/scylladb/alternator/HeadersFilteringSdkHttpClientTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/HttpClientTypeTest.java b/src/test/java/com/scylladb/alternator/HttpClientTypeTest.java index 01f666b..ab7d390 100644 --- a/src/test/java/com/scylladb/alternator/HttpClientTypeTest.java +++ b/src/test/java/com/scylladb/alternator/HttpClientTypeTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/IntegrationTestConfig.java b/src/test/java/com/scylladb/alternator/IntegrationTestConfig.java index 2263e2f..0711116 100644 --- a/src/test/java/com/scylladb/alternator/IntegrationTestConfig.java +++ b/src/test/java/com/scylladb/alternator/IntegrationTestConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import java.net.URI; diff --git a/src/test/java/com/scylladb/alternator/KeyRouteAffinityClientTest.java b/src/test/java/com/scylladb/alternator/KeyRouteAffinityClientTest.java index 416fa33..62a77bd 100644 --- a/src/test/java/com/scylladb/alternator/KeyRouteAffinityClientTest.java +++ b/src/test/java/com/scylladb/alternator/KeyRouteAffinityClientTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/LazyQueryPlanCrossLanguageTest.java b/src/test/java/com/scylladb/alternator/LazyQueryPlanCrossLanguageTest.java index f5767e1..2911ca5 100644 --- a/src/test/java/com/scylladb/alternator/LazyQueryPlanCrossLanguageTest.java +++ b/src/test/java/com/scylladb/alternator/LazyQueryPlanCrossLanguageTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/LazyQueryPlanTest.java b/src/test/java/com/scylladb/alternator/LazyQueryPlanTest.java index 10168b1..bdba2ba 100644 --- a/src/test/java/com/scylladb/alternator/LazyQueryPlanTest.java +++ b/src/test/java/com/scylladb/alternator/LazyQueryPlanTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/RequestCompressionAlgorithmTest.java b/src/test/java/com/scylladb/alternator/RequestCompressionAlgorithmTest.java index b0154d7..ef72849 100644 --- a/src/test/java/com/scylladb/alternator/RequestCompressionAlgorithmTest.java +++ b/src/test/java/com/scylladb/alternator/RequestCompressionAlgorithmTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/ResponseCompressionInterceptorTest.java b/src/test/java/com/scylladb/alternator/ResponseCompressionInterceptorTest.java index 3ae31c7..470565f 100644 --- a/src/test/java/com/scylladb/alternator/ResponseCompressionInterceptorTest.java +++ b/src/test/java/com/scylladb/alternator/ResponseCompressionInterceptorTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/RetryDistributionTest.java b/src/test/java/com/scylladb/alternator/RetryDistributionTest.java index 42196d0..6d5974a 100644 --- a/src/test/java/com/scylladb/alternator/RetryDistributionTest.java +++ b/src/test/java/com/scylladb/alternator/RetryDistributionTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/RoutingScopeTest.java b/src/test/java/com/scylladb/alternator/RoutingScopeTest.java index a59cb0b..4533a5d 100644 --- a/src/test/java/com/scylladb/alternator/RoutingScopeTest.java +++ b/src/test/java/com/scylladb/alternator/RoutingScopeTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/TlsConfigTest.java b/src/test/java/com/scylladb/alternator/TlsConfigTest.java index 70dabff..9b6c57e 100644 --- a/src/test/java/com/scylladb/alternator/TlsConfigTest.java +++ b/src/test/java/com/scylladb/alternator/TlsConfigTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/TlsContextFactoryTest.java b/src/test/java/com/scylladb/alternator/TlsContextFactoryTest.java index e2e35b4..02f3138 100644 --- a/src/test/java/com/scylladb/alternator/TlsContextFactoryTest.java +++ b/src/test/java/com/scylladb/alternator/TlsContextFactoryTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/TlsSessionCacheConfigTest.java b/src/test/java/com/scylladb/alternator/TlsSessionCacheConfigTest.java index 388c71c..0dfd6ea 100644 --- a/src/test/java/com/scylladb/alternator/TlsSessionCacheConfigTest.java +++ b/src/test/java/com/scylladb/alternator/TlsSessionCacheConfigTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/TlsSessionResumptionTest.java b/src/test/java/com/scylladb/alternator/TlsSessionResumptionTest.java index 44e82ab..07926a0 100644 --- a/src/test/java/com/scylladb/alternator/TlsSessionResumptionTest.java +++ b/src/test/java/com/scylladb/alternator/TlsSessionResumptionTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/UserAgentSdkAsyncHttpClientTest.java b/src/test/java/com/scylladb/alternator/UserAgentSdkAsyncHttpClientTest.java index 502c932..888bef0 100644 --- a/src/test/java/com/scylladb/alternator/UserAgentSdkAsyncHttpClientTest.java +++ b/src/test/java/com/scylladb/alternator/UserAgentSdkAsyncHttpClientTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/UserAgentSdkHttpClientTest.java b/src/test/java/com/scylladb/alternator/UserAgentSdkHttpClientTest.java index 9c8f829..5d8d51b 100644 --- a/src/test/java/com/scylladb/alternator/UserAgentSdkHttpClientTest.java +++ b/src/test/java/com/scylladb/alternator/UserAgentSdkHttpClientTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesClusterDiscoveryTest.java b/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesClusterDiscoveryTest.java index 2bf4b63..ca5ced7 100644 --- a/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesClusterDiscoveryTest.java +++ b/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesClusterDiscoveryTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesDnsDiscoveryTest.java b/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesDnsDiscoveryTest.java index 923e5a9..9111235 100644 --- a/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesDnsDiscoveryTest.java +++ b/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesDnsDiscoveryTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesInterruptTest.java b/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesInterruptTest.java index 5f896df..190f97f 100644 --- a/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesInterruptTest.java +++ b/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesInterruptTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.assertTrue; diff --git a/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesKeepAliveTest.java b/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesKeepAliveTest.java index 6270ca5..ab4503d 100644 --- a/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesKeepAliveTest.java +++ b/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesKeepAliveTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesScopeFallbackTest.java b/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesScopeFallbackTest.java index 3610acd..82e86ad 100644 --- a/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesScopeFallbackTest.java +++ b/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesScopeFallbackTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesShutdownTest.java b/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesShutdownTest.java index 7174cbf..b6dbfd4 100644 --- a/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesShutdownTest.java +++ b/src/test/java/com/scylladb/alternator/internal/AlternatorLiveNodesShutdownTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.assertNull; diff --git a/src/test/java/com/scylladb/alternator/internal/ApacheConnectionPoolExhaustionTest.java b/src/test/java/com/scylladb/alternator/internal/ApacheConnectionPoolExhaustionTest.java index ff15272..22c20d3 100644 --- a/src/test/java/com/scylladb/alternator/internal/ApacheConnectionPoolExhaustionTest.java +++ b/src/test/java/com/scylladb/alternator/internal/ApacheConnectionPoolExhaustionTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/ApacheIdleConnectionReaperTest.java b/src/test/java/com/scylladb/alternator/internal/ApacheIdleConnectionReaperTest.java index afda3f9..401b5ff 100644 --- a/src/test/java/com/scylladb/alternator/internal/ApacheIdleConnectionReaperTest.java +++ b/src/test/java/com/scylladb/alternator/internal/ApacheIdleConnectionReaperTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/ApacheSyncClientFactoryTest.java b/src/test/java/com/scylladb/alternator/internal/ApacheSyncClientFactoryTest.java index 76e528a..dc3e883 100644 --- a/src/test/java/com/scylladb/alternator/internal/ApacheSyncClientFactoryTest.java +++ b/src/test/java/com/scylladb/alternator/internal/ApacheSyncClientFactoryTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/AsyncClientDetectorTest.java b/src/test/java/com/scylladb/alternator/internal/AsyncClientDetectorTest.java index 386363e..69d96cc 100644 --- a/src/test/java/com/scylladb/alternator/internal/AsyncClientDetectorTest.java +++ b/src/test/java/com/scylladb/alternator/internal/AsyncClientDetectorTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/ClasspathUtilTest.java b/src/test/java/com/scylladb/alternator/internal/ClasspathUtilTest.java index a3af84e..130fb1f 100644 --- a/src/test/java/com/scylladb/alternator/internal/ClasspathUtilTest.java +++ b/src/test/java/com/scylladb/alternator/internal/ClasspathUtilTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/ConnectionLeakTest.java b/src/test/java/com/scylladb/alternator/internal/ConnectionLeakTest.java index ccc79cc..0e6f2d0 100644 --- a/src/test/java/com/scylladb/alternator/internal/ConnectionLeakTest.java +++ b/src/test/java/com/scylladb/alternator/internal/ConnectionLeakTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/CrtAsyncClientFactoryTest.java b/src/test/java/com/scylladb/alternator/internal/CrtAsyncClientFactoryTest.java index 13014ef..27c9ff4 100644 --- a/src/test/java/com/scylladb/alternator/internal/CrtAsyncClientFactoryTest.java +++ b/src/test/java/com/scylladb/alternator/internal/CrtAsyncClientFactoryTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/CrtAsyncConnectionPoolExhaustionTest.java b/src/test/java/com/scylladb/alternator/internal/CrtAsyncConnectionPoolExhaustionTest.java index a897a32..4005db7 100644 --- a/src/test/java/com/scylladb/alternator/internal/CrtAsyncConnectionPoolExhaustionTest.java +++ b/src/test/java/com/scylladb/alternator/internal/CrtAsyncConnectionPoolExhaustionTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/CrtAsyncZeroTimeoutTest.java b/src/test/java/com/scylladb/alternator/internal/CrtAsyncZeroTimeoutTest.java index ba14df5..9337206 100644 --- a/src/test/java/com/scylladb/alternator/internal/CrtAsyncZeroTimeoutTest.java +++ b/src/test/java/com/scylladb/alternator/internal/CrtAsyncZeroTimeoutTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/CrtSyncClientFactoryTest.java b/src/test/java/com/scylladb/alternator/internal/CrtSyncClientFactoryTest.java index 52f3cbc..b18cc34 100644 --- a/src/test/java/com/scylladb/alternator/internal/CrtSyncClientFactoryTest.java +++ b/src/test/java/com/scylladb/alternator/internal/CrtSyncClientFactoryTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/CrtSyncConnectionPoolExhaustionTest.java b/src/test/java/com/scylladb/alternator/internal/CrtSyncConnectionPoolExhaustionTest.java index 00ea698..225c9c0 100644 --- a/src/test/java/com/scylladb/alternator/internal/CrtSyncConnectionPoolExhaustionTest.java +++ b/src/test/java/com/scylladb/alternator/internal/CrtSyncConnectionPoolExhaustionTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/CrtSyncZeroTimeoutTest.java b/src/test/java/com/scylladb/alternator/internal/CrtSyncZeroTimeoutTest.java index dff4131..5f3b99c 100644 --- a/src/test/java/com/scylladb/alternator/internal/CrtSyncZeroTimeoutTest.java +++ b/src/test/java/com/scylladb/alternator/internal/CrtSyncZeroTimeoutTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/HttpClientNon2xxConnectionReuseTest.java b/src/test/java/com/scylladb/alternator/internal/HttpClientNon2xxConnectionReuseTest.java index b33fb0d..ce0475b 100644 --- a/src/test/java/com/scylladb/alternator/internal/HttpClientNon2xxConnectionReuseTest.java +++ b/src/test/java/com/scylladb/alternator/internal/HttpClientNon2xxConnectionReuseTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/com/scylladb/alternator/internal/LocalNodesResponseParserTest.java b/src/test/java/com/scylladb/alternator/internal/LocalNodesResponseParserTest.java index d7b039c..8e38951 100644 --- a/src/test/java/com/scylladb/alternator/internal/LocalNodesResponseParserTest.java +++ b/src/test/java/com/scylladb/alternator/internal/LocalNodesResponseParserTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/NettyAsyncClientFactoryTest.java b/src/test/java/com/scylladb/alternator/internal/NettyAsyncClientFactoryTest.java index c3cb723..fd4c810 100644 --- a/src/test/java/com/scylladb/alternator/internal/NettyAsyncClientFactoryTest.java +++ b/src/test/java/com/scylladb/alternator/internal/NettyAsyncClientFactoryTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/NettyConnectionPoolExhaustionTest.java b/src/test/java/com/scylladb/alternator/internal/NettyConnectionPoolExhaustionTest.java index cf54907..050598f 100644 --- a/src/test/java/com/scylladb/alternator/internal/NettyConnectionPoolExhaustionTest.java +++ b/src/test/java/com/scylladb/alternator/internal/NettyConnectionPoolExhaustionTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/NettyConnectionTimeToLiveTest.java b/src/test/java/com/scylladb/alternator/internal/NettyConnectionTimeToLiveTest.java index 938fad3..784e5d9 100644 --- a/src/test/java/com/scylladb/alternator/internal/NettyConnectionTimeToLiveTest.java +++ b/src/test/java/com/scylladb/alternator/internal/NettyConnectionTimeToLiveTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/internal/SyncClientDetectorTest.java b/src/test/java/com/scylladb/alternator/internal/SyncClientDetectorTest.java index 4f6e6b7..9cec44e 100644 --- a/src/test/java/com/scylladb/alternator/internal/SyncClientDetectorTest.java +++ b/src/test/java/com/scylladb/alternator/internal/SyncClientDetectorTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.internal; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/keyrouting/AttributeValueHasherCrossLanguageTest.java b/src/test/java/com/scylladb/alternator/keyrouting/AttributeValueHasherCrossLanguageTest.java index 0a0d07d..525cd16 100644 --- a/src/test/java/com/scylladb/alternator/keyrouting/AttributeValueHasherCrossLanguageTest.java +++ b/src/test/java/com/scylladb/alternator/keyrouting/AttributeValueHasherCrossLanguageTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.keyrouting; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/com/scylladb/alternator/keyrouting/AttributeValueHasherTest.java b/src/test/java/com/scylladb/alternator/keyrouting/AttributeValueHasherTest.java index 0c44e08..059f7fd 100644 --- a/src/test/java/com/scylladb/alternator/keyrouting/AttributeValueHasherTest.java +++ b/src/test/java/com/scylladb/alternator/keyrouting/AttributeValueHasherTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.keyrouting; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/keyrouting/BatchWriteItemKeyRouteAffinityCrossLanguageTest.java b/src/test/java/com/scylladb/alternator/keyrouting/BatchWriteItemKeyRouteAffinityCrossLanguageTest.java index eb2ae94..0a313ab 100644 --- a/src/test/java/com/scylladb/alternator/keyrouting/BatchWriteItemKeyRouteAffinityCrossLanguageTest.java +++ b/src/test/java/com/scylladb/alternator/keyrouting/BatchWriteItemKeyRouteAffinityCrossLanguageTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.keyrouting; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/com/scylladb/alternator/keyrouting/KeyAffinityRequestClassifierTest.java b/src/test/java/com/scylladb/alternator/keyrouting/KeyAffinityRequestClassifierTest.java index bd694ea..1efa31f 100644 --- a/src/test/java/com/scylladb/alternator/keyrouting/KeyAffinityRequestClassifierTest.java +++ b/src/test/java/com/scylladb/alternator/keyrouting/KeyAffinityRequestClassifierTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.keyrouting; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/keyrouting/KeyRouteAffinityConfigTest.java b/src/test/java/com/scylladb/alternator/keyrouting/KeyRouteAffinityConfigTest.java index 776a614..b5d5438 100644 --- a/src/test/java/com/scylladb/alternator/keyrouting/KeyRouteAffinityConfigTest.java +++ b/src/test/java/com/scylladb/alternator/keyrouting/KeyRouteAffinityConfigTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.keyrouting; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/keyrouting/MurmurHash3Test.java b/src/test/java/com/scylladb/alternator/keyrouting/MurmurHash3Test.java index 14f5757..ff332e4 100644 --- a/src/test/java/com/scylladb/alternator/keyrouting/MurmurHash3Test.java +++ b/src/test/java/com/scylladb/alternator/keyrouting/MurmurHash3Test.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.keyrouting; import static org.junit.Assert.*; diff --git a/src/test/java/com/scylladb/alternator/keyrouting/PartitionKeyResolverTest.java b/src/test/java/com/scylladb/alternator/keyrouting/PartitionKeyResolverTest.java index 822ed4e..334552c 100644 --- a/src/test/java/com/scylladb/alternator/keyrouting/PartitionKeyResolverTest.java +++ b/src/test/java/com/scylladb/alternator/keyrouting/PartitionKeyResolverTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ScyllaDB, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.scylladb.alternator.keyrouting; import static org.junit.Assert.*;