aboutsummaryrefslogtreecommitdiffstats
path: root/robot/testsuites/security.robot
blob: 089e12ed6d37cd61dbd70703330ca5cb67b4d569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
*** Settings ***
| Documentation | Security validation                                    |
| ...           | This suite requires declaring ${ACTUAL_NODEPORTS_FILE} |
| Default tags  | security                                               |
| Library       | ONAPLibrary.JSON                                       |

*** Variables ***
| ${EXPECTED_NODEPORTS_FILE} | ../assets/security/ExpectedNodePorts.json |

*** Test Cases ***
Validate present NodePorts
|   | ${expected_nodeports}=       | Get file               | ${EXPECTED_NODEPORTS_FILE} |
|   | ${actual_nodeports}=         | Get file               | ${ACTUAL_NODEPORTS_FILE}   |
|   | JSON should contain sub JSON | ${expected_node_ports} | ${actual_node_ports}       |