failed service discovery for multi module micronaut httpclient library with shared client ID #11825
Unanswered
Jonathan-Zollinger
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to see if I can support zendesk api's (ticketing and helpcenter apis) by using micronaut's openapi generator. so far things are working well up until trying to get some tests to run with properties passed from environment variables.
If I generate the clients and run tests like in this branch of my code, I get a
micronaut.discovery.exception.NoAvailableServiceException
io.micronaut.discovery.exceptions.NoAvailableServiceException: No available services for ID: micronaut.http.services.zendesk.url
if I run these same tests from my main branch, which uses a locally written iteration of the client and from a single module, I dont have any issues.
Is this not plausible to do via multiple modules? I was hoping to make this library available for others to use as well, is that not plausible with multiple modules? Is this a realistic setup for others to authenticate with a library this way?
I have credentials to my sandbox that can be used from the link below. I'll remove them once this discussion is resolved or otherwise finished.
https://share.1password.com/s#MeSaPFtho4TyHPTTPKoR238XVKcr7mOK2JkdhTbF55g
Beta Was this translation helpful? Give feedback.
All reactions