From f1baec6b66d0bf6e02db7e538b54d92d88a551d2 Mon Sep 17 00:00:00 2001 From: joewitt Date: Thu, 11 Dec 2014 13:52:49 -0500 Subject: [PATCH 1/3] updating to skip nb configuration files --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 6d4eca990c..73b32b7e01 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ target .settings .classpath nbactions.xml +nb-configuration.xml .DS_Store # Intellij From 52eadeba1827e462f34bd6b6df79f88859091ef2 Mon Sep 17 00:00:00 2001 From: joewitt Date: Thu, 11 Dec 2014 13:54:25 -0500 Subject: [PATCH 2/3] another change for goofy netbeans configs --- .../web/nifi-web-api/nb-configuration.xml | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 nar-bundles/framework-bundle/framework/web/nifi-web-api/nb-configuration.xml diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-api/nb-configuration.xml b/nar-bundles/framework-bundle/framework/web/nifi-web-api/nb-configuration.xml deleted file mode 100644 index d290d4597f..0000000000 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-api/nb-configuration.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - ide - - From d57861d8b5283483b5721f5c4be3ce285ea6bcf4 Mon Sep 17 00:00:00 2001 From: Mark Payne Date: Fri, 12 Dec 2014 10:19:20 -0500 Subject: [PATCH 3/3] NIFI-164: Fixed MockContentRepository that existed in a unit test --- .../controller/repository/TestStandardProcessSession.java | 4 ++++ .../apache/nifi/provenance/VolatileProvenanceRepository.java | 2 ++ 2 files changed, 6 insertions(+) diff --git a/nar-bundles/framework-bundle/framework/core/src/test/java/org/apache/nifi/controller/repository/TestStandardProcessSession.java b/nar-bundles/framework-bundle/framework/core/src/test/java/org/apache/nifi/controller/repository/TestStandardProcessSession.java index 060bbd9d95..1ff63c545b 100644 --- a/nar-bundles/framework-bundle/framework/core/src/test/java/org/apache/nifi/controller/repository/TestStandardProcessSession.java +++ b/nar-bundles/framework-bundle/framework/core/src/test/java/org/apache/nifi/controller/repository/TestStandardProcessSession.java @@ -977,6 +977,10 @@ public class TestStandardProcessSession { private ConcurrentMap claimantCounts = new ConcurrentHashMap<>(); + @Override + public void shutdown() { + } + public Set getExistingClaims() { final Set claims = new HashSet<>(); diff --git a/nar-bundles/volatile-provenance-repository-bundle/volatile-provenance-repository/src/main/java/org/apache/nifi/provenance/VolatileProvenanceRepository.java b/nar-bundles/volatile-provenance-repository-bundle/volatile-provenance-repository/src/main/java/org/apache/nifi/provenance/VolatileProvenanceRepository.java index 9de26613aa..f4f9d127c0 100644 --- a/nar-bundles/volatile-provenance-repository-bundle/volatile-provenance-repository/src/main/java/org/apache/nifi/provenance/VolatileProvenanceRepository.java +++ b/nar-bundles/volatile-provenance-repository-bundle/volatile-provenance-repository/src/main/java/org/apache/nifi/provenance/VolatileProvenanceRepository.java @@ -169,6 +169,8 @@ public class VolatileProvenanceRepository implements ProvenanceEventRepository { @Override public void close() throws IOException { + queryExecService.shutdownNow(); + scheduledExecService.shutdown(); } @Override