You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this example, when I want to produce a message via quarkus and smallrye messaging, I get the following error: ERROR [io.api.reg.res.ERCache] (smallrye-kafka-producer-thread-0) Failed to update cache value for key: ArtifactCoordinates [groupId=test, artifactId=product, version=null]: com.networknt.schema.InvalidSchemaException: /$id: 'product.json' is not a valid $id
When I try to set an URL like http://example.com/schemas/product as $id I get an FileNotFoundException.
I tried the example from examples/serdes-with-references but it didnt work too with the exception: ERROR: Failed to load json schema from https://example.com/city.json java.net.UnknownHostException: example.com
I am using the apicurio image: quay.io/apicurio/apicurio-registry:3.0.6
Could anyone give me a solution or tips to my problem?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Iam trying to get references working with json schemas. Basically I want to have two schemas:
Product:
and the referenced popDetails.json:
With this example, when I want to produce a message via quarkus and smallrye messaging, I get the following error:
ERROR [io.api.reg.res.ERCache] (smallrye-kafka-producer-thread-0) Failed to update cache value for key: ArtifactCoordinates [groupId=test, artifactId=product, version=null]: com.networknt.schema.InvalidSchemaException: /$id: 'product.json' is not a valid $id
When I try to set an URL like
http://example.com/schemas/product
as $id I get anFileNotFoundException
.I tried the example from examples/serdes-with-references but it didnt work too with the exception:
ERROR: Failed to load json schema from https://example.com/city.json java.net.UnknownHostException: example.com
I am using the apicurio image: quay.io/apicurio/apicurio-registry:3.0.6
Could anyone give me a solution or tips to my problem?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions