Commit Graph

479 Commits

Author SHA1 Message Date
Aldrin Piri 162f02b12f Removing the separate reads for validation preferring to do the read once and handle any exceptions. 2015-02-28 21:24:25 -05:00
Aldrin Piri 57aa5dd63f Providing provenance fork event for the created segments generated by SplitJson. 2015-02-28 16:04:43 -05:00
Aldrin Piri 6a89745ec8 Adding a provenance event for EvaluateJsonPath when content is overwritten with selected expression. 2015-02-28 15:54:52 -05:00
Aldrin Piri caed7f8468 Adding missing subject property on the JsonPath validator. 2015-02-28 12:36:30 -05:00
Aldrin Piri d6948601cd Adjusting scope of methods as they are specific to the JsonPath related processors 2015-02-23 22:51:37 -05:00
Aldrin Piri 46bf048b24 Adding an abstract class to serve as a base class for JsonPath related processors and preferring this for much of the functionality present in JsonUtils. 2015-02-21 20:26:58 -05:00
Aldrin Piri 81234f3a6d Removing the batched get of flowfiles to utilize the framework provided batching support 2015-02-20 16:05:16 -05:00
joewitt 2862771235 NIFI-360 providing review feedback on github PR 2015-02-17 23:29:16 -05:00
joewitt f05cc9383c Merge branch 'json-processors' of https://github.com/apiri/incubator-nifi into NIFI-360 2015-02-17 22:17:05 -05:00
Aldrin Piri 9a5b6d5ba2 Encapsulating the rendering of a JsonPath result within JsonUtils 2015-02-17 21:29:40 -05:00
Aldrin Piri c88b427e82 Removing extraneous comment block that was replaced by method Javadoc 2015-02-17 18:42:05 -05:00
Aldrin Piri 5f647aa465 Adding missing apostrophe for description of SplitJson 2015-02-17 18:40:12 -05:00
Aldrin Piri 408f636361 Preferring the constant empty string for clarity instead of quotes. 2015-02-17 17:01:06 -05:00
Aldrin Piri a058fd0460 Adding license terms for asm dependency introduced via JsonPath -> Json-Smart 2015-02-17 16:58:04 -05:00
Aldrin Piri 627bd91fa7 Adding an auto return type for EvaluateJsonPath to match the semantics of the EvaluateXPath processor. 2015-02-17 16:15:33 -05:00
Aldrin Piri 1a746212bf Removing unnessecary local variable 2015-02-17 16:04:21 -05:00
Aldrin Piri 7a74dd9420 Adding a test case for SplitJson where the specified path cannot be found. Adjusting documentation for additional detail. 2015-02-17 15:50:42 -05:00
Aldrin Piri 2e05dcbbfd Providing a SplitJson processor which will break JSON Arrays into their individual elements. Refactored supporting JsonUtils code and EvaluateJsonPath to reuse common functionality. 2015-02-17 15:17:12 -05:00
Aldrin Piri 59ad194851 Refactoring common JSON/JsonPath functionality into JsonUtils 2015-02-17 10:26:18 -05:00
Aldrin Piri 5a81f19b25 Moving the JsonPath Validator to the JsonPathUtil class so that it can be reused by other processors. 2015-02-17 09:44:30 -05:00
joewitt dde5fd51a4 Merge branch 'NIFI-356' of https://github.com/apiri/incubator-nifi into develop 2015-02-17 00:24:58 -05:00
Aldrin Piri 24be4a1dfd Correcting the capability description which states that the property is ignored when destination is flowfile attribute instead of content. This closes NIFI-356. 2015-02-17 00:20:23 -05:00
joewitt fa5a4f26ce NIFI-355 removed all extraneous version references 2015-02-16 23:55:36 -05:00
Aldrin Piri 0a19ada0a3 Adjusting comments and providing a test to ensure a non-scalar value for a specified scalar return type is routed to failure. 2015-02-16 23:26:45 -05:00
Aldrin Piri bcebba6632 Refining logic of how errors are handled on a per destination basis. Adding supporting tests to ensure contract is met. 2015-02-16 22:44:06 -05:00
Aldrin Piri 5b145e10e8 Adjusting error where the return type of string was omitted from the possible selections 2015-02-16 18:34:23 -05:00
Aldrin Piri 7e581307b7 Adding tests for indefinite results with and without the usage of operators. 2015-02-16 18:33:48 -05:00
Aldrin Piri 6897090771 Adding a test for a destination of attributes and only one JsonPath expression evaluates to a found result. 2015-02-16 18:26:35 -05:00
Aldrin Piri d4a94c37ee Adding a test for multiple attributes where neither evaluates to a found path. 2015-02-16 18:24:57 -05:00
Aldrin Piri 78ad0a3147 Adding a test for multiple attribute paths 2015-02-16 18:20:31 -05:00
Aldrin Piri 974617d44e Adding a test to verify the placement of a JSON path expression with a content destination. 2015-02-16 18:09:22 -05:00
Aldrin Piri b3328490c6 Completing initial functionality of EvaluateJsonPath and associated tests. 2015-02-16 18:03:24 -05:00
Aldrin Piri c3c4d36944 Providing validation of the input FlowFile as JSON 2015-02-16 10:56:06 -05:00
Aldrin Piri 40da65f193 Adjusting filename of EvaluateJsonPath 2015-02-15 15:25:22 -05:00
Aldrin Piri da6b55f34c Adding an implementation of validation for JsonPath, providing a sample JSON file, and creating an associated test class. 2015-02-14 14:13:49 -05:00
Aldrin Piri e75213eead Adding EvaluateJsonPath to the Processor services file 2015-02-14 13:35:53 -05:00
Aldrin Piri ec669e5b42 Stubbing out validator, setting up relationships and properties. 2015-02-14 13:26:08 -05:00
Aldrin Piri 5f03fb11d9 Creating stub for an EvaluateJSONPath processor and providing configuration akin to EvaluateXPath 2015-02-14 12:56:19 -05:00
Aldrin Piri 446fc2ef80 Adding JSONPath as a managed dependency and including it in the standard processor pom 2015-02-13 23:42:40 -05:00
Matt Gilman b8ade5b129 NIFI-325:
- Allowing the processor/label color to be entered by hand.
- Allowing the color of multiple processors or labels to be configured at the same time.
2015-02-13 10:41:05 -05:00
Matt Gilman 4ec9548e2c NIFI-351: Fixing description. 2015-02-13 08:40:36 -05:00
Matt Gilman 5c0ed559b5 NIFI-350:
- Updating the default sort direction where appropriate.
2015-02-13 08:29:24 -05:00
Mark Payne bf97094b8c Merge branch 'develop' of http://git-wip-us.apache.org/repos/asf/incubator-nifi into develop 2015-02-13 07:20:19 -05:00
Jenn Barnabee ff6e5e681c NIFI-286 Fixes typos in Overview; adds Clustering section to Administration Guide; adds to Installation instructions in Administration Guide
Signed-off-by: Mark Payne <markap14@hotmail.com>
2015-02-13 07:17:20 -05:00
joewitt b37d8fb733 NIFI-162 2015-02-12 21:46:55 -05:00
Matt Gilman 851fe298b8 NIFI-347:
- Fixing threshold for self loops.
- Drawing preview of self loops while dragging the new connection.
- Addressing all cases when we want to prevent new connection attempts.
2015-02-12 14:17:36 -05:00
Matt Gilman a7eb1b7644 NIFI-347:
- Restoring the add connect image when stopping a drag event while still over the original source component and inside of where the source will become the destination (self loop).
2015-02-12 12:33:59 -05:00
Matt Gilman a416dfdb0f NIFI-346:
- Fixing issue when attempting to close dialogs via Esc keystroke. Was exiting method early with dialogs open to prevent other shortcuts.
2015-02-12 10:19:56 -05:00
Matt Gilman 05c01952ad NIFI-342:
- Setting focus in filter field on add processor dialog.
- Ensuring toolbar button state is updated when adding a component.
- Clear name/URL fields when canceling add port/group dialogs.
2015-02-12 09:52:37 -05:00
Matt Gilman e486c5642b NIFI-343:
- Preventing default action when shift/ctrl clicking images.
2015-02-12 07:59:04 -05:00