avro.git
2 years agoAVRO-2729: Upgrade Velocity to version 2.2 release-1.9.2 release-1.9.2-rc2
Ismaël Mejía [Thu, 6 Feb 2020 23:27:03 +0000 (00:27 +0100)] 
AVRO-2729: Upgrade Velocity to version 2.2

2 years agoAVRO-2663: Record inside of Union is not resolved properly (#752)
Fokko Driesprong [Mon, 13 Jan 2020 10:44:41 +0000 (11:44 +0100)] 
AVRO-2663: Record inside of Union is not resolved properly (#752)

* [AVRO-2663] Bug with nested record

* Compare the names as well

* Apply stylecheck

* Fix some docs

* Make spotless happy

* Remove unused statement

* Fix Spotless error

2 years agoAVRO-2727: Update hadoop3 to version 3.2.1
Ismaël Mejía [Thu, 6 Feb 2020 14:13:54 +0000 (15:13 +0100)] 
AVRO-2727: Update hadoop3 to version 3.2.1

2 years agoAVRO-2726: Remove deprecation warnings
Ismaël Mejía [Thu, 6 Feb 2020 13:14:58 +0000 (14:14 +0100)] 
AVRO-2726: Remove deprecation warnings

2 years agoAVRO-2726: Upgrade Jackson to version 2.10.2
Ismaël Mejía [Thu, 6 Feb 2020 13:11:20 +0000 (14:11 +0100)] 
AVRO-2726: Upgrade Jackson to version 2.10.2

2 years agoPreparing for release 1.9.2 release-1.9.2-rc1
Ryan Skraba [Mon, 3 Feb 2020 14:47:49 +0000 (15:47 +0100)] 
Preparing for release 1.9.2

2 years agoAVRO-2725: Use one ReflectionUtil for utilities. (#797)
RyanSkraba [Tue, 4 Feb 2020 16:32:30 +0000 (17:32 +0100)] 
AVRO-2725: Use one ReflectionUtil for utilities. (#797)

* AVRO-2725: Use one ReflectionUtil for utilities.

* Apply spotless.

2 years agoAVRO-2675: Maintain .gitignore and rat exclusions (#750)
RyanSkraba [Tue, 14 Jan 2020 15:24:21 +0000 (16:24 +0100)] 
AVRO-2675: Maintain .gitignore and rat exclusions (#750)

* AVRO-2681: Maintain ignored files.

* AVRO-2675: Update the RAT exclude list

Co-authored-by: Kengo Seki <sekikn@apache.org>
2 years agoAVRO-2408: Create local dev environment with Apache Forrest (#530)
Niels Basjes [Tue, 28 May 2019 07:47:21 +0000 (09:47 +0200)] 
AVRO-2408: Create local dev environment with Apache Forrest (#530)

2 years agoAVRO-2359: Support Logical Types in C# (#492)
Tim Roberts [Wed, 5 Feb 2020 09:51:28 +0000 (09:51 +0000)] 
AVRO-2359: Support Logical Types in C# (#492)

* AVRO-2359: Support Logical Types in CSharp

* fix more warnings

* remove timezone change in TestTimestamp tests

* update logical Date and Time tests to be local time zone aware

* ensure TimeZone is set relative to a source TimeZone

* reparse Dates assuming local if they're not UTC

* try setting specific TimeZone offset

* actions for code review comments

* seperate the Timestamp* tests

* add missing license to AvroDecimalTests

* modify LogicalType to return .NET type rather than string

* add Register method to LogicalTypeFactory

* Fixup code-review comments

* Make Sign internal and add xmldocs

Co-authored-by: Fokko Driesprong <fokko@driesprong.frl>
2 years agoAVRO-2695: avrogen: Exit with non-zero code on failure and write error messages to...
Zoltan Csizmadia [Wed, 5 Feb 2020 01:20:56 +0000 (19:20 -0600)] 
AVRO-2695: avrogen: Exit with non-zero code on failure and write error messages to stderr (#775)

2 years agoAVRO-2641: Fix for SpecificRecord String deserialization (#728)
Magne Helleborg [Tue, 4 Feb 2020 16:01:56 +0000 (17:01 +0100)] 
AVRO-2641: Fix for SpecificRecord String deserialization (#728)

* AVRO-2641: Fix for SpecificRecord String deserialization

Changed from casting object to String when schema expects String field.
Since Avro can represent Strings in Java as either String,
CharSequence or org.apache.avro.util.Utf8,the put can fail
with a ClassCastException.
By changing from cast to toString() the issue is circumvented.

* Apply suggestions from code review

Added spacing for legibility as suggested.

Co-Authored-By: Fokko Driesprong <fokko@driesprong.frl>
* AVRO-2641: Whitespace fixes for unit tests.

Co-authored-by: Fokko Driesprong <fokko@driesprong.frl>
Co-authored-by: RyanSkraba <ryan@skraba.com>
2 years agoAVRO-2247 - improved java reading performance with new reader (#391)
Martin Jubelgas [Mon, 3 Feb 2020 08:37:02 +0000 (09:37 +0100)] 
AVRO-2247 - improved java reading performance with new reader (#391)

* AVRO-2247 - Add FastDatumReaderBuilder and dependencies (rebased)

* Addressed comments to pull request

2 years agoAVRO-2680: Bump grpc.version from 1.24.1 to 1.26.0 (#767)
Fokko Driesprong [Tue, 21 Jan 2020 15:40:59 +0000 (16:40 +0100)] 
AVRO-2680: Bump grpc.version from 1.24.1 to 1.26.0 (#767)

2 years agoAVRO-2543: Bump grpc.version from 1.19.0 to 1.23.0 (#635)
Fokko Driesprong [Sun, 1 Sep 2019 18:34:26 +0000 (20:34 +0200)] 
AVRO-2543: Bump grpc.version from 1.19.0 to 1.23.0 (#635)

* AVRO-2543: Bump grpc.version from 1.19.0 to 1.23.0

* Import it from Guava instead

2 years agoAVRO-2685: Bump apache from 21 to 22 (#768)
Fokko Driesprong [Fri, 17 Jan 2020 12:45:43 +0000 (13:45 +0100)] 
AVRO-2685: Bump apache from 21 to 22 (#768)

The Maven parent project, provided by the ASF

2 years agoAVRO-2684: Bump netty-codec-http2 from 4.1.44.Final to 4.1.45.Final (#769)
Fokko Driesprong [Fri, 17 Jan 2020 12:45:33 +0000 (13:45 +0100)] 
AVRO-2684: Bump netty-codec-http2 from 4.1.44.Final to 4.1.45.Final (#769)

2 years agoAVRO-2686: Bump jetty.version from 9.4.21.v20190926 to 9.4.25.v20191220 (#770)
Fokko Driesprong [Fri, 17 Jan 2020 12:45:18 +0000 (13:45 +0100)] 
AVRO-2686: Bump jetty.version from 9.4.21.v20190926 to 9.4.25.v20191220 (#770)

2 years agoAVRO-2672: Bump spotless-maven-plugin from 1.25.1 to 1.27.0 (#757)
Fokko Driesprong [Sat, 11 Jan 2020 12:32:23 +0000 (13:32 +0100)] 
AVRO-2672: Bump spotless-maven-plugin from 1.25.1 to 1.27.0 (#757)

2 years agoAVRO-2673: Bump protobuf-java from 3.10.0 to 3.11.1 (#759)
Fokko Driesprong [Sat, 11 Jan 2020 12:31:35 +0000 (13:31 +0100)] 
AVRO-2673: Bump protobuf-java from 3.10.0 to 3.11.1 (#759)

2 years agoAVRO-2540: Bump commons-lang3 from 3.8.1 to 3.9.0 (#633)
Fokko Driesprong [Sun, 1 Sep 2019 19:28:28 +0000 (21:28 +0200)] 
AVRO-2540: Bump commons-lang3 from 3.8.1 to 3.9.0 (#633)

* AVRO-2540: Bump commons-lang3 from 3.8.1 to 3.9

* Fix version

2 years agoAVRO-2542: Bump various Apache Maven plugins (#634)
Fokko Driesprong [Sun, 1 Sep 2019 18:33:49 +0000 (20:33 +0200)] 
AVRO-2542: Bump various Apache Maven plugins (#634)

2 years agoAVRO-2541: Bump velocity-engine-core from 2.0 to 2.1 (#632)
Fokko Driesprong [Sun, 1 Sep 2019 18:32:49 +0000 (20:32 +0200)] 
AVRO-2541: Bump velocity-engine-core from 2.0 to 2.1 (#632)

2 years agoAVRO-2537: Bump zstd-jni from 1.4.0-1 to 1.4.3-1 (#630)
Fokko Driesprong [Thu, 29 Aug 2019 08:14:33 +0000 (10:14 +0200)] 
AVRO-2537: Bump zstd-jni from 1.4.0-1 to 1.4.3-1 (#630)

2 years agoAVRO-2466: Fix a malformed schema in the share/test/schemas directory (#578)
Kengo Seki [Tue, 23 Jul 2019 09:46:54 +0000 (18:46 +0900)] 
AVRO-2466: Fix a malformed schema in the share/test/schemas directory (#578)

2 years agoAVRO-2689: add reader-schema to DataFileReadTool (#785)
Roger Peppe [Tue, 28 Jan 2020 10:03:38 +0000 (10:03 +0000)] 
AVRO-2689:  add reader-schema to DataFileReadTool (#785)

* AVRO-2689: add reader schema to DataFileReadTool

This PR adds --reader-schema and --reader-schema-file flags
to the tojson tool.

* AVRO-2689: Unit test for reader schema on tojson tool.

Co-authored-by: RyanSkraba <ryan@skraba.com>
2 years agoAVRO-2664: Pin Ruby rdoc to <=6.2.0 (#753)
Fokko Driesprong [Fri, 27 Dec 2019 19:33:33 +0000 (20:33 +0100)] 
AVRO-2664: Pin Ruby rdoc to <=6.2.0 (#753)

Ruby rdoc 6.2.1 has been released which requires
Ruby 2.4: https://rubygems.org/gems/rdoc/versions/6.2.1

We would like to contrain this to 6.2.0:
https://rubygems.org/gems/rdoc/versions/6.2.0

2 years agoAVRO-2548: Handle logicalTypes with stringType (#655)
ivangreene [Sun, 1 Dec 2019 10:52:41 +0000 (04:52 -0600)] 
AVRO-2548: Handle logicalTypes with stringType (#655)

When using 'stringType', logical types whose
Avro type was string would not have that conversion
applied.

2 years agoAVRO-2631: Install the Right Snappy (#713)
Michael A. Smith [Sat, 16 Nov 2019 16:43:24 +0000 (11:43 -0500)] 
AVRO-2631: Install the Right Snappy (#713)

2 years agoAVRO-2429: Ignore unknown logical types in python2. (#687)
RyanSkraba [Wed, 6 Nov 2019 12:04:35 +0000 (13:04 +0100)] 
AVRO-2429: Ignore unknown logical types in python2. (#687)

* AVRO-2429: Ignore unknown logical types in python2.

* AVRO-2429: Clean up math and unicode.

* AVRO-2429: Fix max precision formula.

If the maximum magnitude of a two's complement number of N bytes is:

max_mag(N) = 2 ** (8 * n - 1)

and the number of decimal digits required to represent M is:

decimal_digits(M) = floor(log10(M)) + 1

Then the maximum number of decimal digits that a N byte number can contain:

max_decimal_digits(N) = decimal_digits(max_mag(N))
  = floor(log10(2 ** (8 * n - 1))) + 1
  = floor( (8*n-1) * log10(2) ) + 1

If the biggest number has X decimal digits, the N bytes can represent all
numbers with X-1 decimal digits.

max_precision(N) = floor( (8*n-1) * log10(2) )

* AVRO-2429: Add unit tests for max precision.

Fix lint.

2 years agoAVRO-2564: Update link in javadoc-plugin (#653)
Zezeng Wang [Sat, 21 Sep 2019 07:21:48 +0000 (15:21 +0800)] 
AVRO-2564: Update link in javadoc-plugin (#653)

2 years agoAVRO-2512: Fix formatting
Fokko Driesprong [Tue, 20 Aug 2019 14:25:13 +0000 (16:25 +0200)] 
AVRO-2512: Fix formatting

2 years agoAVRO-2512: writerField is always null
Fokko Driesprong [Tue, 20 Aug 2019 12:40:53 +0000 (14:40 +0200)] 
AVRO-2512: writerField is always null

2 years agoAVRO-2468: Fix broken data interoperability on the Perl bindings (#582)
Kengo Seki [Tue, 20 Aug 2019 09:36:53 +0000 (18:36 +0900)] 
AVRO-2468: Fix broken data interoperability on the Perl bindings (#582)

* Fix Avro::Schema to take namespace into consideration
  when parsing named types in arrays/maps/unions.

* Fix Avro::Schema to encode fixed type's size value
  into numeric when it outputs Avro schema.

* To ensure the above fixes work, add data interop test
  for the Perl bindings.

2 years agoAVRO-2404: Fix insecure urls. (#603)
zeshuai007 [Sat, 10 Aug 2019 19:43:48 +0000 (03:43 +0800)] 
AVRO-2404: Fix insecure urls. (#603)

2 years agoAVRO-2483: Fix broken links to wiki pages in the documentation (#593)
Kengo Seki [Thu, 25 Jul 2019 08:21:49 +0000 (17:21 +0900)] 
AVRO-2483: Fix broken links to wiki pages in the documentation (#593)

2 years agoAVRO-2298: Add Avro generated annotation to builder class (#542)
ScottHarwoodTech [Tue, 25 Jun 2019 19:31:50 +0000 (20:31 +0100)] 
AVRO-2298: Add Avro generated annotation to builder class (#542)

2 years agoAVRO-2394: Remove CHANGES.txt check from commit-msg hook (#519)
Brian Lachniet [Fri, 17 May 2019 09:39:34 +0000 (05:39 -0400)] 
AVRO-2394: Remove CHANGES.txt check from commit-msg hook (#519)

2 years agoAVRO-2377: Remove Reserved Words Initialization Blocks (#507)
BELUGABEHR [Wed, 24 Apr 2019 17:59:41 +0000 (13:59 -0400)] 
AVRO-2377: Remove Reserved Words Initialization Blocks (#507)

* AVRO-2377: Remove Reserved Words Initialization Blocks

* Applied spotless

2 years agoAVRO-2592: Avoid consuming ByteBuffer for decimal.
Ryan Skraba [Fri, 29 Nov 2019 12:23:20 +0000 (13:23 +0100)] 
AVRO-2592: Avoid consuming ByteBuffer for decimal.

2 years agoAVRO-2595: Remove Unusable Py3 Txipc (#716)
Michael A. Smith [Sun, 1 Dec 2019 11:18:58 +0000 (06:18 -0500)] 
AVRO-2595: Remove Unusable Py3 Txipc (#716)

The Py3 package will be superseded by python

2 years agoAVRO-2456: Add interop test for the snappy and zstd codec (#573)
Kengo Seki [Fri, 12 Jul 2019 17:55:42 +0000 (02:55 +0900)] 
AVRO-2456: Add interop test for the snappy and zstd codec (#573)

2 years agoAVRO-2605: Remove Use of Filter Function (#688)
Michael A. Smith [Sat, 26 Oct 2019 11:50:14 +0000 (07:50 -0400)] 
AVRO-2605: Remove Use of Filter Function (#688)

2 years agoAVRO-2603: Clean Up Imports (#684)
Michael A. Smith [Fri, 25 Oct 2019 12:59:58 +0000 (08:59 -0400)] 
AVRO-2603: Clean Up Imports (#684)

2 years agoAVRO-1788: Remove Obsolete Python < 2.7 Syntax (#683)
Michael A. Smith [Tue, 22 Oct 2019 12:49:44 +0000 (08:49 -0400)] 
AVRO-1788: Remove Obsolete Python < 2.7 Syntax (#683)

2 years agoAVRO-2601: zstandard in extras_require
Michael A. Smith [Sun, 20 Oct 2019 15:53:04 +0000 (11:53 -0400)] 
AVRO-2601: zstandard in extras_require

2 years agoAVRO-2593: Ensure exfile is Always Defined
Michael A. Smith [Sun, 20 Oct 2019 00:34:45 +0000 (20:34 -0400)] 
AVRO-2593: Ensure exfile is Always Defined

Fixes a bug where when a test fails the cleanup code tries to access a variable that might not have been defined when the error occurred.

2 years agoUndo some language tool bumps.
Ryan Skraba [Wed, 22 Jan 2020 15:01:05 +0000 (16:01 +0100)] 
Undo some language tool bumps.

The cherry-pick for AVRO-2590 reorganizes the language tools in docker,
as well as fixing the .NET installation.  This commit keeps the
refactoring but undoes some bumps for PHP, Ruby and python setup.

2 years agoAVRO-2590: Dockerfile Fails to Fetch Microsoft Dist (#677)
Michael A. Smith [Fri, 18 Oct 2019 13:59:39 +0000 (09:59 -0400)] 
AVRO-2590: Dockerfile Fails to Fetch Microsoft Dist (#677)

* AVRO-2590: Install .NET with Ubuntu 16 Deb

* AVRO-2590: Remove Build Caches

2 years agoAVRO-2580: Enforce Logical Type and Literal Type Match (#668)
Michael A. Smith [Fri, 25 Oct 2019 20:51:47 +0000 (16:51 -0400)] 
AVRO-2580: Enforce Logical Type and Literal Type Match (#668)

* AVRO-2580: Refactor Schema.parse Test

* AVRO-2580: Rewrite Tests to Highlight Bug

* AVRO-2580: Require Logical Type to Match Literal Type

* AVRO-2580: Refactor Schema Tests

1. Enable showing multiple failures in a single run.
2. Use JSON to format test schema when possible.

2 years agoAVRO-2578: Deprecate Parse in 1.9.2.
Ryan Skraba [Tue, 21 Jan 2020 13:42:41 +0000 (14:42 +0100)] 
AVRO-2578: Deprecate Parse in 1.9.2.

2 years agoAVRO-2578: Support Both Capitalizations of Parse (#666)
Michael A. Smith [Sun, 27 Oct 2019 01:27:12 +0000 (21:27 -0400)] 
AVRO-2578: Support Both Capitalizations of Parse (#666)

* AVRO-2578: Provide Parse in Both Capitalizations

* AVRO-2578: Normalize Calls to Parse

* AVRO-2578: Test Both Schema Parse Capitalizations

* AVRO-2578: Test Both Capitalizations of Protocol.Parse

* AVRO-2578: Add Deprecation Warnings for Capital-P Parse

* AVRO-2578: Fix Tests for Py3.5

2 years agoAVRO-2577: Fix Bare Excepts (#665)
Michael A. Smith [Fri, 25 Oct 2019 21:58:36 +0000 (17:58 -0400)] 
AVRO-2577: Fix Bare Excepts (#665)

* AVRO-2577: Fix Bare Excepts

* AVRO-2577: Don't Count Failure as Success

2 years agoAVRO-2576: Fix Premature Import pycodestyle (#664)
Michael A. Smith [Wed, 9 Oct 2019 20:32:42 +0000 (16:32 -0400)] 
AVRO-2576: Fix Premature Import pycodestyle (#664)

* AVRO-2445: Remove SimpleJSON License and Rat Excludes

* AVRO-2576: Fix Premature Import pycodestyle

* AVRO-2576: Run pycodestyle from setup for py2

* AVRO-2576: Fix and Ignore Lint Failures

* AVRO-2576: Update Setuptools

* AVRO-2576: Use Local pycodestyle If We Can

* AVRO-2576: Run isort from setuptools

* AVRO-2576: Include isort at setuptools time

* AVRO-2576: Rat Exclude Python Setup Files

2 years agoAVRO-2410: Framework for Linting (#569)
Michael A. Smith [Thu, 18 Jul 2019 11:02:23 +0000 (07:02 -0400)] 
AVRO-2410: Framework for Linting (#569)

* AVRO-2410: build.sh Framework for Linting

* AVRO-2410: Sort Python Imports with isort

* AVRO-2410: Sort Python3 Imports with isort

2 years agoAVRO-2445: Remove context manager avoidance (#568)
Michael A. Smith [Fri, 28 Jun 2019 08:07:42 +0000 (04:07 -0400)] 
AVRO-2445: Remove context manager avoidance (#568)

2 years agoAVRO-2445: Remove StoppableHTTPServer Polyfill (#567)
Michael A. Smith [Tue, 23 Jul 2019 09:44:29 +0000 (05:44 -0400)] 
AVRO-2445: Remove StoppableHTTPServer Polyfill (#567)

2 years agoAVRO-2445: Remove SimpleJSON (#566)
Michael A. Smith [Thu, 27 Jun 2019 12:22:51 +0000 (08:22 -0400)] 
AVRO-2445: Remove SimpleJSON (#566)

2 years agoAVRO-2104: Schema normalization and fingerprinting for Python 3 (#536)
Michael A. Smith [Mon, 3 Jun 2019 14:37:03 +0000 (10:37 -0400)] 
AVRO-2104: Schema normalization and fingerprinting for Python 3 (#536)

* AVRO-2104: Schema normalization and fingerprinting for Python 3.

An implementation of schema normalization and fingerprinting for Python
3. The code is a fairly literal translation of the Java code and is
entirely additional to the existing code, except for one small change
in the way schema.Name is implemented to improve compatibility with the
Java version.

The new implementation is covered by 138 unit tests which have been
automatically generated by a script (not provided) which executed the
Java Avro normalization and fingerprinting code to provide expected
values for the Python implementation to reproduce.

* AVRO-2104: Include License Header

Closes #258
Closes #536

2 years agoAVRO-1928: Simplify Python float/double encoding (#528)
Michael A. Smith [Fri, 31 May 2019 18:38:46 +0000 (14:38 -0400)] 
AVRO-1928: Simplify Python float/double encoding (#528)

Switch to using built-in little endian support in the struct
module, instead of explicit bit manipulation.

2 years agoAVRO-2413: Refactor io.Validate to use a mapping (#516)
Michael A. Smith [Mon, 24 Jun 2019 09:27:14 +0000 (05:27 -0400)] 
AVRO-2413: Refactor io.Validate to use a mapping (#516)

* AVRO-2413: Refactor Validate to Use a Mapping

* AVRO-2443: Fix Invalid AvroTypeException Invocation

2 years agoAVRO-2388: Drop Python 3.4 Support (#513)
Michael A. Smith [Mon, 3 Jun 2019 13:12:21 +0000 (09:12 -0400)] 
AVRO-2388: Drop Python 3.4 Support (#513)

2 years agoAVRO-2391 Refactor Py3 Setup (#514)
Michael A. Smith [Fri, 31 May 2019 17:43:42 +0000 (13:43 -0400)] 
AVRO-2391 Refactor Py3 Setup (#514)

The main purpose of this change is to simplify and modernize the setup code without really changing its behavior.

The main change is that I moved most of the setup code into the declarative setup.cfg, where I hope it is somewhat clearer.
I also fleshed out the setup.py commands so that the build.sh and setup.py have parity -- that is, the build.sh is entirely implemented using setup.py.

2 years ago[AVRO-2663] Bug with nested record
Fokko Driesprong [Mon, 23 Dec 2019 12:13:50 +0000 (13:13 +0100)] 
[AVRO-2663] Bug with nested record

2 years agoAVRO-2669: TestProtocolSpecific use getClientProtocol getter (#755)
Fokko Driesprong [Sat, 11 Jan 2020 12:40:21 +0000 (13:40 +0100)] 
AVRO-2669: TestProtocolSpecific use getClientProtocol getter (#755)

2 years agoAVRO-2644: Fix deterministic directory compilation
austin ce [Mon, 2 Dec 2019 16:39:11 +0000 (11:39 -0500)] 
AVRO-2644: Fix deterministic directory compilation

2 years agoAllow avro C to be built on musl based systems.
Titouan Christophe [Sun, 8 Dec 2019 00:55:59 +0000 (01:55 +0100)] 
Allow avro C to be built on musl based systems.

The type `ssize_t` is defined in sys/types.h, and nowhere else
in the musl standard C library, so it should be included for the
compilation to succeed.

This fixes several errors like:

    In file included from src/generic.c:29:0:
    src/generic.c: In function ‘avro_generic_value_new’:
    src/avro_generic_internal.h:63:39:
        error: ‘ssize_t’ undeclared (first use in this function);
               did you mean ‘size_t’?

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
2 years agoAVRO-2634: Fix critical CVE in Javascript component
Colm O hEigeartaigh [Tue, 19 Nov 2019 12:30:13 +0000 (12:30 +0000)] 
AVRO-2634: Fix critical CVE in Javascript component

2 years agoAVRO-2625:System.out.print should not be used a log record
zeshuai007 [Mon, 18 Nov 2019 11:59:26 +0000 (19:59 +0800)] 
AVRO-2625:System.out.print should not be used a log record

2 years agoAVRO-2646: Update Jetty to version 9.4.24.v20191120
Ismaël Mejía [Thu, 5 Dec 2019 14:09:32 +0000 (15:09 +0100)] 
AVRO-2646: Update Jetty to version 9.4.24.v20191120

2 years agoAVRO-2618: Support non-seekable Streams in DataFileReader (#702)
Sébastien Foutrier [Tue, 19 Nov 2019 00:11:31 +0000 (01:11 +0100)] 
AVRO-2618: Support non-seekable Streams in DataFileReader (#702)

This commit allows to support non-seekable Stream as reading input in
avro DataFileReader. This allow not to force the user to fully download
a file from a network storage prior to read it.
When creating an DataFileReader with a non-seekable Stream, features as
Seek(), Sync(), PastSync(), PreviousSync() and Tell() can't be used.

(cherry picked commit from 3c10c361a788add7d7f27fb6102148d6106f2544)

2 years agoAVRO-2587: Upgrade jackson to 2.10.0 (#675)
Ana Felisatti [Wed, 9 Oct 2019 20:24:58 +0000 (17:24 -0300)] 
AVRO-2587: Upgrade jackson to 2.10.0 (#675)

(cherry picked commit from 2b75804d73fa3a8d4d25be2f79aa772f5965bbcd)

2 years agoAVRO-2617: Use consistent line endings in C# CodeGen (#701)
Brian Lachniet [Sun, 17 Nov 2019 14:37:51 +0000 (09:37 -0500)] 
AVRO-2617: Use consistent line endings in C# CodeGen (#701)

(cherry picked commit from bda7d995ff7cb3079285c169b23064309ecda8b1)

2 years agoAVRO-2606: Fix C# multidimensional array errors (#699)
Brian Lachniet [Tue, 5 Nov 2019 01:35:54 +0000 (20:35 -0500)] 
AVRO-2606: Fix C# multidimensional array errors (#699)

Fix errors surrounding the use of multidimensional arrays of custom
record types in the C# specific API.

(cherry picked commit from 62bdc83e46fbd65d34a1715c1bcc53fa5d1919fa)

2 years agoAVRO-2561: Bump hadoop dependency to 2.7.3 (#686)
RyanSkraba [Mon, 4 Nov 2019 19:17:18 +0000 (20:17 +0100)] 
AVRO-2561: Bump hadoop dependency to 2.7.3 (#686)

There has been several point releases in Hadoop since 2.7.3.

avro-tools, avro-mapred and trevni-avro depend on the hadoop jars, but avro-tools is the only module that does not include it in provided scope.

2 years agoAVRO-2522: Fix nullable resolution inside lists (#663)
Brian Lachniet [Sat, 24 Aug 2019 14:34:02 +0000 (10:34 -0400)] 
AVRO-2522: Fix nullable resolution inside lists (#663)

(cherry picked commit from 23b6eb8a65cffbecc6166757a009644ace78f026)

2 years agoAVRO-2522: Handle record types with Nullable and IList in their names
Brian Lachniet [Sat, 24 Aug 2019 12:36:49 +0000 (08:36 -0400)] 
AVRO-2522: Handle record types with Nullable and IList in their names
(#663)

(cherry picked commit from 6bccc286c13d9af41cface30c92e39705a998de7)

2 years agoAVRO-2557: Fix Java example user.avsc file address error (#646)
Zezeng Wang [Sun, 29 Sep 2019 16:14:58 +0000 (00:14 +0800)] 
AVRO-2557: Fix Java example user.avsc file address error (#646)

(cherry-picked commit from 410b00ab4af7131f7409d7cd1c2bcc845e103732)

2 years agoAVRO-2560: Skip unnecessary mvn execution for speeding up tests (#649)
Kengo Seki [Sun, 29 Sep 2019 15:25:18 +0000 (08:25 -0700)] 
AVRO-2560: Skip unnecessary mvn execution for speeding up tests (#649)

(cherry picked from commit ea1ee734ab12f8b931683cd9511b127257d41954)

2 years agoAVRO-2454: Fix CA1721 - Property names should not match get methods
Brian Lachniet [Mon, 19 Aug 2019 01:48:26 +0000 (21:48 -0400)] 
AVRO-2454: Fix CA1721 - Property names should not match get methods

(cherry picked from commit 2dd342921cc7264a54cd66c00528381a167230f9)

2 years agoAVRO-2454: Fix CA1724 - Type names should not match namespaces
Brian Lachniet [Mon, 19 Aug 2019 01:37:00 +0000 (21:37 -0400)] 
AVRO-2454: Fix CA1724 - Type names should not match namespaces

(cherry picked from commit 85016374897e776c54d7e8cfe022f60b1d4e9550)

2 years agoAVRO-2454: Fix CA1715 - Identifiers should have correct prefix
Brian Lachniet [Mon, 19 Aug 2019 01:00:26 +0000 (21:00 -0400)] 
AVRO-2454: Fix CA1715 - Identifiers should have correct prefix

(cherry picked from commit 2014d7d6f86ad0a48f801ef152dbc88ef208f620)

2 years agoAVRO-2454: Fix SA1611 - ElementParametersMustBeDocumented
Brian Lachniet [Sun, 18 Aug 2019 19:31:33 +0000 (15:31 -0400)] 
AVRO-2454: Fix SA1611 - ElementParametersMustBeDocumented

(cherry picked from commit 2641b45e2d61d718fd3301cf380ea829f2c0ae6a)

2 years agoAVRO-2454: Fix SA1610 - PropertyDocumentationMustHaveValueText
Brian Lachniet [Sun, 18 Aug 2019 19:27:54 +0000 (15:27 -0400)] 
AVRO-2454: Fix SA1610 - PropertyDocumentationMustHaveValueText

(cherry picked from commit eef00d72cc172896980e515bee1a84fa3a29aa3a)

2 years agoAVRO-2454: Fix SA1606 - ElementDocumentationMustHaveSummaryText
Brian Lachniet [Sun, 18 Aug 2019 19:25:32 +0000 (15:25 -0400)] 
AVRO-2454: Fix SA1606 - ElementDocumentationMustHaveSummaryText

(cherry picked from commit 2e93877491ef385455183cf9a430b54227945858)

2 years agoAVRO-2454: Fix SA1604 - ElementDocumentationMustHaveSummary
Brian Lachniet [Sun, 18 Aug 2019 19:22:05 +0000 (15:22 -0400)] 
AVRO-2454: Fix SA1604 - ElementDocumentationMustHaveSummary

(cherry picked from commit 5b7fcf6d9a628e768410a369fd7773b46378052c)

2 years agoAVRO-2454: Fix CA1507 - Use nameof in place of string
Brian Lachniet [Sun, 18 Aug 2019 18:27:29 +0000 (14:27 -0400)] 
AVRO-2454: Fix CA1507 - Use nameof in place of string

(cherry picked from commit 0e1073e98b4323fd85af1826a72ca12d5eabc1d2)

2 years agoAVRO-2454: Fix CA1307 - Specify StringComparison
Brian Lachniet [Sun, 18 Aug 2019 16:08:52 +0000 (12:08 -0400)] 
AVRO-2454: Fix CA1307 - Specify StringComparison

(cherry picked from commit e6479eae59aa9d83d6effc7284e5a3821c5e8c14)

2 years agoAVRO-2454: Fix SA1119 - StatementMustNotUseUnnecessaryParenthesis
Brian Lachniet [Sun, 18 Aug 2019 15:56:35 +0000 (11:56 -0400)] 
AVRO-2454: Fix SA1119 - StatementMustNotUseUnnecessaryParenthesis

(cherry picked from commit ded1087822b590ac5106cf58bef51c8476653743)

2 years agoAVRO-2454: Ignore SA1116 and SA1117 - Parameters on separate lines
Brian Lachniet [Sun, 18 Aug 2019 15:50:52 +0000 (11:50 -0400)] 
AVRO-2454: Ignore SA1116 and SA1117 - Parameters on separate lines

(cherry picked from commit 33418a3955cac1c00b6c2ee31b3fc4929a54d996)

2 years agoAVRO-2454: Fix CA1305 - Specify IFormatProvider
Brian Lachniet [Sun, 18 Aug 2019 15:47:10 +0000 (11:47 -0400)] 
AVRO-2454: Fix CA1305 - Specify IFormatProvider

(cherry picked from commit 539d746274a01011cffe6a863d7373d3a38d4c78)

2 years agoAVRO-2454: Ignore CA1303 - Do not pass literals as localized parameters
Brian Lachniet [Sun, 18 Aug 2019 15:37:18 +0000 (11:37 -0400)] 
AVRO-2454: Ignore CA1303 - Do not pass literals as localized parameters

(cherry picked from commit 5d3ad3e179c31a444b51bc2f6556448eb5ad3408)

2 years agoAVRO-2454: Fix CA1063 - Implement IDisposable correctly
Brian Lachniet [Sun, 18 Aug 2019 15:32:49 +0000 (11:32 -0400)] 
AVRO-2454: Fix CA1063 - Implement IDisposable correctly

(cherry picked from commit 61e56249baa8aeb63ac4ce990ac595189e7282b4)

2 years agoAVRO-2454: Fix CA1052 - Static holder types should be Static or NotInheritable
Brian Lachniet [Sun, 18 Aug 2019 15:25:37 +0000 (11:25 -0400)] 
AVRO-2454: Fix CA1052 - Static holder types should be Static or NotInheritable

(cherry picked from commit 770acd5a5f2de734eb7a6e51ae18ed254b2828f8)

2 years agoAVRO-2454: Fix SA1600 - Elements should be documented
Brian Lachniet [Sun, 18 Aug 2019 15:23:08 +0000 (11:23 -0400)] 
AVRO-2454: Fix SA1600 - Elements should be documented

(cherry picked from commit 21698b9baa331e0f2506acb4c1b5408c1b84f071)

2 years agoAVRO-2454: Fix CA1034 - Nested types should not be visible
Brian Lachniet [Sun, 18 Aug 2019 13:45:59 +0000 (09:45 -0400)] 
AVRO-2454: Fix CA1034 - Nested types should not be visible

(cherry picked from commit a1d9b1a64c5c5ca273e5f6dfcf6015a7d1e0cc8f)

2 years agoAVRO-2550: Update Travis CI scripts to use Yetus 0.10
Brian Lachniet [Wed, 18 Sep 2019 00:53:00 +0000 (20:53 -0400)] 
AVRO-2550: Update Travis CI scripts to use Yetus 0.10

Selectively cherry picked these changes from 9125e9ac

(cherry picked from commit 9125e9acff342accbb404270c09fef4ccff151d6)

2 years agoAVRO-XXX: Add snapshot to the version
Fokko Driesprong [Tue, 10 Sep 2019 08:49:15 +0000 (10:49 +0200)] 
AVRO-XXX: Add snapshot to the version

2 years agoPrepare for Apache Avro 1.9.2
Fokko Driesprong [Mon, 2 Sep 2019 08:06:44 +0000 (10:06 +0200)] 
Prepare for Apache Avro 1.9.2

2 years agoAVRO-2531: Update commons-compress to version 1.19 release-1.9.1 release-1.9.1-rc3
Ismaël Mejía [Wed, 28 Aug 2019 07:40:02 +0000 (09:40 +0200)] 
AVRO-2531: Update commons-compress to version 1.19

(cherry picked from commit bd559d63d5d86eeff7b317d8188cdd7038c9f3fe)