Commit Graph

701 Commits

Author SHA1 Message Date
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
Adam Lamar 16fb2b826c NIFI-296: Extend capability of IdentifyMimeType
This commit backs IdentifyMimeType with the Apache Tika library. Tika
provides detailed mime type identification such as the ability to
differentiate normal zip files from OOXML MS Office documents.

The mime.type attribute continues to be set, though some mime types
have changed due to Tika naming them differently. In addition,
the mime.extension attribute is set to provide the commonly used
extension for the mime type (if known).
2015-02-17 18:25:17 +00:00
danbress 09090825de NIFI-344 - Validating remote process group URI in the backend 2015-02-17 12:39:20 -05:00
Matt Gilman 0047fa4502 NIFI-326:
- Enabling the Enable/Disable button whenever the selection is not empty.
- On Enable/Disable click, the components that support the desired action are filtered. The action (Enable/Disable) is then applied to the filtered selection.
2015-02-17 12:34:01 -05:00
Matt Gilman 4239797b9f NIFI-325:
- Code clean up.
- Ensuring the fill color action is available in toolbar and context menu under the same conditions.
- Only applying the new color if different.
2015-02-17 11:44:15 -05:00
danbress c8810c04d8 NIFI-333 - Removing exception handling in SegmentContent
From Mark - 'Theres no exception that could get thrown in there unless
theres something weird - in which case the framework should catch it and
handle it'
2015-02-17 11:17:46 -05:00
Mark Payne 7ab4392c15 NIFI-282: Allow Builder to be populated from SiteToSiteClientConfig object 2015-02-17 10:46:29 -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
Mark Payne 46eebc77ab NIFI-282: Code cleanup 2015-02-16 16:53:38 -05:00
Mark Payne a7405b915d NIFI-282: Fixed bug that caused load distribution across nodes in cluster not to work 2015-02-16 16:49:15 -05:00
Mark Payne 2f60ddc03a NIFI-282: Added send(byte[], Map<String, String>) method to avoid having to create a DataPacket object 2015-02-16 15:18:57 -05:00
Mark Payne e16fc7972c NIFI-282: Refactored to remove Jersey client from dependencies; made site-to-site config serializable; allowed SiteToSiteClient.Builder to build a SiteToSiteClientConfig without building the client itself. 2015-02-16 14:18: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
danbress 0fa1b16c83 NIFI-333 - Adding failure test for PutEmail 2015-02-15 09:24:51 -05:00
danbress 361ac1f1e5 NIFI-333 - Adding failure test for DecompressContent 2015-02-15 09:08: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
danbress 0f8d00d5ff NIFI-333 - catching ProcessException instead of Exception
when appropriate catching ProcessException in processors instead of
exception
2015-02-14 12:28:33 -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
Jenn Barnabee 1c8d0057a7 Merge branch 'develop' of http://git-wip-us.apache.org/repos/asf/incubator-nifi into develop 2015-02-13 08:07:20 -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
Mark Payne 8f0402fbbc NIFI-282: Updated unit test 2015-02-12 19:41:51 -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