cloud-validation-framework icon indicating copy to clipboard operation
cloud-validation-framework copied to clipboard

`filesystem` connector problem when using `folderPath`

Open farchide opened this issue 4 years ago • 1 comments

When using folderPath in the filesystem connector to test a local file, prancer raises an error looking for the config.ini file inside the data folder.

steps to reproduce:

connector file:

  {
      "fileType": "structure",
      "type": "filesystem",
      "companyName": "prancer",
      "folderPath":"/tmp/repos/prancer-hello-world/validation/terraform-test/data"
  }

running prancer gives the following error:

prancer terraform-test

  2021-07-12 11:53:21,988(cli_validator: 134) FRAMEWORDIR environment variable NOT SET, searching in current directory.
  2021-07-12 11:53:21,996(cli_validator: 135) Configuration(/tmp/repos/prancer-hello-world/validation/terraform-test/dataconfig.ini) INI file does not exist!

it searches for the config.ini file inside the data folder which is not correct.

This behavior is observed in the python3 virtual env.

farchide avatar Jul 12 '21 19:07 farchide

We will verify if this folderpath field exists

jaiminswan avatar Dec 27 '22 06:12 jaiminswan