Skip to content

Commit

Permalink
Prepare Schema Registry for preview (#15001)
Browse files Browse the repository at this point in the history
* Schema registry changes with new APIs

Co-authored-by: Arthur Erlendsson <30675661+arerlend@users.noreply.github.com>
Co-authored-by: Mitch Denny <mitchdenny@outlook.com>
  • Loading branch information
3 people committed Sep 10, 2020
1 parent 3d9d990 commit 25b7e15
Show file tree
Hide file tree
Showing 89 changed files with 3,588 additions and 5,047 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
<!-- Suppress the check on code-gen classes -->
<suppress checks="LineLength" files="com.azure.ai.textanalytics.implementation.TextAnalyticsClientImplBuilder"/>
<suppress checks="LineLength" files="com.azure.ai.textanalytics.implementation.TextAnalyticsClientImpl"/>
<suppress checks="." files="com.azure.data.schemaregistry.client.implementation.AzureSchemaRegistryRestService"/>
<suppress checks="[a-zA-Z0-9]*" files="com.azure.data.schemaregistry.implementation.*"/>

<!-- Suppress the check on code-gen classes -->
<suppress checks="LineLength" files="com.azure.ai.formrecognizer.implementation.FormRecognizerClientImplBuilder"/>
Expand All @@ -432,6 +432,7 @@

<!-- TODO: Fix with https://github.com/Azure/azure-sdk-for-java/issues#6716 Method name should follow a common vocabulary. -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files=".*[/\\]textanalytics[/\\].*"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files=".*[/\\]schemaregistry[/\\].*"/>

<!-- Don't enforce non-static ClientLogger instances in azure-core-mgmt PollerFactory and PollingState types-->
<suppress checks="com\.azure\.tools\.checkstyle\.checks\.(ThrowFromClientLoggerCheck|GoodLoggingCheck)"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.3 (2020-09-10)
- Updated to use `azure-core` for `ObjectSerializer`.
- Removed `AvroSchemaRegistrySerializer` and `AvroSchemaRegistryCodec`
- `SchemaRegistryAvroSerializerBuilder` now takes `SchemaRegistryAsyncClient` as input to build the
`SchemaRegistryAvroSerializer` instance

## 1.0.0-beta.2 (2020-06-19)
- Fix null max schema map size parameter behavior

## 1.0.0-beta.1 (2020-06-04)
- Initial add
- Initial add
28 changes: 28 additions & 0 deletions sdk/schemaregistry/azure-data-schemaregistry-avro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>


<parent>
<groupId>com.azure</groupId>
<artifactId>azure-client-sdk-parent</artifactId>
Expand Down Expand Up @@ -73,6 +74,12 @@
<version>5.6.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-params;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.1.2</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand All @@ -91,6 +98,27 @@
</rules>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId>
<version>1.9.2</version> <!-- {x-version-update;org.apache.avro:avro-maven-plugin;external_dependency} -->
<executions>
<execution>
<phase>generate-test-sources</phase>
<goals>
<goal>schema</goal>
</goals>
<configuration>
<testSourceDirectory>src/samples/resources/avro/</testSourceDirectory>
<testOutputDirectory>${project.basedir}/src/samples/java/</testOutputDirectory>
<testIncludes>
<testInclude>**/*.avro</testInclude>
</testIncludes>
<stringType>String</stringType>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 25b7e15

Please sign in to comment.