This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 0ddbd63c authored by Daniel Rainer's avatar Daniel Rainer
Browse files

Split user provided and auto-generated metadata

ElasticSearch returns search results as JSON
files which have three top level entries
for us to parse:
"project", "file", and "metadata".
Change the class structure to match this
hierarchy. This means, that the mapping
from JSON to Java objects just works
and we can pass the data on to the
front-end in the same structure as
the back-end received it.

This allows the separation of the
"standardized" metadata which is provided
by the platform's users
and our implementation-detail metadata,
such as GitLab related data.
This way, no conflicts arise when a new
key is introduced to the metadata standard.
parent 50403d0a
2 merge requests!17Initial Merge to Prepare Release 1.0.0,!2Add gitlab metadata
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment