IKSG / nsf-file-server

SFTP server backed by an NSF
Apache License 2.0
3 stars 0 forks source link

Investigate multi-NSF support #8

Open jesse-gallagher opened 4 years ago

jesse-gallagher commented 4 years ago

There's no reason why the back-end couldn't work with many NSFs, either using NSF paths in the SFTP path or by directing to a given NSF based on user name.

Either way, this would likely involve creating a configuration DB separate from the file stores, to house routing info or lists of DBs.

jesse-gallagher commented 4 years ago

The filesystem layer already supports this by way of the generated URIs, so it would be more about the SSHD/webapp side.

jesse-gallagher commented 4 years ago

I think it will make most sense to switch to a mechanism where there's a single "config" NSF that then points to other NSFs. That would tie in to https://github.com/IKSG/nsf-file-server/issues/10 , where the actual NSFFileSystem objects would have a prefix that they would ignore for internal storage, and there'd be another virtual layer on top of them that would list the actual data store NSFs configured in the central one.