Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Complete the following steps in order to configure the Azure Blobs Publisher.

Panel
titleOn this page

Table of Contents

Step 1. Launch Aspire 

Launch Aspire (if it's not already running). See: Launch Control

Step 2. Open the Content Source Management Page

Browse to: http://localhost:50505.

For details on using the Aspire Content Source Management page, please refer to Admin UI.


Step 3. Add a New Content Source

For this step, please follow the procedure from the Configuration Tutorial of the connector of you choice. Refer to the Connector list


Image Added

Step 4. Add a New Publish to Azure Blobs to the WorkflowImage Removed

To add a Publish to Azure Blobs drag from the Publish to Azure Blobs rule from the Workflow Library and drop to the Workflow Tree where you want to add it.

This will automatically open the Publish to Azure Blobs window for the configuration of the publisher.

Step 4a. Specify Publisher Information

 In the Publish to Azure Blobs window, specify the connection information needed to publish to Azure Blob storage.

  1. Storage Connection String: This is the connection string for the Azure Blob storage service, which contains three parts.
    • Default Endpoints Protocol, with two possible values: http or https. For example: “DefaultEndpointsProtocol=http;”
    • Account Name, which is the name of your Microsoft Azure storage account. For example: “AccountName=myAccount;”
    • Account Key, which is the key associated to your Azure storage account. For example: “AccountKey=myKey;”

  2. Blob Container Name: Enter the name of the container inside the Azure Blob storage where you want to publish your results.

  3. Use Transformation file: Select the check box to use a Groovy script (indicated in the JSON Transformation field) to transform the content and store the results of the transformation.
    Clear the check box to create the standard Aspire JSON content.  

  4. JSON Transformation: Enter the location of the file containing the JSON Transformation script. This script will be used to transform the data from Aspire as it is posted to the Azure Blob Container.
    See JSON Transformation Script for details on the format of the script.

  5. Soft Delete: Select the check box to execute a soft delete (object mark as deleted) rather than a physical delete from Azure Blob.
  6. Delete Flag Name: Enter the name of the flag used to mark document as deleted in Azure Blob. The flag will be stored as part of the blob metadata (Deleted=true).
  7. Add Blob Metadata: Select the check box to add metadata to the Azure Blob.
  8. Metadata Source: Specify where to take metadata values from. Select Original Document from the drop down if the values for the metadata fields are stored inside the original input document (Aspire Doc) or select Transformed Document if the values for the metadata fields are stored inside the transformed output document.
  9. Metadata Name: Enter the name of the blob metadata field. If a name specified as a metadata field matches the delete flag name used for soft deletes, the value will be overwritten by the soft delete handler. This is a required value.
  10. Metadata Value: Enter the field name or path (e.g. connectorSpecific/Author) inside Aspire or transformed document where to take the value from. This is a required value.
  11. Default Value: Enter the default value to be used when the metadata value does not exist.
  12. Debug:  Select the check box to run the publisher in Debug mode.
  13. Click Add.


Once you've clicked Add, it will take a moment for Aspire to download all of the necessary components (the Jar files) from the Maven repository and load them into Aspire. Once that's done, the publisher will appear in the Workflow Tree.

Info

For details on using the Workflow section, please refer to Workflow introduction.