title: Can Spring boot dynamically create end points based on the content of the property file?
body: <p><strong>So far I am creating end points like this:</strong></p>
  
  <pre><code>@RequestMapping(value = "/test", method = RequestMethod.POST)
  public @ResponseBody String indexPost(HttpServletRequest request, HttpServletResponse response)
      throws Exception {
  //Doing calculations
  return "Result";
  }
  </code></pre>
  
  <p>But I would like to reach the application.properties when the server starts, to read out the data stored like this:</p>
  
  <pre><code>methods: {
  "endpointOne": "DBStoredProcedure1",
  "endpointTwo": "DBStoredProcedure2"
  }
  </code></pre>
  
  <p>So <strong>when my Spring Boot application starts, it would create all the POST endpoints based on the property file</strong> with the names of the first parameters (like "endpointOne"), and would call (and return the result of) the stored procedure which is defined as the second parameter (like "DBStoredProcedure1").</p>
  
  <p><strong>Is it possible to do?</strong> </p>