diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 1443cca6a29f..f6de86c56b8d 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -245,8 +245,12 @@ jobs: - name: Prepare Engine Test Environment shell: bash run: | + mkdir -p test/Google_Api_Test/data + echo "$GDOC_KEY" > test/Google_Api_Test/data/secret.json go get -v github.com/ahmetb/go-httpbin/cmd/httpbin $(go env GOPATH)/bin/httpbin -host :8080 & + env: + GDOC_KEY: ${{secrets.GDOC_TEST_CREDENTIAL}} - name: Install Graalpython & FastR if: runner.os != 'Windows' diff --git a/.gitignore b/.gitignore index 7dc8a4fa6e5d..66f9a5e9ff53 100644 --- a/.gitignore +++ b/.gitignore @@ -126,4 +126,5 @@ distribution/lib/Standard/Database/*/polyglot/ distribution/lib/Standard/Examples/*/data/spreadsheet.xls distribution/lib/Standard/Examples/*/data/spreadsheet.xlsx +test/Google_Api_Test/data/secret.json test/Database_Tests/data/redshift_credentials.json diff --git a/RELEASES.md b/RELEASES.md index a9e20fc299b5..5c7a70522abd 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,10 @@ # Enso Next +## Libraries + +- Added support for fetching tables from Google Spreadsheets. + ([#1976](https://github.com/enso-org/enso/pull/1976)). + # Enso 0.2.28 (2021-09-02) ## Libraries diff --git a/build.sbt b/build.sbt index 9aa807d62cd3..242f9f2ee0a8 100644 --- a/build.sbt +++ b/build.sbt @@ -96,6 +96,10 @@ GatherLicenses.distributions := Seq( Distribution.sbtProjects(`project-manager`) ), makeStdLibDistribution("Base", Distribution.sbtProjects(`std-base`)), + makeStdLibDistribution( + "Google_Api", + Distribution.sbtProjects(`std-google-api`) + ), makeStdLibDistribution("Table", Distribution.sbtProjects(`std-table`)), makeStdLibDistribution("Database", Distribution.sbtProjects(`std-database`)), makeStdLibDistribution("Image", Distribution.sbtProjects(`std-image`)) @@ -1146,6 +1150,7 @@ lazy val runtime = (project in file("engine/runtime")) .dependsOn(`std-base` / Compile / packageBin) .dependsOn(`std-image` / Compile / packageBin) .dependsOn(`std-database` / Compile / packageBin) + .dependsOn(`std-google-api` / Compile / packageBin) .dependsOn(`std-table` / Compile / packageBin) .value ) @@ -1508,6 +1513,8 @@ def stdLibComponentRoot(name: String): File = val `base-polyglot-root` = stdLibComponentRoot("Base") / "polyglot" / "java" val `table-polyglot-root` = stdLibComponentRoot("Table") / "polyglot" / "java" val `image-polyglot-root` = stdLibComponentRoot("Image") / "polyglot" / "java" +val `google-api-polyglot-root` = + stdLibComponentRoot("Google_Api") / "polyglot" / "java" val `database-polyglot-root` = stdLibComponentRoot("Database") / "polyglot" / "java" @@ -1581,6 +1588,29 @@ lazy val `std-image` = project }.value ) +lazy val `std-google-api` = project + .in(file("std-bits") / "google-api") + .settings( + autoScalaLibrary := false, + Compile / packageBin / artifactPath := + `google-api-polyglot-root` / "std-image.jar", + libraryDependencies ++= Seq( + "com.google.api-client" % "google-api-client" % "1.32.1", + "com.google.apis" % "google-api-services-sheets" % "v4-rev612-1.25.0" + ), + Compile / packageBin := Def.task { + val result = (Compile / packageBin).value + val _ = StdBits + .copyDependencies( + `google-api-polyglot-root`, + Some("std-google-api.jar"), + ignoreScalaLibrary = true + ) + .value + result + }.value + ) + lazy val `std-database` = project .in(file("std-bits") / "database") .settings( diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/NOTICE b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/NOTICE new file mode 100644 index 000000000000..3b0880206021 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/NOTICE @@ -0,0 +1,107 @@ +Enso +Copyright 2020 - 2021 New Byte Order sp. z o. o. + +'google-api-client', licensed under the The Apache Software License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.api-client.google-api-client-1.32.1`. + + +'google-api-services-sheets', licensed under the The Apache Software License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.apis.google-api-services-sheets-v4-rev612-1.25.0`. + + +'jsr305', licensed under the The Apache Software License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.code.findbugs.jsr305-3.0.2`. + + +'gson', licensed under the Apache 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.code.gson.gson-2.8.6`. + + +'error_prone_annotations', licensed under the Apache 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.errorprone.error_prone_annotations-2.5.1`. + + +'failureaccess', licensed under the The Apache Software License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.guava.failureaccess-1.0.1`. + + +'guava', licensed under the Apache License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.guava.guava-30.1.1-android`. + + +'listenablefuture', licensed under the The Apache Software License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.guava.listenablefuture-9999.0-empty-to-avoid-conflict-with-guava`. + + +'google-http-client', licensed under the The Apache Software License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.http-client.google-http-client-1.39.2`. + + +'google-http-client-apache-v2', licensed under the The Apache Software License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.http-client.google-http-client-apache-v2-1.39.2`. + + +'google-http-client-gson', licensed under the The Apache Software License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.http-client.google-http-client-gson-1.39.2`. + + +'j2objc-annotations', licensed under the The Apache Software License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.j2objc.j2objc-annotations-1.3`. + + +'google-oauth-client', licensed under the The Apache Software License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `com.google.oauth-client.google-oauth-client-1.31.5`. + + +'commons-codec', licensed under the Apache License, Version 2.0, is distributed with the Google_Api. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `commons-codec.commons-codec-1.11`. + + +'commons-logging', licensed under the The Apache Software License, Version 2.0, is distributed with the Google_Api. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `commons-logging.commons-logging-1.2`. + + +'grpc-context', licensed under the Apache 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `io.grpc.grpc-context-1.27.2`. + + +'opencensus-api', licensed under the The Apache License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `io.opencensus.opencensus-api-0.28.0`. + + +'opencensus-contrib-http-util', licensed under the The Apache License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `io.opencensus.opencensus-contrib-http-util-0.28.0`. + + +'httpclient', licensed under the Apache License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `org.apache.httpcomponents.httpclient-4.5.13`. + + +'httpcore', licensed under the Apache License, Version 2.0, is distributed with the Google_Api. +The license file can be found at `licenses/APACHE2.0`. +Copyright notices related to this dependency can be found in the directory `org.apache.httpcomponents.httpcore-4.4.14`. + + +'checker-compat-qual', licensed under the The MIT License, is distributed with the Google_Api. +The license file can be found at `licenses/MIT`. +Copyright notices related to this dependency can be found in the directory `org.checkerframework.checker-compat-qual-2.5.5`. + diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.api-client.google-api-client-1.32.1/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.api-client.google-api-client-1.32.1/NOTICES new file mode 100644 index 000000000000..0e72fcd16ff7 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.api-client.google-api-client-1.32.1/NOTICES @@ -0,0 +1,44 @@ +/* + * Copyright 2015, Google Inc. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following disclaimer + * in the documentation and/or other materials provided with the + * distribution. + * + * * Neither the name of Google Inc. nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +Copyright 2010 Google Inc. + +Copyright 2011 Google Inc. + +Copyright 2012 Google Inc. + +Copyright 2013 Google Inc. + +Copyright 2014 Google Inc. + +Copyright 2015 Google Inc. + +Copyright 2020 Google LLC diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.apis.google-api-services-sheets-v4-rev612-1.25.0/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.apis.google-api-services-sheets-v4-rev612-1.25.0/NOTICES new file mode 100644 index 000000000000..894ad696748f --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.apis.google-api-services-sheets-v4-rev612-1.25.0/NOTICES @@ -0,0 +1 @@ +Copyright 2010 Google Inc. diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.code.findbugs.jsr305-3.0.2/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.code.findbugs.jsr305-3.0.2/NOTICES new file mode 100644 index 000000000000..01aa08bf086f --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.code.findbugs.jsr305-3.0.2/NOTICES @@ -0,0 +1 @@ +Copyright (c) 2005 Brian Goetz diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.code.gson.gson-2.8.6/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.code.gson.gson-2.8.6/NOTICES new file mode 100644 index 000000000000..7daed1cfc12e --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.code.gson.gson-2.8.6/NOTICES @@ -0,0 +1,15 @@ +Copyright (C) 2008 Google Inc. + +Copyright (C) 2009 Google Inc. + +Copyright (C) 2010 Google Inc. + +Copyright (C) 2011 Google Inc. + +Copyright (C) 2012 Google Inc. + +Copyright (C) 2014 Google Inc. + +Copyright (C) 2017 The Gson authors + +Copyright (C) 2018 The Gson authors diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.errorprone.error_prone_annotations-2.5.1/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.errorprone.error_prone_annotations-2.5.1/NOTICES new file mode 100644 index 000000000000..e1d173234c84 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.errorprone.error_prone_annotations-2.5.1/NOTICES @@ -0,0 +1,7 @@ +Copyright 2014 The Error Prone Authors. + +Copyright 2015 The Error Prone Authors. + +Copyright 2016 The Error Prone Authors. + +Copyright 2017 The Error Prone Authors. diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.guava.failureaccess-1.0.1/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.guava.failureaccess-1.0.1/NOTICES new file mode 100644 index 000000000000..78171f905f2f --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.guava.failureaccess-1.0.1/NOTICES @@ -0,0 +1 @@ +Copyright (C) 2018 The Guava Authors diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.guava.guava-30.1.1-android/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.guava.guava-30.1.1-android/NOTICES new file mode 100644 index 000000000000..0a347ec2de7e --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.guava.guava-30.1.1-android/NOTICES @@ -0,0 +1,49 @@ + /* + * This method was rewritten in Java from an intermediate step of the Murmur hash function in + * http://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp, which contained the + * following header: + * + * MurmurHash3 was written by Austin Appleby, and is placed in the public domain. The author + * hereby disclaims copyright to this source code. + */ + +/* + * MurmurHash3 was written by Austin Appleby, and is placed in the public + * domain. The author hereby disclaims copyright to this source code. + */ + +Copyright (C) 2005 The Guava Authors + +Copyright (C) 2006 The Guava Authors + +Copyright (C) 2007 The Guava Authors + +Copyright (C) 2008 The Guava Authors + +Copyright (C) 2009 The Guava Authors + +Copyright (C) 2010 The Guava Authors + +Copyright (C) 2011 The Guava Authors + +Copyright (C) 2011 The Guava Authors. + +Copyright (C) 2012 The Guava Authors + +Copyright (C) 2013 The Guava Authors + +Copyright (C) 2014 The Guava Authors + +Copyright (C) 2015 The Guava Authors + +Copyright (C) 2016 The Guava Authors + +Copyright (C) 2017 The Guava Authors + +Copyright (C) 2018 The Guava Authors + +Copyright (C) 2019 The Guava Authors + +Copyright (C) 2020 The Guava Authors + +Copyright 2019 The Guava Authors diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.guava.listenablefuture-9999.0-empty-to-avoid-conflict-with-guava/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.guava.listenablefuture-9999.0-empty-to-avoid-conflict-with-guava/NOTICES new file mode 100644 index 000000000000..4ca0b90cd6b6 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.guava.listenablefuture-9999.0-empty-to-avoid-conflict-with-guava/NOTICES @@ -0,0 +1,2 @@ +See com.google.guava.guava-29.0-jre for licensing information. + diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.http-client.google-http-client-1.39.2/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.http-client.google-http-client-1.39.2/NOTICES new file mode 100644 index 000000000000..f94209259766 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.http-client.google-http-client-1.39.2/NOTICES @@ -0,0 +1,25 @@ +Copyright (c) 2010 Google Inc. + +Copyright (c) 2010 Google Inc.J + +Copyright (c) 2011 Google Inc. + +Copyright (c) 2011 Google Inc. + +Copyright (c) 2012 Google Inc. + +Copyright (c) 2013 Google Inc. + +Copyright (c) 2014 Google Inc. + +Copyright (c) 2018 Google Inc. + +Copyright 2012 Google LLC + +Copyright 2012 Google LLC. + +Copyright 2019 Google LLC + +Copyright 2019 Google LLC + +Copyright 2020 Google LLC diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.http-client.google-http-client-apache-v2-1.39.2/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.http-client.google-http-client-apache-v2-1.39.2/NOTICES new file mode 100644 index 000000000000..172cb67a1ecd --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.http-client.google-http-client-apache-v2-1.39.2/NOTICES @@ -0,0 +1 @@ +Copyright 2019 Google LLC diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.http-client.google-http-client-gson-1.39.2/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.http-client.google-http-client-gson-1.39.2/NOTICES new file mode 100644 index 000000000000..737cd8254316 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.http-client.google-http-client-gson-1.39.2/NOTICES @@ -0,0 +1 @@ +Copyright (c) 2011 Google Inc. diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.j2objc.j2objc-annotations-1.3/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.j2objc.j2objc-annotations-1.3/NOTICES new file mode 100644 index 000000000000..0b517a543509 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.j2objc.j2objc-annotations-1.3/NOTICES @@ -0,0 +1 @@ +Copyright 2012 Google Inc. All Rights Reserved. diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.oauth-client.google-oauth-client-1.31.5/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.oauth-client.google-oauth-client-1.31.5/NOTICES new file mode 100644 index 000000000000..6287d2f3f35c --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/com.google.oauth-client.google-oauth-client-1.31.5/NOTICES @@ -0,0 +1,7 @@ +Copyright (c) 2010 Google Inc. + +Copyright (c) 2011 Google Inc. + +Copyright (c) 2012 Google Inc. + +Copyright (c) 2013 Google Inc. diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-codec.commons-codec-1.11/LICENSE.txt b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-codec.commons-codec-1.11/LICENSE.txt new file mode 100644 index 000000000000..75b52484ea47 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-codec.commons-codec-1.11/LICENSE.txt @@ -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/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-codec.commons-codec-1.11/NOTICE.txt b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-codec.commons-codec-1.11/NOTICE.txt new file mode 100644 index 000000000000..37869462119f --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-codec.commons-codec-1.11/NOTICE.txt @@ -0,0 +1,17 @@ +Apache Commons Codec +Copyright 2002-2017 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java +contains test data from http://aspell.net/test/orig/batch0.tab. +Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org) + +=============================================================================== + +The content of package org.apache.commons.codec.language.bm has been translated +from the original php source code available at http://stevemorse.org/phoneticinfo.htm +with permission from the original authors. +Original source copyright: +Copyright (c) 2008 Alexander Beider & Stephen P. Morse. diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-codec.commons-codec-1.11/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-codec.commons-codec-1.11/NOTICES new file mode 100644 index 000000000000..af6180676d5f --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-codec.commons-codec-1.11/NOTICES @@ -0,0 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +Some portions of this file Copyright (c) 2004-2006 Intel Corportation diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt @@ -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/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt new file mode 100644 index 000000000000..556bd03951d4 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt @@ -0,0 +1,6 @@ +Apache Commons Logging +Copyright 2003-2014 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/io.grpc.grpc-context-1.27.2/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/io.grpc.grpc-context-1.27.2/NOTICES new file mode 100644 index 000000000000..b87be2b51e3b --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/io.grpc.grpc-context-1.27.2/NOTICES @@ -0,0 +1,5 @@ +Copyright 2015 The gRPC Authors + +Copyright 2016 The gRPC Authors + +Copyright 2017 The gRPC Authors diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/io.opencensus.opencensus-api-0.28.0/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/io.opencensus.opencensus-api-0.28.0/NOTICES new file mode 100644 index 000000000000..5db1203addd7 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/io.opencensus.opencensus-api-0.28.0/NOTICES @@ -0,0 +1,7 @@ +Copyright 2016-17, OpenCensus Authors + +Copyright 2017, OpenCensus Authors + +Copyright 2018, OpenCensus Authors + +Copyright 2019, OpenCensus Authors diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/io.opencensus.opencensus-contrib-http-util-0.28.0/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/io.opencensus.opencensus-contrib-http-util-0.28.0/NOTICES new file mode 100644 index 000000000000..429ac734b181 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/io.opencensus.opencensus-contrib-http-util-0.28.0/NOTICES @@ -0,0 +1,3 @@ +Copyright 2017, OpenCensus Authors + +Copyright 2018, OpenCensus Authors diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/licenses/APACHE2.0 b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/licenses/APACHE2.0 new file mode 100644 index 000000000000..261eeb9e9f8b --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/licenses/APACHE2.0 @@ -0,0 +1,201 @@ + 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/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/licenses/MIT b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/licenses/MIT new file mode 100644 index 000000000000..fe45399e37ad --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/licenses/MIT @@ -0,0 +1,6 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.5.13/NOTICE b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.5.13/NOTICE new file mode 100644 index 000000000000..f3c91e72f38c --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.5.13/NOTICE @@ -0,0 +1,8 @@ + +Apache HttpClient +Copyright 1999-2020 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.14/NOTICE b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.14/NOTICE new file mode 100644 index 000000000000..c8575b4d0acb --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.14/NOTICE @@ -0,0 +1,8 @@ + +Apache HttpCore +Copyright 2005-2020 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/org.checkerframework.checker-compat-qual-2.5.5/NOTICES b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/org.checkerframework.checker-compat-qual-2.5.5/NOTICES new file mode 100644 index 000000000000..29c7fe64ff49 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/THIRD-PARTY/org.checkerframework.checker-compat-qual-2.5.5/NOTICES @@ -0,0 +1,2 @@ +See https://checkerframework.org/ for more information. + diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/package.yaml b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/package.yaml new file mode 100644 index 000000000000..75a042874168 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/package.yaml @@ -0,0 +1,10 @@ +name: Google_Api +namespace: Standard +version: 0.2.29-SNAPSHOT +license: APLv2 +authors: + - name: Enso Team + email: contact@enso.org +maintainers: + - name: Enso Team + email: contact@enso.org diff --git a/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/src/Main.enso b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/src/Main.enso new file mode 100644 index 000000000000..f3dd56460eee --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.2.29-SNAPSHOT/src/Main.enso @@ -0,0 +1,60 @@ +from Standard.Base import all +import Standard.Table + +polyglot java import com.google.api.client.googleapis.auth.oauth2.GoogleCredential +polyglot java import com.google.api.services.sheets.v4.SheetsScopes +polyglot java import java.util.Collections +polyglot java import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport +polyglot java import com.google.api.client.json.gson.GsonFactory +polyglot java import com.google.api.services.sheets.v4.Sheets + +## PRIVATE +type Google_Api_Client + ## PRIVATE + type Google_Api_Client credential json_factory http_transport + + ## Accesses a service responsible for working with Google Spreadsheets. + + Arguments: + - app_name: the application name to use for making the API calls. This + will show up in access logs etc. + spreadsheets : Text -> Spreadsheets_Service + spreadsheets app_name='Enso' = + service = Sheets.Builder.new this.http_transport this.json_factory this.credential . setApplicationName app_name . build + Spreadsheets_Service service + +## PRIVATE +type Spreadsheets_Service + ## PRIVATE + type Spreadsheets_Service java_service + + ## Gets a table with the given ID and sheet range. + + Arguments: + - sheet_id: the ID of the downloaded spreadsheet. It can be read from the + spreadsheet URL. + - sheet_range: specifies the sheet and cell range to read, e.g. + `'Sheet1!A1:B7'`. + get_table : Text -> Text -> Table + get_table sheet_id sheet_range = + request = this.java_service.spreadsheets.values.get sheet_id sheet_range . setMajorDimension 'COLUMNS' . setValueRenderOption 'UNFORMATTED_VALUE' + response = request.execute + values = Vector.Vector response.getValues . map Vector.Vector + columned = values.map v-> [v.head, v.tail] + Table.new columned + +## Initializes the Google services instance using the given credentials file. + + Arguments: + - secret_file: a file containing Google Service Account credentials to use to + access Google services. The credentials file can be downloaded from the + Google Admin Console when generating a key. +initialize : File.File -> Google_Api_Client +initialize secret_file = + credential = secret_file.with_input_stream [File.Option.Read] stream-> + stream.with_java_stream is-> + GoogleCredential.fromStream is . createScoped (Collections.singleton SheetsScopes.SPREADSHEETS) + http_transport = GoogleNetHttpTransport.newTrustedTransport + json_factory = GsonFactory.getDefaultInstance + Google_Api_Client credential json_factory http_transport + diff --git a/std-bits/google-api/.keep b/std-bits/google-api/.keep new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/std-bits/table/src/main/java/org/enso/table/data/column/builder/object/InferredBuilder.java b/std-bits/table/src/main/java/org/enso/table/data/column/builder/object/InferredBuilder.java index 26f091d74985..984a58446fbf 100644 --- a/std-bits/table/src/main/java/org/enso/table/data/column/builder/object/InferredBuilder.java +++ b/std-bits/table/src/main/java/org/enso/table/data/column/builder/object/InferredBuilder.java @@ -2,6 +2,8 @@ import org.enso.table.data.column.storage.Storage; +import java.math.BigDecimal; + /** * A builder performing type inference on the appended elements, choosing the best possible storage. */ @@ -48,7 +50,7 @@ public void appendNoGrow(Object o) { } break; case Storage.Type.DOUBLE: - if (o instanceof Double) { + if (o instanceof Double || o instanceof BigDecimal) { currentBuilder.appendNoGrow(o); } else if (o instanceof Long) { currentBuilder.appendNoGrow(((Long) o).doubleValue()); @@ -100,7 +102,7 @@ public void append(Object o) { } break; case Storage.Type.DOUBLE: - if (o instanceof Double) { + if (o instanceof Double || o instanceof BigDecimal) { currentBuilder.append(o); } else if (o instanceof Long) { currentBuilder.append(((Long) o).doubleValue()); @@ -135,7 +137,7 @@ private void initBuilderFor(Object o) { int initialCapacity = Math.max(initialSize, currentSize); if (o instanceof Boolean) { currentBuilder = new BoolBuilder(); - } else if (o instanceof Double) { + } else if (o instanceof Double || o instanceof BigDecimal) { currentBuilder = NumericBuilder.createDoubleBuilder(initialCapacity); } else if (o instanceof Long) { currentBuilder = NumericBuilder.createLongBuilder(initialCapacity); @@ -148,7 +150,8 @@ private void initBuilderFor(Object o) { } private void retypeAndAppend(Object o) { - if (o instanceof Double && currentBuilder.canRetypeTo(Storage.Type.DOUBLE)) { + if ((o instanceof Double || o instanceof BigDecimal) + && currentBuilder.canRetypeTo(Storage.Type.DOUBLE)) { currentBuilder = currentBuilder.retypeTo(Storage.Type.DOUBLE); } else if (o instanceof String && currentBuilder.canRetypeTo(Storage.Type.STRING)) { currentBuilder = currentBuilder.retypeTo(Storage.Type.STRING); diff --git a/std-bits/table/src/main/java/org/enso/table/data/column/builder/object/NumericBuilder.java b/std-bits/table/src/main/java/org/enso/table/data/column/builder/object/NumericBuilder.java index df9fae1dc8e2..d9df1197b1d5 100644 --- a/std-bits/table/src/main/java/org/enso/table/data/column/builder/object/NumericBuilder.java +++ b/std-bits/table/src/main/java/org/enso/table/data/column/builder/object/NumericBuilder.java @@ -1,5 +1,6 @@ package org.enso.table.data.column.builder.object; +import java.math.BigDecimal; import java.util.Arrays; import java.util.BitSet; import org.enso.table.data.column.storage.DoubleStorage; @@ -70,6 +71,8 @@ public void appendNoGrow(Object o) { data[currentSize++] = Double.doubleToRawLongBits((Double) o); } else if (!isDouble && o instanceof Long) { data[currentSize++] = (Long) o; + } else if (isDouble && o instanceof BigDecimal) { + data[currentSize++] = Double.doubleToRawLongBits(((BigDecimal) o).doubleValue()); } else { throw new UnsupportedOperationException(); } diff --git a/test/Database_Tests/src/Postgresql_Spec.enso b/test/Database_Tests/src/Postgresql_Spec.enso index 4cbb17a85b0c..975800369901 100644 --- a/test/Database_Tests/src/Postgresql_Spec.enso +++ b/test/Database_Tests/src/Postgresql_Spec.enso @@ -24,18 +24,7 @@ postgres_specific_spec connection pending = t.at "bools" . sql_type . is_definitely_boolean . should_be_true t.at "reals" . sql_type . is_definitely_double . should_be_true connection.execute_update 'DROP TABLE "Tinfo"' - Test.group "[PostgreSQL] Materialization" pending=pending <| - Test.specify "should return DECIMAL columns as BigDecimal" <| - connection.execute_update 'CREATE TABLE "TBigDecimal" ("decimals" DECIMAL)' - t = connection.access_table "TBigDecimal" - t.insert [1.0] - t.insert [0.25] - v = t.at "decimals" . to_vector - element = v.at 0 - element.getClass.getSimpleName . should_equal "BigDecimal" - fp = t.at "decimals" . to_dataframe . map .doubleValue - fp . to_vector . should_equal [1.0, 0.25] - connection.execute_update 'DROP TABLE "TBigDecimal"' + spec = db_name = Environment.get "ENSO_DATABASE_TEST_DB_NAME" db_host = Environment.get "ENSO_DATABASE_TEST_HOST" diff --git a/test/Database_Tests/src/Redshift_Spec.enso b/test/Database_Tests/src/Redshift_Spec.enso index 090263d9e223..64c9a54e6ed6 100644 --- a/test/Database_Tests/src/Redshift_Spec.enso +++ b/test/Database_Tests/src/Redshift_Spec.enso @@ -24,18 +24,7 @@ redshift_specific_spec connection pending = t.at "bools" . sql_type . is_definitely_boolean . should_be_true t.at "reals" . sql_type . is_definitely_double . should_be_true connection.execute_update 'DROP TABLE "Tinfo"' - Test.group "[Redshift] Materialization" pending=pending <| - Test.specify "should return DECIMAL columns as BigDecimal" <| - connection.execute_update 'CREATE TABLE "TBigDecimal" ("decimals" DECIMAL(10, 2))' - t = connection.access_table "TBigDecimal" - t.insert [1.0] - t.insert [0.25] - v = t.at "decimals" . to_vector - element = v.at 0 - element.getClass.getSimpleName . should_equal "BigDecimal" - fp = t.at "decimals" . to_dataframe . map .doubleValue - fp . to_vector . should_equal [1.0, 0.25] - connection.execute_update 'DROP TABLE "TBigDecimal"' + spec = credentials = Enso_Project.data / 'redshift_credentials.json' case credentials.exists of diff --git a/test/Google_Api_Test/package.yaml b/test/Google_Api_Test/package.yaml new file mode 100644 index 000000000000..f8e4108d0ac4 --- /dev/null +++ b/test/Google_Api_Test/package.yaml @@ -0,0 +1,6 @@ +name: Google_Api_Test +namespace: enso_dev +version: 0.0.1 +license: MIT +author: enso-dev@enso.org +maintainer: enso-dev@enso.org diff --git a/test/Google_Api_Test/src/Main.enso b/test/Google_Api_Test/src/Main.enso new file mode 100644 index 000000000000..5c431176d408 --- /dev/null +++ b/test/Google_Api_Test/src/Main.enso @@ -0,0 +1,18 @@ +from Standard.Base import all +import Standard.Google_Api +import Standard.Test + +main = Test.Suite.run_main <| + secret = Enso_Project.data / 'secret.json' + api = Google_Api.initialize secret + + Test.group "Google Spreadsheets" + + Test.specify "should allow downloading a spreadsheet" + sheet_id = '1WjVQhYdc04RwdWB22RNLgfQiLeWYhxiij1_xj22RDq0' + sheet_range = 'Sheet1!A1:B6' + table = api.spreadsheets.get_table sheet_id sheet_range + table.columns.map .name . should_equal ["Foo", "Bar"] + table.at 'Foo' . to_vector . should_equal [1,2,3,4,5] + table.at 'Bar' . to_vector . should_equal ["hello", "world", "foo", "bar", "baz"] + diff --git a/tools/legal-review/Google_Api/com.google.api-client.google-api-client-1.32.1/copyright-keep b/tools/legal-review/Google_Api/com.google.api-client.google-api-client-1.32.1/copyright-keep new file mode 100644 index 000000000000..de23160954d9 --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.api-client.google-api-client-1.32.1/copyright-keep @@ -0,0 +1,7 @@ +Copyright 2020 Google LLC +Copyright 2015 Google Inc. +Copyright 2014 Google Inc. +Copyright 2013 Google Inc. +Copyright 2012 Google Inc. +Copyright 2011 Google Inc. +Copyright 2010 Google Inc. diff --git a/tools/legal-review/Google_Api/com.google.api-client.google-api-client-1.32.1/copyright-keep-context b/tools/legal-review/Google_Api/com.google.api-client.google-api-client-1.32.1/copyright-keep-context new file mode 100644 index 000000000000..5fe8027ba1ba --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.api-client.google-api-client-1.32.1/copyright-keep-context @@ -0,0 +1 @@ +copyright notice, this list of conditions and the following disclaimer diff --git a/tools/legal-review/Google_Api/com.google.apis.google-api-services-sheets-v4-rev612-1.25.0/copyright-keep b/tools/legal-review/Google_Api/com.google.apis.google-api-services-sheets-v4-rev612-1.25.0/copyright-keep new file mode 100644 index 000000000000..894ad696748f --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.apis.google-api-services-sheets-v4-rev612-1.25.0/copyright-keep @@ -0,0 +1 @@ +Copyright 2010 Google Inc. diff --git a/tools/legal-review/Google_Api/com.google.code.findbugs.jsr305-3.0.2/copyright-keep b/tools/legal-review/Google_Api/com.google.code.findbugs.jsr305-3.0.2/copyright-keep new file mode 100644 index 000000000000..01aa08bf086f --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.code.findbugs.jsr305-3.0.2/copyright-keep @@ -0,0 +1 @@ +Copyright (c) 2005 Brian Goetz diff --git a/tools/legal-review/Google_Api/com.google.code.gson.gson-2.8.6/copyright-keep b/tools/legal-review/Google_Api/com.google.code.gson.gson-2.8.6/copyright-keep new file mode 100644 index 000000000000..effb42acb824 --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.code.gson.gson-2.8.6/copyright-keep @@ -0,0 +1,8 @@ +Copyright (C) 2008 Google Inc. +Copyright (C) 2009 Google Inc. +Copyright (C) 2010 Google Inc. +Copyright (C) 2011 Google Inc. +Copyright (C) 2012 Google Inc. +Copyright (C) 2014 Google Inc. +Copyright (C) 2018 The Gson authors +Copyright (C) 2017 The Gson authors diff --git a/tools/legal-review/Google_Api/com.google.errorprone.error_prone_annotations-2.5.1/copyright-keep b/tools/legal-review/Google_Api/com.google.errorprone.error_prone_annotations-2.5.1/copyright-keep new file mode 100644 index 000000000000..eed89e633950 --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.errorprone.error_prone_annotations-2.5.1/copyright-keep @@ -0,0 +1,4 @@ +Copyright 2014 The Error Prone Authors. +Copyright 2015 The Error Prone Authors. +Copyright 2016 The Error Prone Authors. +Copyright 2017 The Error Prone Authors. diff --git a/tools/legal-review/Google_Api/com.google.guava.failureaccess-1.0.1/copyright-keep b/tools/legal-review/Google_Api/com.google.guava.failureaccess-1.0.1/copyright-keep new file mode 100644 index 000000000000..78171f905f2f --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.guava.failureaccess-1.0.1/copyright-keep @@ -0,0 +1 @@ +Copyright (C) 2018 The Guava Authors diff --git a/tools/legal-review/Google_Api/com.google.guava.guava-30.1.1-android/copyright-keep b/tools/legal-review/Google_Api/com.google.guava.guava-30.1.1-android/copyright-keep new file mode 100644 index 000000000000..356d1082b805 --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.guava.guava-30.1.1-android/copyright-keep @@ -0,0 +1,18 @@ +Copyright (C) 2005 The Guava Authors +Copyright (C) 2006 The Guava Authors +Copyright (C) 2008 The Guava Authors +Copyright (C) 2007 The Guava Authors +Copyright (C) 2009 The Guava Authors +Copyright (C) 2010 The Guava Authors +Copyright (C) 2011 The Guava Authors +Copyright (C) 2011 The Guava Authors. +Copyright (C) 2012 The Guava Authors +Copyright (C) 2013 The Guava Authors +Copyright (C) 2015 The Guava Authors +Copyright (C) 2014 The Guava Authors +Copyright (C) 2016 The Guava Authors +Copyright (C) 2017 The Guava Authors +Copyright (C) 2018 The Guava Authors +Copyright (C) 2019 The Guava Authors +Copyright 2019 The Guava Authors +Copyright (C) 2020 The Guava Authors diff --git a/tools/legal-review/Google_Api/com.google.guava.guava-30.1.1-android/copyright-keep-context b/tools/legal-review/Google_Api/com.google.guava.guava-30.1.1-android/copyright-keep-context new file mode 100644 index 000000000000..5e00b11c7dd5 --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.guava.guava-30.1.1-android/copyright-keep-context @@ -0,0 +1,2 @@ +hereby disclaims copyright to this source code. +domain. The author hereby disclaims copyright to this source code. diff --git a/tools/legal-review/Google_Api/com.google.guava.listenablefuture-9999.0-empty-to-avoid-conflict-with-guava/copyright-add b/tools/legal-review/Google_Api/com.google.guava.listenablefuture-9999.0-empty-to-avoid-conflict-with-guava/copyright-add new file mode 100644 index 000000000000..0c178638bbbc --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.guava.listenablefuture-9999.0-empty-to-avoid-conflict-with-guava/copyright-add @@ -0,0 +1 @@ +See com.google.guava.guava-29.0-jre for licensing information. diff --git a/tools/legal-review/Google_Api/com.google.http-client.google-http-client-1.39.2/copyright-keep b/tools/legal-review/Google_Api/com.google.http-client.google-http-client-1.39.2/copyright-keep new file mode 100644 index 000000000000..54fa6bcc589b --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.http-client.google-http-client-1.39.2/copyright-keep @@ -0,0 +1,13 @@ +Copyright (c) 2010 Google Inc. +Copyright (c) 2012 Google Inc. +Copyright (c) 2014 Google Inc. +Copyright (c) 2010 Google Inc.J +Copyright (c) 2011 Google Inc. +Copyright (c) 2011 Google Inc. +Copyright (c) 2013 Google Inc. +Copyright (c) 2018 Google Inc. +Copyright 2012 Google LLC. +Copyright 2012 Google LLC +Copyright 2019 Google LLC +Copyright 2020 Google LLC +Copyright 2019 Google LLC diff --git a/tools/legal-review/Google_Api/com.google.http-client.google-http-client-apache-v2-1.39.2/copyright-keep b/tools/legal-review/Google_Api/com.google.http-client.google-http-client-apache-v2-1.39.2/copyright-keep new file mode 100644 index 000000000000..172cb67a1ecd --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.http-client.google-http-client-apache-v2-1.39.2/copyright-keep @@ -0,0 +1 @@ +Copyright 2019 Google LLC diff --git a/tools/legal-review/Google_Api/com.google.http-client.google-http-client-gson-1.39.2/copyright-keep b/tools/legal-review/Google_Api/com.google.http-client.google-http-client-gson-1.39.2/copyright-keep new file mode 100644 index 000000000000..737cd8254316 --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.http-client.google-http-client-gson-1.39.2/copyright-keep @@ -0,0 +1 @@ +Copyright (c) 2011 Google Inc. diff --git a/tools/legal-review/Google_Api/com.google.j2objc.j2objc-annotations-1.3/copyright-keep b/tools/legal-review/Google_Api/com.google.j2objc.j2objc-annotations-1.3/copyright-keep new file mode 100644 index 000000000000..0b517a543509 --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.j2objc.j2objc-annotations-1.3/copyright-keep @@ -0,0 +1 @@ +Copyright 2012 Google Inc. All Rights Reserved. diff --git a/tools/legal-review/Google_Api/com.google.oauth-client.google-oauth-client-1.31.5/copyright-keep b/tools/legal-review/Google_Api/com.google.oauth-client.google-oauth-client-1.31.5/copyright-keep new file mode 100644 index 000000000000..d90d2779e626 --- /dev/null +++ b/tools/legal-review/Google_Api/com.google.oauth-client.google-oauth-client-1.31.5/copyright-keep @@ -0,0 +1,4 @@ +Copyright (c) 2010 Google Inc. +Copyright (c) 2011 Google Inc. +Copyright (c) 2012 Google Inc. +Copyright (c) 2013 Google Inc. diff --git a/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/copyright-ignore b/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/copyright-ignore new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/copyright-ignore @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/copyright-keep b/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/copyright-keep new file mode 100644 index 000000000000..6ab681a5b3bd --- /dev/null +++ b/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/copyright-keep @@ -0,0 +1 @@ +Some portions of this file Copyright (c) 2004-2006 Intel Corportation diff --git a/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/copyright-keep-context b/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/copyright-keep-context new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/copyright-keep-context @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/custom-license b/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/custom-license new file mode 100644 index 000000000000..35252fda76e8 --- /dev/null +++ b/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/custom-license @@ -0,0 +1 @@ +LICENSE.txt diff --git a/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/files-keep b/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/files-keep new file mode 100644 index 000000000000..6de1a981f47b --- /dev/null +++ b/tools/legal-review/Google_Api/commons-codec.commons-codec-1.11/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE.txt +META-INF/LICENSE.txt diff --git a/tools/legal-review/Google_Api/commons-logging.commons-logging-1.2/copyright-ignore b/tools/legal-review/Google_Api/commons-logging.commons-logging-1.2/copyright-ignore new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/tools/legal-review/Google_Api/commons-logging.commons-logging-1.2/copyright-ignore @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/Google_Api/commons-logging.commons-logging-1.2/custom-license b/tools/legal-review/Google_Api/commons-logging.commons-logging-1.2/custom-license new file mode 100644 index 000000000000..35252fda76e8 --- /dev/null +++ b/tools/legal-review/Google_Api/commons-logging.commons-logging-1.2/custom-license @@ -0,0 +1 @@ +LICENSE.txt diff --git a/tools/legal-review/Google_Api/commons-logging.commons-logging-1.2/files-keep b/tools/legal-review/Google_Api/commons-logging.commons-logging-1.2/files-keep new file mode 100644 index 000000000000..6de1a981f47b --- /dev/null +++ b/tools/legal-review/Google_Api/commons-logging.commons-logging-1.2/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE.txt +META-INF/LICENSE.txt diff --git a/tools/legal-review/Google_Api/io.grpc.grpc-context-1.27.2/copyright-keep b/tools/legal-review/Google_Api/io.grpc.grpc-context-1.27.2/copyright-keep new file mode 100644 index 000000000000..af62857629db --- /dev/null +++ b/tools/legal-review/Google_Api/io.grpc.grpc-context-1.27.2/copyright-keep @@ -0,0 +1,3 @@ +Copyright 2015 The gRPC Authors +Copyright 2017 The gRPC Authors +Copyright 2016 The gRPC Authors diff --git a/tools/legal-review/Google_Api/io.opencensus.opencensus-api-0.28.0/copyright-keep b/tools/legal-review/Google_Api/io.opencensus.opencensus-api-0.28.0/copyright-keep new file mode 100644 index 000000000000..6ab89b34c198 --- /dev/null +++ b/tools/legal-review/Google_Api/io.opencensus.opencensus-api-0.28.0/copyright-keep @@ -0,0 +1,4 @@ +Copyright 2016-17, OpenCensus Authors +Copyright 2017, OpenCensus Authors +Copyright 2018, OpenCensus Authors +Copyright 2019, OpenCensus Authors diff --git a/tools/legal-review/Google_Api/io.opencensus.opencensus-contrib-http-util-0.28.0/copyright-keep b/tools/legal-review/Google_Api/io.opencensus.opencensus-contrib-http-util-0.28.0/copyright-keep new file mode 100644 index 000000000000..bcc3d7154834 --- /dev/null +++ b/tools/legal-review/Google_Api/io.opencensus.opencensus-contrib-http-util-0.28.0/copyright-keep @@ -0,0 +1,2 @@ +Copyright 2017, OpenCensus Authors +Copyright 2018, OpenCensus Authors diff --git a/tools/legal-review/Google_Api/org.apache.httpcomponents.httpclient-4.5.13/copyright-ignore b/tools/legal-review/Google_Api/org.apache.httpcomponents.httpclient-4.5.13/copyright-ignore new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/tools/legal-review/Google_Api/org.apache.httpcomponents.httpclient-4.5.13/copyright-ignore @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/tools/legal-review/Google_Api/org.apache.httpcomponents.httpclient-4.5.13/files-ignore b/tools/legal-review/Google_Api/org.apache.httpcomponents.httpclient-4.5.13/files-ignore new file mode 100644 index 000000000000..b9005a4d5ae7 --- /dev/null +++ b/tools/legal-review/Google_Api/org.apache.httpcomponents.httpclient-4.5.13/files-ignore @@ -0,0 +1 @@ +META-INF/LICENSE diff --git a/tools/legal-review/Google_Api/org.apache.httpcomponents.httpclient-4.5.13/files-keep b/tools/legal-review/Google_Api/org.apache.httpcomponents.httpclient-4.5.13/files-keep new file mode 100644 index 000000000000..0d1c51375183 --- /dev/null +++ b/tools/legal-review/Google_Api/org.apache.httpcomponents.httpclient-4.5.13/files-keep @@ -0,0 +1 @@ +META-INF/NOTICE diff --git a/tools/legal-review/Google_Api/org.apache.httpcomponents.httpcore-4.4.14/copyright-ignore b/tools/legal-review/Google_Api/org.apache.httpcomponents.httpcore-4.4.14/copyright-ignore new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/tools/legal-review/Google_Api/org.apache.httpcomponents.httpcore-4.4.14/copyright-ignore @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/tools/legal-review/Google_Api/org.apache.httpcomponents.httpcore-4.4.14/files-ignore b/tools/legal-review/Google_Api/org.apache.httpcomponents.httpcore-4.4.14/files-ignore new file mode 100644 index 000000000000..b9005a4d5ae7 --- /dev/null +++ b/tools/legal-review/Google_Api/org.apache.httpcomponents.httpcore-4.4.14/files-ignore @@ -0,0 +1 @@ +META-INF/LICENSE diff --git a/tools/legal-review/Google_Api/org.apache.httpcomponents.httpcore-4.4.14/files-keep b/tools/legal-review/Google_Api/org.apache.httpcomponents.httpcore-4.4.14/files-keep new file mode 100644 index 000000000000..0d1c51375183 --- /dev/null +++ b/tools/legal-review/Google_Api/org.apache.httpcomponents.httpcore-4.4.14/files-keep @@ -0,0 +1 @@ +META-INF/NOTICE diff --git a/tools/legal-review/Google_Api/org.checkerframework.checker-compat-qual-2.5.5/copyright-add b/tools/legal-review/Google_Api/org.checkerframework.checker-compat-qual-2.5.5/copyright-add new file mode 100644 index 000000000000..2163a5bd9e6c --- /dev/null +++ b/tools/legal-review/Google_Api/org.checkerframework.checker-compat-qual-2.5.5/copyright-add @@ -0,0 +1 @@ +See https://checkerframework.org/ for more information. diff --git a/tools/legal-review/Google_Api/report-state b/tools/legal-review/Google_Api/report-state new file mode 100644 index 000000000000..e5ee006d2912 --- /dev/null +++ b/tools/legal-review/Google_Api/report-state @@ -0,0 +1,3 @@ +91501165A015BCF6A393EF77FABE0098B3B62040E155A7F0F90053FC04179CD5 +1DC822A15B5BA7EF2D5765A1B22CFD7BFF25ECE42880767C0294023F7FFF6EDB +0 diff --git a/tools/legal-review/Google_Api/reviewed-licenses/Apache_2.0 b/tools/legal-review/Google_Api/reviewed-licenses/Apache_2.0 new file mode 100644 index 000000000000..ff46ef6ff419 --- /dev/null +++ b/tools/legal-review/Google_Api/reviewed-licenses/Apache_2.0 @@ -0,0 +1 @@ +tools/legal-review/license-texts/APACHE2.0 diff --git a/tools/legal-review/Google_Api/reviewed-licenses/Apache_License__Version_2.0 b/tools/legal-review/Google_Api/reviewed-licenses/Apache_License__Version_2.0 new file mode 100644 index 000000000000..ff46ef6ff419 --- /dev/null +++ b/tools/legal-review/Google_Api/reviewed-licenses/Apache_License__Version_2.0 @@ -0,0 +1 @@ +tools/legal-review/license-texts/APACHE2.0 diff --git a/tools/legal-review/Google_Api/reviewed-licenses/The_Apache_License__Version_2.0 b/tools/legal-review/Google_Api/reviewed-licenses/The_Apache_License__Version_2.0 new file mode 100644 index 000000000000..ff46ef6ff419 --- /dev/null +++ b/tools/legal-review/Google_Api/reviewed-licenses/The_Apache_License__Version_2.0 @@ -0,0 +1 @@ +tools/legal-review/license-texts/APACHE2.0 diff --git a/tools/legal-review/Google_Api/reviewed-licenses/The_Apache_Software_License__Version_2.0 b/tools/legal-review/Google_Api/reviewed-licenses/The_Apache_Software_License__Version_2.0 new file mode 100644 index 000000000000..ff46ef6ff419 --- /dev/null +++ b/tools/legal-review/Google_Api/reviewed-licenses/The_Apache_Software_License__Version_2.0 @@ -0,0 +1 @@ +tools/legal-review/license-texts/APACHE2.0 diff --git a/tools/legal-review/Google_Api/reviewed-licenses/The_MIT_License b/tools/legal-review/Google_Api/reviewed-licenses/The_MIT_License new file mode 100644 index 000000000000..3889131c8ace --- /dev/null +++ b/tools/legal-review/Google_Api/reviewed-licenses/The_MIT_License @@ -0,0 +1 @@ +tools/legal-review/license-texts/MIT