Skip to content

Improve support for configuration metadata clients without classpath access #33621

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

Open
OLibutzki opened this issue Dec 22, 2022 · 3 comments
Open
Labels
theme: config-data Issues related to the configuration theme type: enhancement A general enhancement
Milestone

Comments

@OLibutzki
Copy link

In our Spring Boot application we have serveral custom configuration properties. As some configuration properties are mantained by domain experts, it's not feasible to give them a text file (properties or yaml) to configure the application.

Therefore we plan to provide a graphical configuration tool which contains uses the Configuration metadata to render certain controls, so users are able to configure the application using a graphical user interface.

The Configuration Metadata Spring Boot provides is a very good starting point, but unfortunately there is certain information missing due to the fact that you don't consider them to be needed in the metadata file. As stated in #7562 (comment) by @snicoll the list of enum literals is not included as this can be extracted by the IDE. Unfortunately, in our scenario we don't have an IDE or access to the classpath.

Therefore it would be very helpful to have as many information available in the metadata file as possible to provide the best user experience in our configuration client.

@OLibutzki OLibutzki changed the title Improve support for configuration metadata clients with classpath access Improve support for configuration metadata clients without classpath access Dec 22, 2022
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 22, 2022
@philwebb
Copy link
Member

It looks like #7562 is still open so if it's just enum support then I think this issue could be closed as a duplicate.

@OLibutzki Are there other things you're looking for in the metadata files that aren't currently there?

@philwebb philwebb added the status: waiting-for-feedback We need additional information before we can continue label Dec 22, 2022
@spring-projects-issues
Copy link
Collaborator

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Dec 29, 2022
@OLibutzki
Copy link
Author

It looks like #7562 is still open so if it's just enum support then I think this issue could be closed as a duplicate.

@OLibutzki Are there other things you're looking for in the metadata files that aren't currently there?

In #7562 @snicoll accidently thought it is about the enum literals, but the issue is about the enum's default value.

At the moment I am not sure, if there is more information that is derived from the classpath. I created this issue to point you to the fact that there are scenarios in which you want to use the configuration metadata without classpath access.

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue status: feedback-reminder We've sent a reminder that we need additional information before we can continue labels Jan 2, 2023
@philwebb philwebb added theme: config-data Issues related to the configuration theme type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged status: feedback-provided Feedback has been provided labels Jan 9, 2023
@philwebb philwebb added this to the 3.x milestone Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: config-data Issues related to the configuration theme type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants