This is an automated email from the ASF dual-hosted git repository. htowaileb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/asterixdb.git
The following commit(s) were added to refs/heads/master by this push: new 0745d97 [ASTERIXDB-2989][LIC] Update S3 dependencies 0745d97 is described below commit 0745d9795ed335a85b91f163a2134d34e62d6b2e Author: Hussain Towaileb <hussain.towai...@couchbase.com> AuthorDate: Wed Nov 17 16:15:26 2021 +0300 [ASTERIXDB-2989][LIC] Update S3 dependencies com.amazonaws:aws-java-sdk-dynamodb ............... 1.12.1 -> 1.12.109 com.amazonaws:aws-java-sdk-s3 ..................... 1.12.1 -> 1.12.109 software.amazon.awssdk:auth ....................... 2.10.83 -> 2.17.79 software.amazon.awssdk:aws-core ................... 2.10.83 -> 2.17.79 software.amazon.awssdk:http-client-spi ............ 2.10.83 -> 2.17.79 software.amazon.awssdk:regions .................... 2.10.83 -> 2.17.79 software.amazon.awssdk:s3 ......................... 2.10.83 -> 2.17.79 software.amazon.awssdk:sdk-core ................... 2.10.83 -> 2.17.79 org.reactivestreams:reactive-streams .............. 1.0.2 -> 1.0.3 com.typesafe.netty:netty-reactive-streams ......... 2.0.4 -> 2.0.5 Change-Id: Ibbb9d8032a465f044198d1252963abf88c961ff4 Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14023 Reviewed-by: Hussain Towaileb <hussai...@gmail.com> Reviewed-by: Michael Blow <mb...@apache.org> Tested-by: Hussain Towaileb <hussai...@gmail.com> Integration-Tests: Hussain Towaileb <hussai...@gmail.com> --- .../non-s3-region/external_dataset.000.ddl.sqlpp | 2 +- .../runtimets/testsuite_external_dataset_s3.xml | 3 +- .../asterix/common/exceptions/ErrorCode.java | 1 + .../src/main/resources/asx_errormsg/en.properties | 1 + .../asterix/external/util/ExternalDataUtils.java | 12 +- asterixdb/asterix-server/pom.xml | 17 ++- asterixdb/pom.xml | 4 +- .../appended-resources/supplemental-models.xml | 57 ++++++---- ...tent.com_aws_aws-sdk-java-v2_2.17.79_NOTICE.txt | 25 +++++ ...ntent.com_aws_aws-sdk-java_1.12.109_NOTICE.txt} | 0 ...streams_reactive-streams-jvm_v1.0.3_COPYING.txt | 121 +++++++++++++++++++++ ...streams_reactive-streams-jvm_v1.0.3_LICENSE.txt | 8 ++ 12 files changed, 217 insertions(+), 34 deletions(-) diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/external-dataset/s3/non-s3-region/external_dataset.000.ddl.sqlpp b/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/external-dataset/s3/non-s3-region/external_dataset.000.ddl.sqlpp index 3b22f11..4d0941d 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/external-dataset/s3/non-s3-region/external_dataset.000.ddl.sqlpp +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/external-dataset/s3/non-s3-region/external_dataset.000.ddl.sqlpp @@ -18,7 +18,7 @@ */ /* - * Creating an external dataset should not fail when non-s3-region is used (some-new-region) + * Creating an external dataset should fail when non-s3-region is used (some-new-region) */ drop dataverse test if exists; diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_external_dataset_s3.xml b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_external_dataset_s3.xml index 6369c15..11a2fe7 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_external_dataset_s3.xml +++ b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_external_dataset_s3.xml @@ -214,7 +214,7 @@ <compilation-unit name="common/bucket-does-not-exist"> <placeholder name="adapter" value="S3" /> <output-dir compare="Text">common/bucket-does-not-exist</output-dir> - <expected-error>External source error. software.amazon.awssdk.services.s3.model.NoSuchBucketException: The specified bucket does not exist (Service: S3, Status Code: 404, Request ID: null)</expected-error> + <expected-error>External source error. software.amazon.awssdk.services.s3.model.NoSuchBucketException: The specified bucket does not exist (Service: S3, Status Code: 404</expected-error> </compilation-unit> </test-case> <test-case FilePath="external-dataset" check-warnings="true"> @@ -243,6 +243,7 @@ <test-case FilePath="external-dataset/s3"> <compilation-unit name="non-s3-region"> <output-dir compare="Text">non-s3-region</output-dir> + <expected-error>Provided S3 region is not supported: 'some-new-region'</expected-error> </compilation-unit> </test-case> <test-case FilePath="external-dataset/s3"> diff --git a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/exceptions/ErrorCode.java b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/exceptions/ErrorCode.java index 848bbdf..4bfe5e6 100644 --- a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/exceptions/ErrorCode.java +++ b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/exceptions/ErrorCode.java @@ -255,6 +255,7 @@ public enum ErrorCode implements IError { CANNOT_CHANGE_PRIMARY_KEY(1167), AMBIGUOUS_PROJECTION(1168), COMPILATION_SUBQUERY_COERCION_ERROR(1169), + S3_REGION_NOT_SUPPORTED(1170), // Feed errors DATAFLOW_ILLEGAL_STATE(3001), diff --git a/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties b/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties index 51d3dab..4d95ae0 100644 --- a/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties +++ b/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties @@ -257,6 +257,7 @@ 1167 = Cannot change primary key of %1$s %2$s 1168 = Ambiguous projection in SELECT clause 1169 = Unable to do subquery coercion. %1$s +1170 = Provided S3 region is not supported: '%1$s' # Feed Errors 3001 = Illegal state. diff --git a/asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/util/ExternalDataUtils.java b/asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/util/ExternalDataUtils.java index 6be2896..5194dae 100644 --- a/asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/util/ExternalDataUtils.java +++ b/asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/util/ExternalDataUtils.java @@ -26,6 +26,7 @@ import static org.apache.asterix.common.exceptions.ErrorCode.PARAMETERS_REQUIRED import static org.apache.asterix.common.exceptions.ErrorCode.PARAM_NOT_ALLOWED_IF_PARAM_IS_PRESENT; import static org.apache.asterix.common.exceptions.ErrorCode.REQUIRED_PARAM_IF_PARAM_IS_PRESENT; import static org.apache.asterix.common.exceptions.ErrorCode.REQUIRED_PARAM_OR_PARAM_IF_PARAM_IS_PRESENT; +import static org.apache.asterix.common.exceptions.ErrorCode.S3_REGION_NOT_SUPPORTED; import static org.apache.asterix.external.util.ExternalDataConstants.AwsS3.ACCESS_KEY_ID_FIELD_NAME; import static org.apache.asterix.external.util.ExternalDataConstants.AwsS3.ERROR_METHOD_NOT_IMPLEMENTED; import static org.apache.asterix.external.util.ExternalDataConstants.AwsS3.HADOOP_ACCESS_KEY_ID; @@ -919,7 +920,16 @@ public class ExternalDataUtils { } builder.credentialsProvider(credentialsProvider); - builder.region(Region.of(regionId)); + + // Validate the region + List<Region> regions = S3Client.serviceMetadata().regions(); + Optional<Region> selectedRegion = + regions.stream().filter(region -> region.id().equals(regionId)).findFirst(); + + if (selectedRegion.isEmpty()) { + throw new CompilationException(S3_REGION_NOT_SUPPORTED, regionId); + } + builder.region(selectedRegion.get()); // Validate the service endpoint if present if (serviceEndpoint != null) { diff --git a/asterixdb/asterix-server/pom.xml b/asterixdb/asterix-server/pom.xml index d3f86fe..1406cdc 100644 --- a/asterixdb/asterix-server/pom.xml +++ b/asterixdb/asterix-server/pom.xml @@ -204,6 +204,11 @@ <url>https://raw.githubusercontent.com/reactive-streams/reactive-streams-jvm/v1.0.2/LICENSE.txt</url> </override> <override> + <gav>org.reactivestreams:reactive-streams:1.0.3</gav> + <noticeUrl>https://raw.githubusercontent.com/reactive-streams/reactive-streams-jvm/v1.0.3/COPYING.txt</noticeUrl> + <url>https://raw.githubusercontent.com/reactive-streams/reactive-streams-jvm/v1.0.3/LICENSE.txt</url> + </override> + <override> <gavs> <gav>software.amazon.awssdk:sdk-core:2.10.83</gav> <gav>software.amazon.awssdk:aws-core:2.10.83</gav> @@ -226,13 +231,13 @@ <!-- Hadoop AWS SDK --> <override> <gavs> - <gav>com.amazonaws:aws-java-sdk-core:1.12.1</gav> - <gav>com.amazonaws:jmespath-java:1.12.1</gav> - <gav>com.amazonaws:aws-java-sdk-s3:1.12.1</gav> - <gav>com.amazonaws:aws-java-sdk-kms:1.12.1</gav> - <gav>com.amazonaws:aws-java-sdk-dynamodb:1.12.1</gav> + <gav>com.amazonaws:aws-java-sdk-core:1.12.109</gav> + <gav>com.amazonaws:jmespath-java:1.12.109</gav> + <gav>com.amazonaws:aws-java-sdk-s3:1.12.109</gav> + <gav>com.amazonaws:aws-java-sdk-kms:1.12.109</gav> + <gav>com.amazonaws:aws-java-sdk-dynamodb:1.12.109</gav> </gavs> - <noticeUrl>https://raw.githubusercontent.com/aws/aws-sdk-java/1.12.1/NOTICE.txt</noticeUrl> + <noticeUrl>https://raw.githubusercontent.com/aws/aws-sdk-java/1.12.109/NOTICE.txt</noticeUrl> </override> <override> <gav>software.amazon.eventstream:eventstream:1.0.1</gav> diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml index e490bb8..2835eb0 100644 --- a/asterixdb/pom.xml +++ b/asterixdb/pom.xml @@ -87,9 +87,9 @@ <hadoop.version>3.3.1</hadoop.version> <jacoco.version>0.7.6.201602180812</jacoco.version> <log4j.version>2.14.1</log4j.version> - <awsjavasdk.version>2.10.83</awsjavasdk.version> + <awsjavasdk.version>2.17.79</awsjavasdk.version> <parquet.version>1.12.0</parquet.version> - <hadoop-awsjavasdk.version>1.12.1</hadoop-awsjavasdk.version> + <hadoop-awsjavasdk.version>1.12.109</hadoop-awsjavasdk.version> <azureblobjavasdk.version>12.12.0</azureblobjavasdk.version> <azuredatalakejavasdk.version>12.7.0</azuredatalakejavasdk.version> <gcsjavasdk.version>1.114.0</gcsjavasdk.version> diff --git a/asterixdb/src/main/appended-resources/supplemental-models.xml b/asterixdb/src/main/appended-resources/supplemental-models.xml index 82fee9c..74dd474 100644 --- a/asterixdb/src/main/appended-resources/supplemental-models.xml +++ b/asterixdb/src/main/appended-resources/supplemental-models.xml @@ -593,6 +593,17 @@ </project> </supplement> + <supplement> + <project> + <groupId>software.amazon.awssdk</groupId> + <artifactId>third-party-jackson-core</artifactId> + <properties> + <license.onMultipleEmbeddedLicense>2.17.79:concat</license.onMultipleEmbeddedLicense> + <license.onMultipleEmbeddedNotice>2.17.79:concat</license.onMultipleEmbeddedNotice> + </properties> + </project> + </supplement> + <!-- software.amazon.eventstream is ALv2, and does not contain any embedded LICENSE or NOTICE file --> <!-- license override not needed, ALv2 is specified in its pom.xml --> <!-- see https://github.com/aws/aws-sdk-java --> @@ -618,9 +629,9 @@ <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-core</artifactId> <properties> - <license.ignoreMissingEmbeddedLicense>1.12.1</license.ignoreMissingEmbeddedLicense> - <license.ignoreMissingEmbeddedNotice>1.12.1</license.ignoreMissingEmbeddedNotice> - <license.ignoreNoticeOverride>1.12.1</license.ignoreNoticeOverride> + <license.ignoreMissingEmbeddedLicense>1.12.109</license.ignoreMissingEmbeddedLicense> + <license.ignoreMissingEmbeddedNotice>1.12.109</license.ignoreMissingEmbeddedNotice> + <license.ignoreNoticeOverride>1.12.109</license.ignoreNoticeOverride> </properties> </project> </supplement> @@ -630,9 +641,9 @@ <groupId>com.amazonaws</groupId> <artifactId>jmespath-java</artifactId> <properties> - <license.ignoreMissingEmbeddedLicense>1.12.1</license.ignoreMissingEmbeddedLicense> - <license.ignoreMissingEmbeddedNotice>1.12.1</license.ignoreMissingEmbeddedNotice> - <license.ignoreNoticeOverride>1.12.1</license.ignoreNoticeOverride> + <license.ignoreMissingEmbeddedLicense>1.12.109</license.ignoreMissingEmbeddedLicense> + <license.ignoreMissingEmbeddedNotice>1.12.109</license.ignoreMissingEmbeddedNotice> + <license.ignoreNoticeOverride>1.12.109</license.ignoreNoticeOverride> </properties> </project> </supplement> @@ -642,9 +653,9 @@ <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-s3</artifactId> <properties> - <license.ignoreMissingEmbeddedLicense>1.12.1</license.ignoreMissingEmbeddedLicense> - <license.ignoreMissingEmbeddedNotice>1.12.1</license.ignoreMissingEmbeddedNotice> - <license.ignoreNoticeOverride>1.12.1</license.ignoreNoticeOverride> + <license.ignoreMissingEmbeddedLicense>1.12.109</license.ignoreMissingEmbeddedLicense> + <license.ignoreMissingEmbeddedNotice>1.12.109</license.ignoreMissingEmbeddedNotice> + <license.ignoreNoticeOverride>1.12.109</license.ignoreNoticeOverride> </properties> </project> </supplement> @@ -654,9 +665,9 @@ <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-kms</artifactId> <properties> - <license.ignoreMissingEmbeddedLicense>1.12.1</license.ignoreMissingEmbeddedLicense> - <license.ignoreMissingEmbeddedNotice>1.12.1</license.ignoreMissingEmbeddedNotice> - <license.ignoreNoticeOverride>1.12.1</license.ignoreNoticeOverride> + <license.ignoreMissingEmbeddedLicense>1.12.109</license.ignoreMissingEmbeddedLicense> + <license.ignoreMissingEmbeddedNotice>1.12.109</license.ignoreMissingEmbeddedNotice> + <license.ignoreNoticeOverride>1.12.109</license.ignoreNoticeOverride> </properties> </project> </supplement> @@ -666,9 +677,9 @@ <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-dynamodb</artifactId> <properties> - <license.ignoreMissingEmbeddedLicense>1.12.1</license.ignoreMissingEmbeddedLicense> - <license.ignoreMissingEmbeddedNotice>1.12.1</license.ignoreMissingEmbeddedNotice> - <license.ignoreNoticeOverride>1.12.1</license.ignoreNoticeOverride> + <license.ignoreMissingEmbeddedLicense>1.12.109</license.ignoreMissingEmbeddedLicense> + <license.ignoreMissingEmbeddedNotice>1.12.109</license.ignoreMissingEmbeddedNotice> + <license.ignoreNoticeOverride>1.12.109</license.ignoreNoticeOverride> </properties> </project> </supplement> @@ -697,8 +708,8 @@ <groupId>com.typesafe.netty</groupId> <artifactId>netty-reactive-streams</artifactId> <properties> - <license.ignoreMissingEmbeddedLicense>2.0.4</license.ignoreMissingEmbeddedLicense> - <license.ignoreMissingEmbeddedNotice>2.0.4</license.ignoreMissingEmbeddedNotice> + <license.ignoreMissingEmbeddedLicense>2.0.4,2.0.5</license.ignoreMissingEmbeddedLicense> + <license.ignoreMissingEmbeddedNotice>2.0.4,2.0.5</license.ignoreMissingEmbeddedNotice> </properties> </project> </supplement> @@ -708,8 +719,8 @@ <groupId>com.typesafe.netty</groupId> <artifactId>netty-reactive-streams-http</artifactId> <properties> - <license.ignoreMissingEmbeddedLicense>2.0.4</license.ignoreMissingEmbeddedLicense> - <license.ignoreMissingEmbeddedNotice>2.0.4</license.ignoreMissingEmbeddedNotice> + <license.ignoreMissingEmbeddedLicense>2.0.4,2.0.5</license.ignoreMissingEmbeddedLicense> + <license.ignoreMissingEmbeddedNotice>2.0.4,2.0.5</license.ignoreMissingEmbeddedNotice> </properties> </project> </supplement> @@ -721,10 +732,10 @@ <groupId>org.reactivestreams</groupId> <artifactId>reactive-streams</artifactId> <properties> - <license.ignoreMissingEmbeddedLicense>1.0.2</license.ignoreMissingEmbeddedLicense> - <license.ignoreMissingEmbeddedNotice>1.0.2</license.ignoreMissingEmbeddedNotice> - <license.ignoreLicenseOverride>1.0.2</license.ignoreLicenseOverride> - <license.ignoreNoticeOverride>1.0.2</license.ignoreNoticeOverride> + <license.ignoreMissingEmbeddedLicense>1.0.2,1.0.3</license.ignoreMissingEmbeddedLicense> + <license.ignoreMissingEmbeddedNotice>1.0.2,1.0.3</license.ignoreMissingEmbeddedNotice> + <license.ignoreLicenseOverride>1.0.2,1.0.3</license.ignoreLicenseOverride> + <license.ignoreNoticeOverride>1.0.2,1.0.3</license.ignoreNoticeOverride> </properties> </project> </supplement> diff --git a/asterixdb/src/main/licenses/content/raw.githubusercontent.com_aws_aws-sdk-java-v2_2.17.79_NOTICE.txt b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_aws_aws-sdk-java-v2_2.17.79_NOTICE.txt new file mode 100644 index 0000000..58d7690 --- /dev/null +++ b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_aws_aws-sdk-java-v2_2.17.79_NOTICE.txt @@ -0,0 +1,25 @@ +AWS SDK for Java 2.0 +Copyright 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. +- Apache Commons Lang - https://github.com/apache/commons-lang +- Netty Reactive Streams - https://github.com/playframework/netty-reactive-streams +- Jackson-core - https://github.com/FasterXML/jackson-core +- Jackson-dataformat-cbor - https://github.com/FasterXML/jackson-dataformats-binary + +The licenses for these third party components are included in LICENSE.txt + +- For Apache Commons Lang see also this required NOTICE: + Apache Commons Lang + Copyright 2001-2020 The Apache Software Foundation + + This product includes software developed at + The Apache Software Foundation (https://www.apache.org/). \ No newline at end of file diff --git a/asterixdb/src/main/licenses/content/raw.githubusercontent.com_aws_aws-sdk-java_1.12.1_NOTICE.txt b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_aws_aws-sdk-java_1.12.109_NOTICE.txt similarity index 100% rename from asterixdb/src/main/licenses/content/raw.githubusercontent.com_aws_aws-sdk-java_1.12.1_NOTICE.txt rename to asterixdb/src/main/licenses/content/raw.githubusercontent.com_aws_aws-sdk-java_1.12.109_NOTICE.txt diff --git a/asterixdb/src/main/licenses/content/raw.githubusercontent.com_reactive-streams_reactive-streams-jvm_v1.0.3_COPYING.txt b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_reactive-streams_reactive-streams-jvm_v1.0.3_COPYING.txt new file mode 100644 index 0000000..1625c17 --- /dev/null +++ b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_reactive-streams_reactive-streams-jvm_v1.0.3_COPYING.txt @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. \ No newline at end of file diff --git a/asterixdb/src/main/licenses/content/raw.githubusercontent.com_reactive-streams_reactive-streams-jvm_v1.0.3_LICENSE.txt b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_reactive-streams_reactive-streams-jvm_v1.0.3_LICENSE.txt new file mode 100644 index 0000000..eadae05 --- /dev/null +++ b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_reactive-streams_reactive-streams-jvm_v1.0.3_LICENSE.txt @@ -0,0 +1,8 @@ +Licensed under Public Domain (CC0) + +To the extent possible under law, the person who associated CC0 with +this code has waived all copyright and related or neighboring +rights to this code. + +You should have received a copy of the CC0 legalcode along with this +work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. \ No newline at end of file