agile-lab-dev/darwin

Find methods by name and namespace

SpyQuel opened this issue · 4 comments

Decide if it makes sense to have methods that performs find on Schemas using their name (and namespace) to query the storage. The resulting Schemas will have an associated version (or timestamp).

Isn't possible to just perform a it.agilelab.darwin.manager.AvroSchemaManager#getAll and then perform a find on the Seq?

You are right, the only thing that is missing is the version: if we have multiple schemas for the same entity (after one or more evolutions) how can we know which one is the latest?

I would open another issue to add the version of the schema, what do you think?

Yes I think that would be perfect