aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/cloud
AgeCommit message (Collapse)AuthorFilesLines
2023-08-05Change cleanup process of testsLukasz Rajewski9-63/+62
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Iffe3aeaa4eab6adcabc94d143d1f94a684cd4657
2023-07-18Fix issue in status check after pylama fixxes additionLukasz Rajewski1-1/+1
Issue-ID: INT-2222 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ia68eda6517295ba3916e585403ff7bcc3453b99c
2023-07-17Add pylama into checksMichal Jagiello5-42/+66
Checks code with pylama Issue-ID: INT-2222 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: If275ef90f21e3049abe72bcf373473b40846005c
2023-07-05Exclude certain labels and fix issue with missing selectorsLukasz Rajewski2-18/+26
Issue-ID: INT-2246 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I84974b10ea0b62ccb81a9747e67fe4d9a79f43ba
2023-06-22Status encoding exception fixedLukasz Rajewski1-20/+24
- additional try catch introduced Issue-ID: TEST-400 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ifc8d2015b7f5530476c32cba27d30f8ff11b9933
2023-06-21Namespace status verification 2.0Lukasz Rajewski1-487/+525
- separate steps for resource type - optional version check - new file with details of failed resources Issue-ID: INT-2246 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I538f877ab4d0824fd8dd5e65255c7ecf9545a26b
2023-06-19Configure status tests to not store logspawel.denst1-98/+84
Configure status tests to not store logs Issue-ID: INT-2251 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: Ia395ef033899380cd7e64a6d0e3d9daa067c81bb
2023-06-15Modify Python ONAP SDK tests to not require kubeconfigpawel.denst2-10/+30
Modify Python ONAP SDK tests to not require kubeconfig Issue-ID: INT-2247 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I0d61250a2373d8549696cedaa2c0c5fb721d0e3b
2023-05-31Configure status tests to not create artifactspawel.denst1-61/+74
Configure check_status to not create artifacts Issue-ID: INT-2246 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: I091fe5ceff2bd5a3aba6f1929bb75ae6503a4919
2023-05-29Merge "Fix the order of cleanup of certain steps"Micha? Jagie??o1-1/+1
2023-05-26Fix the order of cleanup of certain stepsLukasz Rajewski1-1/+1
Issue-ID: INT-2239 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I3f7d4d7921e031c4d69ab19862421aeaba4595eb
2023-05-26Change STATUS_RESULTS_DIRECTORY in python-sdk testspawel.denst1-1/+1
Change STATUS_RESULTS_DIRECTORY in python-sdk tests Issue-ID: INT-2245 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: I3563d9896c556379afbd1eba83cdd750a887c8d0
2023-05-23Refactor status verification testLukasz Rajewski2-0/+909
Issue-ID: INT-2239 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I6db4d1d46536b0e1d6aeac2d8c9a569ed007f590
2023-03-10Bump version of onapsdk and use k8s plugin (not via msb)Michal Jagiello1-1/+1
The newest version of onapsdk fix some bugs but most important it uses k8s plugin API and not MSB (which is deprecated) Issue-ID: OOM-3117 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I56d43dff41b0762b983e59d9f364b3c8c8226537
2022-01-12[TEST] Basic CNF macroLukasz Rajewski1-1/+1
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-04-02Basic VM macroMichal Jagiello1-28/+34
Issue-ID: INT-1894 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Idd977cf3082587746fe27718a284197fda4afe5c
2021-02-16[TEST] Collect steps cleanup reportsMichal Jagiello1-0/+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 Jagiello5-15/+25
Use Python SDK exceptions. Issue-ID: TEST-302 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I76996817c0d7b91c0214ad521c3768682ff07e83
2021-01-25PNF simulator CNF instantiation and registation stepsMichal Jagiello3-46/+92
Use CNF of PNF simulator in pnf_macro scenario Issue-ID: INT-1822 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Id7f70b45219a36b7fc70921a1438b0cbe57a1756
2021-01-12Fix steps time measurementMichal Jagiello1-0/+1
Substeps execution time is not stored with the right time of step execution Issue-ID: TEST-292 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I58e2aecb1f3cfb1a2bf78a438fc3d508ecf83cc1
2020-11-04Integration tests report enrichmentMichal Jagiello7-0/+70
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-16Revert "Revert "Create basic_cnf test leveraging onapsdk""Thierry Hardy3-1/+44
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-13Revert "Create basic_cnf test leveraging onapsdk"Morgan Richomme3-43/+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 Hardy3-1/+43
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 Jagiello6-0/+6
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-24Avoid to add vim info with ESR if the vim is already provisionnedThierry Hardy5-115/+88
- Optimization of the cloud configuration - CloudRegionCreateStep was called twice - Change the name of RegisterCloudRegionToMulticloud to RegisterCloudRegion to be more generic - Having the cloud creation in RegisterCloudRegionStep avoid adding the ESR each time an instantiation is launched so the CloudRegionCreateStep is now inserted in RegisterCloudRegionStep - USE_MULTICLOUD was no longer checked - The adding of availability zone and tenant is also moved to RegisterCloudRegionStep Pylint issue corrected Minor errors (init without added step) Issue-ID: TEST-264 Signed-off-by: Thierry Hardy <thierry.hardy@orange.com> Change-Id: Ibfd5506412fd7472144165c19bfe9e4dc53d6e08 Signed-off-by: Thierry Hardy <thierry.hardy@orange.com>
2020-09-10Updated yaml-based instantiation and MultiCloud registryandreasgeissler1-4/+18
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-2/+29
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-09-03Updated onboarding steps and customer creation and added HEAT filesandreasgeissler1-0/+1
Updated README to comply styleguide - hopefully now Issue-ID: TEST-260 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: I29b9709452ab7cccc1bca54e8e3f8a187c560d14
2020-08-24First proposal for the structure for pythonsdk based scenariosMichal Jagiello8-0/+230
Issue-ID: TEST-240 Change-Id: Ic989b26442b868363af7b3872bff49dd70d78be0 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>