Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4022

Expose result checksum checker via REST

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      0
    • Documentation Status:
      Needed

      Description

      The content of the checksum history should be accessible via REST to administrators.

      It should be possible to

      1. get detailed information by check id
      2. get the list of all the checkresult
      3. extending the DAO
        • get the list of checkresult for a specific bitstream
        • get the list of checkresult for result code

      Point 3 can be moved to a separate ticket if needed

       

      To do that you should

      • write the REST contract
      • create a ChecksumRepositoryIT
        • as it is an Integration Test it will be better to actual execute a checksum checker instead than put dummy data in the history
      • create a ChecksumResultRest¬†
      • create a ChecksumResultConverter to map the dspace-api class to the rest object
      • create the ChecksumRepository

      Check the resources here:  https://wiki.duraspace.org/display/DSPACE/DSpace+7+REST+API?src=contextnavpagetreemode

        Attachments

          Activity

            People

            • Assignee:
              pablop Pablo Prieto
              Reporter:
              bollini Andrea Bollini (4Science)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: