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

Replace POST Model Files API with New multipart-upload API #493

Closed
pjcross opened this issue Sep 24, 2015 · 1 comment
Closed

Replace POST Model Files API with New multipart-upload API #493

pjcross opened this issue Sep 24, 2015 · 1 comment

Comments

@pjcross
Copy link
Contributor

pjcross commented Sep 24, 2015

Integrate new API into existing wizards. From Tim's email of 9/21/2015:

New API documentation:

Old API made obsolete by these changes:

  • POST Model Files - still implemented in the server and client libraries, but removed from the documentation.

Example code:

  • slycat/web-server/plugins/slycat-multipart-upload-demo

Running the example code:

  • Configure your web server to load the slycat-multipart-upload-demo plugin.
  • Point a browser to https://your-slycat-server/pages/multipart-upload-demo
  • Use the file chooser button to point your browser to a copy of slycat/data/cars.csv (demo is hard-coded to work with this file).
  • Click “Upload”.
  • The plugin code splits the file into two pieces, uploads them separately to a CCA model, and finishes.
  • Visit the new model to see that everything looks the way it should be.
@Mletter1
Copy link
Collaborator

Mletter1 commented Oct 1, 2015

note that these lines need to be added to the config.ini file

upload-session-timeout: datetime.timedelta(minutes=15)
upload-store: "/var/lib/slycat/upload-store"

Mletter1 pushed a commit that referenced this issue Oct 9, 2015
Mletter1 pushed a commit that referenced this issue Oct 14, 2015
Mletter1 pushed a commit that referenced this issue Oct 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants