blob: 442da47d8488ae34b9c2dd63bf3277217f79344d [file] [log] [blame]
Pawel Wieczorekea011082019-11-22 19:33:56 +01001*** Settings ***
2| Documentation | Security validation |
3| ... | This suite requires declaring ${ACTUAL_NODEPORTS_FILE} |
4| Default tags | security |
Pawel Wieczorek0cfb9ae2020-01-30 18:06:23 +01005| Library | OperatingSystem |
Pawel Wieczorekea011082019-11-22 19:33:56 +01006| Library | ONAPLibrary.JSON |
7
8*** Variables ***
9| ${EXPECTED_NODEPORTS_FILE} | ../assets/security/ExpectedNodePorts.json |
10
11*** Test Cases ***
12Validate 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} |