xenon-middleware / xenon

A middleware abstraction library that provides a simple programming interface to various compute and storage resources.
http://xenon-middleware.github.io/xenon/
Apache License 2.0
33 stars 17 forks source link

Think about serializability of Xenon objects #471

Closed jmaassen closed 7 years ago

jmaassen commented 7 years ago

As per request of @nielsdrost and @bpmweel we should think about serializability of the basic Xenon objects (to whatever format, it does not necessarily have to be java.io.Serializable but could also be json, protocol buffers, etc).

For projects building services on top of Xenon, such as xenon-cwl, it is very useful to implement persistence by storing certain objects on disk or in a database.

There are a number of solutions possible here (not mutually exclusive):

The last options seems closest to the overall solution to me. This may also make the implementation of
xenon-grpc by @sverhoeven simpler ?

jmaassen commented 7 years ago

We decided on the following:

jmaassen commented 7 years ago

Fixed in ee060e6b61c6a0fe1afc828a1f8f25570abb949e