title: SpringBoot - CMS structure
body: <p>I am implementing a Spring Boot application that will be a micro-service.</p>
  
  <p>This micro-service is supposed to define a <strong>CRUD</strong> <code>@RestController</code> over a <code>CMS</code>. </p>
  
  <p>Is there any standard way of doing this, or any library I can take advantage of?</p>
  
  <p>i.e: </p>
  
  <pre><code>@RequestMapping(value = "/simple/{key}", method = RequestMethod.GET)
  public String getKey(@PathVariable final String key) {
      return getCmsKey(key);//Retrieve key
  }
  
  @RequestMapping(value = "/collection/{key}", method = RequestMethod.GET)
  public List&lt;String&gt; getKeys(@PathVariable final String key) {
      return getCmsListOfKeys(keys);//Retrieve collection of keys
  }
  </code></pre>