odata-web-spring-boot-starter

null

License

License

Categories

Categories

Spring Boot Container Microservices Data
GroupId

GroupId

com.github.pukkaone
ArtifactId

ArtifactId

odata-web-spring-boot-starter
Last Version

Last Version

1.4.0-0
Release Date

Release Date

Type

Type

jar
Description

Description

odata-web-spring-boot-starter
null
Project URL

Project URL

https://github.com/pukkaone/odata-spring-boot-starter
Source Code Management

Source Code Management

https://github.com/pukkaone/odata-spring-boot-starter

Download odata-web-spring-boot-starter

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.pukkaone/odata-web-spring-boot-starter/ -->
<dependency>
    <groupId>com.github.pukkaone</groupId>
    <artifactId>odata-web-spring-boot-starter</artifactId>
    <version>1.4.0-0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.pukkaone/odata-web-spring-boot-starter/
implementation 'com.github.pukkaone:odata-web-spring-boot-starter:1.4.0-0'
// https://jarcasting.com/artifacts/com.github.pukkaone/odata-web-spring-boot-starter/
implementation ("com.github.pukkaone:odata-web-spring-boot-starter:1.4.0-0")
'com.github.pukkaone:odata-web-spring-boot-starter:jar:1.4.0-0'
<dependency org="com.github.pukkaone" name="odata-web-spring-boot-starter" rev="1.4.0-0">
  <artifact name="odata-web-spring-boot-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.pukkaone', module='odata-web-spring-boot-starter', version='1.4.0-0')
)
libraryDependencies += "com.github.pukkaone" % "odata-web-spring-boot-starter" % "1.4.0-0"
[com.github.pukkaone/odata-web-spring-boot-starter "1.4.0-0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.olingo : odata-server-core-ext jar 4.3.0
org.springframework.boot : spring-boot-starter-web jar 1.4.0.RELEASE

test (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar 1.4.0.RELEASE

Project Modules

There are no modules declared in this project.

OData Spring Boot Starter  Maven Central

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:

<dependency>
  <groupId>com.github.pukkaone</groupId>
  <artifactId>odata-elasticsearch2-spring-boot-starter</artifactId>
  <version>${odata-spring-boot-starter.version}</version>
</dependency>

Set these application properties:

spring:
  data:
    elasticsearch:
      cluster-name: CLUSTER_NAME
      cluster-nodes: "NODE_HOST:NODE_PORT"

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.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

type

Entity Set

type_name

type

Entity Type

Namespace . type_name

nested

Collection(Complex Type)

Namespace . nested_name

object

Complex Type

Namespace . object_name

Versions

Version
1.4.0-0