Uploaded image for project: 'CRISP'
  1. CRISP
  2. CRISP-12

Resolving Binary Data (neither JSON nor XML)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Labels:
      None
    • Similar issues:

      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

              • Assignee:
                wko Woonsan Ko
                Reporter:
                wko Woonsan Ko
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: