Skip to content

Commit 97f70a2

Browse files
authored
Migrate Schema Registry to azure-json (#41255)
Migrate Schema Registry to azure-json
1 parent 646f10b commit 97f70a2

File tree

4 files changed

+3
-18
lines changed

4 files changed

+3
-18
lines changed

sdk/schemaregistry/azure-data-schemaregistry-apacheavro/pom.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,6 @@
6363
<version>1.11.3</version> <!-- {x-version-update;org.apache.avro:avro;external_dependency} -->
6464
</dependency>
6565

66-
<!-- Explicitly stating these because org.apache.avro uses an older version of jackson which is resolved since it
67-
is close to the root for dependencies. -->
68-
<dependency>
69-
<groupId>com.fasterxml.jackson.core</groupId>
70-
<artifactId>jackson-core</artifactId>
71-
<version>2.13.5</version> <!-- {x-version-update;com.fasterxml.jackson.core:jackson-core;external_dependency} -->
72-
</dependency>
73-
<dependency>
74-
<groupId>com.fasterxml.jackson.core</groupId>
75-
<artifactId>jackson-databind</artifactId>
76-
<version>2.13.5</version> <!-- {x-version-update;com.fasterxml.jackson.core:jackson-databind;external_dependency} -->
77-
</dependency>
78-
7966
<!-- Test dependencies -->
8067
<dependency>
8168
<groupId>io.projectreactor</groupId>
@@ -152,8 +139,6 @@
152139
<bannedDependencies>
153140
<includes>
154141
<include>org.apache.avro:avro:[1.11.3]</include> <!-- {x-include-update;org.apache.avro:avro;external_dependency} -->
155-
<include>com.fasterxml.jackson.core:jackson-core:[2.13.5]</include> <!-- {x-include-update;com.fasterxml.jackson.core:jackson-core;external_dependency} -->
156-
<include>com.fasterxml.jackson.core:jackson-databind:[2.13.5]</include> <!-- {x-include-update;com.fasterxml.jackson.core:jackson-databind;external_dependency} -->
157142
</includes>
158143
</bannedDependencies>
159144
</rules>

sdk/schemaregistry/azure-data-schemaregistry-apacheavro/src/main/java/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
exports com.azure.data.schemaregistry.apacheavro;
1111

12-
opens com.azure.data.schemaregistry.apacheavro to com.fasterxml.jackson.databind, com.azure.core;
12+
opens com.azure.data.schemaregistry.apacheavro to com.azure.core;
1313

1414
}

sdk/schemaregistry/azure-data-schemaregistry-jsonschema/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
--add-opens com.azure.core/com.azure.core.implementation=ALL-UNNAMED
4242
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
4343

44-
--add-opens com.azure.data.schemaregistry.jsonschema/com.azure.data.schemaregistry.jsonschema=ALL-UNNAMED
44+
--add-opens com.azure.data.schemaregistry.jsonschema/com.azure.data.schemaregistry.jsonschema=com.fasterxml.jackson.databind,ALL-UNNAMED
4545
</javaModulesSurefireArgLine>
4646
</properties>
4747

sdk/schemaregistry/azure-data-schemaregistry-jsonschema/src/main/java/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77

88
exports com.azure.data.schemaregistry.jsonschema;
99

10-
opens com.azure.data.schemaregistry.jsonschema to com.fasterxml.jackson.databind, com.azure.core;
10+
opens com.azure.data.schemaregistry.jsonschema to com.azure.core;
1111
}

0 commit comments

Comments
 (0)