Skip to content

ECasio/olingo-spring-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages