ATTX-project / graph-component

Graph Manager component that handles state of the internal graph/data.
0 stars 0 forks source link

Persistence GM API #25

Closed blankdots closed 7 years ago

blankdots commented 7 years ago

Description

GM api DB needs to have persistence. This will affect deployment and everything down the line.

DoD

Image and GM api are ready to have persistent data

Testing

Integration tests

blankdots commented 7 years ago

@joasilva and/or @jkesanie please review this see below where to find the jenkins task for the new artifact and this should not break https://github.com/ATTX-project/platform-deployment/issues/27 Running jenkins task with new version: gm-api-volume Volume exposed by the container /app/data

Also reverting gm-api to command line utility instead of web-app due to some differences on permissions for libexec/install wheels for https://github.com/linkedin/pygradle/blob/master/pygradle-plugin/src/main/resources/templates/pex_non_cli_entrypoint.sh.template compared to https://github.com/linkedin/pygradle/blob/master/pygradle-plugin/src/main/resources/templates/pex_cli_entrypoint.py.template

As a result of this issue also a hotfix for wf-api has been done https://github.com/ATTX-project/workflow-component/commit/af4b75333081d184d73d006efbff1cb2a71f61b2

joasilva commented 7 years ago

How much data in GB is expected for GM-API "/app/data"?

blankdots commented 7 years ago

@joasilva maybe around 5GB or under 10GB

jkesanie commented 7 years ago

Tested as follows:

blankdots commented 7 years ago

This was tested in https://github.com/ATTX-project/platform-deployment/issues/28