-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement test resources control panel #15
Comments
This was implemented in Test Resources itself: micronaut-projects/micronaut-test-resources#432 What I wonder is: would it make sense to integrate both? @melix is there a way to know the TR control panel URL? to at least provide a link? |
A link to the control panel is displayed when the test resources service starts. Are you thinking of something different? |
Yes, what I was thinking is to provide a link in the application control panel to the TR control panel. Is there a way for this module to know the panel URL? Perhaps I could query a property and TR can resolve it? |
Ah I see. I'm not sure there's an easy way to do this. The test resources control panel basically displays the list of resolvers. So if you add a control panel resolver, then it will be indeed added as a card that users can click on to get the URL. However this would mean that the control panel asks for a property to the test resources service. But what if the control panel module is not loaded in test resources? Another possible problem is that the URL will only be known once the app is started (because of the random port strategy for example). |
Feature description
It would be good to have a panel which allows listing the properties that test resources can resolve, and also their value. This can typically be useful if a user wants to connect to a test resources database from the IDE: they would need to know about the URL/username/password.
The text was updated successfully, but these errors were encountered: