RandomSec/main/src/com/google/refine/operations
Tom Morris 1849e62234
Better error handling for reconciliation process - fixes #2590 (#2671)
* Harden reconciliation - Fixes #2590

- check for non-JSON / unparseable JSON returns
- handle malformed results response with no name for candidates
- catch any Exception, not just IOExceptions
- call processManager.onFailedProcess() for cleanup on error

* Add default constructor for Jackson

Jackson complains about needing a default constructor for the
NON_DEFAULT annotation, but I'm not sure why this worked before.

* Clean up indentation and unused variable - no functional changes

Make indentation consistent throughout the module, changing recently
added lines to use the standard all spaces convention.

Remove unused count variable

* Simplify control flow

* Update limit parameter comment. No functional change.

* Replace ternary expression which is causing NPE

* Add reconciliation tests using mock HTTP server
2020-06-23 21:54:54 +02:00
..
cell [FEAT]Adds new options for split (#2471) 2020-06-15 19:30:18 +02:00
column Use Apache HTTP Commons for Fetch URL (#2692) 2020-06-16 09:38:06 +02:00
recon Better error handling for reconciliation process - fixes #2590 (#2671) 2020-06-23 21:54:54 +02:00
row Migrate importers to use Jackson classes 2018-11-30 19:23:08 +09:00
EngineDependentMassCellOperation.java Migrate importers to use Jackson classes 2018-11-30 19:23:08 +09:00
EngineDependentOperation.java Migrate importers to use Jackson classes 2018-11-30 19:23:08 +09:00
OnError.java Jackson serialization for column operations 2018-11-30 19:19:01 +09:00
OperationRegistry.java Migrate importers to use Jackson classes 2018-11-30 19:23:08 +09:00
OperationResolver.java Fix JSON history corruption. 2019-04-18 20:31:41 +01:00
UnknownOperation.java Fix JSON history corruption. 2019-04-18 20:31:41 +01:00