mirror of https://github.com/apache/nifi.git
NIFI-4304 Extracting HWX Schema Registry client version to a property and bumping to latest 0.3.0 release
Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #2096
This commit is contained in:
parent
6b5015e39b
commit
60d4672195
|
@ -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>
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue