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
Add since information to properties #1117
Comments
Is this still a desired addition? I was looking at potential issues to do and came by this one. |
@foster33 Yes, this would still be a nice addition. Adding both "since" and "deprecated since", and also "replaced by", if relevant, information to the generated docs at https://accumulo.apache.org/docs/2.x/configuration/server-properties would be great. The code that generates the Markdown for that page is in core/src/main/java/org/apache/accumulo/core/conf/ConfigurationDocGen.java For "deprecated since" you could use the A quick Google search and I found a tutorial about accessing annotation parameters that could be useful at https://nadundesilva.medium.com/reading-annotations-at-run-time-using-the-java-reflections-api-ce175ba43b2 Adding these in an automated way using these annotations could help us remove the same, redundant information from the description fields that we had been manually adding. |
The original ticket did suggest using the enum constructor parameter to store this information, but annotations might be easier. It'd just be annoying to have a new annotation for every enum, since that's a lot of new lines to add to the file. It might be best to store "since" information in the enum, passed as a constructor parameter, and only use the annotations for |
https://issues.apache.org/jira/browse/ACCUMULO-4592
The text was updated successfully, but these errors were encountered: