Bartosz Gardziejewski | e872513 | 2020-10-06 14:03:36 +0200 | [diff] [blame] | 1 | *** Variables *** |
| 2 | ${base_url}= http://${REFREPO_IP}:8702/onapapi/vnfsdk-marketplace/v1 |
| 3 | |
| 4 | ${csarpath}= ${SCRIPTS}/../tests/vnfsdk-refrepo/csar |
| 5 | |
Bartosz Gardziejewski | 81df68b | 2020-12-22 14:39:02 +0100 | [diff] [blame] | 6 | ${CERTIFICATION_RULE}= r130206 |
| 7 | ${PM_DICTIONARY_YAML_RULE}= r816745 |
| 8 | ${MANIFEST_FILE_RULE}= r01123 |
| 9 | ${NON_MANO_FILES_RULE}= r146092 |
| 10 | ${OPERATION_STATUS_FAILED}= FAILED |
| 11 | ${OPERATION_STATUS_PASS}= PASS |
| 12 | |
Bartosz Gardziejewski | e872513 | 2020-10-06 14:03:36 +0200 | [diff] [blame] | 13 | ${csar_valid_no_security}= valid_no_security.csar |
| 14 | ${execute_no_security_csar_validation}= [{"scenario": "onap-dublin","testSuiteName": "validation","testCaseName": "csar-validate","parameters": {"csar": "file://${csar_valid_no_security}","pnf":"true"}}] |
Bartosz Gardziejewski | 81df68b | 2020-12-22 14:39:02 +0100 | [diff] [blame] | 15 | ${expected_valid_no_security_warnings}= [{u'lineNumber': -1, u'message': u'Warning. Consider adding package integrity and authenticity assurance according to ETSI NFV-SOL 004 Security Option 1', u'code': u'0x1006', u'file': u'', u'vnfreqNo': u'R130206'}] |
| 16 | |
| 17 | ${csar_invalid_with_security}= invalid_with_security.csar |
| 18 | ${execute_security_csar_validation}= [{"scenario": "onap-dublin","testSuiteName": "validation","testCaseName": "csar-validate","parameters": {"csar": "file://${csar_invalid_with_security}","pnf":"true"}}] |
| 19 | ${execute_security_csar_validation_selected_rules}= [{"scenario": "onap-dublin","testSuiteName": "validation","testCaseName": "csar-validate","parameters": {"csar": "file://${csar_invalid_with_security}","pnf":"true","rules":"${CERTIFICATION_RULE},${PM_DICTIONARY_YAML_RULE}"}}] |
Bartosz Gardziejewski | e872513 | 2020-10-06 14:03:36 +0200 | [diff] [blame] | 20 | |
Bartosz Gardziejewski | e872513 | 2020-10-06 14:03:36 +0200 | [diff] [blame] | 21 | ${csar_invalid_pm_dictionary}= invalid_pm_dictionary.csar |
Bartosz Gardziejewski | 3a55c90 | 2020-10-08 13:04:24 +0200 | [diff] [blame] | 22 | ${execute_invalid_pm_dictionary_r130206_validation}= [{"scenario": "onap-dublin","testSuiteName": "validation","testCaseName": "csar-validate-r130206","parameters": {"csar": "file://${csar_invalid_pm_dictionary}","pnf":"true"}}] |
| 23 | ${execute_invalid_pm_dictionary_validation}= [{"scenario": "onap-dublin","testSuiteName": "validation","testCaseName": "csar-validate","parameters": {"csar": "file://${csar_invalid_pm_dictionary}","pnf":"true"}}] |
Bartosz Gardziejewski | e872513 | 2020-10-06 14:03:36 +0200 | [diff] [blame] | 24 | |