diff options
author | 2020-10-29 14:03:41 +0100 | |
---|---|---|
committer | 2020-10-29 13:24:52 +0000 | |
commit | 625cc87fc112891fc5945d2f2f0669f3bf75f089 (patch) | |
tree | 11fa285d637747acdf2f797f681bfc03ebd48153 /csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml | |
parent | 413368b561b8f81cb7c36b982190e636d2d3f4ff (diff) |
Add rules parameter for selected rules validation
This commit will add extra, optional parameter for csar-validation command.
New parameter is named "rules", and it allows to specify rules that will be validated.
Using this parameter allows to use refrepo/marketplace to validate selected rules and at the same time guarantee that response format will be exactly the same as for validating all rules,
this is in contrast for validating one rule using csar-validate-<rule>, that returns json significantly different then csar-validate.
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I6eb228d360354c0e249032d013e6a23d1f2713ff
Issue-ID: VNFSDK-700
Diffstat (limited to 'csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml')
-rw-r--r-- | csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml index cefdb2b..b77dfa2 100644 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml +++ b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml @@ -38,6 +38,13 @@ parameters: type: bool is_optional: true default_value: false + - name: rules + description: Rule that should be validate, if left empty all rules will be validated + long_option: rules + short_option: r + type: binary + is_optional: true + default_value: "" results: direction: portrait @@ -67,4 +74,4 @@ results: - name: results description: All test cases results scope: short - type: json
\ No newline at end of file + type: json |