You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2017/08/17 20:10:17 UTC

nifi git commit: NIFI-4304 Extracting HWX Schema Registry client version to a property and bumping to latest 0.3.0 release

Repository: nifi
Updated Branches:
  refs/heads/master 6b5015e39 -> 60d467219


NIFI-4304 Extracting HWX Schema Registry client version to a property and bumping to latest 0.3.0 release

Signed-off-by: Matthew Burgess <ma...@apache.org>

This closes #2096


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/60d46721
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/60d46721
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/60d46721

Branch: refs/heads/master
Commit: 60d4672195b89cb12e1f75f0a537c9adbab654bd
Parents: 6b5015e
Author: Bryan Bende <bb...@apache.org>
Authored: Thu Aug 17 13:08:33 2017 -0400
Committer: Matthew Burgess <ma...@apache.org>
Committed: Thu Aug 17 16:07:03 2017 -0400

----------------------------------------------------------------------
 .../nifi-hwx-schema-registry-service/pom.xml                     | 2 +-
 .../hortonworks/TestHortonworksSchemaRegistry.java               | 4 ++--
 pom.xml                                                          | 1 +
 3 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/60d46721/nifi-nar-bundles/nifi-standard-services/nifi-hwx-schema-registry-bundle/nifi-hwx-schema-registry-service/pom.xml
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-standard-services/nifi-hwx-schema-registry-bundle/nifi-hwx-schema-registry-service/pom.xml b/nifi-nar-bundles/nifi-standard-services/nifi-hwx-schema-registry-bundle/nifi-hwx-schema-registry-service/pom.xml
index df697ec..8d9ac38 100644
--- a/nifi-nar-bundles/nifi-standard-services/nifi-hwx-schema-registry-bundle/nifi-hwx-schema-registry-service/pom.xml
+++ b/nifi-nar-bundles/nifi-standard-services/nifi-hwx-schema-registry-bundle/nifi-hwx-schema-registry-service/pom.xml
@@ -58,7 +58,7 @@ limitations under the License.
         <dependency>
             <groupId>com.hortonworks.registries</groupId>
             <artifactId>schema-registry-client</artifactId>
-			<version>0.2.1</version>
+			<version>${hwx.registry.version}</version>
 			<exclusions>
                 <exclusion>
                     <groupId>org.apache.avro</groupId>

http://git-wip-us.apache.org/repos/asf/nifi/blob/60d46721/nifi-nar-bundles/nifi-standard-services/nifi-hwx-schema-registry-bundle/nifi-hwx-schema-registry-service/src/test/java/org/apache/nifi/schemaregistry/hortonworks/TestHortonworksSchemaRegistry.java
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-standard-services/nifi-hwx-schema-registry-bundle/nifi-hwx-schema-registry-service/src/test/java/org/apache/nifi/schemaregistry/hortonworks/TestHortonworksSchemaRegistry.java b/nifi-nar-bundles/nifi-standard-services/nifi-hwx-schema-registry-bundle/nifi-hwx-schema-registry-service/src/test/java/org/apache/nifi/schemaregistry/hortonworks/TestHortonworksSchemaRegistry.java
index 40f2ba7..d34c9e8 100644
--- a/nifi-nar-bundles/nifi-standard-services/nifi-hwx-schema-registry-bundle/nifi-hwx-schema-registry-service/src/test/java/org/apache/nifi/schemaregistry/hortonworks/TestHortonworksSchemaRegistry.java
+++ b/nifi-nar-bundles/nifi-standard-services/nifi-hwx-schema-registry-bundle/nifi-hwx-schema-registry-service/src/test/java/org/apache/nifi/schemaregistry/hortonworks/TestHortonworksSchemaRegistry.java
@@ -98,7 +98,7 @@ public class TestHortonworksSchemaRegistry {
     @Test
     public void testCacheUsed() throws Exception {
         final String text = new String(Files.readAllBytes(Paths.get("src/test/resources/empty-schema.avsc")));
-        final SchemaVersionInfo info = new SchemaVersionInfo(1, text, 2L, "description");
+        final SchemaVersionInfo info = new SchemaVersionInfo(1L, "unit-test", 2, text, System.currentTimeMillis(), "description");
         schemaVersionInfoMap.put("unit-test", info);
 
         final SchemaMetadata metadata = new SchemaMetadata.Builder("unit-test")
@@ -135,7 +135,7 @@ public class TestHortonworksSchemaRegistry {
     @Ignore("This can be useful for manual testing/debugging, but will keep ignored for now because we don't want automated builds to run this, since it depends on timing")
     public void testCacheExpires() throws Exception {
         final String text = new String(Files.readAllBytes(Paths.get("src/test/resources/empty-schema.avsc")));
-        final SchemaVersionInfo info = new SchemaVersionInfo(1, text, 2L, "description");
+        final SchemaVersionInfo info = new SchemaVersionInfo(1L, "unit-test", 2,  text, System.currentTimeMillis(), "description");
         schemaVersionInfoMap.put("unit-test", info);
 
         final SchemaMetadata metadata = new SchemaMetadata.Builder("unit-test")

http://git-wip-us.apache.org/repos/asf/nifi/blob/60d46721/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9a00d09..4eab25c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -106,6 +106,7 @@
         <hive.hadoop.version>2.6.2</hive.hadoop.version>
         <hbase.version>1.1.2</hbase.version>
         <storm.version>1.0.1</storm.version>
+        <hwx.registry.version>0.3.0</hwx.registry.version>
     </properties>
 
     <repositories>