SpringBoot - CMS framework
I am implementing a Spring Boot application that will be a microservice.
This microservice is expected to detect CRUD @RestController
versus CMS
.
Is there a standard way to do this, or any library I can use?
ie:
@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<String> getKeys(@PathVariable final String key) {
return getCmsListOfKeys(keys);//Retrieve collection of keys
}
+3
source to share
No one has answered this question yet
Check out similar questions: