User story #751
Test the typed variables in Directives on a test node
|Assignee:||Nicolas CHARLES||% Done:|
|Category:||Web - Config management|
|Target version:||Ideas (not version specific)|
We need to be able to validate the variables that have been typed in Directives for real, not by just verifying their type.
A good way would be to have a "fake" node that would just have the common and newly created Directive, write the promises and validate them with cf-promises (enterprise and community?) that everythings correct, before saving.
#5 Updated by Nicolas CHARLES about 2 years ago
Currently, the only testts we are doing is when deploying policies; which can be a long time after someone defined a directive (the time for the change to be accepted)
We should be able to immediately check that the directive created is valid (proper variable), and to do so, we should "deploy" it on a dummy node, where we would only cf-promises it