aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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-10-01Fix artifact path in clearwater_ims use casemrichomme1-1/+1
Issue-ID: TEST-224 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I4e958954939e2068f133a5ee934b69064a21739a
2020-10-01Param missing for clearwater_ims use casemrichomme1-0/+3
Issue-ID: TEST-242 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: If32d9bd1416afaf98f30eb801f92a13ecb1c8510
2020-10-01Update entry point to consider clean as part of the testmrichomme2-28/+24
It is not just a teradown oepration for extra resources We must verify that resources have been properly cleaned Issue-ID: TEST-240 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ifc0301ba6f35b05d74dc43ac86203f11ada0789e
2020-09-29Update path managementmrichomme6-26/+33
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-29Add heat zip filesmrichomme4-2/+2
due to the gitignore, the heat files for basic_vm and clearwater_ims were not available Issue-ID: TEST-240 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ia87999fbf28d0f1037227150fc247fae128d80d7
2020-09-28Merge "Wait for distribution before launching the instantiation"Morgan Richomme2-1/+24
2020-09-28Merge "Prepare python package to integrate it in xtesting docker"Thierry Hardy6-2/+179
2020-09-25Wait for distribution before launching the instantiationmrichomme2-1/+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-25Prepare python package to integrate it in xtesting dockermrichomme6-2/+179
- creation of entrypoint - include templates in the package - complete requirements Open question for integration python reviewers: - I was not able with the MANIFEST to use the template directory until I put it in the package tree. I am not sure it is very nice.. Maybe it is not the right way, we could simply copy the templates in the docker rather than including them as part of the python package.. Note: I retested the ubuntu16 (onboarding/deployment/instantiation) on the Daily Master Issue-ID: TEST-258 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I26f3e959b9c5e341ab197a6c519ca87e31921921 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 Hardy3-6/+12
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 functionmrichomme5-14/+196
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-14Consider SERVICE_NAME from the yaml filemrichomme1-2/+12
avoid duplication in yaml and settings if not defined in Yaml, possibility to set it up manually Issue-ID: TEST-240 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ib005eaea78e109b6917f2a09ae04ce0c2c511660
2020-09-10Updated yaml-based instantiation and MultiCloud registryandreasgeissler6-17/+56
Correction for linter and updated run script Issue-ID: TEST-256 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: Ia1f6f41f8fc6ed74c836ea7aa987f10487f377a6
2020-09-09Use clouds.yaml rather than duplicating the openstack data in the confmrichomme2-20/+25
Issue-ID: TEST-261 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I624fca14a30dde9e704a9b982b55cbb8028b37fd Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-09-08Support non multicloud configurationmrichomme5-34/+129
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-testsmrichomme2-2/+17
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-sdktestsjardellos2-1/+49
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 Jagiello22-0/+964
Issue-ID: TEST-240 Change-Id: Ic989b26442b868363af7b3872bff49dd70d78be0 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>