This recipe presents how to create Spring HATEOAS resources. Even if the emphasis here is on one specific resource—IndexResource
(in place of the former IndexOverviewDTO
), feel free to browse cloudstreetmarket-api and cloudstreetmarket-core to discover more changes.
The HATEOAS principle has been applied at this stage to all the resources that make the core of our business, which strongly reflects the financial data structure of Yahoo! (indices, quotes, products, historical data, graphs, and so on).
From the Git Perspective in Eclipse, checkout the latest version of the
v6.x.x
branch. Then, run amaven clean install
command on the cloudstreetmarket-parent module (right-click on the Maven Clean menu under Run as… and then again on Maven Install under Run as…) followed by a click on Maven Update Project menu to synchronize Eclipse with the Maven configuration (right-click on the module and then navigate to Maven | Update Project….)