aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps
AgeCommit message (Collapse)AuthorFilesLines
2020-10-16Added basic_network testcaseandreasgeissler4-16/+188
Issue-ID: TEST-255 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: I86b34c0980cee7a5824231591a60d1f50dfe4f37 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-10-15Fix bad path of the logs in the reporting pagemrichomme1-3/+2
Issue-ID: TEST-270 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ief03cf6916b417fb0c80c5086ffe8e73f3865329 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-10-14Improve xtesting integrationmrichomme4-9/+14
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-13Merge "Revert "Create basic_cnf test leveraging onapsdk""Morgan Richomme7-220/+8
2020-10-13Revert "Create basic_cnf test leveraging onapsdk"Morgan Richomme7-220/+8
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-12Merge "Create basic_cnf test leveraging onapsdk"Morgan Richomme7-8/+220
2020-10-08Create basic_cnf test leveraging onapsdkThierry Hardy7-8/+220
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-08Add reporting page creation in pythonsdk-testsmrichomme1-3/+32
Issue-ID: TEST-269 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I4ab0a2f7a1a1e98ae5d05166c6aa06212d24eeae Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-10-06Collect steps execution resultMichal Jagiello15-0/+89
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-29Update path managementmrichomme1-2/+6
In case a yaml file is defined the zip was referenced in 2 places consider only the yaml param if the yaml file is defined Add the python path to simplify the integration in CI a,d avoid overwritting any configuration only the 2 ENV parameters + the openstack cloud + the hosts are needed to run any pythonsdk-test Issue-ID: TEST-240 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I57bf303b497e4d2b1dd740286f07beb3783222b1 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-09-28Merge "Wait for distribution before launching the instantiation"Morgan Richomme1-0/+24
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-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-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 functionmrichomme3-9/+116
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 registryandreasgeissler5-11/+50
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 configurationmrichomme2-3/+35
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-04Add proxy support for pythonsdk-testsmrichomme1-2/+15
Issue-ID: TEST-253 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Icc411e8418a698dd031bc5338d38311b85da113b Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-09-03Updated onboarding steps and customer creation and added HEAT filesandreasgeissler4-3/+4
Updated README to comply styleguide - hopefully now Issue-ID: TEST-260 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: I29b9709452ab7cccc1bca54e8e3f8a187c560d14
2020-08-31Add logger in python-sdktestsjardellos1-1/+17
Adding of logger to onaptests setting the stream and file handlers based on settings.py onapsdk should evolve to include the same code This would avoid to add it in run.py Simplification of the proposal based on remarks from Michal and Morgan Issue-ID: TEST-252 Signed-off-by: jardellos <thierry.hardy@orange.com> Change-Id: I5b7baf77580df916c4f5e62965a47d8462b44c43
2020-08-24First proposal for the structure for pythonsdk based scenariosMichal Jagiello19-0/+924
Issue-ID: TEST-240 Change-Id: Ic989b26442b868363af7b3872bff49dd70d78be0 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>