Open lsetiawan opened 6 years ago
hmm, perhaps. One issue I see right away is I've been working on a feature to export data from postgresql to sqlite and uploading the result to hydroshare. I got that working on my development server last week. I'm using Django loaddata and dumpdata utilities which seem like they would be a pain to reproduce. Would the ODM2REST API have something that would export a result along with all related entities? Would it be able to load that dump into another database?
Would the ODM2REST API have something that would export a result along with all related entities?
Currently there is no export feature, but /results endpoint does get all results and all related entities. I don't think it would be to difficult to use pandas to save into a sqlite from that result or other databases. That is an interesting feature to explore!
I think once ODM2REST is released, ODM2-Admin should use ODM2REST for it's mapping interface backend? This will allow practical, production testing for ODM2REST and enhance the mapping capability. What do you think @miguelcleon?