Commit Graph

4156 Commits

Author SHA1 Message Date
Matt Gilman ff5325b923
NIFI-4614: - Updating the types of resources that are filtered out for viewing purposes. Updates include resources with no values and resources that contain wildcards.
This closes #2277.

Signed-off-by: Bryan Bende <bbende@apache.org>
2017-11-20 10:20:01 -05:00
Matt Gilman 439e13a8d5
NIFI-4567:
- Adding new properties to allow the referenced attribute of a user/group to be configurable when detecting group membership.
- Expanding on documentation regarding the new properties.

This closes #2274.

Signed-off-by: Bryan Bende <bbende@apache.org>
2017-11-20 10:09:53 -05:00
Matt Gilman 6b75921725 NIFI-4617:
- Ensuring a charset is specified when convert a string into bytes.
- Ensuring the aggregate snapshot is non null before attempting to promote the runStatus.

This closes #2278.
2017-11-20 09:39:23 -05:00
Andy LoPresto 5d643edfab
NIFI-4501
- Changed request header handling logic.
- Removed unnecessary Maven dependency.
- This closes #2279
2017-11-17 20:36:55 -05:00
sbouchex c89d793364
NIFI-4615
- processor status is set to the ProcessorStatusDTO object
- This closes #2276
2017-11-17 15:44:09 -05:00
Matt Gilman 2da72f1524
NIFI-4593: - Ensuring the necessary jackson dependencies are bundled.
This closes #2263.

Signed-off-by: Bryan Bende <bbende@apache.org>
2017-11-16 15:44:37 -05:00
Matthew Burgess 53de8c93ba NIFI-4603 - Externalize Max HTTP Header Size to nifi.properties
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2271.
2017-11-15 10:12:39 +01:00
Andy LoPresto 7f8007f22a NIFI-4608 Removed unnecessary NiFiProperties mocking given enhancements to StringEncryptor.
Fixed checkstyle issues.
Fixed test failure in FingerprintFactoryTest.

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2273.
2017-11-15 10:09:18 +01:00
Pierre Villard b9c53083c4 NIFI-4576 - rewording processors / cores
NIFI-4576: Rewording processor load average to core load average

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #2267
2017-11-14 13:08:53 -05:00
Mike Thomsen ad2d12a20c NIFI-4578 Added strategy for dealing with nullable fields in PutHBaseRecord.
NIFI-4578 Added changes from code review.

This closes #2256.

Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2017-11-14 13:59:30 +09:00
Pierre Villard 9e9c129c21 NIFI-4577 - ValidateCsv - add attributes to indicate number of valid/invalid lines
Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #2268
2017-11-13 21:48:30 -05:00
Mark Payne af3a578711
NIFI-4598: When we retrieve the 'controller' from a remote NiFi instance in order to determine which ports are available, cache those results for up to some configurable amount of time (default 30 secs) so that we don't constantly issue HTTP Requests to the remote nifi
This closes #2270.

Signed-off-by: Bryan Bende <bbende@apache.org>
2017-11-13 14:46:38 -05:00
dlukyanov c7a5a09b8a groovyx initial version
NIFI-3688 license update to ASF
NIFI-3688 add groovyx dependency
NIFI-3688 comments from @alopresto
- reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers
- enabled java-doc
NIFI-3688
- try fix mess with licenses
- remove commented import
- remove unused var `sql`
NIFI-3688 the properties/skip javadoc/src
NIFI-3688 remove not used sql var
NIFI-3688
- first test case
NIFI-3688
+ 2 more tests based on current groovy tests
NIFI-3688 comment from @mattyb149
- processor renamed to ExecuteGroovyScript
NIFI-3688 fix script path validation
NIFI-3688
- refactor to compile on validation
- prepare 4 test cases with database
NIFI-3688 new test cases with groovy and sql
NIFI-3688 documentation
NIFI-3688
- refactor groovy extended methods
- add more test cases
NIFI-3688
- codestyle
- javadoc
- refactor flowfile voids to self-reference
- fix test cases
NIFI-3688 minor comments changes
NIFI-3688 rename additional documentation according to processor classname
NIFI-3688 exclude json test file from rat check
NIFI-3688 codestyle
NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml
NIFI-3688
- fix & extend additional documentation
- fix pom.xml to bundle groovy into nar
NIFI-3688 add examples into additional processor documentation
NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle
NIFI-3688 add restricted annotation
NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase
NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source)

NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase

NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed.

NIFI-3688 fix for @mattyb149 comment: This unused line can be removed

NIFI-3688
- removed `require flowfile` property
- fixed test cases according to deprecated property

change version to 1.5.0-SNAPSHOT

[NIFI-3688] Commented by mistake

[NIFI-3688] remove unused class

[NIFI-3688] fix javadoc comments

[NIFI-3688] refactor CTL & SQL properties

b3eecec901

2916ce1ec8

8e15392e2f

NIFI-3688: Checkstyle and typo fixes

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #1662
2017-11-13 14:32:58 -05:00
Mark Payne 2d3e5abf81
NIFI-3155, NIFI-4571: Fix issue of Remote Group Port having ID the same as on the remote system, by adding an additional targetId field RemoteGroupPort's; this also fixes issue of stats being mixed together for RPG's with the same URL. This closes #2253 2017-11-13 13:54:34 -05:00
Mike Thomsen c70a86eac0 NIFI-4575 Added ability to convert from a date to a timestamp within the record API.
Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #2255
2017-11-13 12:57:39 -05:00
Mike Thomsen fe3f288944 NIFI-4588 Added the ability to use update operators like $push and $set to PutMongo.
Removed commented out code

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #2259
2017-11-13 11:44:22 -05:00
Matt Gilman 387dce5ad0 NIFI-4591:
- Ensuring View Details button is visible if the user has read access and the service is defined in the current Process Group.

This closes #2262

Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
2017-11-09 16:41:45 -05:00
Mark Bean f11e03886f NIFI-4072 replace keyword RELEASE with actual version number
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2258.
2017-11-09 21:04:50 +01:00
Matt Gilman 9ecb26a52b NIFI-4587 - Updating styles to allow for newlines in Process Group, Processor, Controller Service, and Reporting Task comments.
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2261.
2017-11-09 20:25:13 +01:00
Koji Kawamura 37ef2839e0 NIFI-4545: Improve Hive processors provenance transit URL
Incorporated review comments:

- Added 'input' to equals() method so that the same table name can appear
as input and output tables.

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #2239
2017-11-09 12:53:28 -05:00
Julian Gimbel d0502285f2 NIFI-4568 Added existing but missing property WORKING_DIR
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2250.
2017-11-08 09:50:14 +01:00
Mark Payne f4a1c9b547 NIFI-4454: Added Process Groups' variables to search capability
Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #2254
2017-11-06 11:27:05 -05:00
Koji Kawamura 296928c513 NIFI-4570: Skip permission setting if Posix is not supported
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2252.
2017-11-06 13:56:16 +01:00
Matthew Burgess 5cd8a3e729 NIFI-4473: Fixed SelectHiveQL flowfile handling during error conditions
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2247.
2017-11-03 17:03:27 +01:00
Andrew Lim b5d7aecfac NIFI-4560 Added mime.type and record.count Write Attributes to ValidateRecord doc
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2249.
2017-11-03 11:10:00 +01:00
Koji Kawamura 2a69b35f12 NIFI-4548: Add REMOTE_INVOCATION provenance event type
This commit includes changes to DeleteHDFS to report REMOTE_INVOCATION
event. In order to do so, the processor had to be changed to create
output FlowFile because a provenance event needs a FlowFile it
associates with.

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2234.
2017-11-02 19:32:22 +01:00
Koji Kawamura 116c846342 NIFI-4543: Improve HBase processors provenance transit URL
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2237.
2017-11-02 18:24:40 +01:00
Koji Kawamura 77a51e1a9e NIFI-4544: Improve HDFS processors provenance transit URL
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2238.
2017-11-02 10:10:03 +01:00
Koji Kawamura 6413337918 NIFI-4490: Ensure driver settings are correct before connecting binlog
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2244.
2017-11-02 09:16:56 +01:00
Andrew Lim 9a850c7ed2 NIFI-4552 Add mime.type and record.count Write Attributes to QueryRecord doc
NIFI-4552 minor checkstyle violation

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #2242
2017-11-01 14:49:02 -04:00
Pierre Villard 448f03edae NIFI-4343 - allow multiple URLs in SiteToSite reporting tasks
using SiteToSiteClient.Builder().urls() instead of url()

