Uploaded image for project: '[Read Only] - CRISP'
  1. [Read Only] - CRISP
  2. CRISP-12

Resolving Binary Data (neither JSON nor XML)

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.1.0
    • None

    Description

      Sometimes, it is needed to download binary content from external server (under the same auth control). This binary content cannot be represented by Resource and so cannot be resolved by any existing APIs.
      Therefore, we need a new API like the following:

      public interface ResourceServiceBroker {
          // SNIP
          public Binary resolveBinary(String resourceSpace, String absPath) throws ResourceException;
          public Binary resolveBinary(String resourceSpace, String absPath, Map<String, Object> pathVariables) throws ResourceException;
          // SNIP
      }
      

      Binary content doesn't need to be cached by default in framework level in general. Perhaps it can be in application-level (CRISP API callers) though.

      Attachments

        Issue Links

          Activity

            People

              wko Woonsan Ko (Inactive)
              wko Woonsan Ko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: