5721 Commits

Author SHA1 Message Date
Mark Payne
5291084dc0 Merge branch 'develop' into nifi-site-to-site-client 2015-02-22 11:18:26 -05:00
Mark Payne
f1e74cc041 NIFI-362: Ensure that we synchronize on ScheduleState before modifying it 2015-02-22 10:59:14 -05:00
Mark Payne
4cc106a54d NIFI-362: Avoid continually scheduling components to run if there is no work for them to do or if they are yielded 2015-02-22 10:53:24 -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
Jenn Barnabee
b6f40264e8 Merge branch 'develop' of http://git-wip-us.apache.org/repos/asf/incubator-nifi into develop 2015-02-20 10:41:06 -05:00
Adam Lamar
b418b890a6 NIFI-296: Minor updates after code review 2015-02-20 09:28:00 +00:00
danbress
750c4ebb6c NIFI-344 improving error message, and setting a placeHolder for the
field
2015-02-19 18:54:44 -05:00
Ryan Blue
8242417388 NIFI-238: Add Kite processors.
Includes:
* KiteStorageProcessor - store Avro files in a Kite dataset
* KiteCSVToAvroProcessor - convert CSV to Avro for storage
* KiteJSONToAvroProcessor - convert JSON to Avro for storage
2015-02-19 15:34:09 -08:00
Matt Gilman
dbae98f221 NIFI-282:
- Fixing pom parent and artifact version.
2015-02-19 11:09:17 -05:00
Matt Gilman
57b5d589ad NIFI-363:
- Fixing 'Go to source' and 'Go to destination' when the component in question is a remote process group.
2015-02-19 07:47:58 -05:00
Matt Gilman
d76fe229bb NIFI-325:
- Ensuring empty selection does enable the fill color dialog.
2015-02-19 06:55:38 -05:00
danbress
10b5b3c907 NIFI-344 - Defaulting new Remote Process Group value 2015-02-18 21:55:47 -05:00
Mark Payne
8506a0ce4a NIFI-365: Initial implementation of spark receiver 2015-02-18 21:19:58 -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
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