Apicurio integration with Microcks past issue back?
See original GitHub issueHi
I’ve installed apicurio 0.2.56-snapshot, which is working, with 2 years old data, integrated with keycloak v14, and installed microcks from git, integrated with Microcks realm in the same keycloak, able to login.
I’ve followed the integration instructions and when trying to mock I get:
10:29:31,810 ERROR [io.undertow.request] (default task-2) UT005023: Exception handling request to /api-hub/designs/1/mocks: org.jboss.resteasy.spi.UnhandledException: java.lang.NoSuchMethodError: 'com.fasterxml.jackson.core.io.ContentReference com.fasterxml.jackson.dataformat.yaml.YAMLFactory._createContentReference(java.lang.Object)'
at org.jboss.resteasy.resteasy-jaxrs@3.7.0.Final//org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:82)
at org.jboss.resteasy.resteasy-jaxrs@3.7.0.Final//org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:346)
at org.jboss.resteasy.resteasy-jaxrs@3.7.0.Final//org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:193)
I’ve tried to put a wrong service account password when starting microcks, and I got the same error.
That’s how I start apicurio
./distro/quickstart/target/apicurio-studio-*-SNAPSHOT/bin/standalone.sh -c standalone-apicurio.xml -b 0.0.0.0 -Djboss.socket.binding.port-offset=200
-Dapicurio.hub.microcks.api=http://10.101.2.102:8080/api
-Dapicurio.hub.microcks.clientId=microcks-serviceaccount
-Dapicurio.hub.microcks.clientSecret=XXXXXXX-XXXX-XXXX-XXXX-XXXXXXX
-Dapicurio-ui.feature.microcks=true
When I click mock in apicurio the browser does a post request to http://10.101.2.102:8280/api-hub/designs/1/mocks which returns 500 Internal Server Error
8080 is the microcks API, 8280 is apicurio.
Thanks
Issue Analytics
- State:
- Created a year ago
- Comments:9 (6 by maintainers)
Top GitHub Comments
Hi, i was only able to test it now… I can confirm the YAML download works and also the microcks integration. Thanks!
OK I think I got it this time. Can you try building locally (latest from
master
) and try again?