{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-europe/WES-ELIXIR/issues/3","repository_url":"https://api.github.com/repos/elixir-europe/WES-ELIXIR","labels_url":"https://api.github.com/repos/elixir-europe/WES-ELIXIR/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/elixir-europe/WES-ELIXIR/issues/3/comments","events_url":"https://api.github.com/repos/elixir-europe/WES-ELIXIR/issues/3/events","html_url":"https://github.com/elixir-europe/WES-ELIXIR/issues/3","id":352171088,"node_id":"MDU6SXNzdWUzNTIxNzEwODg=","number":3,"title":"Add MongoDB support","user":{"login":"uniqueg","id":10855418,"node_id":"MDQ6VXNlcjEwODU1NDE4","avatar_url":"https://avatars3.githubusercontent.com/u/10855418?v=4","gravatar_id":"","url":"https://api.github.com/users/uniqueg","html_url":"https://github.com/uniqueg","followers_url":"https://api.github.com/users/uniqueg/followers","following_url":"https://api.github.com/users/uniqueg/following{/other_user}","gists_url":"https://api.github.com/users/uniqueg/gists{/gist_id}","starred_url":"https://api.github.com/users/uniqueg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uniqueg/subscriptions","organizations_url":"https://api.github.com/users/uniqueg/orgs","repos_url":"https://api.github.com/users/uniqueg/repos","events_url":"https://api.github.com/users/uniqueg/events{/privacy}","received_events_url":"https://api.github.com/users/uniqueg/received_events","type":"User","site_admin":false},"labels":[{"id":1029773281,"node_id":"MDU6TGFiZWwxMDI5NzczMjgx","url":"https://api.github.com/repos/elixir-europe/WES-ELIXIR/labels/critical","name":"critical","color":"b60205","default":false},{"id":1025097997,"node_id":"MDU6TGFiZWwxMDI1MDk3OTk3","url":"https://api.github.com/repos/elixir-europe/WES-ELIXIR/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":{"login":"uniqueg","id":10855418,"node_id":"MDQ6VXNlcjEwODU1NDE4","avatar_url":"https://avatars3.githubusercontent.com/u/10855418?v=4","gravatar_id":"","url":"https://api.github.com/users/uniqueg","html_url":"https://github.com/uniqueg","followers_url":"https://api.github.com/users/uniqueg/followers","following_url":"https://api.github.com/users/uniqueg/following{/other_user}","gists_url":"https://api.github.com/users/uniqueg/gists{/gist_id}","starred_url":"https://api.github.com/users/uniqueg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uniqueg/subscriptions","organizations_url":"https://api.github.com/users/uniqueg/orgs","repos_url":"https://api.github.com/users/uniqueg/repos","events_url":"https://api.github.com/users/uniqueg/events{/privacy}","received_events_url":"https://api.github.com/users/uniqueg/received_events","type":"User","site_admin":false},"assignees":[{"login":"uniqueg","id":10855418,"node_id":"MDQ6VXNlcjEwODU1NDE4","avatar_url":"https://avatars3.githubusercontent.com/u/10855418?v=4","gravatar_id":"","url":"https://api.github.com/users/uniqueg","html_url":"https://github.com/uniqueg","followers_url":"https://api.github.com/users/uniqueg/followers","following_url":"https://api.github.com/users/uniqueg/following{/other_user}","gists_url":"https://api.github.com/users/uniqueg/gists{/gist_id}","starred_url":"https://api.github.com/users/uniqueg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uniqueg/subscriptions","organizations_url":"https://api.github.com/users/uniqueg/orgs","repos_url":"https://api.github.com/users/uniqueg/repos","events_url":"https://api.github.com/users/uniqueg/events{/privacy}","received_events_url":"https://api.github.com/users/uniqueg/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/elixir-europe/WES-ELIXIR/milestones/1","html_url":"https://github.com/elixir-europe/WES-ELIXIR/milestone/1","labels_url":"https://api.github.com/repos/elixir-europe/WES-ELIXIR/milestones/1/labels","id":3583195,"node_id":"MDk6TWlsZXN0b25lMzU4MzE5NQ==","number":1,"title":"Working prototype with CWL-TES","description":"All endpoints can be explored through the Swagger UI, are functional, backed by a database and support CWL workflow execution via [CWL-TES](https://github.com/common-workflow-language/cwl-tes). Together with [TESK](https://github.com/EMBL-EBI-TSI/TESK), the service is supposed to be presented at the [GA4GH Plenary Meeting 2018](https://broadinstitute.swoogo.com/ga4gh6thplenary/139257) in Basel (October 3-5) in a end-to-end CWL workflow execution demo.","creator":{"login":"uniqueg","id":10855418,"node_id":"MDQ6VXNlcjEwODU1NDE4","avatar_url":"https://avatars3.githubusercontent.com/u/10855418?v=4","gravatar_id":"","url":"https://api.github.com/users/uniqueg","html_url":"https://github.com/uniqueg","followers_url":"https://api.github.com/users/uniqueg/followers","following_url":"https://api.github.com/users/uniqueg/following{/other_user}","gists_url":"https://api.github.com/users/uniqueg/gists{/gist_id}","starred_url":"https://api.github.com/users/uniqueg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uniqueg/subscriptions","organizations_url":"https://api.github.com/users/uniqueg/orgs","repos_url":"https://api.github.com/users/uniqueg/repos","events_url":"https://api.github.com/users/uniqueg/events{/privacy}","received_events_url":"https://api.github.com/users/uniqueg/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2018-08-20T12:24:03Z","updated_at":"2018-08-21T13:50:42Z","due_on":"2018-09-30T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-08-20T14:52:26Z","updated_at":"2018-08-21T16:11:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Is your feature request related to a problem? Please describe.**\r\nAdding database support had several benefits, such as added persistency, the ability to export/dump and migrate data. In more concrete terms it provides the ability to store information about finished workflows as well as running/queued workflows.\r\n\r\n**Describe the solution you'd like**\r\nGiven that most API requests and responses are in JSON format, a non-relational JSON-based database such as MongoDB appears like a natural solution. Several libraries/packages provide support for MongoDB in Python and Flask.\r\n\r\nRelevant links:\r\n* [PyMongo package](https://api.mongodb.com/python/current/)\r\n* [Flask-PyMongo](https://flask-pymongo.readthedocs.io/en/latest/)\r\n\r\n**Describe alternatives you've considered**\r\nWe have considered ORMs for relational databases (e.g. [Flask-SQLAlchemy](http://flask-sqlalchemy.pocoo.org/2.3/)), but a non-relational approach appears more natural as no or only few objects will have to be converted.\r\n\r\n**Additional context**\r\nNot applicable.\r\n"},"comment":{"url":"https://api.github.com/repos/elixir-europe/WES-ELIXIR/issues/comments/414730998","html_url":"https://github.com/elixir-europe/WES-ELIXIR/issues/3#issuecomment-414730998","issue_url":"https://api.github.com/repos/elixir-europe/WES-ELIXIR/issues/3","id":414730998,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDczMDk5OA==","user":{"login":"uniqueg","id":10855418,"node_id":"MDQ6VXNlcjEwODU1NDE4","avatar_url":"https://avatars3.githubusercontent.com/u/10855418?v=4","gravatar_id":"","url":"https://api.github.com/users/uniqueg","html_url":"https://github.com/uniqueg","followers_url":"https://api.github.com/users/uniqueg/followers","following_url":"https://api.github.com/users/uniqueg/following{/other_user}","gists_url":"https://api.github.com/users/uniqueg/gists{/gist_id}","starred_url":"https://api.github.com/users/uniqueg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uniqueg/subscriptions","organizations_url":"https://api.github.com/users/uniqueg/orgs","repos_url":"https://api.github.com/users/uniqueg/repos","events_url":"https://api.github.com/users/uniqueg/events{/privacy}","received_events_url":"https://api.github.com/users/uniqueg/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T16:11:43Z","updated_at":"2018-08-21T16:11:43Z","author_association":"CONTRIBUTOR","body":"Closed by #9 "}}
{"actor":{"display_login":"uniqueg"}}