joewitt
0e204f3576
NIFI-6029-RC2 prepare for next development iteration
2019-02-16 21:50:35 -05:00
joewitt
45bb53d2aa
NIFI-6029-RC2 prepare release nifi-1.9.0-RC2
2019-02-16 21:50:15 -05:00
Pierre Villard
8a3d7a453a
NIFI-5867 - add thread() EL function to get thread name
...
moved thread name evaluation in evaluate method
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This closes #3198
2019-01-30 10:14:35 -05:00
Koji Kawamura
ae67346648
NIFI-5826 Fix back-slash escaping at Lexers
...
Adding unit test cases for escaped characters
Signed-off-by: Ed <edward.berezitsky@gmail.com>
This closes #3200
2019-01-08 16:50:20 -05:00
Koji Kawamura
4e7a856f77
NIFI-5885 ArrayOutOfBoundsException at EL 'or' and 'and' functions
...
EL 'or' and 'and' functions can be called multiple times within the same context using the same evaluator instance.
That happens if their subject is derived from an IteratingEvaluator such as 'anyDelineatedValues'.
And if the right hand side expression for such 'or' and 'and' contains another IteratingEvaluator,
then it can be evaluated more than the number of its candidates, ultimately an ArrayOutOfBoundsException is thrown.
This commit makes Or/AndEvaluator caching its right hand side result to prevent that happens.
For 'or' and 'and' functions, the right hand side expression is independant from their subject boolean value.
It's enough evaluating right hand side once, because it returns the same result even with different subjects.
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #3212 .
2018-12-10 11:47:58 +01:00
Jeff Storck
c0182294ed
NIFI-5720-RC3 prepare for next development iteration
2018-10-22 22:16:43 -04:00
Jeff Storck
98aabf2c50
NIFI-5720-RC3 prepare release nifi-1.8.0-RC3
2018-10-22 22:16:23 -04:00
Mark Payne
c425bd2880
NIFI-5533: Be more efficient with heap utilization
...
- Updated FlowFile Repo / Write Ahead Log so that any update that writes more than 1 MB of data is written to a file inside the FlowFile Repo rather than being buffered in memory
- Update SplitText so that it does not hold FlowFiles that are not the latest version in heap. Doing them from being garbage collected, so while the Process Session is holding the latest version of the FlowFile, SplitText is holding an older version, and this results in two copies of the same FlowFile object
NIFI-5533: Checkpoint
NIFI-5533: Bug Fixes
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This closes #2974
2018-10-09 09:18:02 -04:00
joewitt
8e233ca2ef
NIFI-4806 updated tika and a ton of other deps as found by dependency versions plugin
...
This closes #3028
2018-10-04 09:32:04 -04:00
Pierre Villard
5d3558a79d
NIFI-5633 - allDelineatedValues can throw ArrayIndexOutOfBoundsException
...
This closes #3029 .
2018-09-25 14:07:00 -04:00
Mark Payne
72a5e6bfba
NIFI-4407: Updated Expression Language Guide to provide details about how escaping $ is accomplished, and when the $ character should and should not be escaped. Fixed bug in the Query compiler that mistakenly would blindly replace 484 with $ even when the 484 did not precede an Expression. Added additional test cases.
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #2898 .
2018-07-18 10:52:13 +02:00
Andy LoPresto
d42a1e8bf4
NIFI-5323-RC1 prepare for next development iteration
2018-06-19 20:02:21 -07:00
Andy LoPresto
99bcd1f88d
NIFI-5323-RC1 prepare release nifi-1.7.0-RC1
2018-06-19 20:02:01 -07:00
zenfenan
cf3c666683
NIFI-5286: Updated FasterXML Jackson libraries to 2.9.5
...
This closes #2775
Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
2018-06-09 14:19:45 -04:00
Mike Thomsen
716587d09f
NIFI-5169 This closes #2705 . Upgrade to JSONPath 2.4
...
NIFI-5169 Added explicit checking for empty strings in JsonPath expression property.
Signed-off-by: joewitt <joewitt@apache.org>
2018-05-23 16:16:25 -05:00
joewitt
d511fe3e4b
NIFI-4995-RC3 prepare for next development iteration
2018-04-03 08:28:34 -07:00
joewitt
f8466cb16d
NIFI-4995-RC3 prepare release nifi-1.6.0-RC3
2018-04-03 08:28:15 -07:00
Mark Payne
fd31c161a2
NIFI-5026: Refactored StandardPreparedQuery so that instead of a List of Strings that may or may not correspond to compiled expressions and a Map of String to Compiled Expression, the StandardPreparedQuery now just takes a List of Expression objects, and those Expressions can be evaluated to return the proper result
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #2592 .
2018-03-29 10:54:25 +02:00
Derek Straka
5bdb7cf6e7
NIFI-4912: This closes #2494 . Update jackson version to latest stable version (2.9.4)
...
Signed-off-by: joewitt <joewitt@apache.org>
2018-03-19 10:22:50 -04:00
joewitt
c71409fb5d
NIFI-4936 trying to quiet down the mvn output a bit so we dont exceed the travis-ci 4MB max
...
NIFI-4936 updated dependency handling pushing down delcarations where they belong
This closes #2512
2018-03-09 16:34:53 -05:00
joewitt
41ce788812
NIFI-4751 changed to next minor release version snapshot
2018-01-12 15:15:32 -05:00
joewitt
36405e888c
NIFI-4751-RC1 prepare for next development iteration
2018-01-08 23:39:49 -07:00
joewitt
46d30c7e92
NIFI-4751-RC1 prepare release nifi-1.5.0-RC1
2018-01-08 23:39:32 -07:00
Andy LoPresto
d4168f5ff1
NIFI-4297
...
- Upgraded immediately actionable dependency versions from Meterian report.
- Upgraded jackson-core test dependencies for HBase and Elasticsearch modules.
- Only 3 instances of jackson-core < 2.8.6 (Google Cloud Platform and Spark Receiver modules).
- Upgraded version of poi dependency in nifi-email-processors to 3.16.
- Resolving dependency issues after rebasing against 1.5.0-SNAPSHOT.
- Removed jackson-databind from <dependencyManagement> block in nifi/pom.xml and added explicit reference to ${jackson.version} in all referenced artifacts.
- Removed jackson-mapper-asl from <dependencyManagement> block in nifi/pom.xml and added explicit reference to ${jackson.old.version} in all referenced artifacts.
- Removed Jasypt from <dependencyManagement> and added explicit version in test dependency for legacy compatibility.
- This closes #2084
2017-10-05 15:23:52 -04:00
Jeff Storck
a57911d3db
NIFI-4412-RC2 prepare for next development iteration
2017-09-28 13:45:36 -04:00
Jeff Storck
e6508ba7d3
NIFI-4412-RC2 prepare release nifi-1.4.0-RC2
2017-09-28 13:45:21 -04:00
Mark Payne
5cd8e93beb
NIFI-4224:
...
- Initial implementation of Process Group level Variable Registry
- Updated to incorporate PR Feedback
- Changed log message because slf4j-simple apparently has a memory leak; passing a String instead of passing in the Controller Service object as an argument addresses this.
- This closes #2051
2017-08-17 10:42:29 -04:00
Matt Gilman
cc741d2be6
NIFI-3997:
...
- Bumping to next minor version.
2017-06-08 15:22:51 -04:00
Matt Gilman
6ee12e9b47
NIFI-3997-RC1prepare for next development iteration
2017-06-05 11:07:43 -04:00
Matt Gilman
ddb73612bd
NIFI-3997-RC1prepare release nifi-1.3.0-RC1
2017-06-05 11:07:28 -04:00
Bryan Bende
3af53419af
NIFI-3770-RC2 prepare for next development iteration
2017-05-05 20:50:28 -04:00
Bryan Bende
3a605af8e0
NIFI-3770-RC2 prepare release nifi-1.2.0-RC2
2017-05-05 20:50:14 -04:00
Mark Payne
07989b8460
NIFI-3739: This closes #1695 . Added ConsumeKafkaRecord_0_10 and PublishKafkaRecord_0_10 processors
2017-05-01 18:47:51 -04:00
Mark Payne
50ea1083ec
NIFI-3682: This closes #1682 . Add Schema Access Strategy and Schema Write Strategy Record Readers and Writers; bug fixes.
...
Signed-off-by: joewitt <joewitt@apache.org>
2017-04-24 17:02:45 -04:00
Pierre Villard
7a2751bf5d
NIFI-1962 - Fixed NPE in toDate() EL function
...
This closes #1409 .
Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2017-01-19 11:16:30 +09:00
Pierre Villard
3bb876eb83
NIFI-2908 Added TimeZone to toDate() and format() EL
...
This closes #1381 .
Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2017-01-17 10:36:47 +09:00
Matt Burgess
21ed556691
NIFI-3206: Add ifElse function to Expression Language
...
This closes #1333
Signed-off-by: jpercivall <JPercivall@apache.org>
2016-12-16 15:13:01 -05:00
jpercivall
e36b37692c
NIFI-1582 added state to UpdateAttribute as well as updated a few parts that hadn't be touched in years (referenced the 'FlowFileMetadataEnhancer' processor'. Also added a 'NUMBER_VALIDATOR' to StandardValidators
...
NIFI-1582 removing the option to use cluster state
NIFI-1582 addressing Oleg's comments
NIFI-1582 No longer forcing numbers as the init value and adding getStateValue() to EL instead of using 'ATTRIBUTE_state'
NIFI-1582 Removing init state value
NIFI-1582 Adding documentation for the changes to Init State value
This closes #319
2016-12-06 16:52:02 -05:00
jpercivall
7633fe35c1
NIFI-3149 Adding proper literal support for number operators ('-' and '+') to ANTLR parser and UI highlighting
...
This closes #1298
2016-12-05 13:34:54 -05:00
jpercivall
f0f75e7480
NIFI-3145 Rewriting double validation in NumberParsing
...
Adding more tests to TestQuery
NIFI-3145 Adding logic to handle lowercase hex values
This closes #1296
2016-12-05 11:04:33 -05:00
joewitt
92f17a995b
NIFI-3100-rc2 prepare for next development iteration
2016-11-25 23:49:27 -05:00
joewitt
5536f690a8
NIFI-3100-rc2 prepare release nifi-1.1.0-RC2
2016-11-25 23:49:13 -05:00
joewitt
fb9cbccc38
NIFI-2954 This closes #1244 . Moved StandardPropertyValidator to nifi-utils, documented scope/purpose of a few util libs, removed deps from nifi-utils.
2016-11-21 16:30:42 -05:00
jpercivall
c4be800688
NIFI-2950 Adding support for whole number hex values and a fromRadix function
...
NIFI-2950 Fixing typo
This closes #1161
2016-11-17 07:27:51 -05:00
jpercivall
1d74b5d3ce
NIFI-2791 Adding 'math' expression language function
...
This closes #1157 .
2016-10-25 19:45:38 +02:00
jpercivall
e4a3e09643
NIFI-1662 Adding proper UI regex support for decimals in EL
...
This closes #1018
2016-10-24 10:31:16 -04:00
Matt Burgess
557e0b9f27
NIFI-1662: Added support for decimal literal in Expression Language
2016-10-24 10:20:21 -04:00
jpercivall
94ab999026
NIFI-1662 adding Expression Language decimal support
2016-10-24 10:20:21 -04:00
Joe N
6f1af31ff2
NIFI-2852 base64 expression language functions
...
Signed-off-by: jpercivall <joepercivall@yahoo.com>
2016-10-05 17:33:07 -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
Joseph Percivall
1fe18a1567
NIFI-2676-rc1 prepare for next development iteration
2016-08-26 11:40:58 -04:00
Joseph Percivall
74d5224783
NIFI-2676-rc1 prepare release nifi-1.0.0-RC1
2016-08-26 11:40:44 -04:00
Devin Fisher
098a35c915
Fixed CharSequenceTranslatorEvaluator to meet style standard and added license text block
...
Signed-off-by: Matt Burgess <mattyb149@apache.org>
This closes #833
2016-08-12 11:31:50 -04:00
devin fisher
219e0e96fb
Added more test for escape and unescape functions
...
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2016-08-12 11:30:06 -04:00
devin fisher
8f74241a10
added functions for escaping text to the expression language
...
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2016-08-12 11:30:06 -04:00
Devin Fisher
6f85440ebd
fix a copy past error
...
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2016-08-12 11:30:06 -04:00
Devin Fisher
ebd11b1d8f
EscapeJson function added to expression-language
...
Made use of org.apache.commons.lang3.StringEscapeUtils to do that
actual processing
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2016-08-12 11:30:06 -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
joewitt
961be21a38
NIFI-1157 resolved deprecated nifi-api items and ripple effects
2016-07-14 09:32:34 -04:00
Bryan Bende
37488d2789
Adding RAT exclusion for test resource in nifi-commons/nifi-expression-language
2016-06-07 17:55:07 -04:00
Mark Payne
6de738fd04
NIFI-1660: Fix formatting; update to NOTICE files of nars that bring in EL. Closed Reader that was opened in TestQuery.
2016-06-07 15:34:37 -04:00
Chris McDermott
abad7d805e
NIFI-1660 - Enhance the expression language with jsonPath function
2016-06-07 15:34:36 -04:00
Andy LoPresto
8127314975
NIFI-1919 Added replaceFirst() expression language method which accepts literal or pattern for replacement.
...
Reverted whitespace changes. (+8 squashed commits)
Squashed commits:
[329755c] NIFI-1919 Reverted import re-organization from IDE.
[cf73c2f] NIFI-1919 Updated expression language guide.
[d9a1455] NIFI-1919 Reverted changes to ReplaceEvaluator.
Added ReplaceFirstEvaluator.
Added replace first logic to Query buildFunctionEvaluator.
Added unit tests.
[e2eb880] NIFI-1919 Added replaceFirst to AttributeExpression lexer and parser grammar definitions.
[11fe913] NIFI-1919 Ignored demonstrative test for replaceAll as it behaves as expected.
[af97be1] NIFI-1919 Changed ReplaceEvaluator to use String#replaceFirst which interprets regex instead of compiling as literal.
Demonstrative unit test now passes but two existing unit tests fail. I am not sure these tests are correct.
[f24f17b] NIFI-1919 Added working unit test to illustrate fix.
[8a0d43b] NIFI-1919 Added Groovy unit test to demonstrate issue.
Added DelegatingMetaClass code to record it (test not complete).
This closes #474 .
Signed-off-by: Andy LoPresto <alopresto@apache.org>
2016-06-01 16:39:58 -07:00
Pierre Villard
7910e98ba1
NIFI-1826 Expression Language: add function to check enumerator
...
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2016-05-11 10:01:15 -04:00
Chris McDermott
32398693d5
NIFI-1661 add random() function to expression language.
...
Signed-off-by: Joe Skora <jskora@apache.org>
2016-04-21 14:05:00 -04:00
Matt Gilman
2de7f3f884
Updating versions to 1.0.0-SNAPSHOT.
2016-04-04 11:36:20 -04:00
Aldrin Piri
e977729b56
NIFI-1634-rc2 prepare for next development iteration
2016-03-23 18:56:34 -04:00
Aldrin Piri
0b9bd20d31
NIFI-1634-rc2 prepare release nifi-0.6.0-RC2
2016-03-23 18:56:22 -04:00
Mark Payne
28c2a3e5a6
NIFI-1256: Added a 'Satisfies Expression' option for Matching Strategy of RouteText
...
Signed-off-by: jpercivall <joepercivall@yahoo.com>
2016-02-25 15:59:57 -05:00
Tony Kurc
c7e24c7569
NIFI-1513: fixed some easy to fix errors
...
Addressing checkstyle issue.
This closes #221
Signed-off-by: Matt Gilman <matt.c.gilman@gmail.com>
2016-02-25 15:21:40 -05:00
Tony Kurc
ad73b5c9d9
NIFI-1379-RC3 prepare for next development iteration
2016-02-12 17:28:10 -05:00
Tony Kurc
8309dba80b
NIFI-1379-RC3 prepare release nifi-0.5.0-RC3
2016-02-12 17:27:59 -05:00
Tony Kurc
303f8eabf1
NIFI-1379: Move to 0.5.0-SNAPSHOT, add tkurc code signing key to keys
2016-02-06 08:49:48 -05:00
Mark Payne
4d88aaedc5
NIFI-1258: Added a new function named getDelimitedField to the Expression Language and put together a guide that walks through how to add a new function
...
Signed-off-by: Aldrin Piri <aldrin@apache.org>
2016-01-21 22:09:25 -08: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
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
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
Mark Payne
358cabafa3
NIFI-1142: Added typo that referenced the wrong function name when indicating that isEmpty has the wrong number of arguments
2015-11-10 10:55:08 -05:00
joewitt
99629646fe
NIFI-1122 moved to 0.4.0-SNAPSHOT
2015-11-06 23:41:15 -05:00
Matt Gilman
ded74ec94c
NIFI-876 prepare for next development iteration
2015-09-14 21:48:11 -04:00
Matt Gilman
2ec735e350
NIFI-876 prepare release nifi-0.3.0-RC1
2015-09-14 21:48:00 -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