cloud-validation-framework
cloud-validation-framework copied to clipboard
`filesystem` connector problem when using `folderPath`
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.
We will verify if this folderpath field exists