You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@olingo.apache.org by "Song, Yihan" <yi...@sap.com> on 2017/11/06 07:22:57 UTC

Olingo V4 EdmxProvider Avaliable?

Dears,

We currently are working on a server which try to expose OData v4 server. From the experience of implementing OData v2 I knew there's a EdmxProvider which could directly parse the edmx (xml) document and return an EdmProvider instance, but while skimming on Olingo v4 API I didn't find something equivalent,  is there every time we need to compose our own EdmProvider manually or can we leverage the edmx file directly? Could anyone kindly suggest us on this part?

Thanks so much.
Yihan




RE: Olingo V4 EdmxProvider Avaliable?

Posted by "Song, Yihan" <yi...@sap.com>.
Thanks Remash, that’s exactly what I want…


Gracias,
Yihan

From: Ramesh Reddy [mailto:rareddy@redhat.com]
Sent: Monday, November 6, 2017 22:00
To: user@olingo.apache.org
Cc: dev@olingo.apache.org
Subject: Re: Olingo V4 EdmxProvider Avaliable?

https://github.com/rareddy/olingo-odata4/blob/master/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/MetadataParser.java

an example
https://github.com/rareddy/olingo-odata4/blob/master/lib/server-core-ext/src/test/java/org/apache/olingo/server/example/TripPinServiceTest.java

Ramesh..
http://teiid.org

On Mon, Nov 6, 2017 at 1:22 AM, Song, Yihan <yi...@sap.com>> wrote:
Dears,

We currently are working on a server which try to expose OData v4 server. From the experience of implementing OData v2 I knew there’s a EdmxProvider which could directly parse the edmx (xml) document and return an EdmProvider instance, but while skimming on Olingo v4 API I didn’t find something equivalent,  is there every time we need to compose our own EdmProvider manually or can we leverage the edmx file directly? Could anyone kindly suggest us on this part?

Thanks so much.
Yihan





RE: Olingo V4 EdmxProvider Avaliable?

Posted by "Song, Yihan" <yi...@sap.com>.
Thanks Remash, that’s exactly what I want…


Gracias,
Yihan

From: Ramesh Reddy [mailto:rareddy@redhat.com]
Sent: Monday, November 6, 2017 22:00
To: user@olingo.apache.org
Cc: dev@olingo.apache.org
Subject: Re: Olingo V4 EdmxProvider Avaliable?

https://github.com/rareddy/olingo-odata4/blob/master/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/MetadataParser.java

an example
https://github.com/rareddy/olingo-odata4/blob/master/lib/server-core-ext/src/test/java/org/apache/olingo/server/example/TripPinServiceTest.java

Ramesh..
http://teiid.org

On Mon, Nov 6, 2017 at 1:22 AM, Song, Yihan <yi...@sap.com>> wrote:
Dears,

We currently are working on a server which try to expose OData v4 server. From the experience of implementing OData v2 I knew there’s a EdmxProvider which could directly parse the edmx (xml) document and return an EdmProvider instance, but while skimming on Olingo v4 API I didn’t find something equivalent,  is there every time we need to compose our own EdmProvider manually or can we leverage the edmx file directly? Could anyone kindly suggest us on this part?

Thanks so much.
Yihan





Re: Olingo V4 EdmxProvider Avaliable?

Posted by Ramesh Reddy <ra...@redhat.com>.
https://github.com/rareddy/olingo-odata4/blob/master/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/MetadataParser.java

an example
https://github.com/rareddy/olingo-odata4/blob/master/lib/server-core-ext/src/test/java/org/apache/olingo/server/example/TripPinServiceTest.java

Ramesh..
http://teiid.org

On Mon, Nov 6, 2017 at 1:22 AM, Song, Yihan <yi...@sap.com> wrote:

> Dears,
>
>
>
> We currently are working on a server which try to expose OData v4 server.
> From the experience of implementing OData v2 I knew there’s a EdmxProvider
> which could directly parse the edmx (xml) document and return an
> EdmProvider instance, but while skimming on Olingo v4 API I didn’t find
> something equivalent,  is there every time we need to compose our own
> EdmProvider manually or can we leverage the edmx file directly? Could
> anyone kindly suggest us on this part?
>
>
>
> Thanks so much.
>
> Yihan
>
>
>
>
>
>
>

Re: Olingo V4 EdmxProvider Avaliable?

Posted by Ramesh Reddy <ra...@redhat.com>.
https://github.com/rareddy/olingo-odata4/blob/master/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/MetadataParser.java

an example
https://github.com/rareddy/olingo-odata4/blob/master/lib/server-core-ext/src/test/java/org/apache/olingo/server/example/TripPinServiceTest.java

Ramesh..
http://teiid.org

On Mon, Nov 6, 2017 at 1:22 AM, Song, Yihan <yi...@sap.com> wrote:

> Dears,
>
>
>
> We currently are working on a server which try to expose OData v4 server.
> From the experience of implementing OData v2 I knew there’s a EdmxProvider
> which could directly parse the edmx (xml) document and return an
> EdmProvider instance, but while skimming on Olingo v4 API I didn’t find
> something equivalent,  is there every time we need to compose our own
> EdmProvider manually or can we leverage the edmx file directly? Could
> anyone kindly suggest us on this part?
>
>
>
> Thanks so much.
>
> Yihan
>
>
>
>
>
>
>