question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Apicurio integration with Microcks past issue back?

See original GitHub issue

Hi

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:closed
  • Created a year ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
aanicetocommented, Aug 26, 2022

Hi, i was only able to test it now… I can confirm the YAML download works and also the microcks integration. Thanks!

0reactions
EricWittmanncommented, Aug 25, 2022

OK I think I got it this time. Can you try building locally (latest from master) and try again?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue on mocking with Microcks #1683 - GitHub
Started the apicurio quickstart; Tried to integrate my API's. But ran into the following error. 14:42:37,828 ERROR [io.undertow.request] ...
Read more >
Integrate Microcks for mocking your API - Apicurio
Microcks is an Open Source platform for easily exposing API and WebServices mocks using examples coming from different types of assets (OpenAPI specifications, ......
Read more >
Integrating Microcks into Apicurio Keycloak
Integrating Microcks into Apicurio Keycloak ... Microcks is an amazing tool that helps developers mock their APIs seamlessly using OpenAPI specs.
Read more >
microcks/microcks - Gitter
Hi, I'm looking for help. I've managed to install Microcks & Apicurio successfully in GCP, including integration with my instance of Keycloak. Both...
Read more >
API Design and Mocking Made Easier with Apicurio Studio ...
Apicurio Studio integrates with Microcks with many features that enable seamless end to end API design and API mocking capabilities.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found