Mark Payne
8e031c987b
NIFI-1164: Fixed contrib-check issues, log message
2015-12-31 15:37:00 -05:00
Oleg Zhurakousky
602c4a9639
NIFI-1164 addressed latest PR comments
2015-12-28 16:26:00 -05:00
Oleg Zhurakousky
0d09054d9f
NIFI-1164 addressed PR comment
...
Added isActive check to the StandardControllerServiceNode:280 to ensure that
the IF statement can only have a chance to succeed if service is active. The service
will be indiscriminately deactivated as soon as disable(..) operation is invoked. This itself will
eliminate the race condition discovered by Mark
NIFI-1164 addressed PR comments
fixed the race condition described by Mark during disable call
NIFI-1164 polished javadoc
2015-12-28 15:16:32 -05:00
Oleg Zhurakousky
909c0decd6
NIFI-1164 Fixed race condition and refactored
...
Changed ControllerServiceNode by adding enable(..), disable(..) and isActive() operations. See javadocs for more details in both ControllerServiceNode and StandardControllerServiceNode
Refactored service enable/disable logic in StandardProcessScheduler and StandardControllerServiceNode . Below are some of the notes:
- No need for resetting class loader since its going to derive from the class loader of the service. In other words any classes that aren’t loaded and will be loaded within the scope of the already loaded service will be loaded by the class lower of that service
- No need to control 'scheduleState.isScheduled()’ since the logic has changed to use CAS operation on state update and the service state change is now atomic.
- Removed Thread.sleep(..) and while(true) loop in favor of rescheduling re-tries achieving better thread utilization since the thread that would normally block in Thread.sleep(..) is now reused.
- Added tests and validated that the race condition no longer happening
Added additional logic that allows the initiation of the service disabling while it is in ENABLING state. See javadoc of StandardProcessScheduler.enable/disable for more details.
NIFI-1164 polishing
2015-12-28 09:22:23 -05:00
Oleg Zhurakousky
ebcefaac23
NIFI-1289 reverted new method of NiFiProperties in favor of the localized reflection call in test to refresh properties.
...
Reviewed and Amended (added comments) by Tony Kurc (tkurc@apache.org ). This closes #150
2015-12-26 09:58:08 -05:00
Oleg Zhurakousky
2845e93812
NIFI-1289 added support for refreshing properties - Added _getNewInstance()_ operation to NiFiProperties to ensure there is a way to refresh/reload NiFi properties - Fixed javadocs
...
Signed-off-by: Bryan Bende <bbende@apache.org>
This closes #142
2015-12-23 14:30:08 -05:00
joewitt
f4ac8d75c5
NIFI-1312-RC1 prepare for next development iteration
2015-12-19 00:41:04 -05:00
joewitt
d624ea4866
NIFI-1312-RC1 prepare release nifi-0.4.1-RC1
2015-12-19 00:40:53 -05:00
Mark Payne
0a58ab47b9
NIFI-1310: Do not yield context when encountering IOException and fixed bug that caused the penalization period for a node not to get set
...
Signed-off-by: joewitt <joewitt@apache.org>
2015-12-18 17:35:46 -05:00
Matt Gilman
43c7ecd221
NIFI-1298: - Addressing too many significant digits in the processor load average and [non]heap utilization.
...
Signed-off-by: joewitt <joewitt@apache.org>
2015-12-18 17:02:40 -05:00
Matt Gilman
0436383f49
NIFI-1286: - Removing provenance option from the Label context menu
...
Signed-off-by: joewitt <joewitt@apache.org>
2015-12-18 17:02:33 -05:00
Matt Gilman
608287f9fe
NIFI-1309:
...
- Addressing issues around remote process groups automatically issuing new account requests.
- Ensuring authorization issues are updated with status refresh.
2015-12-18 15:57:38 -05:00
Mark Payne
1869b44682
NIFI-1285: Used a BufferedInputStream when swapping in data
...
Signed-off-by: joewitt <joewitt@apache.org>
2015-12-18 12:08:23 -05:00
Mark Payne
9ca0f95d06
NIFI-1272: Added unit test to verify behavior
2015-12-18 11:51:42 -05:00
ianwww
fa4c5314ca
nifi-1272 Fixing a bug in StandardProcessSession.get(int) which returns incorrect number of flowfiles
...
Signed-off-by: Mark Payne <markap14@hotmail.com>
2015-12-18 11:50:39 -05:00
Mike Moser
f239be289e
NIFI-1302 find dynamic libraries with standard names
...
Signed-off-by: joewitt <joewitt@apache.org>
2015-12-18 09:12:32 -05:00
Matt Gilman
b19ff7cf37
NIFI-1215:
...
- Only showing the run duration setting when applicable.
- Showing the user a warning that a source processor with a non 0 run duration could lose data when NiFi is restarted.
2015-12-16 10:53:15 -05:00
Matt Gilman
51b8ecd01b
NIFI-1185:
...
- Using banners from the NCM rather than replicating to a node.
2015-12-15 12:51:14 -05:00
Matt Gilman
c75b5cfcea
NIFI-1119: - Addressing race condition that caused the revision to be checked before the flow was loaded.
...
Signed-off-by: jpercivall <joepercivall@yahoo.com>
2015-12-15 10:05:44 -05:00
Matt Gilman
17be1c2d9f
NIFI-1206: - Only enabling the enable/disable toolbar icon when appropriate.
...
Signed-off-by: Joseph Percivall <joepercivall@yahoo.com>
2015-12-14 18:09:11 -05:00
Matt Gilman
f9f04439fd
NIFI-1119:
...
- Also refreshing flow revision when the user clicks Refresh status.
2015-12-14 12:41:45 -05:00
joewitt
a7b09a57c5
NIFI-1122 release vote passess. Merge branch 'NIFI-1122_nifi-0.4.0-RC2'
2015-12-11 17:14:26 -05:00
Matt Gilman
8070a9f1cc
NIFI-1104:
...
- Using the appropriate attributes based on the content direction.
2015-12-11 10:59:41 -05:00
joewitt
d755e43ec8
NIFI-1122_nifi-0.4.0-RC2prepare for next development iteration
2015-12-08 13:00:10 -05:00
joewitt
b66c029090
NIFI-1122_nifi-0.4.0-RC2prepare release nifi-0.4.0-RC2
2015-12-08 12:59:59 -05:00
Mark Payne
fb65cf1235
NIFI-1271: Yield funnels and ports for nifi.bored.yield.duration amount of time if backpressure is applied, as we do when there are no input FlowFiles. Adjusting logic for ContinuallyRunProcessorTask#call in determining if there is appropriate availability for processor relationships.
...
Signed-off-by: Aldrin Piri <aldrin@apache.org>
2015-12-08 10:54:29 -05:00
Matt Gilman
08d0f3e596
NIFI-956: - Initialize the filter controls prior to the new processor table. Because of this, items were being incorrectly filtered on load. - Clean up in web.xml.
...
Signed-off-by: Aldrin Piri <aldrin@apache.org>
2015-12-07 20:12:44 -05:00
Matt Gilman
ee7eeb0493
NIFI-1268: - In some environments it appears as though the row selection event is triggering when there is no items in the table. Verifying the item was found prior to continuing.
...
Signed-off-by: Aldrin Piri <aldrin@apache.org>
2015-12-07 19:50:37 -05:00
Matt Gilman
1f4ef9f5fa
NIFI-1266:
...
- Adding license file for LDAP provider NAR.
- Adding spring security to NOTICE where appropriate.
2015-12-07 15:04:09 -05:00
Matt Gilman
4c7894bccc
NIFI-1260:
...
- Not pre-compiling message-page as it seems to be causign some runtime errors in some environments.
2015-12-07 12:20:18 -05:00
Mark Payne
ee14d8f9dd
Merge branch 'NIFI-1249'
2015-12-04 16:38:49 -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
joewitt
0f3a620154
NIFI-1250 removed erroneous ContentType reference and added docs for attributes to index
...
Signed-off-by: Matt Gilman <matt.c.gilman@gmail.com>
2015-12-04 12:58:02 -05:00
Matt Gilman
dae73c52a7
NIFI-1248:
...
- Initializing the actions file which ensures the progress bar is initialized.
2015-12-03 13:49:56 -08:00
Oleg Zhurakousky
663b7f2561
NIFI-1243 This closes #137 . added null check for 'currentReadClaimStream' . . .before it is being closed
...
Signed-off-by: joewitt <joewitt@apache.org>
2015-12-02 16:23:48 -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
Matt Gilman
7726d069cd
Merge branch 'NIFI-655'
2015-12-01 11:20:56 -05:00
Matt Gilman
e22b51f3a7
NIFI-655:
...
- Renaming spring tokens to avoid confusion over authentication and authorization.
2015-12-01 10:08:36 -05:00
Matt Gilman
85eb8defdd
NIFI-655:
...
- Changing default expiration time to 12 hours.
2015-12-01 09:36:33 -05:00
Matt Gilman
c100052dac
NIFI-655:
...
- Adding additional logging when proceeding as an anonymous user.
2015-12-01 08:51:45 -05:00
Matt Gilman
2b0819a5f2
NIFI-655:
...
- Removing unused imports.
2015-11-30 16:33:11 -05:00
Matt Gilman
014b2ac4e8
NIFI-655:
...
- Removing proxied user chain as user details are already serialized.
2015-11-30 16:30:12 -05:00
Matt Gilman
774d626f88
NIFI-655:
...
- Adding documentation around the behavior of the authentication filters.
- Only passing along necessary parameters.
2015-11-30 15:07:40 -05:00
Matt Gilman
c722b56335
NIFI-655:
...
- Ensuring the access token is not replicated when the user is already authenticated/authorized.
2015-11-30 14:57:38 -05:00
Matt Gilman
a84e505bcd
NIFI-655:
...
- Ensuring the access token is not replicated when the user is already authenticated/authorized.
2015-11-30 14:47:30 -05:00
Matt Gilman
64beeef593
NIFI-655:
...
- Ensuring anonymous user label and login links are rendered when appropriate.
- Ensuring responses are accurate when making requests with a token when user log in is not supported.
2015-11-27 14:13:40 -05:00
Matt Gilman
c1cc165edb
NIFI-655:
...
- Fixing issue with filter bean initialization when clustered.
2015-11-27 10:05:58 -05:00
Mark Payne
9aa9c27dbe
NIFI-1216: Check if log level is enabled immediately in the SimpleProcessLogger before formatting log message
...
Signed-off-by: joewitt <joewitt@apache.org>
2015-11-26 00:41:15 -05:00
Matt Gilman
6bce858e4a
NIFI-655:
...
- Updated user guide with screenshots of login process.
- Tweaked wording in admin guide.
- Triggering login on enter press in login form.
2015-11-25 16:42:22 -05:00
Mark Payne
5061e5fa0a
NIFI-1222: Session.adjustCounter keeps track of local and global counters; it then call processContext.adjustCounter with each of them, but ProcessContext was changed a while back to automatically increment both 'lcoal' and 'global' counters each time, so our numbers are doubled; removed the 'localCounters' and 'globalCounters' from StandardProcessSession and replaced with just 'counters'
...
Signed-off-by: joewitt <joewitt@apache.org>
2015-11-25 16:26:59 -05:00