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
It would be great to have a TestContainer that spins up a narayana-lra server for testing LRA functionalities.
It appears that we would need to either create a barebones quarkus app to containerize to be the server, or use a standalone binary. Otherwise looks fairly straightforward:
I'd assume this should be straightforward if there would be a Docker image for a narayana-lra server, then it might also work with our GenericContainer and there is no necessity for a dedicated container module.
That container looks good to me, unfortunately I am also quite new to LRA, so I can't speak much to it either (I'm looking for the test container so I can play with it!)
Outwardly it looks like a fairly simple service though
Activity
kiview commentedon Feb 16, 2022
Hey @GregJohnStewart, thanks for letting us know.
I'd assume this should be straightforward if there would be a Docker image for a narayana-lra server, then it might also work with our
GenericContainerand there is no necessity for a dedicated container module.What about this image?
https://hub.docker.com/r/jbosstm/lra-coordinator
This whole topic is outside of my expertise, so there is not much concrete I can advise on.
GregJohnStewart commentedon Feb 16, 2022
That container looks good to me, unfortunately I am also quite new to LRA, so I can't speak much to it either (I'm looking for the test container so I can play with it!)
Outwardly it looks like a fairly simple service though
kiview commentedon Feb 16, 2022
Given the sparse docs, you can try with the following
GenericContainer(not tested):GregJohnStewart commentedon Feb 21, 2022
Thanks! Seems to work well!
kiview commentedon Feb 22, 2022
Cool, I will convert this into a GH Discussions Q&A (for hopefully better discoverability).