Closed constantinpape closed 3 years ago
I added CustomXmlIoSpimData
that supports loading the xml file from a file stream, so that xml files from s3 (or other resources) can be passed. (And it works).
@tischi this is good to be merged from my side.
Sorry, I wasn't quite down with this after all; I also removed the "S3CredentialsCreator", which is not necessary any more now that the type of credentials is inferred dynamically. I still need to check that this works with the mobie-viewer.
All working now, see also https://github.com/mobie/mobie-viewer-fiji/pull/215
I think I figured out how to determine if a bucket needs credentials dynamically, see these changes. This means we could get rid of
S3CredentialsCreator
and the Authentication parameter as well as the corresponding field in the bdv.xml. I still need to fully test this, because there is an unrelated issue with accessing private buckets, see https://github.com/mobie/mobie-viewer-fiji/issues/182#issuecomment-798114598.@tischi What do you think, should we go for this change? (If it indeed works)