Configuration

The FileManager service needs the following configuration properties:

  • The configuration name for this service.
  • The service identifier for this service.
  • The filesystem directory to store the metadata files.
  • The service identifier of the default FileStore.
  • The service endpoint of a Registry service.
Example :
Config propertyExample Value
org.astrogrid.filemanager.service.nameorg.astrogrid.filemanager
org.astrogrid.filemanager.service.ivornivo://org.astrogrid.example/filemanager
org.astrogrid.filemanager.filestore.ivornivo://org.astrogrid.example/filestore
org.astrogrid.filemanager.basedir/var/astrogrid/filemanager/data
org.astrogrid.registry.query.endpointhttp://example.astrogrid.org:8080/registry/services/RegistryQuery

Service name

This property is used to set the name prefix used to load the rest of the configuration properties.

This is primarily used for test environments. In a live system, this should be set to org.astrogrid.filemanager.

Service ivorn

In order to generate identifiers for the metadata nodes, FileManager needs to know the the registry identifier for this service.

This should be set to the full ivo://authority/resource identifier for this service.

FileStore ivorn

The FileManager service needs to know the identifier of at least one FileStore service. This will be used as the default if a client request does not specify a specific location.

This should be set to the full ivo://authority/resource identifier of the FileStore service.

Base directory

The FileManager service needs access to a directory in the local filesystem to store its data.

The FileManager service should have read/write access to the directory.

Registry endpoint

In order to be able to resolve references to other AstroGrid services, FileManager needs to know the endpoint address of at least one Registry service.

This should be set to the full http://.... endpoint URL of the Registry service.