Age | Commit message (Collapse) | Author | Files | Lines |
|
Instead of catching all exceptions that can occurs and miss one, let's
create a "parent" exception class for OnapTest and catch only this one.
In order to know what's the error, we also create a class attribute
(`error_message`) that gives us the reason for exception.
Issue-ID: INT-1796
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I798d8c6270c466b1d9be6511f52fd9441401c9c8
(cherry picked from commit 9c71e24adaaedd07d7e2e65922c5a3cee27318c9)
|
|
Issue-ID: INT-1788
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ifd1953e4685e88a7b6323c2838a5e54e469948e0
|
|
Issue-ID: TEST-251
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I613404382e2f9abab1aa9d30f6cba0c85c1c289e
|
|
The TCA microservice yaml must be updated for Guilin, it uses a new policy
Issue-ID: CLAMP-977
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I9dd857906487d9f5b0d25a84add3836cbd4fea42
|
|
|
|
Issue-ID: TEST-240
Signed-off-by: amine ezziati <mohamedamine.ezziati@orange.com>
Change-Id: Ib612f1670aca10d9ac9f15fadb9cab58a7d8e5a8
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
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
|
|
Kubernetes resources name are based on the release name whose name has changed in onap master release
compared to Frankfurt. This name is now override in helm package
Issue-ID: TEST-243
Signed-off-by: Thierry Hardy <thierry.hardy@orange.com>
Change-Id: I97df6f5b22ac04d7d84c81c1d9ebdb70b3edd2c1
|
|
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
|
|
Issue-ID: TEST-269
Signed-off-by: morganrOL <morgan.richomme@orange.com>
Change-Id: I94a480aef910eb814b30c04b86eb206530b66c5c
|
|
Issue-ID: TEST-254
Signed-off-by: morganrOL <morgan.richomme@orange.com>
Change-Id: Ie59ba7935119f193a1f4cba2f0a5722ed1783441
|
|
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>
|
|
Issue-ID: TEST-255
Signed-off-by: andreasgeissler <andreas-geissler@telekom.de>
Change-Id: I86b34c0980cee7a5824231591a60d1f50dfe4f37
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
Issue-ID: TEST-270
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ief03cf6916b417fb0c80c5086ffe8e73f3865329
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
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>
|
|
|
|
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>
|
|
|
|
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
|
|
Issue-ID: TEST-269
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I4ab0a2f7a1a1e98ae5d05166c6aa06212d24eeae
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
|
|
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>
|
|
They contain reference to GPLv3 [1]
Issue-ID: INT-1732
[1]: https://lfscanning.org/reports/onap/onap-2020-10-48775714-948d-4f9d-b93f-13de323390f2.html
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Iecb438f1c99881a0e9ca28e27142072a46f77bcb
|
|
Issue-ID: TEST-224
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I4e958954939e2068f133a5ee934b69064a21739a
|
|
Issue-ID: TEST-242
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: If32d9bd1416afaf98f30eb801f92a13ecb1c8510
|
|
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
|
|
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>
|
|
|
|
Issue-ID: TEST-240
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ide0690c3c75a967e1cfa1ce44b1ff7199867cfbd
|
|
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
|
|
|
|
|
|
Issue-ID: TEST-240
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ib4fbd3d6b8eb870afd45ae88206ae57d142cf8e0
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
- 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>
|
|
|
|
- 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>
|
|
Issue-ID: INT-1724
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I4f06a7890cee119f7e905b59db5255d15b6adc14
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
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
|
|
Issue-ID: TEST-240
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I784e958f869a0cbee702c915509fe80d37d44b65
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
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
|
|
Correction for linter and updated run script
Issue-ID: TEST-256
Signed-off-by: andreasgeissler <andreas-geissler@telekom.de>
Change-Id: Ia1f6f41f8fc6ed74c836ea7aa987f10487f377a6
|
|
Issue-ID: TEST-261
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I624fca14a30dde9e704a9b982b55cbb8028b37fd
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
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>
|
|
Issue-ID: TEST-253
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Icc411e8418a698dd031bc5338d38311b85da113b
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
Updated README to comply styleguide - hopefully now
Issue-ID: TEST-260
Signed-off-by: andreasgeissler <andreas-geissler@telekom.de>
Change-Id: I29b9709452ab7cccc1bca54e8e3f8a187c560d14
|
|
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
|
|
Issue-ID: TEST-240
Change-Id: Ic989b26442b868363af7b3872bff49dd70d78be0
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
|
|
|
|
move from INT to TEST
Issue-ID: INT-1607
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ifbb1f3290fbe4858a6734d39cc64336c06301bbd
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
Issue-ID: INT-1607
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I668882bcceb98c47896486c600f24fae52341b61
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|