run configuration: improve the way we handle bundle dir
vgramer opened this issue · 1 comments
vgramer commented
What would you like to be added
- rename
bundle
tosource directory
in the UI� (using OPA doesn't mean you ever used bundles, so that concept may be unfamiliar.) - set the default value of
bundleDir
to the workspace directory. In the case where the project contains only opa files, it allows to eval / test policies in one click.
note: if bundleDir
's value is defined in the run configuration template, we must not overwrite it
frangauthiercgi commented
+1 on this
Here is my issue:
Our project is only used for OPA policies writing. To test we use the command opa test project_directory/ -v
but we are unable to reproduce the same outcome using the plugin.
Bundle parameter seems mandatory and our tests are failing when specifying a Bundle path.
An option to set the bundle parameter as optional and using the project root as default would be appreciated.