You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add HTTP publishing and image source operations (#551)
* HTTP publishing now works
* Implemented an image source for images POSTed to the HTTP server.
Images must be posted to /GRIP/upload/image -- there could be a need to have the path be user-defined
Images are treated as 8-bit 3-channel color images.
* Adds support for setting pipelines via HTTP POST operations
* Changed pipeline upload to upload the contents of a GRIP project rather than the path to a save file
* Changed GripServer to return a 500 error on a POST only if an exception was thrown while handling the data.
* Removes need to specify project file at startup
* 500 error if no data is received from a POST
* Pipeline no longer runs during deserialization
GripServer returns a 423 error if a data request is sent while the
pipeline is running
* Return 503 Service Unavailable when trying to get data when pipeline is running
Use library-defined HTTP codes instead of redefining them
404 error when going to a URI such as /GRIP/data/foo or /GRIP/data* (now it has to be on a path that has a handler specifically assigned to it)
Update tests to stop codacy bot from complaining so much
HTTP sources can only supply images POSTed to URLs under '/GRIP/upload/image', e.g. '/GRIP/upload/image/foo'
0 commit comments