Blob Storage

Fusion accepts large binary objects (blobs) for upload, and stores them in Solr. Blob uploads are used to install models, lookup lists, JDBC drivers, connectors, and more.

Blob Types

A resourceType query parameter can be used to specify the a blob type. For example, specify plugin:connector when uploading a connector, like this:

curl -H 'content-type:application/zip' -X PUT 'fusion-host:{api-port}/api/blobs/myplugin?resourceType=plugin:connector' --data-binary @myplugin.zip

The complete list of valid values for resourceType is below:

Type Description

banana

A Banana dashboard

catalog

driver:jdbc

file:js-index

A JavaScript file for use with a Managed Javascript index stage.

file:js-query

A JavaScript file for use with a Managed Javascript query stage.

file

Any uploaded file, such as from the Quickstart or the Index Workbench.

model:ml-model

A machine learning model (Fusion AI only)

model:open-nlp

An OpenNLP model (Fusion AI only)

other

A blob of unknown type

If no resourceType is specified on upload, "other" is assigned by default.

plugin:connector

The Blob manager

In addition to the Blob Store API, the Fusion UI provides an interface to the blob store in the Fusion workspace at System > Blobs:

Blobs

  • Click Add to upload a new blob:

    Add a blob

    Note
    In Fusion 4.1, it is not possible to upload a blob of type file:js-index or file:js-query using the Fusion UI. Instead, use the Blob Store API. These blob types become visible in the blob manager after upload.
  • Select an uploaded blob to view, replace, or delete it:

    Modify a blob

Blob editor

The blob editor gives the ability to edit blobs in the Fusion UI in a variety of formats:

  • CSV

  • Java

  • JavaScript

  • Python

  • SCALA

  • Typescript

  • Plain text

Navigate to System > Blobs, select a blob, and click the Edit blob button to open the editor:

Edit blob button

Note
If the Edit blob button is not available, the blob type cannot be edited with the blob editor.

The editor has several elements worth noting:

Elements Description

Copy

Copies the JSON to the clipboard.

Paste

Pastes the clipboard into the editor. Only valid JSON is accepted.

Expand

Expands the editor to a fullscreen view.

Condense

Condenses the editor to a compact view.

Save

Saves the JSON in the editor and updates the blob.

Reset

Resets changes made since the last time changes were applied.

For instructions, see Use the Blob Editor.