nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbe...@apache.org
Subject [nifi] branch master updated: NIFI-6687: - Using correct NiFi Ranger Service name in unit tests.
Date Fri, 25 Oct 2019 13:31:53 GMT
This is an automated email from the ASF dual-hosted git repository.

bbende pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/master by this push:
     new 2cef010  NIFI-6687: - Using correct NiFi Ranger Service name in unit tests.
2cef010 is described below

commit 2cef010b06ee0e3db82ea0272733e426c8e5d884
Author: Matt Gilman <matt.c.gilman@gmail.com>
AuthorDate: Thu Oct 24 16:36:44 2019 -0400

    NIFI-6687:
    - Using correct NiFi Ranger Service name in unit tests.
    
    This closes #3842.
    
    Signed-off-by: Bryan Bende <bbende@apache.org>
---
 .../apache/nifi/ranger/authorization/ManagedRangerAuthorizerTest.java | 4 ++--
 .../apache/nifi/ranger/authorization/TestRangerNiFiAuthorizer.java    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/src/test/java/org/apache/nifi/ranger/authorization/ManagedRangerAuthorizerTest.java
b/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/src/test/java/org/apache/nifi/ranger/authorization/ManagedRangerAuthorizerTest.java
index 4e58b04..1acaec3 100644
--- a/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/src/test/java/org/apache/nifi/ranger/authorization/ManagedRangerAuthorizerTest.java
+++ b/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/src/test/java/org/apache/nifi/ranger/authorization/ManagedRangerAuthorizerTest.java
@@ -68,7 +68,7 @@ public class ManagedRangerAuthorizerTest {
                 + "</userGroupProvider>"
             + "</managedRangerAuthorizations>";
 
-    private final String serviceType = "nifiService";
+    private final String serviceType = "nifi";
     private final String appId = "nifiAppId";
 
     @Before
@@ -197,4 +197,4 @@ public class ManagedRangerAuthorizerTest {
 
         return managedAuthorizer;
     }
-}
\ No newline at end of file
+}
diff --git a/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/src/test/java/org/apache/nifi/ranger/authorization/TestRangerNiFiAuthorizer.java
b/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/src/test/java/org/apache/nifi/ranger/authorization/TestRangerNiFiAuthorizer.java
index 1c63613..0f26a47 100644
--- a/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/src/test/java/org/apache/nifi/ranger/authorization/TestRangerNiFiAuthorizer.java
+++ b/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/src/test/java/org/apache/nifi/ranger/authorization/TestRangerNiFiAuthorizer.java
@@ -64,7 +64,7 @@ public class TestRangerNiFiAuthorizer {
     private AuthorizerConfigurationContext configurationContext;
     private NiFiProperties nifiProperties;
 
-    private final String serviceType = "nifiService";
+    private final String serviceType = "nifi";
     private final String appId = "nifiAppId";
 
     private RangerAccessResult allowedResult;


Mime
View raw message