{
  "repo": "pingcap/benchmarksql",
  "binary": "run-loader",
  "binary_path": "run/runLoader.sh",
  "dependencies": {
    "RunLoaderCLI.Execute": {
      "infrastructure": {
        "filesystem": {
          "conditions": [
            "Always when the command is invoked"
          ],
          "operations": [
            {
              "operation": "READ FILE",
              "trigger": "Load benchmark properties and classpath config",
              "conditions": [
                "PROPS_FILE argument is present"
              ],
              "implementation": "source funcs.sh $1"
            }
          ]
        },
        "jvm": {
          "conditions": [
            "Only after classpath resolution succeeds"
          ],
          "operations": [
            {
              "operation": "EXECUTE JVM MAIN",
              "trigger": "Launch the benchmark data loader",
              "conditions": [
                "setCP succeeded"
              ],
              "implementation": "java -cp \"$myCP\" -Dprop=$PROPS LoadData $*"
            }
          ]
        }
      },
      "services": []
    }
  }
}
