Closed mvandenburgh closed 3 years ago
This looks good. I think the next step is to link this to a workingSet
. It's a bit of a mess but this is what I think you should do in your local environment, to mimic the result of the workflow output:
(Imageless) <working set name>
(or something, it doesn't really matter). This will represent the output folder.output_folder_id
field on the working set itself, setting the value to the id of the output folder created above. You'll probably have to do this manually through a python script or something.tiler
.tileset.json
by using the above info (located at Imageless (working set)/tiler/tileset.json
).Hopefully this makes sense. Let me know if you have any questions.
This looks good. I think the next step is to link this to a
workingSet
. It's a bit of a mess but this is what I think you should do in your local environment, to mimic the result of the workflow output:
I ran into an issue with the /workingSet/{id}
endpoint returning a 401 because it requires authentication. Is authentication needed for this endpoint? I disabled it in https://github.com/Kitware/Danesfield-App/pull/11/commits/4b39857a9c0d897eefbd5519781e8740d608fc2f to get things working. Besides that, I followed your steps in my local environment and it looks like everything is working right.
I ran into an issue with the
/workingSet/{id}
endpoint returning a 401 because it requires authentication. Is authentication needed for this endpoint? I disabled it in 4b39857 to get things working. Besides that, I followed your steps in my local environment and it looks like everything is working right.
Sorry if this was unclear, I don't think there actually needs to be an endpoint for this action. In the workflow itself, it will set this value automatically, so on that side it's accomplished. Since you don't have the workflow yet, I was proposing setting this value through girder directly (with some script), and then just using it as normal.
Sorry if this was unclear, I don't think there actually needs to be an endpoint for this action. In the workflow itself, it will set this value automatically, so on that side it's accomplished. Since you don't have the workflow yet, I was proposing setting this value through girder directly (with some script), and then just using it as normal.
We talked offline. For posterity, @mvandenburgh was referring to a different endpoint, not the one he added. I was responding to the one he added. We figured out his issue with the other endpoint.
Note: a new girder plugin is used in this PR (
girder-resource-path-tools
), so you will need to rerunpip install server/
andgirder build
for it to work properly locally.