Mark Payne
b9cb6b1b47
NIFI-2865: Refactored PublishKafka and PublishKafka_0_10 to allow batching of FlowFiles within a single publish and to let messages timeout if not acknowledged
...
Signed-off-by: Bryan Bende <bbende@apache.org>
2016-10-06 15:51:16 -04:00
Bryan Bende
a4ed622152
Revert "NIFI-2865: Refactored PublishKafka and PublishKafka_0_10 to allow batching of FlowFiles within a single publish and to let messages timeout if not acknowledged"
...
This reverts commit 92cca96d49
.
2016-10-06 15:19:00 -04:00
Mark Payne
92cca96d49
NIFI-2865: Refactored PublishKafka and PublishKafka_0_10 to allow batching of FlowFiles within a single publish and to let messages timeout if not acknowledged
...
This closes #1097 .
Signed-off-by: Bryan Bende <bbende@apache.org>
2016-10-06 10:05:51 -04:00
Andre F de Miranda
3b408f5601
NIFI-2816 - Clean typos across the code - Part 2. This closes #1085
2016-10-05 13:07:57 -04:00
Andre F de Miranda
446cd44702
NIFI-2816 - Clean typos across the code
...
This closes #1057 .
2016-09-26 17:47:31 +02:00
Toivo Adams
ad3d63d204
nifi-1214d Mock Framework should allow order-independent assumptions on FlowFiles.
...
This closes #1033
Signed-off-by: jpercivall <joepercivall@yahoo.com>
2016-09-20 10:25:36 -04:00
Andy LoPresto
022f5a506d
NIFI-2266 Refactored GetHTTP processor to use SSLContext protocol vs. hard-coded TLSv1.
...
This closes #999 .
2016-09-16 00:08:08 +02:00
joewitt
7d7401add4
NIFI-2574 Changed NiFiProperties to avoid static initializer and updated all references to it.
2016-08-17 00:10:07 -07:00
joewitt
d3b96dcac1
NIFI-2519 This closes #856 . aligned threading model with subethastmp
2016-08-14 13:32:00 -04:00
Mark Payne
1db5e73102
NIFI-2474: Remove VariableRegistry from outward facing API so that the it is more flexible to evolve
...
Signed-off-by: Yolanda M. Davis <ymdavis@apache.org>
This closes #782
2016-08-04 10:11:33 -04:00
Mark Payne
16348b071d
NIFI-2452: This closes #771 . Ensure that we keep track of how many references we have to each lucene searcher and only close the underlying index reader if there are no references to the searcher. Also updated to prefer newer provenance events over older provenance events, and calculate FlowFile lineage based on an event id instead of a FlowFile UUID, as it's much more efficient
2016-08-03 08:05:26 -07:00
Mark Payne
bc5237593e
NIFI-2291: Correct the Content URI for 1.0.0 REST API; added cluster node identifier & whether or not clustered to ReportingContext so that the Reporting Task could make use of it
...
Signed-off-by: Yolanda M. Davis <ymdavis@apache.org>
This closes #752
2016-08-03 10:35:11 -04:00
joewitt
05a99a93cb
NIFI-2208 This closes #754 . refactored as per comments on JIRA. Reduced API expsosure and tightened lifecycle management.
2016-08-01 14:17:26 -04:00
Yolanda M. Davis
8412d2662a
NIFI-2208 - initial commit Custom Property Expression Language support with Variable Registry, includes bug fix for NIFI-2057
...
This closes #529
Signed-off-by: jpercivall <joepercivall@yahoo.com>
2016-07-29 17:10:20 -04:00
Koji Kawamura
53326c7f9b
NIFI-2267: A way for Processor to know node type
...
- Added NodeTypeProvider to expose flowController's isClustered and
isPrimaryNode so that processor can know if it's running on a cluster
and if it's a primary node.
- Added mechanism to simulate clustered or not, and primary or not, for testing
This closes #657
Signed-off-by: jpercivall <joepercivall@yahoo.com>
2016-07-15 11:38:50 -04:00
Aldrin Piri
d1129706e2
NIFI-1896 This closes #650 . Refactored nifi-api into nifi-framework-api and other locations. The nifi-api is specific to that which is needed for intended extension points.
2016-07-14 18:24:48 -04:00
joewitt
f987b21609
NIFI-1157 searched for and resolved all remaining references to deprecated items that were clearly addressable.
2016-07-14 09:32:35 -04:00
joewitt
961be21a38
NIFI-1157 resolved deprecated nifi-api items and ripple effects
2016-07-14 09:32:34 -04:00
joewitt
cfaacb1d5c
NIFI-1152 NIFI-2117 Fixed standard session impl api adherance, mock session api adherance, corrected code and tests for script processors that had issues due to that process session bug
2016-07-13 08:45:57 -04:00
Mark Payne
470513fa2e
NIFI-2039: Provide a new ProcessSession.read() method that provides an InputStream instead of using a callback
...
This closes #601
2016-07-05 15:41:36 -04:00
Mark Payne
32b8a9b9f4
NIFI-1877, NIFI-1306: Add fields to FlowFile for FIFO Prioritizer, Oldest/Newest FlowFile first prioritizers to work properly
...
This closes #546
2016-07-05 14:59:08 -04:00
Mark Payne
ae9e2fdf0b
NIFI-2123: Add authorization of provenance events; refactor core classes so that Authorizable is located within nifi-api. This closes #592
2016-06-30 07:57:17 -04:00
Mark Payne
c955ec1689
NIFI-2033: Allow Controller Services to be scoped at Controller level instead of just group level. This closes #540
2016-06-17 13:26:30 -04:00
Matt Gilman
0b437e09a7
NIFI-2007:
...
- Restoring bulletin functionality.
- Ensuring appropriate merging of bulletins in clustered responses.
2016-06-17 13:20:20 -04:00
Oleg Zhurakousky
8e4a4532df
NIFI-1690 Changed MonitorMemory to use allowable values for pool names
...
- removed dead code from MonitorMemory
- added MonitorMemoryTest
- minor refactoring in MonitorMemory
- initial fix for NIFI-1731 (WARN/INFO logging) that was required by MonitorMemoryTest
NIFI-1690 polishing
NIFI-1690 address PR comments, removed default value for MEMORY_POOL_PROPERTY
NIFI-1690 addressed latest PR comments
NIFI-1690 fixed breaking changes
Fixed checkstyle issue in StandardProcessScheduler. (+2 squashed commits)
Squashed commits:
[03829c4] Fixed checkstyle issues.
[cb20fe6
]
This closes #328 .
Signed-off-by: Andy LoPresto <alopresto@apache.org>
2016-06-16 15:17:13 -07:00
Mark Payne
df0e4e7960
NIFI-1897:
...
- Refactoring to allow requests to be replicated from a node to other nodes
- Renaming cluster node connection/read timeout properties.
- Renaming NCM DN to Cluster Coordinator DN.
- Fixing default values in properties.
- Starting to fix Spring context to load correctly in standalone mode.
- Using the cluster protocol to handle connection failures instead of heartbeats.
- Ensured replicate call is returned from ControllerResource.
- Ensure the appropriate classloader when serializing templates.
- Handling when the flow contents are null.
- This closes #488
2016-06-03 15:29:16 -04:00
Pierre Villard
372ffb8aa0
NIFI-1811 Removed ProcessorLog and updated dependent interfaces
...
This closes #403 .
Signed-off-by: Aldrin Piri <aldrin@apache.org>
2016-05-19 13:08:09 -04:00
Matt Burgess
c13fb3159f
NIFI-1822 Enabled pooled ExecuteScript engines to facilitate concurrent processing.
...
Removed unused variable in unit test. (+10 squashed commits)
Squashed commits:
[7c5acc1
] NIFI-1822 Removed trailing whitespace to conform with checkstyle rules.
[cb108cd
] NIFI-1822 Added ASF License to unit test.
[9264428
] NIFI-1822 Removed debugging log statements for script engine queue size.
Added unit tests demonstrating pooled execution timing and thread usage.
[bdbc4ba
] NIFI-1822 Renamed reference to MockProcessorContext#setNumThreads to setMaxConcurrentTasks after refactor.
[12bbe82
] NIFI-1822 Moved unit test to correct directory.
Added test script resource which generates flowfile and updates attribute with current thread.
Added tests for single run, serial run, and pooled run (not complete).
[4c174c8
] NIFI-1822 Added debugging messages to script execution.
[8ab0ce5
] NIFI-1822 Added for loop to instantiate multiple script engines in queue.
[8c5ba51
] NIFI-1822 Added variable max concurrent task field in MockProcessorContext because it was previously hardcoded to 1. Changed setNumThreads to setMaxConcurrentTasks to maintain naming convention.
[fd9120c
] NIFI-1822 Added unit test skeleton for pooled script processor execution.
[23e4f68
] NIFI-1822: Allow concurrent execution in ExecuteScript
This closes #443 .
Signed-off-by: Andy LoPresto <alopresto@apache.org>
2016-05-17 14:58:00 -07:00
Mark Payne
a81c204565
NIFI-1892: Marked method arguments as final so that they can be referenced in inner classes
2016-05-17 13:31:50 -04:00
Pierre Villard
fa390112ce
NIFI-1213 Added the possibility to register FlowFile assertions in mock framework
...
This closes #404
2016-05-16 18:58:15 -04:00
Mark Payne
25e7f314b1
NIFI-1800: Tie Controller Services to Process Groups. This closes #431
2016-05-11 14:56:05 -04:00
Pierre Villard
194fc048fb
NIFI-1721 updated mock framework to return correct number of threads from mock context
...
Signed-off-by: Matt Burgess <mattyb149@apache.org>
This closes #408
2016-05-03 15:09:29 -04:00
Pierre Villard
5e55a543eb
NIFI-1724 Added properties to configure log level when file not found and permission denied on FetchFile processor
...
NIFI-1724 Added unit test for logging with level
This closes #348
2016-04-18 08:15:27 -04:00
Richard Miskin
738236a41d
NIFI-1573 Allow programmatic access to a Processor's name
2016-02-27 15:18:22 +00:00
ledor473
eb6f9f0fec
NIFI-1423 Allow to penalize FlowFiles that are routed to No Retry relationship
...
This closes #183
Signed-off-by: jpercivall <joepercivall@yahoo.com>
2016-02-08 11:20:08 -05:00
Aldrin Piri
4df6512126
Merge branch 'NIFI-259'
2016-02-05 14:09:29 -05:00
Richard Miskin
43b4cb728a
NIFI-1376 Fixed checkstyle errors
2016-01-25 16:32:28 -05:00
Richard Miskin
13c6aeec95
NIFI-1376 Provide access to logged messages from TestRunner
2016-01-25 16:32:28 -05:00
Mark Payne
eba25ecaca
NIFI-259, NIFI-1339: Added OnConfigurationRestored annotation, always invoke onPropertyModified even on restart when properties are changed from defaults, as was done previously
2016-01-17 14:40:27 -05:00
Mark Payne
0151b1eed1
NIFI-259: Fixed checkstyle violations
2016-01-13 13:57:47 -05:00
Mark Payne
774c29a4da
NIFI-259: Added Stateful annotation as described on ticket
2016-01-12 15:28:35 -05:00
Mark Payne
e559c68766
NIFI-259: Began updating processors to use new state management
2016-01-12 10:21:47 -05:00
Mark Payne
d2a969e3d6
NIFI-259: Initial implementation of State Management feature
2016-01-11 16:38:52 -05:00
Mark Payne
f378ee9021
NIFI-1249: Allow Processors to add their own variables to those referencable by Expression Language. Make ReplaceText allow users to reference back-references of regex matches
2015-12-04 13:17:37 -05:00
Tony Kurc
3a7ddc6a35
NIFI-1054: Fixed DOS line endings in xml, java and js source files
...
Signed-off-by: joewitt <joewitt@apache.org>
2015-12-01 22:49:51 -05:00
Johnathan Gilday
fd35b8ffd7
Fixes NIFI-1220. This closes #133 . MockProcessSession returns a new FlowFile from its `penalty` method instead of mutating then returning the given FlowFile
...
Signed-off-by: joewitt <joewitt@apache.org>
2015-11-28 17:44:31 -05:00
Mark Payne
69bce2c2db
NIFI-1168: Ensure that processors with only looping
...
connections are scheduled to run, even if the connections have no FlowFiles;
expose these details to processor developers; update documentation
Signed-off-by: Aldrin Piri <aldrin@apache.org>
2015-11-18 14:53:30 -05:00
Mark Payne
e4cebba3c7
Merge branch 'master' into NIFI-730
2015-11-02 14:02:16 -05:00
Bryan Bende
5cc2b04b91
NIFI-986 Refactoring of action classes from nifi-user-actions to have interfaces in nifi-api, and adding getFlowChanges to EventAccess
...
- Fixing empty java docs and adding sort by id asc to the history query
- Changing userDn to userIdentity in Action and FlowChangeAction
- Modifying NiFiAuditor to always save events locally, and implementing getFlowChanges for ClusteredEventAccess
2015-10-29 16:28:36 -04:00
Joseph Percivall
b885f955f4
NIFI-516 adding option to StandardProcessSession.read to close stream
...
Signed-off-by: Mark Payne <markap14@hotmail.com>
2015-10-26 20:23:13 -04:00