Andy LoPresto
3feb85a030
NIFI-7223 Resolved merge conflicts from additional test case for null key password.
...
This closes #4145 .
Signed-off-by: Joe Witt <joewitt@apache.org>
2020-03-16 12:47:41 -04:00
Nathan Gough
69b6c231fd
NIFI-7223 - Added another test for when keyPasswd is not present.
2020-03-16 12:28:18 -04:00
Andy LoPresto
f9d75056fa
NIFI-7223 [WIP] Resolved compilation issues in unit test on OpenJDK 11 by removing Sun security class references.
...
Added OkHttpReplicationClient#isTLSConfigured() method.
Added unit test.
NIFI-7223 Fixed remaining unit tests for TLS regression.
Renamed tests for clarity.
2020-03-16 12:28:01 -04:00
Nathan Gough
7374361b5c
NIFI-7223 - Fixed a minor issue where the OkHttpReplicationClient class loaded blank properties as empty string instead of an expected null value. Added a isNotBlank check. Added unit tests for replication client and HTTPNotificationService.
...
NIFI-7223 - Renamed some variables and methods.
NIFI-7223 - Removed unused dependency. Corrected security properties in administration-guide.
2020-03-16 12:26:50 -04:00
Mike
62c34d7e23
Merge pull request #4031 from jfrazee/NIFI-6791
...
NIFI-6791 Add UUID3 and UUID5 functions to Expression Language
2020-03-15 10:27:20 -04:00
Mike
60b6327757
Merge branch 'master' into NIFI-6791
2020-03-15 09:26:44 -04:00
Matthew Burgess
ace5754524
NIFI-7208: Restore default timezone in JdbcCommon
2020-03-13 15:00:24 -04:00
Mark Payne
0ad58200af
NIFI-7256: This closes #4142 . Fixed thresholds in unit test. Instead of assuming that multiple runs of the processor will occur within 100 milliseconds, allowed the multiple runs to occur within 3 mins of one another.
...
Signed-off-by: Joe Witt <joewitt@apache.org>
2020-03-13 14:05:40 -04:00
Joe Witt
561be89a21
NIFI-7250 activate user.timezone appropriate to each region
...
NIFI-7250 fix a test which appears brittle at least on windows builds on slow environments
NIFI-7250 activated a timezone run for AU Australia/Melbourne which exposed a poor magic number and needless assertion but interesting results worth keeping
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4140 .
2020-03-13 17:30:19 +01:00
Matthew Burgess
798a8eeb50
NIFI-7249: Force String keys in maps in DataTypeUtils.inferDataType()
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4139 .
2020-03-13 17:20:45 +01:00
Pierre Villard
dc95cff3b7
NIFI-7229 - Upgrade jackson-databind direct dependencies
...
This closes #4113
2020-03-13 12:02:24 -04:00
Kotaro Terada
dbda8c7f7e
NIFI-7251: Upgrade hadoop-client version to 3.2.1 to avoid the regression bug
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4141 .
2020-03-13 10:07:34 +01:00
Adam Taft
decb5d062e
NIFI-6742 Use JUnit TemporaryFolder when creating test databases
...
- Add @Rule for TemporaryFolder
- Replace use of previous target/db with TemporaryFolder/db
- Remove use of ~/test db (in home directory)
- Remove System.out lines
Signed-off-by: Marc Parisi <phrocker@apache.org>
This closes #4137 .
2020-03-12 20:48:52 -04:00
Joe Witt
97e250cdaa
NIFI-7244 Updated all tests which dont run well on windows to either work or be ignored on windows
...
Also dealt with unreliable tests which depend on timing by ignoring them or converting to IT.
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4132 .
2020-03-12 19:13:59 +01:00
Peter Turcsanyi
dfaef38805
NIFI-7248: Atlas reporting task handles PutHive3Streaming
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4138 .
2020-03-12 10:44:48 +01:00
Mark Payne
d4a2afc25c
NIFI-7241: When updating Process Group to match VersionedProcessGroup, remove any connections before recursing into child groups. This ensures that if a Port exists in child group A and is connected to a port in child group B, if the VersionedProcessGroup indicates to remove the port, that connection will be removed before attempting to remove the port. Updating and adding connections must still be done last, after all components have been added. But missing connections can be removed earlier.
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4136 .
2020-03-12 10:25:04 +01:00
M Tien
290bd378d5
NIFI-7119 Implement boundary checking for Argon2 cost parameters ( #4111 )
...
* NIFI-7119 Implemented parameter boundary enforcement for Argon2SecureHasher constructor.
Added unit tests for validating each parameter check.
* NIFI-7119 Refactored parameter validations. Added more test sizes to boundary checkers. Changed logger severity to error and added bounds to messages.
* NIFI-7119 Refactored Argon2 parameter data types to handle unsigned integer boundary values.
Updated unit tests.
Co-authored-by: Andy LoPresto <alopresto@apache.org>
Signed-off-by: Andy LoPresto <alopresto@apache.org>
2020-03-11 15:51:15 -07:00
Mark Payne
d68720920f
NIFI-7242: When a Parameter is changed, any property referencing that parameter should have its #onPropertyModified method called. Also renamed Accumulo tests to integration tests because they start embedded servers and connect to them, which caused failures in my environment. Also fixed a bug in TestLengthDelimitedJournal because it was resulting in failures when building locally as well.
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4134 .
2020-03-11 21:00:43 +01:00
Mark Payne
67676ba5b4
Fixed bug in JsonRowRecordReader when reading a 'raw' record with a schema that indicates that a field should be a Map. Also updated unit test to explicitly define schema, since schema inference will never return a Map but rather a Record
2020-03-11 14:29:44 -04:00
Pierre Villard
cd83e70b91
unit test reproducing the issue
2020-03-11 14:29:44 -04:00
Peter Turcsanyi
3de3ad4029
NIFI-7245: JMS processors yield when connection factory initialisation failed
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4133 .
2020-03-11 19:24:10 +01:00
Gardella Juan Pablo
89d8b877f9
NIFI-7050 ConsumeJMS is not yielded in case of exception
...
This closes #4004 .
Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2020-03-11 10:54:20 +01:00
Peter Turcsanyi
9cb85a4fd0
NIFI-7239: Upgrade the Hive 3 bundle to use Apache Hive 3.1.2
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4129 .
2020-03-11 10:26:10 +01:00
Pierre Villard
a679e88b6f
NIFI-4970 - Add a property to deal with empty GZIP HTTP response
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4127 .
2020-03-11 10:08:51 +01:00
Mark Payne
afad982e91
NIFI-7200: Revert "NIFI-6530 - HTTP SiteToSite server returns 201 in case no data is available"
...
This reverts commit f01668e66a
.
Signed-off-by: Joe Witt <joewitt@apache.org>
2020-03-10 14:32:43 -04:00
Andrew Lim
7b0ae56a2c
NIFI-7179 Documented Download flow option in Process group context menu ( #4124 )
...
Signed-off-by: Andy LoPresto <alopresto@apache.org>
2020-03-09 16:54:56 -07:00
Pierre Villard
12c8402ac3
NIFI-7210 - added PG path in bulletins for S2S Bulletin RT
...
Added group path to BULLETIN table for QueryNiFiReportingTask
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This closes #4100
2020-03-09 16:29:22 -04:00
Mike
a33a5e35b3
Merge pull request #4119 from eduardofontes/patch-4
...
NIFI-7233 - Fix Mongo Processors to avoid cycle in provenance graph
2020-03-08 13:18:12 -04:00
Pierre Villard
0f775f3a57
NIFI-7195 - Catch MongoException to route flow files to failure
...
This closes #4089
Signed-off-by: Mike Thomsen <mthomsen@apache.org>
2020-03-08 08:10:54 -04:00
Bryan Bende
ac4d52b6ca
NIFI-7224 Protecting against possible NPE in ImportFlowVersion command in CLI
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4121 .
2020-03-07 15:21:31 +01:00
Pierre Villard
578430c9d9
NIFI-7197 - In-place replacement in LookupRecord processor
...
This closes #4088
Signed-off-by: Mark Payne <markap14@hotmail.com>
2020-03-06 15:35:59 -05:00
Mark Bean
f4b65afb64
NIFI-7231: move controller service validation out of synchronized block for enabling
...
This closes #4118 .
Signed-off-by: Mark Payne <markap14@hotmail.com>
2020-03-06 15:01:19 -05:00
Eduardo Fontes
57947cd2a2
Fiz writeBatch to avoid cycle in provenance graph
2020-03-06 16:06:21 -03:00
Kevin Doran
cca54f7ff2
NIFI-7191 Conditionally disable docker integration tests
...
Honor Maven properties skipTests and maven.test.skip for the
shell script integration tests that verifiy docker images.
2020-03-06 13:34:23 -05:00
Mark Payne
f283c1191c
Fixed unit test failed with NIFI-7232
...
This closes #4117 .
Signed-off-by: Joe Witt <joewitt@apache.org>
2020-03-06 12:46:17 -05:00
Joe Witt
20dda05f26
NIFI-7232 if users do not supply a remote path PutSFTP with conflict resolution will fail with an NPE
2020-03-06 12:46:02 -05:00
Peter Turcsanyi
7c57e75da4
NIFI-7226: Add Connection Factory configuration properties to PublishJMS and ConsumeJMS processors
...
Some JMS client libraries may not work with the existing controller services due to incompatible
classloader handling between the 3rd party library and NiFi.
Via configuring the Connection Factory on the processor itself, only the processor's and its
children's classloaders will be used which eliminates the mentioned incompatibility.
This closes #4110 .
Signed-off-by: Mark Payne <markap14@hotmail.com>
2020-03-06 09:51:37 -05:00
Joe Witt
040c8a0af9
NIFI-7222 Cleaned up API for FTP/SFTP remote file retrieval and ensure we close remote file resources for SFTP pulls in particular
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4115 .
2020-03-06 12:48:15 +01:00
Matthew Burgess
b82fec41d9
NIFI-7055: Removed unit test that is now covered by ListValidator
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4114 .
2020-03-05 11:01:48 +01:00
Otto Fowler
f1c6e92df5
NIFI-7055 handle empty split evaluations, which contain only ,
...
add explict test for " , "
updated with counting validator
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This closes #4012
2020-03-04 18:34:18 -05:00
Andy LoPresto
7773681eea
NIFI-7227 Fixed typo in Global Access Policy table ( #4112 )
...
Co-authored-by: spius <57421336+spius@users.noreply.github.com>
Signed-off-by: Andy LoPresto <alopresto@apache.org>
2020-03-04 12:59:05 -08:00
Matthew Burgess
74b1b2fc59
NIFI-7208: Fixed PutSQL/JdbcCommon handling of timestamps (nanoseconds, e.g.)
2020-03-04 11:46:47 -05:00
jstorck
4b6de8d164
NIFI-7025: Wrap Hive 3 calls with UGI.doAs
...
Updated PutHive3Streaming to wrap calls to Hive in UGI.doAs methods
Fixed misleading logging message after the principal has been authenticated with the KDC
When connecting to unsecured Hive 3, a UGI with "simple" auth will be used
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This closes #4108
2020-03-04 11:21:27 -05:00
Eduardo Fontes
bad254ec5b
NIFI-4970 - EOF Exception in InvokeHttp when body's response is empty with gzip
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4109 .
2020-03-04 10:36:06 +01:00
M Tien
0b2816baa4
NIFI-7121 Updated comment to state a 'static' salt is used in the constructor. ( #4098 )
...
Signed-off-by: Andy LoPresto <alopresto@apache.org>
2020-03-03 15:50:49 -08:00
Andy LoPresto
cb08382da4
NIFI-7218 Fixed typo in Overview docs. ( #4107 )
2020-03-03 15:47:42 -08:00
karthik.kadajji
2cf4fde686
NIFI-5644 Fixed typo in getWrappedQuery method of AbstractDatabaseFetchProcessor class
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #4106 .
2020-03-03 16:43:56 +01:00
Bryan Bende
852d2f3210
NIFI-7030 Add Kerberos principal and password properties to Solr processors
...
Updating validation logic to be consistent with other password-based kerberos processors, removing getPassword from KerberosPasswordUser as it was only used from testing
This closes #4062 .
2020-03-02 16:01:39 -05:00
Bryan Bende
e0fc75a963
NIFI-7019 Add kerberos principal and password properties to NiFi DBPCConnectionPool
...
This closes #4087 .
2020-03-02 14:20:20 -05:00
Bryan Bende
5b93e537d5
NIFI-7029 Add kerberos password property to NiFi Kudu components
...
This closes #4097 .
2020-03-02 14:03:37 -05:00