ALPS for all Spring-MVC controllers

I have a question about ALPS support in spring restoas / data rest. It seems that ALPS metadata is only displayed if you have a datastore for storing spring data. So my question is, why is there only support for the w760> data warehouse and can I enable it for all spring mvc controllers? Is there any example for disclosing ALPS metadata for all controllers?

Maybe I did not understand the restraint of ALPS ...

greets

Meleagros

http://spring.io/blog/2014/07/14/spring-data-rest-now-comes-with-alps-metadata

+7
spring spring-data-rest spring-hateoas spring-mvc
source share
1 answer

This only partially answers the question, but Oliver Girke answered the following comments in the blog post above:

Because it relies on knowing what kinds of links you expand, what you call them and what HTTP methods are supported. With the plain Spring MVC app, all of this is beyond the scope, so we cannot provide it out of the box.

However, Spring HATEOAS does contain an API for writing custom Alps descriptors so that you can provide additional metadata that describes your controllers manually.

+5
source share

All Articles