diff options
author | 2018-06-05 15:54:27 +0200 | |
---|---|---|
committer | 2018-06-05 15:54:27 +0200 | |
commit | 4a6ece4ba912ccf3401739843e3dfe3478a0e4d5 (patch) | |
tree | 48fc486d3f2db83aab517247c5b17b2b17986aaf /test/csit/tests/dcaegen2/prh_testcases/resources/prh_keywords.robot | |
parent | 4be4a414c00995d19287f60b78ba75e978fcf134 (diff) |
Added 4 new TC
Issue-ID: INT-510
Change-Id: Iabc9b4d563fd981d60536e45b62a2286f17cd904
Signed-off-by: Mariusz Wagner <mariusz.wagner@nokia.com>
Diffstat (limited to 'test/csit/tests/dcaegen2/prh_testcases/resources/prh_keywords.robot')
-rw-r--r-- | test/csit/tests/dcaegen2/prh_testcases/resources/prh_keywords.robot | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/test/csit/tests/dcaegen2/prh_testcases/resources/prh_keywords.robot b/test/csit/tests/dcaegen2/prh_testcases/resources/prh_keywords.robot deleted file mode 100644 index 1595cd4a4..000000000 --- a/test/csit/tests/dcaegen2/prh_testcases/resources/prh_keywords.robot +++ /dev/null @@ -1,61 +0,0 @@ -*** Settings *** -Documentation The main interface for interacting with PRH. It handles low level stuff like managing the http request library -Library PrhLibrary.py -Library RequestsLibrary - -*** Variables *** - -*** Keywords *** -PRH Suite Setup - [Documentation] Start DMaaP and AAI Mockup Server - ${ret}= Setup DMaaP Server - Should Be Equal As Strings ${ret} true - ${ret}= Setup AAI Server - Should Be Equal As Strings ${ret} true - -PRH Suite Shutdown - [Documentation] Shutdown DMaaP and AAI Mockup Server - ${ret}= Shutdown DMaap Server - Should Be Equal As Strings ${ret} true - ${ret}= Shutdown AAI Server - Should Be Equal As Strings ${ret} true - -Get event from DMaaP - [Arguments] ${ip} ${endpoint} - [Documentation] Get an event from DMaaP - ${url}= Catenate SEPARATOR= ${ip} ${endpoint} - Log Creating session ${url} - Create Session prh-d1 ${url} - ${resp}= Get Request prh-d1 ${url} - Log Received response from dcae ${resp.json()} - [Return] ${resp} - -Send patch from AAI - [Arguments] ${ip} ${endpoint} - [Documentation] Get patch from AAI - ${url}= Catenate SEPARATOR= ${ip} ${endpoint} - Log Creating session ${url} - Create Session prh-d1 ${url} - ${resp}= Patch Request prh-d1 ${url} - Log ${resp} - [Return] ${resp} - -Get json from AAI - [Arguments] ${ip} ${endpoint} - [Documentation] Get json from AAI - ${url}= Catenate SEPARATOR= ${ip} ${endpoint} - Log Creating session ${url} - Create Session prh-d1 ${url} - ${resp}= Get Request prh-d1 ${url} - Log Received response from dcae ${resp.json()} - [Return] ${resp} - -Post json to DMaaP - [Arguments] ${ip} ${endpoint} ${PNF_READY} - [Documentation] Get json from AAI - ${url}= Catenate SEPARATOR= ${ip} ${endpoint} - Log Creating session ${url} - Create Session prh-d1 ${url} - ${resp}= Post Request prh-d1 ${url} data=${PNF_READY} - Log ${resp} - [Return] ${resp} |