resourceType
query parameter can be used to specify the a blob type. For example, specify plugin:connector
when uploading a connector, like this:
resourceType
is below:
Type | Description |
---|---|
banana | A Banana dashboard |
catalog | An analytics catalog |
driver:jdbc | A JDBC Driver uploaded to Fusion Server |
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 | A Fusion 4.x connector |
Upload a JDBC Driver to Fusion Server
/blobs/{id}
endpoint.
Specify an arbitrary blob ID, and a resourceType
value of plugin:connector
, as in this example:
curl -u USERNAME:PASSWORD https://FUSION_HOST:FUSION_PORT/api/blobs
BLOB_ID
is the name specified during upload, such as “mydriver” above. A success response looks like this:
mssql-jdbc-6.6.2-jre8.jar
file.apps/lib
folder. For example:
apps\libs\mssql-jdbc-6.2.2.jre8.jar
apps/jetty/connectors-classic/webapps/connectors-extra-classpath.txt
file and add the following line:
apps/libs/mssql-jdbc-6.2.2.jre8.jar
Quickstart
Install a Connector - Fusion 4.x
bootstrap-plugins
directory during initial installation or an upgradezip
files in a specific directory named bootstrap-plugins
, and Fusion installs the connectors the first time it starts during initial installation or an upgrade.apps/connectors/bootstrap-plugins/
(on Unix) or \apps\connectors\bootstrap-plugins\
(on Windows).
resourceType
value of plugin:connector
, as in this example:
curl -u USERNAME:PASSWORD localhost:8764/api/blobs
https://FUSION_HOST:FUSION_PORT/apps/connectors/plugins/
to verify the new connector is installed.