This module implements several clients that can be used to access JADE:
You can use JadeStorageService
to programmatically access JADE service remotely from any Java program.
See the JavaDocs for more usage information.
StorageClientApp
implements a simple command line interface using the Java API above.
The CLI has been packaged using Docker as part of the jacs-storage container.
It can be invoked as follows:
$ docker run -it janeliascicomp/jacs-storage:latest
Usage: <main class> [options] [command] [command options]
Options:
-k, --key
API Key for JADE service
-s, --server
URL of the Master JADE API
Default: http://localhost:8080/jacsstorage/master_api/v1
Commands:
list Recursively list the descendants of the given path to a
specified depth. By default, only the immediate children are
listed.
Usage: list [options] <path>
Options:
-d, --depth
Depth of tree to list
Default: 1
read Read a file at the given path
Usage: read <path>
copy Copy a file from a source location (which may be local or
JADE-accessible) to a target location (which is local)
Usage: copy <source> <target>