Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 1.82 KB

README.md

File metadata and controls

37 lines (19 loc) · 1.82 KB

A Java OData Service Example

Blog

Whole step by step description from my blog series can be found here

How to run this application

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:

image

Entity Relation Model

The entity relation model I use for the example is a simple one:

2021-10-18_10-26-06

Payloads

It's important that you send the payload in the correct format:

image

if you then call the Mothers(1) entity, you'll also get a positive result back:

image