Versions Compared

Key

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

...

Currently, there are two types of resources:

  • JSON Config
  • JSON Map

...

Resource Providers Configuration

The following is a sample resource providers configuration:

Code Block
languagejs
titleSample Resource Configuration
{
  "providers": [
    {
      "name":"pipeline-provider",
      "type":"FileSystem",
      "baseDir":"config"
    },
    {
      "name":"dict-provider",
      "type":"MongoDB",
      "uri":"mongodb://localhost:12345",
      "database":"dictionaries"
    }
  ]
}

This configuration has a single field ("providers", more fields may be added later) with a list of provider configurations. See the documentation for each provider type for details.