Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-11676

Document the generic file upload service

    Details

    • Type: Story
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.5.0
    • Component/s: documentation
    • Labels:
    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      3
    • Sprint:
      OpenIDM Sprint 6.5-9

      Description

      OPENIDM-11300 adds a file service to handle CRUD operations on files.

      The service maps incoming file content to JSON and hands that JSON to the FileHandler specified within file.json. There are two FileHandlers to choose from:

      • RepoFileHandler stores each file as a Base 64 URL encoded string in the repo. This is done in the new files table for jdbc and in the files OU for DS.
      • SystemFileHandler stores raw files on the file system in a directory specified by the root config property. The service fails if the client attempts to interact with a file outside of this directory.

      Additional details and sample REST calls in the corresponding PR

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Lana Lana Frost
                Reporter:
                Lana Lana Frost
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: