diff options
author | Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> | 2021-02-16 17:15:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-02-16 17:15:50 +0000 |
commit | a680781ff2266be181cad97275514ab5bb6716e4 (patch) | |
tree | 7b815dc6569e311ad2433f9345766ea3c4b2ad0e /tests/so/etsi/etsi_package_onboarding_tests.robot | |
parent | f28a4e8c9ac2278890b3b6d0dcaa481880154f28 (diff) | |
parent | afd22dac87adc52066e35a9ac5b475fc17f2ca69 (diff) |
Merge "Add initial configurations + basic test for ETSI NFVO NS LCM CSIT Tests"
Diffstat (limited to 'tests/so/etsi/etsi_package_onboarding_tests.robot')
-rw-r--r-- | tests/so/etsi/etsi_package_onboarding_tests.robot | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/so/etsi/etsi_package_onboarding_tests.robot b/tests/so/etsi/etsi_package_onboarding_tests.robot index e4694e01..c48101c8 100644 --- a/tests/so/etsi/etsi_package_onboarding_tests.robot +++ b/tests/so/etsi/etsi_package_onboarding_tests.robot @@ -51,6 +51,17 @@ OnBoard VNF Package In Etsi Catalog Run Keyword If '${actual_job_status}' == 'finished' log to console \nexecuted with expected result Should Be Equal As Strings '${actual_job_status}' 'finished' +Onboard Network Service Package In Etsi Catalog + Create Session etsi_catalog_session http://${REPO_IP}:8806 + ${data}= Get Binary File ${CURDIR}${/}data${/}networkServicePackageOnboardRequest.json + &{headers}= Create Dictionary Content-Type=application/json Accept=application/json + ${resp}= POST On Session etsi_catalog_session /api/catalog/v1/nspackages data=${data} headers=${headers} + log to console ${resp.content} + + Run Keyword If '${resp.status_code}' == '202' log to console \nexecuted with expected result + Should Be Equal As Strings '${resp.status_code}' '202' + + Distribute Service Template Create Session sdc_controller_session http://${REPO_IP}:8085 ${data}= Get Binary File ${CURDIR}${/}data${/}distributeServiceTemplate.json |