aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/instantiate/service_ala_carte.py
AgeCommit message (Collapse)AuthorFilesLines
2022-01-12[TEST] Basic CNF macroLukasz Rajewski1-2/+4
Basic CNF macro added with refactoring that enables debugging under IDE Also SDK upgraded to 9.2 what required adaptation in existing tests Issue-ID: TEST-376 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I697857bc0c13e86b88b71c3b46e0c4b59751939c Signed-off-by: mrichomme <morgan.richomme@orange.com>
2021-10-19[TEST] Added support for multi-vnf macro instantiationJulien Fontaine1-0/+4
Decoupled service YAML template into a model YAML template and a (SO) service YAML template. Model YAML template will be used during the onboarding steps and service YAML template will be used to generate payload when sending instantiation request to SO. Service YAML template reference model name to use for its VNF/VF-Modules using "model_name" field. This provide more flexibility to design the testcase and enables to setup more complex testcases like instantiating several VNF/VF-MOdules using the same SDC model infos. This patch aims to provide backward compatibility for existing testcases based on YAML template. Issue-ID: TEST-358 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: I69d370eff4d383d5af135206476c65e4a56e4ee5
2021-10-17[INTEGRATION] Use the newest onapsdk (9.0.0)Michal Jagiello1-7/+4
Issue-ID: INT-1994 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I3b6e04f5c89265f16674a66317faddee4c9597ab
2021-09-27[TEST] Do not use VID API in testsMichal Jagiello1-2/+2
VID is going to be removed on Istanbul release so in tests we shouldn't use any of it's API. PythonSDK code requires some of the VID package classes for instantiation, but it requires just class instances and not the already created resources. Issue-ID: TEST-364 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ie3822dbb9981f382a94cc7ffd0e1917682bc78ae
2021-07-26[TEST] Use the newest ONAP SDK versionMichal Jagiello1-1/+1
Use `a_la_carte` flag in vnf and vf_module SO deletion Issue-ID: TEST-352 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I6db6bfa28dfe17fb1a1eac7021f941490a73bb6f
2021-03-19Timeout on orchestration requestsMichal Jagiello1-10/+19
Use wait_for_finish method to raise an exception if orchestration requests took more than 10 minutes Issue-ID: TEST-316 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I0d82d91b0f7104caf32e5905d5950047d7551a7b
2021-02-16[TEST] Collect steps cleanup reportsMichal Jagiello1-1/+1
Collect reports of steps cleanup and present them in report Issue-ID: TEST-305 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ie288c85a381c6c53e7ffeb441f07e474a135c42d
2021-02-08Python SDK 7.4.0 compatibilityMichal Jagiello1-2/+3
Use Python SDK exceptions. Issue-ID: TEST-302 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I76996817c0d7b91c0214ad521c3768682ff07e83
2020-11-04Integration tests report enrichmentMichal Jagiello1-0/+20
Improve the step description for better reporting Add duration step in pythonsdk-test reporting Issue-ID: TEST-271 Issue-ID: TEST-272 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I6d46cb38ae236bc578eb15982c2c0b8f2b0c0791
2020-10-21Usecase basic_cnf: remaining errorsThierry Hardy1-1/+1
Error in cleanup phase for all usecases Missing variables in settings for basic_cnf Issue-ID: TEST-243 Signed-off-by: jardellos <thierry.hardy@orange.com> Change-Id: Ic10fc2ae2361f82192a403cf06ee5d8031599acb
2020-10-16Revert "Revert "Create basic_cnf test leveraging onapsdk""Thierry Hardy1-1/+1
This reverts commit ded9ae3b507b9687a68cc00dfc75e13130be13ff. Reason for revert: ONAP SDK 7.1 version is released Correction hardcode value (k8s) and onapsdk version to 7.1.0 Issue-ID: TEST-243 Change-Id: I535af4298f79a34476074612079dc479d2fc0b61 Signed-off-by: Thierry Hardy <thierry.hardy@orange.com>
2020-10-14Improve xtesting integrationmrichomme1-3/+4
All the exceptions shall be caught by the use case Issue-ID: TEST-257 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ie2762ad869d8984ce2125db4a8ef4990ee50f82a Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-10-13Revert "Create basic_cnf test leveraging onapsdk"Morgan Richomme1-1/+1
This reverts commit 0123c525b0182a5d6f9cd1bee3830eb1956239c7. Reason for revert: <it is breaking basic_vm because ModuleNotFoundError: No module named 'onapsdk.msb.k8s' > Issue-ID: TEST-243 Change-Id: Iaf398a11b296b2c2bf55d9a25a588cd32e44077a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2020-10-08Create basic_cnf test leveraging onapsdkThierry Hardy1-1/+1
Add the scenario basic_cnf that uses multicloud-k8s plugin to instantiate cnf on k8s Add the removal of profile in cleanup part Add store_state Issue-ID: TEST-243 Signed-off-by: Thierry Hardy <thierry.hardy@orange.com> Change-Id: Ib743c259decf95cdc69975e1ef7d4ba7aadccfae
2020-10-06Collect steps execution resultMichal Jagiello1-0/+2
Create a decorator to collect step execution result and store them in storage class. Storage class prepare a dictionary with step class name and execution result. Issue-ID: INT-1733 Change-Id: I9c4030a0740085a9acca461c1581683c469ecbcf Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2020-09-25Wait for distribution before launching the instantiationmrichomme1-0/+24
Issue-ID: TEST-240 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ib4fbd3d6b8eb870afd45ae88206ae57d142cf8e0 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-09-18Allows to launch only instantiationThierry Hardy1-5/+6
It is requested to be able to launch instantiation without performing again onboarding and cloud configuration steps. Issue-ID: TEST-254 Signed-off-by: jardellos <thierry.hardy@orange.com> Change-Id: I4e25a0cc4c9e195ed26c96f15ac5ae9a36ec9bfb
2020-09-16Add cleanup functionmrichomme1-1/+28
Issue-ID: TEST-240 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I784e958f869a0cbee702c915509fe80d37d44b65 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-09-10Updated yaml-based instantiation and MultiCloud registryandreasgeissler1-3/+10
Correction for linter and updated run script Issue-ID: TEST-256 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: Ia1f6f41f8fc6ed74c836ea7aa987f10487f377a6
2020-09-08Support non multicloud configurationmrichomme1-1/+6
Add tenant and availability zone manually It is done by multicloud in multicloud mode Use settings.py as the main settings and specific settings per use case Issue-ID: TEST-256 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I3a66a8416cddb546780f784568e7a88f2bd1781b Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-08-24First proposal for the structure for pythonsdk based scenariosMichal Jagiello1-0/+168
Issue-ID: TEST-240 Change-Id: Ic989b26442b868363af7b3872bff49dd70d78be0 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>