Commit Graph

27 Commits

Author SHA1 Message Date
Mark Payne 5f4ce8f431
NIFI-6707: Addition of nifi-system-tests module. Updates to EmbeddedNiFi, NiFi and SystemBundle to properly support classloader isolation that is needed for creating system-level tests and isolating the classpath of the tests themselves from the NiFi classpath. Fixed bootstrap listener to ensure that it always closes socket before calling shutdown(). Failure to do so can result in RunNiFi sometimes timing out while waiting for a response from NiFi
NIFI-6707: Added System Test to verify behavior when services depend on one another

NIFI-6707: Ensure that when tearing down flow after test, we wait for all processors and controller services to complete stop/disable before attempting to delete them

NIFI-6707: Fixed bug in RemoteProcessGroupIT that caused the test to fail intermittently based on timing. Improved logging for Process Group, Standard Process Group

NIFI-6707: Updated to include java11 subdirectory under lib/

NIFI-6707: Rebased against master and changed dependencies from 1.10.0-SNAPSHOT to 1.11.0-SNAPSHOT

NIFI-6707: Updates to see if it will help travis build correctly

NIFI-6707: Commenting out java commands in bootstrap.conf files

This closes #3831.

Signed-off-by: Bryan Bende <bbende@apache.org>
2019-11-08 12:33:16 -05:00
Jeff Storck 2f3ed5c40c NIFI-6694 Removed erroneous inclusion of the Hive 3 component on the JDK 8 ja_JP locale build stage on Travis
This closes #3781
2019-10-01 00:06:58 -04:00
Jeff Storck 8132d182c7
NIFI-6694 This closes #3779. Exclude Hive 3 components from caching and build stages
Added exclusion of nifi-hive3-nar and nifi-hive3-processors from the caching stages
Added "*hive3*" to the find command used to filter (remove) directories from the build stages

Signed-off-by: Joe Witt <joewitt@apache.org>
2019-09-30 12:38:36 -04:00
Jeff Storck f671a37aed
NIFI-5505 Added Java 11 build to Travis CI
Introduced stages to cache dependencies before build and test
Added --fail-never to dependency cache stage to allow dependency:go-offline to finish and update the cache with any dependencies that were able to be downloaded
Added download of AdoptOpenJDK 11.0.4 for the Java 11 build
Removed setting environment variables to enable easier sharing of cache between build, region/language settings are passed in via the command line when invoking maven
Formatted scripts to allow multiline commands for more readability
Replaced "exit ${PIPESTATUS[0]}" with "test ${PIPESTATUS[0]} -eq 0" to avoid using "exit" in script, which prevents Travis from completing the cache upload after the build completes
Install Maven 3.6.1 for the -ntp (no-transfer-progress) feature
Updated all build stages to exclude non-api nar and assembly modules to decrease build time
Dependency cache stages check if the cached maven repository doesn't exist or is empty before attempting to download dependencies

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

This closes #3644.
2019-08-15 00:37:49 +02:00
Joe Witt a951a8ec61
NIFI-6329 trust update did not help and oraclejdk is not working on xenial - removing it
This closes #3505.

Signed-off-by: Andy LoPresto <alopresto@apache.org>
2019-05-30 18:05:40 -07:00
Joe Witt de27ab94b0
NIFI-6329 added dist section to specify trusty 2019-05-30 09:47:00 -04:00
Tomer Ghelber ba642485cc NIFI-5933 Stopped using sun's IOUtils. Using apahce's instead.
NIFI-5933 Removed unused file with sun.* import
NIFI-5933 Removed unsafe of sun.*.
NIFI-5933 Added openjdk8 to test

This closes #3234

Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
2019-05-07 21:58:16 -04:00
Matthew Burgess da99f873a7
NIFI-4963: Added Hive3 bundle
- Incorporated review comments
- Added more defensive code for PutHive3Streaming error handling

This closes #2755.

Signed-off-by: Bryan Bende <bbende@apache.org>
2018-06-13 14:32:58 -04:00
Kevin Doran fc902234b6 NIFI-4942 Fixes Travis CI build
- Fixes unit test salt assertion regex
- Adds RAT excludes and reenables console output for unapproved files

NIFI-4942 Temporarily disables tests that are failing on Linux

This closes #2648.

Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2018-04-20 05:15:47 +00:00
Matthew Burgess 6d804ee1fe
NIFI-5089: Exclude Maven progress output from Travis builds
This closes #2641.

