Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ODM2REST for mapping interface? #192

Open
lsetiawan opened this issue Jan 16, 2018 · 2 comments
Open

Use ODM2REST for mapping interface? #192

lsetiawan opened this issue Jan 16, 2018 · 2 comments

Comments

@lsetiawan
Copy link
Member

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?

@miguelcleon
Copy link
Member

miguelcleon commented Jan 16, 2018

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?

@lsetiawan
Copy link
Member Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants