From d16a723949dfbcfcef5205fb211fcf4ecf8e0b6f Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 24 May 2020 09:26:16 +0200 Subject: [PATCH] fix build, tests --- nifi-registry-oidc/nifi-registry-oidc-assembly/pom.xml | 4 ++-- .../nifi-registry-oidc-extension/pom.xml | 3 ++- .../oidc/OidcPasswordIdentityProviderTest.java | 3 +++ nifi-registry-oidc/pom.xml | 4 ++-- nifi-tusio/pom.xml | 10 ---------- pom.xml | 2 ++ 6 files changed, 11 insertions(+), 15 deletions(-) diff --git a/nifi-registry-oidc/nifi-registry-oidc-assembly/pom.xml b/nifi-registry-oidc/nifi-registry-oidc-assembly/pom.xml index 2f812af..eef3d6f 100644 --- a/nifi-registry-oidc/nifi-registry-oidc-assembly/pom.xml +++ b/nifi-registry-oidc/nifi-registry-oidc-assembly/pom.xml @@ -5,7 +5,7 @@ org.apache.nifi.registry nifi-registry-oidc - 1.0.0-SNAPSHOT + 0.5.0 4.0.0 @@ -16,7 +16,7 @@ org.apache.nifi.registry nifi-registry-oidc-extension - 1.0.0-SNAPSHOT + ${project.version} diff --git a/nifi-registry-oidc/nifi-registry-oidc-extension/pom.xml b/nifi-registry-oidc/nifi-registry-oidc-extension/pom.xml index 3bb7d42..4fc4708 100644 --- a/nifi-registry-oidc/nifi-registry-oidc-extension/pom.xml +++ b/nifi-registry-oidc/nifi-registry-oidc-extension/pom.xml @@ -5,7 +5,7 @@ org.apache.nifi.registry nifi-registry-oidc - 1.0.0-SNAPSHOT + 0.5.0 4.0.0 @@ -28,6 +28,7 @@ org.mockito mockito-core + 2.28.2 test diff --git a/nifi-registry-oidc/nifi-registry-oidc-extension/src/test/java/org/apache/nifi/registry/web/security/authentication/oidc/OidcPasswordIdentityProviderTest.java b/nifi-registry-oidc/nifi-registry-oidc-extension/src/test/java/org/apache/nifi/registry/web/security/authentication/oidc/OidcPasswordIdentityProviderTest.java index 84adbdc..ba3314c 100644 --- a/nifi-registry-oidc/nifi-registry-oidc-extension/src/test/java/org/apache/nifi/registry/web/security/authentication/oidc/OidcPasswordIdentityProviderTest.java +++ b/nifi-registry-oidc/nifi-registry-oidc-extension/src/test/java/org/apache/nifi/registry/web/security/authentication/oidc/OidcPasswordIdentityProviderTest.java @@ -8,6 +8,8 @@ import org.junit.Before; import org.junit.Rule; import org.junit.Test; +import org.junit.runner.RunWith; +import org.mockito.junit.MockitoJUnitRunner; import static com.github.tomakehurst.wiremock.client.WireMock.*; import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig; @@ -15,6 +17,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; +@RunWith(MockitoJUnitRunner.class) public class OidcPasswordIdentityProviderTest { private OidcPasswordIdentityProvider provider; diff --git a/nifi-registry-oidc/pom.xml b/nifi-registry-oidc/pom.xml index 601720b..8f92d28 100644 --- a/nifi-registry-oidc/pom.xml +++ b/nifi-registry-oidc/pom.xml @@ -5,7 +5,7 @@ org.apache.nifi.registry nifi-registry-extensions - 1.0.0-SNAPSHOT + 0.5.0 4.0.0 @@ -13,7 +13,7 @@ pom - 1.0.0-SNAPSHOT + 0.5.0 diff --git a/nifi-tusio/pom.xml b/nifi-tusio/pom.xml index fd7d02f..7f813f8 100644 --- a/nifi-tusio/pom.xml +++ b/nifi-tusio/pom.xml @@ -36,14 +36,4 @@ nifi-tusio-nar - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.20.1 - - - - diff --git a/pom.xml b/pom.xml index 0467c45..144002f 100644 --- a/pom.xml +++ b/pom.xml @@ -8,6 +8,8 @@ NiFi-Addons 0.0.1-SNAPSHOT + pom + nifi-keycloak nifi-tusio