[infinispan-dev] Martin Ribaric -- Migration of Infinispan OData server

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[infinispan-dev] Martin Ribaric -- Migration of Infinispan OData server

Tomas Sykora
Hello everyone :)
I am enclosing Martin's email and sending it from my email address because he sent it twice already and we can't see his emails from his gmail address for whatever strange reason here. Martin is CCed, hopefully will receive all reactions from this thread, please make sure you include him in CC while replying :)
Thank you!
-----------------

Hello Infinispan community,
let me introduce myself shortly, my name is Martin Ribarič and I studied Masaryk University – Faculty of Informatics in Brno. I wrote my bachelor thesis on topic: Migration of Infinispan OData server. I would like to tell you a few words about my work.

The primary goal of my bachelor thesis was to develop/migrate a new solution of OData service for Infinispan. New solution is needed, because old solution was developed using odata4j library and development of this library was kind of stopped. New solution of OData service is offered by project Apache Olingo. In my work, I've created a servlet for Infinispan cache using Apache Olingo library support for OData v4.
We can put, get, manage and most importantly also query JSON documents in the cache. Querying is possible on basic key value or a property of JSON document. Also, in queries, we can use operations AND, OR, EQUALS and operations for reduction of a response list: SKIP and TOP.

Source code of my bachelor thesis is available at:
https://github.com/marib15/OlingoInfinispan-server

Tomas Sykora will review my code and push my solution to https://github.com/infinispan/infinispan-odata-server master soon.

If community will have an interest, we can have a plan to continue in development, so that server supports more operations... and also do performance testing.
I know the solution is definitely not perfect but can definitely serve as a baseline for future work, adjustments or adoption.

I am looking forward to hearing your responses!
Have a nice day :)
Ribarič

_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|

Re: [infinispan-dev] Martin Ribaric -- Migration of Infinispan OData server

Sebastian Laskawiec
Hey guys!

I've briefly looked through the code and Apache Olingo. It looks very interesting!

As far as I can see the project has been designed to be deployed on Tomcat and use Infinispan Embedded. For me the more interesting usecase would be to make it available on Infinispan Server (just like REST or Memcached support). But I realized that we have zero support for this kind of custom plugins (extensions or data format providers I should say? It's hard to find a good word for that).

Just thinking out laud - maybe the scope of the project should be larger? Maybe the proper way of doing this is developing an SPI for deploying custom 'server extensions' (perhaps as WARs) and implementing OData support as a proof of service?

But regardless what I've just said, Ribarič, Tomas, great work! Keep it up!

Thanks,
Sebastian

On Tue, Feb 21, 2017 at 2:46 PM Tomas Sykora <[hidden email]> wrote:
Hello everyone :)
I am enclosing Martin's email and sending it from my email address because he sent it twice already and we can't see his emails from his gmail address for whatever strange reason here. Martin is CCed, hopefully will receive all reactions from this thread, please make sure you include him in CC while replying :)
Thank you!
-----------------

Hello Infinispan community,
let me introduce myself shortly, my name is Martin Ribarič and I studied Masaryk University – Faculty of Informatics in Brno. I wrote my bachelor thesis on topic: Migration of Infinispan OData server. I would like to tell you a few words about my work.

The primary goal of my bachelor thesis was to develop/migrate a new solution of OData service for Infinispan. New solution is needed, because old solution was developed using odata4j library and development of this library was kind of stopped. New solution of OData service is offered by project Apache Olingo. In my work, I've created a servlet for Infinispan cache using Apache Olingo library support for OData v4.
We can put, get, manage and most importantly also query JSON documents in the cache. Querying is possible on basic key value or a property of JSON document. Also, in queries, we can use operations AND, OR, EQUALS and operations for reduction of a response list: SKIP and TOP.

Source code of my bachelor thesis is available at:
https://github.com/marib15/OlingoInfinispan-server

Tomas Sykora will review my code and push my solution to https://github.com/infinispan/infinispan-odata-server master soon.

If community will have an interest, we can have a plan to continue in development, so that server supports more operations... and also do performance testing.
I know the solution is definitely not perfect but can definitely serve as a baseline for future work, adjustments or adoption.

I am looking forward to hearing your responses!
Have a nice day :)
Ribarič

_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev