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
Mark Payne
51f564024a
NIFI-10: Added FETCH Provenance Event and updated processors to use this new event type
2015-10-26 14:58:50 -04:00
Mark Payne
49a781df2d
NIFI-730: Implemented swapping in and out on-demand by the FlowFileQueue rather than in a background thread
2015-10-13 10:03:03 -04:00
Bryan Bende
600f91a262
NIFI-932 Adding hasIncomingConnection() and hasConnection(Relationship) to ProcessContext and updating ExecuteSQL
2015-09-18 17:05:31 -04:00
Joseph Percivall
a83ed34f91
Commit for NIFI-836 to fix broken javadoc @link elements
...
Signed-off-by: Matt Gilman <matt.c.gilman@gmail.com>
2015-09-10 12:05:47 -04:00
Mike Moser
85cb5dd1e7
NIFI-904 mock controller service fix
...
Signed-off-by: joewitt <joewitt@apache.org>
2015-08-27 23:22:41 -04:00
Mark Payne
4f92193159
NIFI-787: Ensure that Mock Framework passes a ProcessContext to methods using the @OnStopped annotation (if the method takes a ProcessContext object as an argument); updated developer guide to reflect that the object is allowed as an argument
...
Signed-off-by: joewitt <joewitt@apache.org>
2015-08-19 20:11:01 -04:00
Mark Payne
0410c1b7aa
NIFI-824: When calling TestRunner.removeProperty with a required property, the property's value should be set to the default, or null if no default exists
2015-08-19 19:56:46 -04:00
joewitt
aa99884782
NIFI-850 removed nifi parent, updated nifi pom, moved all nifi subdirs up one level, fixed readme.
2015-08-15 13:12:22 -04:00
Mark Payne
0f310325a3
NIFI-6: Rebased from develop and moved new artifacts as appropriate
2015-01-16 12:12:27 -05:00