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

get ready for new otindex add / update / remove study methods #205

Open
kcranston opened this issue Oct 17, 2016 · 0 comments
Open

get ready for new otindex add / update / remove study methods #205

kcranston opened this issue Oct 17, 2016 · 0 comments

Comments

@kcranston
Copy link
Member

In preparation for otindex vs oti, need to modify how we call methods for updating studies. Specifically this code for updating and this code for deleting have hard-coded oti functions. Two options:

  1. Modify the phylesystem-api code to call the new otindex functions, and merge / deploy at the same time as otindex
  2. Add some config setting that specifies oti or otindex, and then an if statement that calls the appropriate code depending on the index being used

The new functions are v3/studies/add_update and v3/studies/remove and they take either a list of raw github links (same as oti), or simply a list of study ids (shorter!).

@kcranston kcranston changed the title get ready for new otindex add / update / delete study methods get ready for new otindex add / update / remove study methods Oct 17, 2016
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

1 participant