Release image version 1.12.2
[testsuite.git] / robot / testsuites / security.robot
1 *** Settings ***
2 | Documentation | Security validation                                    |
3 | ...           | This suite requires declaring ${ACTUAL_NODEPORTS_FILE} |
4 | Default tags  | security                                               |
5 | Library       | OperatingSystem                                        |
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}       |