Whole step by step description from the blog can be found here
- Building an OData Service with a Spring Java Application using Olingo – Part I
- Building an OData Service with a Spring Java Application using Olingo – Part II
What you find here is a working example of an olingo spring application.
You can run this app locally by executing the command 'mvn spring-boot:run' in the terminal of the project folder.
Using Postman you can then call the URL localhost:8080/odata/$metadata to fetch the metadata:
The entity relation model I use for the example is a simple one: