Pawel Wieczorek | ea01108 | 2019-11-22 19:33:56 +0100 | [diff] [blame] | 1 | *** Settings *** |
| 2 | | Documentation | Security validation | |
| 3 | | ... | This suite requires declaring ${ACTUAL_NODEPORTS_FILE} | |
| 4 | | Default tags | security | |
Pawel Wieczorek | 0cfb9ae | 2020-01-30 18:06:23 +0100 | [diff] [blame] | 5 | | Library | OperatingSystem | |
Pawel Wieczorek | ea01108 | 2019-11-22 19:33:56 +0100 | [diff] [blame] | 6 | | Library | ONAPLibrary.JSON | |
| 7 | |
| 8 | *** Variables *** |
| 9 | | ${EXPECTED_NODEPORTS_FILE} | ../assets/security/ExpectedNodePorts.json | |
| 10 | |
| 11 | *** Test Cases *** |
| 12 | Validate present NodePorts |
| 13 | | | ${expected_nodeports}= | Get file | ${EXPECTED_NODEPORTS_FILE} | |
| 14 | | | ${actual_nodeports}= | Get file | ${ACTUAL_NODEPORTS_FILE} | |
| 15 | | | JSON should contain sub JSON | ${expected_node_ports} | ${actual_node_ports} | |