Skip to main content
Version: 4.49.0-beta

Initialize Storage

The Initialize Storage component allows you to initialize the Content Store. It takes an object with indexes and names for the indexes as configuration.

Configuration

Connection string

A MongoDB connection string.

Example: mongodb://<username>:<password>@localhost:27017/<databaseName>

Here <databaseName> is the database to add indexes.

Indexes JSON file that lists the indexes. The key of every object represents the name of the index and the parameters of each object are the indexes.

Example:

{
"auditLogs": {
"auditLogs": 1
},
"versionInfo": {
"major": -1,
"minor": -1
}
}

Inputs

  • Name: Input

    • Description: Any message for this input is acceptable.

Outputs

  • Name: Output

    • Description: On success the output returns true.

    • Example:

      { "success": true }