Updated validator to use parseClusterUrls method

This closes #2121.

Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2017-10-30 22:13:06 +09:00
Koji Kawamura a73b5bda42 NIFI-4546: Make ReportingTask aware of node type in a cluster
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2235.
2017-10-30 11:22:03 +01:00
Koji Kawamura d914ad2924 NIFI-4547: Add ProvenanceEventConsumer utility class
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2236.
2017-10-30 09:50:44 +01:00
Andrew Lim fb94e983b6 NIFI-2938 Added Write Attributes to RouteText doc and edited Grouping Regular Expression property description
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2232.
2017-10-30 09:29:52 +01:00
Pierre Villard 68715a0dd4 NIFI-4513 - add EL support for proxy settings in InvokeHttp
Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #2223
2017-10-27 18:15:27 -04:00
Jeff Storck d6744b9ee5
NIFI-4528 The ref attribute in the request to view content sent by the client will now be inspected for the proxy context path. If found, it will be removed so the request can be successfully made within the cluster.
This closes #2228.

Signed-off-by: Bryan Bende <bbende@apache.org>
2017-10-27 16:06:28 -04:00
patricker e3482cc772 NIFI-4534 Choose Character Set for CSV Record Read/Write streams
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2229.
2017-10-27 10:34:15 +02:00
Matthew Burgess 856dedab12 NIFI-4522: Add SQL Statement property to PutSQL
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2225.
2017-10-27 09:17:51 +02:00
Matt Gilman 1625f719e6 NIFI-4518:
- Ensuring the last selected variable id is reset when closing the dialog.

This closes #2227

Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
2017-10-26 20:53:37 -04:00
Matt Gilman f2bd9f87ba
NIFI-4518:
- Addressing issues when handling the done callback for controller service references.
2017-10-26 12:43:02 -04:00
Matt Gilman 32c0e2be3b
NIFI-4518:
- When the URI is too long, invoking the bulletin board multiple times for all specified component ids.
2017-10-26 10:27:57 -04:00
Mark Owens 10f27cd5f0 NIFI-2979 PriorityAttributePrioritizer violates Comparator contract. This closes #2220.
Modified the return value when both objects priority values are null to
zero to match the expected return value based upon the Comparator
contract.
2017-10-25 11:31:09 -04:00
JohannesDaniel c06dee2321 NIFI-3248: Improvement of GetSolr Processor
This closes #2199.

Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2017-10-23 18:53:54 +09:00
Christopher Currie c894246e03 NIFI-3950 Refactor AWS bundle
Signed-off-by: James Wing <jvwing@gmail.com>

This closes #2140.
2017-10-21 12:58:40 -07:00
Mark Payne 2acf6bdf7a NIFI-3689: Fixed threading bug in TestWriteAheadStorePartition - multiple threads were simultaneously attempting to update HashMap. Changed impl to ConcurrentHashMap.
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2214.
2017-10-20 18:15:02 +02:00
Jeff Storck fb839fff56
NIFI-4499 Updated default content-viewer URL property to be relative rather than assuming it is deployed at the root context. This closes #2217 2017-10-19 15:34:39 -04:00
Mark Payne 95e86c1f51 NIFI-4495: Expose the option for supressing null values on the JSON Writer
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2218.
2017-10-19 10:20:40 +02:00
Matt Gilman 53e63eaf7c NIFI-4481:
- Adding support for visualizing if a component is scheduled for primary node only.
This closes #2210.
2017-10-18 15:25:23 -04:00
Matt Gilman b8a3862078 NIFI-4497:
- Fixing issue preventing separators in sub context menus.

This closes #2216

Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
2017-10-18 13:42:58 -04:00
Matthew Burgess 1a1e01c568 NIFI-4473 - fixed NPE in parametrized queries
Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #2215
2017-10-18 10:13:03 -04:00