Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Clarify relationships within access-conditions.xml

...

With the PR https://github.com/DSpace/DSpace/pull/1889 a new configuration file will be introduced. It is a Spring bean configuration file: access-conditions.xml.  This is used to configure the options to present in the upload section. Such configuration is exposed over the new REST API in the /config/submissionuploads endpoint.

The file has the following structure:

  • the the bean named uploadConfigurationService maps the upload configurations to the section configuration names (the section name used in the item-submission.xml file) to various upload configurations (UploadConfiguration beans).
  • the one or more UploadConfiguration beans.  The uploadConfigurationDefault is an example of configuration where all the existent capabilities of DSpace < 7 are presented.

Each upload configuration allows to configure which metadata are requested to describe the bitstreams using the name assigned to the specific form configuration in the submission-form.xml. This mean that it is now possible to take full advantage of the metadata support at the bitstream level. A maxSize and required property can be also configured to specify the limit in bytes for file upload and if at least one file is required or not. This mean that it is now possible to take full advantage of the metadata support at the bitstream level.

Moreover, it defines the list of acceptable access policies using the options list property, supporting the functionalities previously provided by the UploadWithEmbargoStep.

An empty list or null value for the options attribute mean means that the upload step doensdoesn't allow the user to set a policy for the file. The file will get only the policies inherited from the collection according to the previous behavior of the UploadStep.

...