Apache Solr open-source search software
Update dependencies com.adobe.testing:s3mock-junit4 to v2.11.0, org.springframework.boot:spring-boot to 2.7.10, org.springframework:spring to 5.3.26, and software.amazon.awssdk to 2.19.1 (#1535)
Kevin Risden153867b021e8
diff --git a/gradle/testing/randomization/policies/solr-tests.policy b/gradle/testing/randomization/policies/solr-tests.policyindex 2d699cdb56e..43b7446ece8 100644--- a/gradle/testing/randomization/policies/solr-tests.policy+++ b/gradle/testing/randomization/policies/solr-tests.policy@@ -144,6 +144,9 @@ grant {permission javax.xml.bind.JAXBPermission "setDatatypeConverter";+ // needed by s3mock+ permission java.lang.RuntimePermission "accessClassInPackage.sun.nio.fs";+// SSL related properties for Solr testspermission javax.net.ssl.SSLPermission "setDefaultSSLContext";diff --git a/solr/licenses/annotations-2.17.63.jar.sha1 b/solr/licenses/annotations-2.17.63.jar.sha1deleted file mode 100644index bc853b6e42a..00000000000--- a/solr/licenses/annotations-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-599f644340477536866076c5e255197111ebac72diff --git a/solr/licenses/annotations-2.19.1.jar.sha1 b/solr/licenses/annotations-2.19.1.jar.sha1new file mode 100644index 00000000000..d26d04aaaba--- /dev/null+++ b/solr/licenses/annotations-2.19.1.jar.sha1@@ -0,0 +1 @@+7f997d71e88fcf45467231bcc255a212656be4a9diff --git a/solr/licenses/apache-client-2.17.63.jar.sha1 b/solr/licenses/apache-client-2.17.63.jar.sha1deleted file mode 100644index cb392314bc7..00000000000--- a/solr/licenses/apache-client-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-252e49b4abce929c30848b33bd6e9620412c6731diff --git a/solr/licenses/apache-client-2.19.1.jar.sha1 b/solr/licenses/apache-client-2.19.1.jar.sha1new file mode 100644index 00000000000..abee274f918--- /dev/null+++ b/solr/licenses/apache-client-2.19.1.jar.sha1@@ -0,0 +1 @@+78b9f8c2680b696ca09b28182a779d6b57edde93diff --git a/solr/licenses/arns-2.17.63.jar.sha1 b/solr/licenses/arns-2.17.63.jar.sha1deleted file mode 100644index 9dd868ef958..00000000000--- a/solr/licenses/arns-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-8b76ee1514a65b5891bcf957ad118c8f8ab441b8diff --git a/solr/licenses/arns-2.19.1.jar.sha1 b/solr/licenses/arns-2.19.1.jar.sha1new file mode 100644index 00000000000..b87f40aad0f--- /dev/null+++ b/solr/licenses/arns-2.19.1.jar.sha1@@ -0,0 +1 @@+4d21c37a1f7eded752bb694095edd78e97a63deediff --git a/solr/licenses/auth-2.17.63.jar.sha1 b/solr/licenses/auth-2.17.63.jar.sha1deleted file mode 100644index 5567c2dcad4..00000000000--- a/solr/licenses/auth-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-93adf1d64823a5c81a141b69cf8d9a0a0a3f15e1diff --git a/solr/licenses/auth-2.19.1.jar.sha1 b/solr/licenses/auth-2.19.1.jar.sha1new file mode 100644index 00000000000..eeed2922d82--- /dev/null+++ b/solr/licenses/auth-2.19.1.jar.sha1@@ -0,0 +1 @@+e6f05f12153be962f923c1d3a989b19be84f12f4diff --git a/solr/licenses/aws-core-2.17.63.jar.sha1 b/solr/licenses/aws-core-2.17.63.jar.sha1deleted file mode 100644index 2e4d4b8b651..00000000000--- a/solr/licenses/aws-core-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-dceb84de5c839f3b9888d18806235155b2769471diff --git a/solr/licenses/aws-core-2.19.1.jar.sha1 b/solr/licenses/aws-core-2.19.1.jar.sha1new file mode 100644index 00000000000..3699ebd2d86--- /dev/null+++ b/solr/licenses/aws-core-2.19.1.jar.sha1@@ -0,0 +1 @@+184be3dc2a0653ed684b66aed48e22b0bf0c5f2ddiff --git a/solr/licenses/aws-java-sdk-core-1.12.15.jar.sha1 b/solr/licenses/aws-java-sdk-core-1.12.15.jar.sha1deleted file mode 100644index 840ba4d358b..00000000000--- a/solr/licenses/aws-java-sdk-core-1.12.15.jar.sha1+++ /dev/null@@ -1 +0,0 @@-6b3df58b3908dfaf7bdef66005d5bc190117debbdiff --git a/solr/licenses/aws-java-sdk-core-1.12.369.jar.sha1 b/solr/licenses/aws-java-sdk-core-1.12.369.jar.sha1new file mode 100644index 00000000000..7eafd6f907e--- /dev/null+++ b/solr/licenses/aws-java-sdk-core-1.12.369.jar.sha1@@ -0,0 +1 @@+b1c5247aaa9701fb215a2d19cd8f235470ec23dcdiff --git a/solr/licenses/aws-java-sdk-kms-1.12.15.jar.sha1 b/solr/licenses/aws-java-sdk-kms-1.12.15.jar.sha1deleted file mode 100644index be936a01da1..00000000000--- a/solr/licenses/aws-java-sdk-kms-1.12.15.jar.sha1+++ /dev/null@@ -1 +0,0 @@-c22f8a7a167de059645ce65ce4f41a22d9287e04diff --git a/solr/licenses/aws-java-sdk-kms-1.12.369.jar.sha1 b/solr/licenses/aws-java-sdk-kms-1.12.369.jar.sha1new file mode 100644index 00000000000..64d88b7e2c4--- /dev/null+++ b/solr/licenses/aws-java-sdk-kms-1.12.369.jar.sha1@@ -0,0 +1 @@+807ce9341d88858bc9315c4d986a92f5e9582b9cdiff --git a/solr/licenses/aws-java-sdk-s3-1.12.15.jar.sha1 b/solr/licenses/aws-java-sdk-s3-1.12.15.jar.sha1deleted file mode 100644index 1a8a33c600f..00000000000--- a/solr/licenses/aws-java-sdk-s3-1.12.15.jar.sha1+++ /dev/null@@ -1 +0,0 @@-d360360ca1a93cce9efa197be138e6f8741dd716diff --git a/solr/licenses/aws-java-sdk-s3-1.12.369.jar.sha1 b/solr/licenses/aws-java-sdk-s3-1.12.369.jar.sha1new file mode 100644index 00000000000..e576de5e0e1--- /dev/null+++ b/solr/licenses/aws-java-sdk-s3-1.12.369.jar.sha1@@ -0,0 +1 @@+691e59352e58a6f758ba319013bccd1ace872594diff --git a/solr/licenses/aws-query-protocol-2.17.63.jar.sha1 b/solr/licenses/aws-query-protocol-2.17.63.jar.sha1deleted file mode 100644index f8a83c074a6..00000000000--- a/solr/licenses/aws-query-protocol-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-4fb16d65dde6f2279ac0823de038b11d1b1296a7diff --git a/solr/licenses/aws-query-protocol-2.19.1.jar.sha1 b/solr/licenses/aws-query-protocol-2.19.1.jar.sha1new file mode 100644index 00000000000..b865d13b02f--- /dev/null+++ b/solr/licenses/aws-query-protocol-2.19.1.jar.sha1@@ -0,0 +1 @@+24c1ebb8ec890776b02c401716673f86bba5352fdiff --git a/solr/licenses/aws-xml-protocol-2.17.63.jar.sha1 b/solr/licenses/aws-xml-protocol-2.17.63.jar.sha1deleted file mode 100644index ff5c09f0515..00000000000--- a/solr/licenses/aws-xml-protocol-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-91259bb6f7be19ec8f2dcb780bb1a8f7681ea790diff --git a/solr/licenses/aws-xml-protocol-2.19.1.jar.sha1 b/solr/licenses/aws-xml-protocol-2.19.1.jar.sha1new file mode 100644index 00000000000..6a6ebdb55d3--- /dev/null+++ b/solr/licenses/aws-xml-protocol-2.19.1.jar.sha1@@ -0,0 +1 @@+7a07a7650ff846f3f1ddd1e03773117a27888eb0diff --git a/solr/licenses/endpoints-spi-2.19.1.jar.sha1 b/solr/licenses/endpoints-spi-2.19.1.jar.sha1new file mode 100644index 00000000000..0bb6ff3443d--- /dev/null+++ b/solr/licenses/endpoints-spi-2.19.1.jar.sha1@@ -0,0 +1 @@+72b11a82f2b97388912bd7c8e368d1b7734b7511diff --git a/solr/licenses/endpoints-spi-LICENSE-ASL.txt b/solr/licenses/endpoints-spi-LICENSE-ASL.txtnew file mode 100644index 00000000000..22d244f8c3a--- /dev/null+++ b/solr/licenses/endpoints-spi-LICENSE-ASL.txt@@ -0,0 +1,53 @@+Apache License+Version 2.0, January 2004++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:++ 1. You must give any other recipients of the Work or Derivative Works a copy of this License; and+ 2. You must cause any modified files to carry prominent notices stating that You changed the files; and+ 3. 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+ 4. 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++Note: Other license terms may apply to certain, identified software files contained within or distributed with the accompanying software if such terms are included in the directory containing the accompanying software. Such other license terms will then apply in lieu of the terms of the software license above.diff --git a/solr/licenses/endpoints-spi-NOTICE.txt b/solr/licenses/endpoints-spi-NOTICE.txtnew file mode 100644index 00000000000..303d412734f--- /dev/null+++ b/solr/licenses/endpoints-spi-NOTICE.txt@@ -0,0 +1,14 @@+AWS SDK for Java+Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.++This product includes software developed by+Amazon Technologies, Inc (http://www.amazon.com/).++**********************+THIRD PARTY COMPONENTS+**********************+This software includes third party software subject to the following copyrights:+- XML parsing and utility functions from JetS3t - Copyright 2006-2009 James Murty.+- PKCS#1 PEM encoded private key parsing and utility functions from oauth.googlecode.com - Copyright 1998-2010 AOL Inc.++The licenses for these third party components are included in LICENSE.txtdiff --git a/solr/licenses/http-client-spi-2.17.63.jar.sha1 b/solr/licenses/http-client-spi-2.17.63.jar.sha1deleted file mode 100644index 9a8121304cd..00000000000--- a/solr/licenses/http-client-spi-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-3d34c848cb6f007360da6dd75e57b4ff32a712efdiff --git a/solr/licenses/http-client-spi-2.19.1.jar.sha1 b/solr/licenses/http-client-spi-2.19.1.jar.sha1new file mode 100644index 00000000000..ccdc66fea33--- /dev/null+++ b/solr/licenses/http-client-spi-2.19.1.jar.sha1@@ -0,0 +1 @@+fcb6229aca049ea608c739c5a0fda2eeb4c9ab4ddiff --git a/solr/licenses/jaxb-runtime-2.3.5.jar.sha1 b/solr/licenses/jaxb-runtime-2.3.5.jar.sha1deleted file mode 100644index c61fff6d309..00000000000--- a/solr/licenses/jaxb-runtime-2.3.5.jar.sha1+++ /dev/null@@ -1 +0,0 @@-a169a961a2bb9ac69517ec1005e451becf5cdfabdiff --git a/solr/licenses/jaxb-runtime-2.3.7.jar.sha1 b/solr/licenses/jaxb-runtime-2.3.7.jar.sha1new file mode 100644index 00000000000..54fd7fb6dea--- /dev/null+++ b/solr/licenses/jaxb-runtime-2.3.7.jar.sha1@@ -0,0 +1 @@+ebcde6a44159eb9e3db721dfe6b45f26e6272341diff --git a/solr/licenses/jmespath-java-1.12.15.jar.sha1 b/solr/licenses/jmespath-java-1.12.15.jar.sha1deleted file mode 100644index 4c4c3889dc0..00000000000--- a/solr/licenses/jmespath-java-1.12.15.jar.sha1+++ /dev/null@@ -1 +0,0 @@-a61d37bf81e4e2ff9a9b16491e8697cfab4bdee5diff --git a/solr/licenses/jmespath-java-1.12.369.jar.sha1 b/solr/licenses/jmespath-java-1.12.369.jar.sha1new file mode 100644index 00000000000..843a0f6e8b0--- /dev/null+++ b/solr/licenses/jmespath-java-1.12.369.jar.sha1@@ -0,0 +1 @@+0ddf72369229e32634b94cda92cad5d08e98c7c8diff --git a/solr/licenses/json-utils-2.17.63.jar.sha1 b/solr/licenses/json-utils-2.17.63.jar.sha1deleted file mode 100644index 6af220fe9e5..00000000000--- a/solr/licenses/json-utils-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-2bfd957071b0c3c6d5a413b4f00501b67669c3dddiff --git a/solr/licenses/json-utils-2.19.1.jar.sha1 b/solr/licenses/json-utils-2.19.1.jar.sha1new file mode 100644index 00000000000..f63bd355ad1--- /dev/null+++ b/solr/licenses/json-utils-2.19.1.jar.sha1@@ -0,0 +1 @@+d5c19389d0f6bc84e333f51e965f4cfc77b42192diff --git a/solr/licenses/metrics-spi-2.17.63.jar.sha1 b/solr/licenses/metrics-spi-2.17.63.jar.sha1deleted file mode 100644index fbf0817f3b3..00000000000--- a/solr/licenses/metrics-spi-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-0e28a7880239d3a3adf33a72591f3b943793445ddiff --git a/solr/licenses/metrics-spi-2.19.1.jar.sha1 b/solr/licenses/metrics-spi-2.19.1.jar.sha1new file mode 100644index 00000000000..e2f3fc1f8e2--- /dev/null+++ b/solr/licenses/metrics-spi-2.19.1.jar.sha1@@ -0,0 +1 @@+45ee961b4c9cfef7c1dc492c7e0028a24e0fdf27diff --git a/solr/licenses/micrometer-core-1.7.12.jar.sha1 b/solr/licenses/micrometer-core-1.7.12.jar.sha1deleted file mode 100644index 7fbe56d5602..00000000000--- a/solr/licenses/micrometer-core-1.7.12.jar.sha1+++ /dev/null@@ -1 +0,0 @@-2a6df7cf6131216940f3ae64c0c6b290d77de0cddiff --git a/solr/licenses/micrometer-core-1.9.9.jar.sha1 b/solr/licenses/micrometer-core-1.9.9.jar.sha1new file mode 100644index 00000000000..452d7c25c5f--- /dev/null+++ b/solr/licenses/micrometer-core-1.9.9.jar.sha1@@ -0,0 +1 @@+71ca38f65a24b2fda26ff5c0cce78699c9d31d49diff --git a/solr/licenses/profiles-2.17.63.jar.sha1 b/solr/licenses/profiles-2.17.63.jar.sha1deleted file mode 100644index f896e38ee31..00000000000--- a/solr/licenses/profiles-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-58fab0a5d8cc836465c1124de6a723a322389073diff --git a/solr/licenses/profiles-2.19.1.jar.sha1 b/solr/licenses/profiles-2.19.1.jar.sha1new file mode 100644index 00000000000..d9df40fc703--- /dev/null+++ b/solr/licenses/profiles-2.19.1.jar.sha1@@ -0,0 +1 @@+234d2c1603ee6320c3c002adc9f4d922d1d3f46cdiff --git a/solr/licenses/protocol-core-2.17.63.jar.sha1 b/solr/licenses/protocol-core-2.17.63.jar.sha1deleted file mode 100644index a0846bf51ac..00000000000--- a/solr/licenses/protocol-core-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-dd41fa62ba7ccf1171279b4e6e29e1cb4706250ediff --git a/solr/licenses/protocol-core-2.19.1.jar.sha1 b/solr/licenses/protocol-core-2.19.1.jar.sha1new file mode 100644index 00000000000..63fd761459b--- /dev/null+++ b/solr/licenses/protocol-core-2.19.1.jar.sha1@@ -0,0 +1 @@+e22829648b1048a8c04afbc44ebf980d2813927bdiff --git a/solr/licenses/regions-2.17.63.jar.sha1 b/solr/licenses/regions-2.17.63.jar.sha1deleted file mode 100644index 33cc3cbbbf0..00000000000--- a/solr/licenses/regions-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-dc592a4db459766bcedd1df94db11a64ba82477cdiff --git a/solr/licenses/regions-2.19.1.jar.sha1 b/solr/licenses/regions-2.19.1.jar.sha1new file mode 100644index 00000000000..ef18acb856d--- /dev/null+++ b/solr/licenses/regions-2.19.1.jar.sha1@@ -0,0 +1 @@+88463fbb02efe9f7f8e034c67e32518fc293cce1diff --git a/solr/licenses/s3-2.17.63.jar.sha1 b/solr/licenses/s3-2.17.63.jar.sha1deleted file mode 100644index 5eb230676e3..00000000000--- a/solr/licenses/s3-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-bcd787e10b955fd2e222063a8768fdc66422e8dadiff --git a/solr/licenses/s3-2.19.1.jar.sha1 b/solr/licenses/s3-2.19.1.jar.sha1new file mode 100644index 00000000000..809ff7777f8--- /dev/null+++ b/solr/licenses/s3-2.19.1.jar.sha1@@ -0,0 +1 @@+de2b254642388ef34971765d1550cf0100f2b364diff --git a/solr/licenses/s3mock-2.1.34.jar.sha1 b/solr/licenses/s3mock-2.1.34.jar.sha1deleted file mode 100644index 9dede15e5dd..00000000000--- a/solr/licenses/s3mock-2.1.34.jar.sha1+++ /dev/null@@ -1 +0,0 @@-1d01b90a971d751444251bc72be019a77eb77a7bdiff --git a/solr/licenses/s3mock-2.11.0.jar.sha1 b/solr/licenses/s3mock-2.11.0.jar.sha1new file mode 100644index 00000000000..1ff4ca434e8--- /dev/null+++ b/solr/licenses/s3mock-2.11.0.jar.sha1@@ -0,0 +1 @@+53d4206ef435744eeee7bdb7c7d8871caddd25f6diff --git a/solr/licenses/s3mock-junit4-2.1.34.jar.sha1 b/solr/licenses/s3mock-junit4-2.1.34.jar.sha1deleted file mode 100644index bf545362441..00000000000--- a/solr/licenses/s3mock-junit4-2.1.34.jar.sha1+++ /dev/null@@ -1 +0,0 @@-ddac2928d2bf30dab3a3330f43a5c02a2315cda8diff --git a/solr/licenses/s3mock-junit4-2.11.0.jar.sha1 b/solr/licenses/s3mock-junit4-2.11.0.jar.sha1new file mode 100644index 00000000000..bf66b76dbf7--- /dev/null+++ b/solr/licenses/s3mock-junit4-2.11.0.jar.sha1@@ -0,0 +1 @@+95565959537aebda7480edd6d92d942528ebd9a0diff --git a/solr/licenses/s3mock-testsupport-common-2.1.34.jar.sha1 b/solr/licenses/s3mock-testsupport-common-2.1.34.jar.sha1deleted file mode 100644index dabafd70c94..00000000000--- a/solr/licenses/s3mock-testsupport-common-2.1.34.jar.sha1+++ /dev/null@@ -1 +0,0 @@-09e127b9e40a01f16bdd510f2aaf490b17e1b1f3diff --git a/solr/licenses/s3mock-testsupport-common-2.11.0.jar.sha1 b/solr/licenses/s3mock-testsupport-common-2.11.0.jar.sha1new file mode 100644index 00000000000..efd5cef0d64--- /dev/null+++ b/solr/licenses/s3mock-testsupport-common-2.11.0.jar.sha1@@ -0,0 +1 @@+ddbdfc49083dfd77e2bc3b105ca830744fac3bdadiff --git a/solr/licenses/sdk-core-2.17.63.jar.sha1 b/solr/licenses/sdk-core-2.17.63.jar.sha1deleted file mode 100644index 26f8f5d6bb1..00000000000--- a/solr/licenses/sdk-core-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-ccee98793365d0c99fa7436b815d317cc35253f2diff --git a/solr/licenses/sdk-core-2.19.1.jar.sha1 b/solr/licenses/sdk-core-2.19.1.jar.sha1new file mode 100644index 00000000000..cd484134efc--- /dev/null+++ b/solr/licenses/sdk-core-2.19.1.jar.sha1@@ -0,0 +1 @@+5388ddf9d5da45b2087b7e45f381ba6721b06462diff --git a/solr/licenses/snakeyaml-1.28.jar.sha1 b/solr/licenses/snakeyaml-1.28.jar.sha1deleted file mode 100644index 879e89213e8..00000000000--- a/solr/licenses/snakeyaml-1.28.jar.sha1+++ /dev/null@@ -1 +0,0 @@-7cae037c3014350c923776548e71c9feb7a69259diff --git a/solr/licenses/snakeyaml-1.30.jar.sha1 b/solr/licenses/snakeyaml-1.30.jar.sha1new file mode 100644index 00000000000..365daa0aef7--- /dev/null+++ b/solr/licenses/snakeyaml-1.30.jar.sha1@@ -0,0 +1 @@+8fde7fe2586328ac3c68db92045e1c8759125000diff --git a/solr/licenses/spring-aop-5.3.23.jar.sha1 b/solr/licenses/spring-aop-5.3.23.jar.sha1deleted file mode 100644index b9b6080f9e5..00000000000--- a/solr/licenses/spring-aop-5.3.23.jar.sha1+++ /dev/null@@ -1 +0,0 @@-30d0034ba29178e98781d85f51a7eb709a628e9bdiff --git a/solr/licenses/spring-aop-5.3.26.jar.sha1 b/solr/licenses/spring-aop-5.3.26.jar.sha1new file mode 100644index 00000000000..906d65225ad--- /dev/null+++ b/solr/licenses/spring-aop-5.3.26.jar.sha1@@ -0,0 +1 @@+48d5f80bac87b2fa507a7669fb9fc3c24893a91cdiff --git a/solr/licenses/spring-beans-5.3.23.jar.sha1 b/solr/licenses/spring-beans-5.3.23.jar.sha1deleted file mode 100644index 82b616e0d43..00000000000--- a/solr/licenses/spring-beans-5.3.23.jar.sha1+++ /dev/null@@ -1 +0,0 @@-3bdefbf6042ed742cbe16f27d2d14cca9096a606diff --git a/solr/licenses/spring-beans-5.3.26.jar.sha1 b/solr/licenses/spring-beans-5.3.26.jar.sha1new file mode 100644index 00000000000..b452a4b979c--- /dev/null+++ b/solr/licenses/spring-beans-5.3.26.jar.sha1@@ -0,0 +1 @@+203a417a6022ba6597db2026b64bac656b7ede0adiff --git a/solr/licenses/spring-boot-2.5.14.jar.sha1 b/solr/licenses/spring-boot-2.5.14.jar.sha1deleted file mode 100644index 263b6d90901..00000000000--- a/solr/licenses/spring-boot-2.5.14.jar.sha1+++ /dev/null@@ -1 +0,0 @@-4d581ebadc5fda0ec2d4a70653fe89087bd55983diff --git a/solr/licenses/spring-boot-2.7.10.jar.sha1 b/solr/licenses/spring-boot-2.7.10.jar.sha1new file mode 100644index 00000000000..03ee83a5704--- /dev/null+++ b/solr/licenses/spring-boot-2.7.10.jar.sha1@@ -0,0 +1 @@+538847f69a830791fac87bd3c232a001bd2c6806diff --git a/solr/licenses/spring-boot-actuator-2.5.14.jar.sha1 b/solr/licenses/spring-boot-actuator-2.5.14.jar.sha1deleted file mode 100644index 9292954d702..00000000000--- a/solr/licenses/spring-boot-actuator-2.5.14.jar.sha1+++ /dev/null@@ -1 +0,0 @@-7d8e27b27011ff0d5be6d09d7c335fee2c9bf239diff --git a/solr/licenses/spring-boot-actuator-2.7.10.jar.sha1 b/solr/licenses/spring-boot-actuator-2.7.10.jar.sha1new file mode 100644index 00000000000..22397e157cc--- /dev/null+++ b/solr/licenses/spring-boot-actuator-2.7.10.jar.sha1@@ -0,0 +1 @@+b6b4925825deabc7581f31f535e0485550cac7b0diff --git a/solr/licenses/spring-boot-actuator-autoconfigure-2.5.14.jar.sha1 b/solr/licenses/spring-boot-actuator-autoconfigure-2.5.14.jar.sha1deleted file mode 100644index 04f5cdb748e..00000000000--- a/solr/licenses/spring-boot-actuator-autoconfigure-2.5.14.jar.sha1+++ /dev/null@@ -1 +0,0 @@-b6bbfcf903699302aba7446b541772a1eb208272diff --git a/solr/licenses/spring-boot-actuator-autoconfigure-2.7.10.jar.sha1 b/solr/licenses/spring-boot-actuator-autoconfigure-2.7.10.jar.sha1new file mode 100644index 00000000000..1e7aa498255--- /dev/null+++ b/solr/licenses/spring-boot-actuator-autoconfigure-2.7.10.jar.sha1@@ -0,0 +1 @@+34c6b707e929954fecada408bb8a1f1b8eb4fee8diff --git a/solr/licenses/spring-boot-autoconfigure-2.5.14.jar.sha1 b/solr/licenses/spring-boot-autoconfigure-2.5.14.jar.sha1deleted file mode 100644index 954a37e9d37..00000000000--- a/solr/licenses/spring-boot-autoconfigure-2.5.14.jar.sha1+++ /dev/null@@ -1 +0,0 @@-83a8477a3d150070792594dc3a72addc65de118ediff --git a/solr/licenses/spring-boot-autoconfigure-2.7.10.jar.sha1 b/solr/licenses/spring-boot-autoconfigure-2.7.10.jar.sha1new file mode 100644index 00000000000..6293c407aa3--- /dev/null+++ b/solr/licenses/spring-boot-autoconfigure-2.7.10.jar.sha1@@ -0,0 +1 @@+514bec7b4e424199325b4f3c8949b9e2b5f6f16cdiff --git a/solr/licenses/spring-boot-starter-2.5.14.jar.sha1 b/solr/licenses/spring-boot-starter-2.5.14.jar.sha1deleted file mode 100644index 29393666dae..00000000000--- a/solr/licenses/spring-boot-starter-2.5.14.jar.sha1+++ /dev/null@@ -1 +0,0 @@-932d4aba1c83f5bd0e5176dfd432ef1e6f874a9bdiff --git a/solr/licenses/spring-boot-starter-2.7.10.jar.sha1 b/solr/licenses/spring-boot-starter-2.7.10.jar.sha1new file mode 100644index 00000000000..505057f30a1--- /dev/null+++ b/solr/licenses/spring-boot-starter-2.7.10.jar.sha1@@ -0,0 +1 @@+307ab4f1ca9ae26944c407e2352d6e705097c0e2diff --git a/solr/licenses/spring-boot-starter-actuator-2.5.14.jar.sha1 b/solr/licenses/spring-boot-starter-actuator-2.5.14.jar.sha1deleted file mode 100644index 8129f1851b2..00000000000--- a/solr/licenses/spring-boot-starter-actuator-2.5.14.jar.sha1+++ /dev/null@@ -1 +0,0 @@-cc4c81502b3507dc1694dcef09370d0e97d047dediff --git a/solr/licenses/spring-boot-starter-actuator-2.7.10.jar.sha1 b/solr/licenses/spring-boot-starter-actuator-2.7.10.jar.sha1new file mode 100644index 00000000000..ef04fe692f4--- /dev/null+++ b/solr/licenses/spring-boot-starter-actuator-2.7.10.jar.sha1@@ -0,0 +1 @@+61b32bd1c4c301393224e629fdbe85a4aad132efdiff --git a/solr/licenses/spring-boot-starter-jetty-2.5.14.jar.sha1 b/solr/licenses/spring-boot-starter-jetty-2.5.14.jar.sha1deleted file mode 100644index 27dd9d61726..00000000000--- a/solr/licenses/spring-boot-starter-jetty-2.5.14.jar.sha1+++ /dev/null@@ -1 +0,0 @@-17c20c40f0116ca6ce0fb478286e6064d2188dd0diff --git a/solr/licenses/spring-boot-starter-jetty-2.7.10.jar.sha1 b/solr/licenses/spring-boot-starter-jetty-2.7.10.jar.sha1new file mode 100644index 00000000000..0ef1f0e68bf--- /dev/null+++ b/solr/licenses/spring-boot-starter-jetty-2.7.10.jar.sha1@@ -0,0 +1 @@+86fdd70ccc81caba8dc95db9055e7584c5f8cc67diff --git a/solr/licenses/spring-boot-starter-json-2.5.14.jar.sha1 b/solr/licenses/spring-boot-starter-json-2.5.14.jar.sha1deleted file mode 100644index ca55546f289..00000000000--- a/solr/licenses/spring-boot-starter-json-2.5.14.jar.sha1+++ /dev/null@@ -1 +0,0 @@-24640eed89ce4705722d0a5e103cb3cce2fbf9a5diff --git a/solr/licenses/spring-boot-starter-json-2.7.10.jar.sha1 b/solr/licenses/spring-boot-starter-json-2.7.10.jar.sha1new file mode 100644index 00000000000..a989d2430b9--- /dev/null+++ b/solr/licenses/spring-boot-starter-json-2.7.10.jar.sha1@@ -0,0 +1 @@+eca10dbca78387d79eb711bdb60d54d28be61621diff --git a/solr/licenses/spring-boot-starter-logging-2.5.14.jar.sha1 b/solr/licenses/spring-boot-starter-logging-2.5.14.jar.sha1deleted file mode 100644index e5a29f0b59c..00000000000--- a/solr/licenses/spring-boot-starter-logging-2.5.14.jar.sha1+++ /dev/null@@ -1 +0,0 @@-312e9c5f3476ccc6b809c227fdfe7a72cdbce592diff --git a/solr/licenses/spring-boot-starter-logging-2.7.10.jar.sha1 b/solr/licenses/spring-boot-starter-logging-2.7.10.jar.sha1new file mode 100644index 00000000000..881049601d8--- /dev/null+++ b/solr/licenses/spring-boot-starter-logging-2.7.10.jar.sha1@@ -0,0 +1 @@+104816b754b243f2640d43144c933352dacfdb5bdiff --git a/solr/licenses/spring-boot-starter-web-2.5.14.jar.sha1 b/solr/licenses/spring-boot-starter-web-2.5.14.jar.sha1deleted file mode 100644index f540a96a5f5..00000000000--- a/solr/licenses/spring-boot-starter-web-2.5.14.jar.sha1+++ /dev/null@@ -1 +0,0 @@-284d497a5786bae68ece94a22f9ca4a7b52ff0c5diff --git a/solr/licenses/spring-boot-starter-web-2.7.10.jar.sha1 b/solr/licenses/spring-boot-starter-web-2.7.10.jar.sha1new file mode 100644index 00000000000..d7434012c95--- /dev/null+++ b/solr/licenses/spring-boot-starter-web-2.7.10.jar.sha1@@ -0,0 +1 @@+aff75a41f298e83ad9542d8f26b12bbe8e105c35diff --git a/solr/licenses/spring-context-5.3.23.jar.sha1 b/solr/licenses/spring-context-5.3.23.jar.sha1deleted file mode 100644index 5487c862696..00000000000--- a/solr/licenses/spring-context-5.3.23.jar.sha1+++ /dev/null@@ -1 +0,0 @@-530b36b2ce2c9e471c6a260c3f181bcd20325a58diff --git a/solr/licenses/spring-context-5.3.26.jar.sha1 b/solr/licenses/spring-context-5.3.26.jar.sha1new file mode 100644index 00000000000..2aa1c52684a--- /dev/null+++ b/solr/licenses/spring-context-5.3.26.jar.sha1@@ -0,0 +1 @@+060596de235eaacc8fe736167abdc2a1bf3d8b26diff --git a/solr/licenses/spring-core-5.3.23.jar.sha1 b/solr/licenses/spring-core-5.3.23.jar.sha1deleted file mode 100644index 1b83d4905c5..00000000000--- a/solr/licenses/spring-core-5.3.23.jar.sha1+++ /dev/null@@ -1 +0,0 @@-91407dc1106ea423c44150f3da1a0b4f8e25e5cadiff --git a/solr/licenses/spring-core-5.3.26.jar.sha1 b/solr/licenses/spring-core-5.3.26.jar.sha1new file mode 100644index 00000000000..fc8d45ead78--- /dev/null+++ b/solr/licenses/spring-core-5.3.26.jar.sha1@@ -0,0 +1 @@+81f0f0bbba14ca6e17d52f0b1c7d52da8c4da098diff --git a/solr/licenses/spring-expression-5.3.23.jar.sha1 b/solr/licenses/spring-expression-5.3.23.jar.sha1deleted file mode 100644index 7253c5b000c..00000000000--- a/solr/licenses/spring-expression-5.3.23.jar.sha1+++ /dev/null@@ -1 +0,0 @@-3a676bf4b9bc42bd37ab5ad264acb6ceb63397a2diff --git a/solr/licenses/spring-expression-5.3.26.jar.sha1 b/solr/licenses/spring-expression-5.3.26.jar.sha1new file mode 100644index 00000000000..fba56918d71--- /dev/null+++ b/solr/licenses/spring-expression-5.3.26.jar.sha1@@ -0,0 +1 @@+75ccfb9a99560d6a6b2654eae88896ed58b3e428diff --git a/solr/licenses/spring-jcl-5.3.23.jar.sha1 b/solr/licenses/spring-jcl-5.3.23.jar.sha1deleted file mode 100644index 402338e1b64..00000000000--- a/solr/licenses/spring-jcl-5.3.23.jar.sha1+++ /dev/null@@ -1 +0,0 @@-3c7eb5fcca67b611065f73ff4325e398f8b051a3diff --git a/solr/licenses/spring-jcl-5.3.26.jar.sha1 b/solr/licenses/spring-jcl-5.3.26.jar.sha1new file mode 100644index 00000000000..753971313e0--- /dev/null+++ b/solr/licenses/spring-jcl-5.3.26.jar.sha1@@ -0,0 +1 @@+2005accc2cf5212c614df3760b3a434e7dce807cdiff --git a/solr/licenses/spring-web-5.3.23.jar.sha1 b/solr/licenses/spring-web-5.3.23.jar.sha1deleted file mode 100644index 9c7d6862d02..00000000000--- a/solr/licenses/spring-web-5.3.23.jar.sha1+++ /dev/null@@ -1 +0,0 @@-0193f5276092d9cbe3222c63885b47ca7b2cce97diff --git a/solr/licenses/spring-web-5.3.26.jar.sha1 b/solr/licenses/spring-web-5.3.26.jar.sha1new file mode 100644index 00000000000..a372d62c969--- /dev/null+++ b/solr/licenses/spring-web-5.3.26.jar.sha1@@ -0,0 +1 @@+479b988a36bcaa2d4bf7c50e53bc7cbcedbe645cdiff --git a/solr/licenses/spring-webmvc-5.3.23.jar.sha1 b/solr/licenses/spring-webmvc-5.3.23.jar.sha1deleted file mode 100644index 5dc279b7ae2..00000000000--- a/solr/licenses/spring-webmvc-5.3.23.jar.sha1+++ /dev/null@@ -1 +0,0 @@-b163527c275b0374371890c0b76c2a2a09f9804bdiff --git a/solr/licenses/spring-webmvc-5.3.26.jar.sha1 b/solr/licenses/spring-webmvc-5.3.26.jar.sha1new file mode 100644index 00000000000..f8e707ead45--- /dev/null+++ b/solr/licenses/spring-webmvc-5.3.26.jar.sha1@@ -0,0 +1 @@+0539e1d03decbec523b7ad87fb786fd0b1cf29cediff --git a/solr/licenses/sts-2.17.63.jar.sha1 b/solr/licenses/sts-2.17.63.jar.sha1deleted file mode 100644index 45055636a76..00000000000--- a/solr/licenses/sts-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-754aafd124c5f081fb2a21eef862bedd10f0ef8adiff --git a/solr/licenses/sts-2.19.1.jar.sha1 b/solr/licenses/sts-2.19.1.jar.sha1new file mode 100644index 00000000000..82b7425c7ff--- /dev/null+++ b/solr/licenses/sts-2.19.1.jar.sha1@@ -0,0 +1 @@+c442572e6e55a051f2bad687fc6e4794fcbe3abediff --git a/solr/licenses/third-party-jackson-core-2.17.63.jar.sha1 b/solr/licenses/third-party-jackson-core-2.17.63.jar.sha1deleted file mode 100644index 0d68109491d..00000000000--- a/solr/licenses/third-party-jackson-core-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-2bf16296795e79e4e97eb6c747c47e7437d69741diff --git a/solr/licenses/third-party-jackson-core-2.19.1.jar.sha1 b/solr/licenses/third-party-jackson-core-2.19.1.jar.sha1new file mode 100644index 00000000000..104cbf8bd03--- /dev/null+++ b/solr/licenses/third-party-jackson-core-2.19.1.jar.sha1@@ -0,0 +1 @@+bbb24052e0c45ec60af7dfa5eba5cea8aae76fdfdiff --git a/solr/licenses/tomcat-embed-el-9.0.63.jar.sha1 b/solr/licenses/tomcat-embed-el-9.0.63.jar.sha1deleted file mode 100644index 2242a4e69c2..00000000000--- a/solr/licenses/tomcat-embed-el-9.0.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-b595f0bdae0392c8b3c8592fea10023956a3f619diff --git a/solr/licenses/tomcat-embed-el-9.0.73.jar.sha1 b/solr/licenses/tomcat-embed-el-9.0.73.jar.sha1new file mode 100644index 00000000000..24709d38d91--- /dev/null+++ b/solr/licenses/tomcat-embed-el-9.0.73.jar.sha1@@ -0,0 +1 @@+bccf17a0a9e3dc239915114e6d6b74c6cc339c39diff --git a/solr/licenses/txw2-2.3.5.jar.sha1 b/solr/licenses/txw2-2.3.5.jar.sha1deleted file mode 100644index 793f9c8e802..00000000000--- a/solr/licenses/txw2-2.3.5.jar.sha1+++ /dev/null@@ -1 +0,0 @@-ec8930fa62e7b1758b1664d135f50c7abe86a4a3diff --git a/solr/licenses/txw2-2.3.7.jar.sha1 b/solr/licenses/txw2-2.3.7.jar.sha1new file mode 100644index 00000000000..a0079c18b7d--- /dev/null+++ b/solr/licenses/txw2-2.3.7.jar.sha1@@ -0,0 +1 @@+55cddcac1945150e09b09b0f89d86799652eee82diff --git a/solr/licenses/url-connection-client-2.17.63.jar.sha1 b/solr/licenses/url-connection-client-2.17.63.jar.sha1deleted file mode 100644index 4113710c6da..00000000000--- a/solr/licenses/url-connection-client-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-2bf1844b1ed514967a61643cba95433db4cacbd2diff --git a/solr/licenses/url-connection-client-2.19.1.jar.sha1 b/solr/licenses/url-connection-client-2.19.1.jar.sha1new file mode 100644index 00000000000..aac2152447c--- /dev/null+++ b/solr/licenses/url-connection-client-2.19.1.jar.sha1@@ -0,0 +1 @@+7c4a26c39b663bb24fbe97e0908e463f94c3279adiff --git a/solr/licenses/utils-2.17.63.jar.sha1 b/solr/licenses/utils-2.17.63.jar.sha1deleted file mode 100644index 11bc29caae7..00000000000--- a/solr/licenses/utils-2.17.63.jar.sha1+++ /dev/null@@ -1 +0,0 @@-95d31e6c70180cb5b85713c51b1d5b945777db76diff --git a/solr/licenses/utils-2.19.1.jar.sha1 b/solr/licenses/utils-2.19.1.jar.sha1new file mode 100644index 00000000000..ade9e6dd857--- /dev/null+++ b/solr/licenses/utils-2.19.1.jar.sha1@@ -0,0 +1 @@+80dfbfd820748406f89cf1a00811d4f994c6422fdiff --git a/solr/modules/s3-repository/src/java/org/apache/solr/s3/S3StorageClient.java b/solr/modules/s3-repository/src/java/org/apache/solr/s3/S3StorageClient.javaindex 13123e4d44b..08b67b1c8ce 100644--- a/solr/modules/s3-repository/src/java/org/apache/solr/s3/S3StorageClient.java+++ b/solr/modules/s3-repository/src/java/org/apache/solr/s3/S3StorageClient.java@@ -345,6 +345,9 @@ public class S3StorageClient {*/long length(String path) throws S3Exception {String s3Path = sanitizedFilePath(path);+ if (isDirectory(s3Path)) {+ throw new S3Exception("Path is Directory");+ }try {HeadObjectResponse objectMetadata =s3Client.headObject(b -> b.bucket(bucketName).key(s3Path));diff --git a/solr/modules/s3-repository/src/test/org/apache/solr/s3/S3BackupRepositoryTest.java b/solr/modules/s3-repository/src/test/org/apache/solr/s3/S3BackupRepositoryTest.javaindex 6cc78f95e8d..b7f35c574f0 100644--- a/solr/modules/s3-repository/src/test/org/apache/solr/s3/S3BackupRepositoryTest.java+++ b/solr/modules/s3-repository/src/test/org/apache/solr/s3/S3BackupRepositoryTest.java@@ -104,13 +104,13 @@ public class S3BackupRepositoryTest extends AbstractBackupRepositoryTest {public void testLocalDirectoryFunctions() throws Exception {try (S3BackupRepository repo = getRepository()) {- URI path = new URI("/test");+ URI path = new URI("/test/");repo.createDirectory(path);assertTrue(repo.exists(path));assertEquals(BackupRepository.PathType.DIRECTORY, repo.getPathType(path));assertEquals("No files should exist in dir yet", repo.listAll(path).length, 0);- URI subDir = new URI("/test/dir");+ URI subDir = new URI("/test/dir/");repo.createDirectory(subDir);assertTrue(repo.exists(subDir));assertEquals(BackupRepository.PathType.DIRECTORY, repo.getPathType(subDir));diff --git a/solr/modules/s3-repository/src/test/org/apache/solr/s3/S3PathsTest.java b/solr/modules/s3-repository/src/test/org/apache/solr/s3/S3PathsTest.javaindex 4b3a0c9d3f2..d314855c3b1 100644--- a/solr/modules/s3-repository/src/test/org/apache/solr/s3/S3PathsTest.java+++ b/solr/modules/s3-repository/src/test/org/apache/solr/s3/S3PathsTest.java@@ -48,7 +48,7 @@ public class S3PathsTest extends AbstractS3ClientTest {public void testDirectory() throws S3Exception {client.createDirectory("/simple-directory");- assertTrue(client.pathExists("/simple-directory"));+ assertFalse("Dir path needs a trailing slash", client.pathExists("/simple-directory"));assertTrue("Dir should exist without a leading slash", client.pathExists("simple-directory/"));assertTrue("Dir should exist with a leading slash", client.pathExists("/simple-directory/"));assertTrue(diff --git a/solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractBackupRepositoryTest.java b/solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractBackupRepositoryTest.javaindex 3bfac1a08cf..83ca613354c 100644--- a/solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractBackupRepositoryTest.java+++ b/solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractBackupRepositoryTest.java@@ -78,8 +78,8 @@ public abstract class AbstractBackupRepositoryTest extends SolrTestCaseJ4 {public void testCanDetermineWhetherFilesAndDirectoriesExist() throws Exception {try (BackupRepository repo = getRepository()) {// Create 'emptyDir/', 'nonEmptyDir/', and 'nonEmptyDir/file.txt'- final URI emptyDirUri = repo.resolve(getBaseUri(), "emptyDir");- final URI nonEmptyDirUri = repo.resolve(getBaseUri(), "nonEmptyDir");+ final URI emptyDirUri = repo.resolve(getBaseUri(), "emptyDir/");+ final URI nonEmptyDirUri = repo.resolve(getBaseUri(), "nonEmptyDir/");final URI nestedFileUri = repo.resolve(nonEmptyDirUri, "file.txt");repo.createDirectory(emptyDirUri);repo.createDirectory(nonEmptyDirUri);@@ -88,7 +88,7 @@ public abstract class AbstractBackupRepositoryTest extends SolrTestCaseJ4 {assertTrue(repo.exists(emptyDirUri));assertTrue(repo.exists(nonEmptyDirUri));assertTrue(repo.exists(nestedFileUri));- final URI nonexistedDirUri = repo.resolve(getBaseUri(), "nonexistentDir");+ final URI nonexistedDirUri = repo.resolve(getBaseUri(), "nonexistentDir/");assertFalse(repo.exists(nonexistedDirUri));}}@@ -96,8 +96,8 @@ public abstract class AbstractBackupRepositoryTest extends SolrTestCaseJ4 {@Testpublic void testCanDistinguishBetweenFilesAndDirectories() throws Exception {try (BackupRepository repo = getRepository()) {- final URI emptyDirUri = repo.resolve(getBaseUri(), "emptyDir");- final URI nonEmptyDirUri = repo.resolve(getBaseUri(), "nonEmptyDir");+ final URI emptyDirUri = repo.resolve(getBaseUri(), "emptyDir/");+ final URI nonEmptyDirUri = repo.resolve(getBaseUri(), "nonEmptyDir/");final URI nestedFileUri = repo.resolve(nonEmptyDirUri, "file.txt");repo.createDirectory(emptyDirUri);repo.createDirectory(nonEmptyDirUri);@@ -151,10 +151,10 @@ public abstract class AbstractBackupRepositoryTest extends SolrTestCaseJ4 {assertFalse(repo.exists(fileUri));// Delete the middle directory in a deeply nested structure (/nest1/nest2/nest3/nest4)- final URI level1DeeplyNestedUri = repo.resolve(getBaseUri(), "nest1");- final URI level2DeeplyNestedUri = repo.resolve(level1DeeplyNestedUri, "nest2");- final URI level3DeeplyNestedUri = repo.resolve(level2DeeplyNestedUri, "nest3");- final URI level4DeeplyNestedUri = repo.resolve(level3DeeplyNestedUri, "nest4");+ final URI level1DeeplyNestedUri = repo.resolve(getBaseUri(), "nest1/");+ final URI level2DeeplyNestedUri = repo.resolve(level1DeeplyNestedUri, "nest2/");+ final URI level3DeeplyNestedUri = repo.resolve(level2DeeplyNestedUri, "nest3/");+ final URI level4DeeplyNestedUri = repo.resolve(level3DeeplyNestedUri, "nest4/");repo.createDirectory(level1DeeplyNestedUri);repo.createDirectory(level2DeeplyNestedUri);repo.createDirectory(level3DeeplyNestedUri);diff --git a/solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractIncrementalBackupTest.java b/solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractIncrementalBackupTest.javaindex 08070802011..78b6b1ad376 100644--- a/solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractIncrementalBackupTest.java+++ b/solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractIncrementalBackupTest.java@@ -228,7 +228,6 @@ public abstract class AbstractIncrementalBackupTest extends SolrCloudTestCase {}@Test- @Nightlypublic void testBackupIncremental() throws Exception {setTestSuffix("testbackupinc");CloudSolrClient solrClient = cluster.getSolrClient();@@ -577,7 +576,7 @@ public abstract class AbstractIncrementalBackupTest extends SolrCloudTestCase {URI backupPropertiesFile =repository.resolve(backupURI, "backup_" + numBackup + ".properties");- URI zkBackupFolder = repository.resolve(backupURI, "zk_backup_" + numBackup);+ URI zkBackupFolder = repository.resolveDirectory(backupURI, "zk_backup_" + numBackup);assertTrue(repository.exists(backupPropertiesFile));assertTrue(repository.exists(zkBackupFolder));assertFolderAreSame(diff --git a/versions.lock b/versions.lockindex 5fde634bf04..25d0c86393d 100644--- a/versions.lock+++ b/versions.lock@@ -9,7 +9,7 @@ com.epam:parso:2.0.14 (1 constraints: 8e0c750e)com.fasterxml.jackson:jackson-bom:2.14.2 (12 constraints: 42f8fc44)com.fasterxml.jackson.core:jackson-annotations:2.14.2 (10 constraints: 95be250f)com.fasterxml.jackson.core:jackson-core:2.14.2 (13 constraints: 3902ce18)-com.fasterxml.jackson.core:jackson-databind:2.14.2 (18 constraints: 78638fbe)+com.fasterxml.jackson.core:jackson-databind:2.14.2 (18 constraints: 80633774)com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.14.2 (1 constraints: b90ea866)com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.14.2 (2 constraints: a52484e0)com.fasterxml.woodstox:woodstox-core:6.5.0 (3 constraints: ab2868b8)@@ -156,7 +156,7 @@ jakarta.ws.rs:jakarta.ws.rs-api:2.1.6 (10 constraints: c1cce3ec)jakarta.xml.bind:jakarta.xml.bind-api:2.3.3 (5 constraints: c45d665e)javax.measure:unit-api:1.0 (5 constraints: 8e3e2cc5)joda-time:joda-time:2.12.5 (4 constraints: 11202d7c)-junit:junit:4.13.2 (9 constraints: d4aa559e)+junit:junit:4.13.2 (9 constraints: d5aafc9f)net.arnx:jsonic:1.2.7 (1 constraints: d00b47eb)net.java.dev.jna:jna:5.12.1 (1 constraints: 900c8e0e)net.sf.ehcache:ehcache-core:2.6.2 (1 constraints: 2706f94d)@@ -186,7 +186,7 @@ org.apache.hadoop:hadoop-client-runtime:3.3.5 (2 constraints: 6d17a643)org.apache.hadoop:hadoop-common:3.3.5 (1 constraints: 0d050836)org.apache.hadoop.thirdparty:hadoop-shaded-guava:1.1.1 (1 constraints: 0505f435)org.apache.httpcomponents:httpclient:4.5.14 (11 constraints: f99f018d)-org.apache.httpcomponents:httpcore:4.4.16 (10 constraints: bc8c6693)+org.apache.httpcomponents:httpcore:4.4.16 (10 constraints: be8c6893)org.apache.httpcomponents:httpmime:4.5.14 (3 constraints: eb1bfedc)org.apache.httpcomponents.client5:httpclient5:5.1.3 (1 constraints: 6c10bcb3)org.apache.httpcomponents.core5:httpcore5:5.1.3 (3 constraints: ff35b9e8)@@ -305,8 +305,8 @@ org.glassfish.hk2:hk2-utils:2.6.1 (2 constraints: 21173277)org.glassfish.hk2:osgi-resource-locator:1.0.3 (2 constraints: 7d23b265)org.glassfish.hk2.external:aopalliance-repackaged:2.6.1 (2 constraints: 21173277)org.glassfish.hk2.external:jakarta.inject:2.6.1 (11 constraints: 2cbae60f)-org.glassfish.jaxb:jaxb-runtime:2.3.5 (1 constraints: 610cf401)-org.glassfish.jaxb:txw2:2.3.5 (1 constraints: bf0db735)+org.glassfish.jaxb:jaxb-runtime:2.3.7 (2 constraints: 2217375b)+org.glassfish.jaxb:txw2:2.3.7 (1 constraints: c10db935)org.glassfish.jersey.containers:jersey-container-jetty-http:2.35 (1 constraints: de04fe30)org.glassfish.jersey.core:jersey-client:2.35 (1 constraints: d510c6b2)org.glassfish.jersey.core:jersey-common:2.35 (11 constraints: d3ddca6a)@@ -353,43 +353,44 @@ org.tallison.xmp:xmpcore-shaded:6.1.10 (1 constraints: 300e8d49)org.threeten:threetenbp:1.6.5 (4 constraints: 9237a011)org.tukaani:xz:1.9 (1 constraints: 030c5be9)org.xerial.snappy:snappy-java:1.1.9.1 (4 constraints: 89386de0)-software.amazon.awssdk:annotations:2.17.63 (18 constraints: 690ceab3)-software.amazon.awssdk:apache-client:2.17.63 (4 constraints: 0d2a0ae3)-software.amazon.awssdk:arns:2.17.63 (2 constraints: 21185ac1)-software.amazon.awssdk:auth:2.17.63 (5 constraints: 4c38fb3f)-software.amazon.awssdk:aws-core:2.17.63 (6 constraints: fe4df51e)-software.amazon.awssdk:aws-query-protocol:2.17.63 (3 constraints: 5b2ab1dd)-software.amazon.awssdk:aws-xml-protocol:2.17.63 (2 constraints: 21185ac1)-software.amazon.awssdk:bom:2.17.63 (1 constraints: 7505bf40)-software.amazon.awssdk:http-client-spi:2.17.63 (11 constraints: dba5da79)-software.amazon.awssdk:json-utils:2.17.63 (3 constraints: 4227d652)-software.amazon.awssdk:metrics-spi:2.17.63 (7 constraints: 3d62fd12)-software.amazon.awssdk:profiles:2.17.63 (8 constraints: 6761f245)-software.amazon.awssdk:protocol-core:2.17.63 (5 constraints: 8a48db59)-software.amazon.awssdk:regions:2.17.63 (6 constraints: 1c45a6c5)-software.amazon.awssdk:s3:2.17.63 (3 constraints: bb244128)-software.amazon.awssdk:sdk-core:2.17.63 (10 constraints: 8887fee5)-software.amazon.awssdk:sts:2.17.63 (2 constraints: d1113a15)-software.amazon.awssdk:third-party-jackson-core:2.17.63 (2 constraints: 931b14a8)-software.amazon.awssdk:utils:2.17.63 (17 constraints: 0bffaaab)+software.amazon.awssdk:annotations:2.19.1 (19 constraints: d2182f05)+software.amazon.awssdk:apache-client:2.19.1 (4 constraints: 35290257)+software.amazon.awssdk:arns:2.19.1 (2 constraints: b5177c95)+software.amazon.awssdk:auth:2.19.1 (5 constraints: 3e373c56)+software.amazon.awssdk:aws-core:2.19.1 (6 constraints: ba4c2699)+software.amazon.awssdk:aws-query-protocol:2.19.1 (3 constraints: b929276d)+software.amazon.awssdk:aws-xml-protocol:2.19.1 (2 constraints: b5177c95)+software.amazon.awssdk:bom:2.19.1 (1 constraints: 3f054b3b)+software.amazon.awssdk:endpoints-spi:2.19.1 (4 constraints: da33b117)+software.amazon.awssdk:http-client-spi:2.19.1 (11 constraints: 89a3fba4)+software.amazon.awssdk:json-utils:2.19.1 (5 constraints: 703e7c31)+software.amazon.awssdk:metrics-spi:2.19.1 (7 constraints: c3608ed1)+software.amazon.awssdk:profiles:2.19.1 (8 constraints: b75f13c9)+software.amazon.awssdk:protocol-core:2.19.1 (5 constraints: 7c477d20)+software.amazon.awssdk:regions:2.19.1 (7 constraints: ca4e3ce1)+software.amazon.awssdk:s3:2.19.1 (3 constraints: 172400cb)+software.amazon.awssdk:sdk-core:2.19.1 (10 constraints: 6c85de94)+software.amazon.awssdk:sts:2.19.1 (2 constraints: 65114ff6)+software.amazon.awssdk:third-party-jackson-core:2.19.1 (2 constraints: 271b1477)+software.amazon.awssdk:utils:2.19.1 (18 constraints: 7606c0c4)software.amazon.eventstream:eventstream:1.0.1 (2 constraints: 2e1ae62b)ua.net.nlp:morfologik-ukrainian-search:4.9.1 (1 constraints: d5126e1e)xerces:xercesImpl:2.12.2 (1 constraints: 8e0c7d0e)[Test dependencies]-com.adobe.testing:s3mock:2.1.34 (1 constraints: b012831d)-com.adobe.testing:s3mock-junit4:2.1.34 (1 constraints: 3c05373b)-com.adobe.testing:s3mock-testsupport-common:2.1.34 (1 constraints: 7b0d8b39)-com.amazonaws:aws-java-sdk-core:1.12.15 (2 constraints: 501a5183)-com.amazonaws:aws-java-sdk-kms:1.12.15 (1 constraints: d60cb42a)-com.amazonaws:aws-java-sdk-s3:1.12.15 (1 constraints: e0125c30)-com.amazonaws:jmespath-java:1.12.15 (2 constraints: 501a5183)-com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.14.2 (2 constraints: 5f1c13f1)-com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.14.2 (2 constraints: a619c912)-com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.14.2 (2 constraints: 0b24ff81)-com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.2 (3 constraints: 7c3ddb0f)+com.adobe.testing:s3mock:2.11.0 (1 constraints: aa127e1d)+com.adobe.testing:s3mock-junit4:2.11.0 (1 constraints: 3605323b)+com.adobe.testing:s3mock-testsupport-common:2.11.0 (1 constraints: 750d8639)+com.amazonaws:aws-java-sdk-core:1.12.369 (2 constraints: c81a3ab5)+com.amazonaws:aws-java-sdk-kms:1.12.369 (1 constraints: 120dcb37)+com.amazonaws:aws-java-sdk-s3:1.12.369 (1 constraints: 1c137d43)+com.amazonaws:jmespath-java:1.12.369 (2 constraints: c81a3ab5)+com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.14.2 (2 constraints: 621c97f1)+com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.14.2 (2 constraints: a8192513)+com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.14.2 (3 constraints: fa2eb1b3)+com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.2 (4 constraints: 6b482734)com.fasterxml.jackson.module:jackson-module-kotlin:2.14.2 (2 constraints: a51d0460)-com.fasterxml.jackson.module:jackson-module-parameter-names:2.14.2 (2 constraints: 0b24ff81)+com.fasterxml.jackson.module:jackson-module-parameter-names:2.14.2 (2 constraints: 0b240182)com.google.cloud:google-cloud-nio:0.126.10 (1 constraints: c70e207b)com.nimbusds:content-type:2.2 (1 constraints: d80b68eb)com.nimbusds:lang-tag:1.5 (1 constraints: da0b68eb)@@ -398,7 +399,7 @@ com.nimbusds:oauth2-oidc-sdk:9.22.2 (1 constraints: f50ebb71)com.squareup.okhttp3:mockwebserver:4.9.3 (1 constraints: c60ebf62)io.github.microutils:kotlin-logging:2.1.21 (1 constraints: ec0e8871)io.github.microutils:kotlin-logging-jvm:2.1.21 (1 constraints: af0f358c)-io.micrometer:micrometer-core:1.7.12 (1 constraints: fc162119)+io.micrometer:micrometer-core:1.9.9 (1 constraints: d4163302)io.opentracing:opentracing-mock:0.33.0 (1 constraints: 3805343b)jakarta.servlet:jakarta.servlet-api:4.0.4 (4 constraints: 586e1f6a)jakarta.websocket:jakarta.websocket-api:1.1.2 (1 constraints: 92155ab9)@@ -416,7 +417,7 @@ org.apache.kerby:kerb-common:1.0.1 (2 constraints: a51841ca)org.apache.kerby:kerb-identity:1.0.1 (1 constraints: 5f0cb602)org.apache.kerby:kerb-server:1.0.1 (1 constraints: d10b65f2)org.apache.kerby:kerb-simplekdc:1.0.1 (1 constraints: dc0d7e3e)-org.apache.tomcat.embed:tomcat-embed-el:9.0.63 (1 constraints: d01553cf)+org.apache.tomcat.embed:tomcat-embed-el:9.0.73 (1 constraints: d11555cf)org.freemarker:freemarker:2.3.31 (1 constraints: ef0e9271)org.glassfish.grizzly:grizzly-framework:2.4.4 (1 constraints: 670fe271)org.glassfish.grizzly:grizzly-http:2.4.4 (1 constraints: 2b127cf5)@@ -435,24 +436,24 @@ org.jetbrains.kotlin:kotlin-reflect:1.6.10 (2 constraints: 6224e0e2)org.latencyutils:LatencyUtils:2.0.3 (1 constraints: 210dcd1b)org.mockito:mockito-core:3.8.0 (1 constraints: 0d051236)org.objenesis:objenesis:3.1 (1 constraints: b00a12bd)-org.springframework:spring-aop:5.3.23 (2 constraints: d41eae99)-org.springframework:spring-beans:5.3.23 (4 constraints: 9c3abec4)-org.springframework:spring-context:5.3.23 (2 constraints: 621fdbd1)-org.springframework:spring-core:5.3.23 (8 constraints: e17dffad)-org.springframework:spring-expression:5.3.23 (2 constraints: d41eae99)-org.springframework:spring-jcl:5.3.23 (1 constraints: 4f0e9f4f)-org.springframework:spring-web:5.3.23 (3 constraints: 5039958a)-org.springframework:spring-webmvc:5.3.23 (1 constraints: d614689e)-org.springframework.boot:spring-boot:2.5.14 (4 constraints: 8b564b45)-org.springframework.boot:spring-boot-actuator:2.5.14 (1 constraints: 73199cb8)-org.springframework.boot:spring-boot-actuator-autoconfigure:2.5.14 (1 constraints: fd162119)-org.springframework.boot:spring-boot-autoconfigure:2.5.14 (2 constraints: df2c875d)-org.springframework.boot:spring-boot-starter:2.5.14 (3 constraints: 274126c5)-org.springframework.boot:spring-boot-starter-actuator:2.5.14 (1 constraints: a80fdfae)-org.springframework.boot:spring-boot-starter-jetty:2.5.14 (1 constraints: 1d0d3137)-org.springframework.boot:spring-boot-starter-json:2.5.14 (1 constraints: d814609e)-org.springframework.boot:spring-boot-starter-logging:2.5.14 (1 constraints: 6d138546)-org.springframework.boot:spring-boot-starter-web:2.5.14 (1 constraints: 1d0d3137)-org.yaml:snakeyaml:1.28 (1 constraints: 0e13df1f)-software.amazon.awssdk:url-connection-client:2.17.63 (2 constraints: 471f19f7)+org.springframework:spring-aop:5.3.26 (2 constraints: da1e359a)+org.springframework:spring-beans:5.3.26 (4 constraints: a83ac1c7)+org.springframework:spring-context:5.3.26 (2 constraints: 6b1f6ed2)+org.springframework:spring-core:5.3.26 (8 constraints: ff7dfbbd)+org.springframework:spring-expression:5.3.26 (2 constraints: da1e359a)+org.springframework:spring-jcl:5.3.26 (1 constraints: 520ea24f)+org.springframework:spring-web:5.3.26 (3 constraints: 5f395f8d)+org.springframework:spring-webmvc:5.3.26 (1 constraints: dc146e9e)+org.springframework.boot:spring-boot:2.7.10 (4 constraints: 83569d42)+org.springframework.boot:spring-boot-actuator:2.7.10 (1 constraints: 7119a0b8)+org.springframework.boot:spring-boot-actuator-autoconfigure:2.7.10 (1 constraints: fb162519)+org.springframework.boot:spring-boot-autoconfigure:2.7.10 (2 constraints: db2c235d)+org.springframework.boot:spring-boot-starter:2.7.10 (3 constraints: 2141d4c3)+org.springframework.boot:spring-boot-starter-actuator:2.7.10 (2 constraints: 14182ea6)+org.springframework.boot:spring-boot-starter-jetty:2.7.10 (1 constraints: c50a4bcb)+org.springframework.boot:spring-boot-starter-json:2.7.10 (1 constraints: d614649e)+org.springframework.boot:spring-boot-starter-logging:2.7.10 (1 constraints: 6b138946)+org.springframework.boot:spring-boot-starter-web:2.7.10 (1 constraints: c50a4bcb)+org.yaml:snakeyaml:1.30 (1 constraints: 0713d91f)+software.amazon.awssdk:url-connection-client:2.19.1 (2 constraints: d91e09bd)software.amazon.ion:ion-java:1.0.2 (1 constraints: 720db831)diff --git a/versions.props b/versions.propsindex 972fa207474..baf9d378fbd 100644--- a/versions.props+++ b/versions.props@@ -1,5 +1,5 @@biz.aQute.bnd:biz.aQute.bnd.annotation=6.4.0-com.adobe.testing:s3mock-junit4=2.1.34+com.adobe.testing:s3mock-junit4=2.11.0com.carrotsearch.randomizedtesting:*=2.8.1com.carrotsearch:hppc=0.9.1com.cybozu.labs:langdetect=1.1-20120112@@ -71,7 +71,7 @@ org.osgi:osgi.annotation=8.1.0org.quicktheories:quicktheories=0.26org.semver4j:semver4j=4.3.0org.slf4j:*=2.0.7-org.springframework.boot:spring-boot*=2.5.14-org.springframework:spring*=5.3.23+org.springframework.boot:spring-boot*=2.7.10+org.springframework:spring*=5.3.26org.xerial.snappy:snappy-java=1.1.9.1-software.amazon.awssdk:*=2.17.63+software.amazon.awssdk:*=2.19.1