Is it possible to validate if there is a specific parameter configured in a java properties?
Example:
I have an application.properties with this line:
“management.endpoints.web.exposure.include=health”
I’d like to use sonar to validate that this line exists, regardless of the parameter’s value, and if that line doesn’t exist, point out a problem in the code.
There’s also another community plugin especially for properties, but it will not work with
recent Sonarqube versions, see this post for further details