spring-bootconfigurationenvironment-variablesexternalizable

how to scan a springboot application to list hard coded values?


We are looking at externalizing the configuration of an springboot app. Is there a way to scan the code and list all the hard coded values?


Solution

  • You need to use some IDE like IntelliJ for example. Open the Project and go to "Analyze" option and then select "Run Inspection By Name" and after that choose option "hard coded strings". enter image description here