Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pukkaone/odata-spring-boot-starter
OData Spring Boot starters
https://github.com/pukkaone/odata-spring-boot-starter
odata odata-server spring-boot spring-boot-starter
Last synced: 4 days ago
JSON representation
OData Spring Boot starters
- Host: GitHub
- URL: https://github.com/pukkaone/odata-spring-boot-starter
- Owner: pukkaone
- License: apache-2.0
- Created: 2017-03-27T12:52:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-10-13T22:02:56.000Z (about 3 years ago)
- Last Synced: 2023-06-30T21:41:24.738Z (over 1 year ago)
- Topics: odata, odata-server, spring-boot, spring-boot-starter
- Language: Java
- Size: 55.7 KB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE.txt
Awesome Lists containing this project
README
= OData Spring Boot Starter {nbsp}image:https://maven-badges.herokuapp.com/maven-central/com.github.pukkaone/odata-web-spring-boot-starter/badge.svg[Maven Central,link="https://maven-badges.herokuapp.com/maven-central/com.github.pukkaone/odata-web-spring-boot-starter"]
Convenient dependency descriptors to add OData to your application.
== OData Elasticsearch Spring Boot Starter
This adds an OData endpoint which reads data from Elasticsearch.
=== Usage
Add this dependency to your Maven project:
[source,xml]
----com.github.pukkaone
odata-elasticsearch-spring-boot-starter
${odata-spring-boot-starter.version}----
Set these application properties:
[source,yaml]
----
spring:
elasticsearch:
rest:
uris: ELASTICSEARCH_REST_API_URI
----=== Application Properties
Various properties can be specified inside your `application.properties` or `application.yml` file,
or as command line switches.`odata.web.service-parent-path`::
OData service root URI will be
`${server.servlet.context-path}${odata.web.service-parent-path}/` _alias_or_index_name_ +
Default: `/odata`=== Translating Elasticsearch to Entity Data Model
|===
| Elasticsearch | Entity Data Model | Name| alias/index
| Namespace
| _alias_or_index_name_| alias/index
| Schema
| _Namespace_| alias/index
| Entity Container
| _alias_or_index_name_| alias/index
| Entity Set
| _alias_or_index_name_| alias/index
| Entity Type
| _Namespace_ `.` _alias_or_index_name_| nested
| Collection(Complex Type)
| _Namespace_ `.` _nested_name_| object
| Complex Type
| _Namespace_ `.` _object_name_
|===