Signed-off-by: Kevin Doran <kdoran@apache.org>
2018-04-18 12:28:11 -04:00
Pierre Villard 9158c19123 NIFI-4958 - This closes #2529. Fix Travis job status + atlas profile
Signed-off-by: joewitt <joewitt@apache.org>
2018-03-12 16:33:20 -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 a774f1df69 NIFI-4673 changed offending tests to be integration tests and fixed travis config to run the build only once and during appropriate script phase instead of install. Reviewed by Bende. 2017-12-06 16:13:42 -05:00
joewitt cdc1facf39
NIFI-4664, NIFI-4662, NIFI-4660, NIFI-4659 moved tests which are timing/threading/network dependent and brittle to integration tests and un-ignored tests that are IT. Updated travis to reduce impact on infra and appveyor now skips test runs so is just to prove build works on windows. This closes #2319
squash
2017-12-06 10:53:09 -05:00
joewitt 0222bf8ef1 NIFI-4657 also trying alternative configs now that parallel builds w/contrib check work and removing quiet setting to see if it helps 2017-12-04 22:34:10 -05:00
Dustin Rodrigues b3e05a7672 NIFI-4657 This closes #2316. update update dir-only in travis
Signed-off-by: joewitt <joewitt@apache.org>
2017-12-04 22:29:52 -05:00
Andre F de Miranda 8eb377e308
NIFI-3650 - Adjust travis to forcefuly remove $HOME/.m2/repository/org/apache/nifi/
This closes #1625.

Signed-off-by: Aldrin Piri <aldrin@apache.org>
2017-03-28 16:11:00 -04:00
Andre F de Miranda 1e5570d9b0 NIFI-1657 - Configure travis-ci to run mvn verify in ja_JP, fr_FR, and pt_BR
This closes #1480.
2017-02-11 15:07:55 +01:00
Andre F de Miranda 839dd5ac18 NIFI-3434 - Modify travis to use new profile as suggested during peer review
This closes #1472.
2017-02-07 11:42:15 +01:00
Andre F de Miranda 52fa50cdeb NIFI-2728 - Improve travis-ci build settings. This closes #985.
Improvemens:

            * Adjusts Xmx value
            * run mvn in quiet mode to prevent issues scrolling build
              logs on travis-ci and appveyor
            * add $HOME/.m2 to travis cache
            * add $HOME/.npm to travis cache
            * split compilation (multi threaded) from checkstyle:check
              (single threaded) following @mcgilman comment (travis)
2016-09-20 13:46:23 -04:00
Matt Gilman f0811ca45a NIFI-1554:
- Addressing access controls for the Controller resource.
- Addressing access controls for RAW site to site clients.
- Addressing access controls for downloading content (from provenance and queue).
- Addressing access controls for accessing queues.
- Addressing access controls for cluster endpoints.
- Addressing access controls for counter endpoints.
- Removing redundant authorization calls.
NIFI-2044:
- Requiring revision when creating components.
- Requiring component creation over POST requests.
NIFI-1901
- Continuing to restore access control tests.
- Converting access control tests to itegration tests.
- Restoring contrib check to travis build.
- This closes #567
2016-06-23 17:09:54 -04:00
Matt Gilman fbd299e885 NIFI-1901: - Building component based access control tests for Connections, Funnels, Labels, Input Ports, Output Ports, Processors, and Process Groups. - Restoring Access Token Endpoint tests.
This closes #518

Signed-off-by: Bryan Bende <bbende@apache.org>
2016-06-17 10:16:09 -04:00
Matt Gilman 9aa69b242e NIFI-1552: - Introducing the Authorizer API and additional components necessary for discovery and creation of configured instances. - Minor refactoring of existing Authority Provider API code/configuration to avoid some xsd naming conflicts. These components will be removed in NIFI-1551. - Introducing a number of the resource definitions that the Authorizer will make access decisions on. This list is likely not finalized may see some changes in NIFI-1554. - Address comments from PR. - This closes #318.
Signed-off-by: Matt Gilman <matt.c.gilman@gmail.com>
2016-04-04 11:47:43 -04:00
Aldrin Piri 58e50ae39d NIFI-1511 Incorporating Groovy unit tests as part of the main build and providing explicit compile scope on the Groovy dependency for the scripting bundle. This closes #220
Signed-off-by: Matt Gilman <matt.c.gilman@gmail.com>
2016-02-26 10:25:45 -05:00
Andy LoPresto 93aac8cff3 NIFI-1365
Added Groovy support for unit tests to pom with skeleton test.
Added Groovy unit tests for OCSPCertificateValidator.
Implemented positive & negative unit tests with cache injection for valid/revoked OCSP certificate.
Modified pom.xml to support Groovy unit tests with custom variable.

mvn clean test -Dgroovy=test

Added local cache injection into Groovy tests for OCSP certificate validation (see NIFI-1324 and NIFI-1364).
Set Java version to 1.7 for Groovy test src/target.
Moved Groovy unit test profile from nifi-web-security to root pom.
Added null check for algorithm argument in PGPUtil.
Changed buffer length check from ">= 0" to "> -1" because it was confusing other developers.
Resolved contrib-check line length issues.
Fixed contrib-check issues in OpenPGPKeyBasedEncryptorTest.
This closes #163

Signed-off-by: Matt Gilman <matt.c.gilman@gmail.com>
2016-01-26 17:37:59 -05:00
Aldrin Piri c18514fe2f NIFI-1349 Providing workaround for Buffer Overflow Issue in the Travis-CI container environment.
Signed-off-by: Aldrin Piri <aldrin@apache.org>
2016-01-07 12:05:23 -05:00
Aldrin Piri 854c667bd3 NIFI-1211 Adding a .travis.yml to provide CI and adding an exclusion for this file in the RAT check configuration. Adding Travis CI build status graphic to README 2015-12-08 11:13:05 -05:00