Commit graph

15 commits

Author SHA1 Message Date
Francisco Javier López
f20912df03 Extend API for importing a project export with overwrite support 2018-04-06 15:23:49 +00:00
Bob Van Landuyt
e3acc982a8 Override values from JSON with import data
This overrides values defined in the project JSON with the values
provided in project.import_data.data['override_params'].

These could be passed from the API.
2018-04-05 09:18:12 +02:00
Bob Van Landuyt
e40c0085ef Store override params as import data on projects
This means import data doesn't necessarily have to have an import_url
anymore.

The `ProjectImportData` could just contain the override data in it's
serialized data attribute.

The import data is automatically cleaned up after it is finished by
the state machine.
2018-04-04 19:49:48 +02:00
James Lopez
d8dfec0ffa
Fix project import API after import service refactor 2018-02-16 18:03:34 +01:00
James Lopez
2dc2bad623
refactor code based on feedback 2018-02-14 14:55:11 +01:00
James Lopez
e613d777b2
refactor code based on feedback 2018-02-14 14:46:40 +01:00
James Lopez
de83f29a35
add more specs 2018-02-13 15:25:49 +01:00
James Lopez
79879145e5
add more specs 2018-02-13 15:25:49 +01:00
James Lopez
583ed0eb94
add import status endpoint 2018-02-13 15:25:48 +01:00
James Lopez
7ec1a022b7
fix file upload 2018-02-13 15:25:48 +01:00
James Lopez
516d33f5ac
update import API and spec 2018-02-13 15:25:48 +01:00
James Lopez
d3b3f5d1b4
update import API and spec 2018-02-13 15:25:48 +01:00
James Lopez
848f49801d
add entity and update spec 2018-02-13 15:25:47 +01:00
James Lopez
de3edb7178
add more specs 2018-02-13 15:25:47 +01:00
James Lopez
9bfa690b7d
add project import spec 2018-02-13 15:25:47 +01:00