Dacris.Maestro.Storage.ListFiles Interaction

Lists the files in a directory.

Preconditions:

inputDir (file path), pattern (wildcard) (optional), outputPath (JSON path will have array of files)

Sample State.json Input

{
  "sampleKey": {
    "inputDir": "prefix:folder/yourFile.txt",
    "pattern": "yourText",
    "outputPath": "$.yourStateKey",
    "retryTimes": "10",
    "retryDelay": "10"
  },
  "storageLocations": {
    "your_prefix": {
      "systemType": "your_systemType",
      "serverHost": "yourText",
      "user": "yourText",
      "secretKey": "yourStateKey",
      "port": "10"
    }
  },
  "customStorageProviders": {
    "your_systemType": "yourText"
  }
}