aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/configuration
AgeCommit message (Collapse)AuthorFilesLines
2024-02-28Fix pylint issuesLukasz Rajewski1-2/+2
Fix pylint issues Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I6eccf2b346eace80a0529c3ef45db3ed75167850
2024-02-26Fix the issue of basic_vm_macro configurationLukasz Rajewski1-10/+13
- Fix the issue of basic_vm_macro introduced after refactoring - new SDK version used - tox updated with helper commands Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I46aedcd08279142b2da48a431ab4f21ae1c9d3d1
2024-02-15Change default value of SDNC_DB_PRIMARY_HOST into mariadb-galeraMichal Jagiello1-1/+1
That configuration value depends on the ONAP setup configuration but by default SDNC uses mariadb-galera as a database Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I91bdb6eda0384fd53455411ace53422417cbb610
2024-02-12Improve verification of distribution statusLukasz Rajewski1-1/+1
- distribution excluded from instantiation - more steps to get details of error Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I2770a4d6ec6887b6e7b54e31ee4979c2b18e5d20
2024-02-08Fixed issue of subscription name for pnf macroLukasz Rajewski1-1/+12
Fixed issue of subscription name for pnf macro Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ib32763b8e5922c71bbd10f680e5a00d52fddcda2
2024-02-06Enable SDNC DB connection check and healtcheckLukasz Rajewski1-0/+3
Use also SDNC check before SO instantiate calls Issue-ID: TEST-395 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I7c9d3fd4136cc620b931b89275b4021bd93171ba
2024-02-02Refactor tests to use SDC v2 onapsdk moduleMichal Jagiello8-118/+80
Refactored SDC allows to archive and delete SDC resources Remove unmaintained test basic_clamp Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I11e4be6f4567098b20733879e393c689766a9c6e
2024-01-31Changes in the packages sort orderLukasz Rajewski13-26/+41
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I9f8ac40254e6a052c4b3ced5b05e21d7e84fa37f
2024-01-29Enhanced validation of configuration of all testsLukasz Rajewski18-107/+108
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I2e4ef6365b44c33f4c0b3e72886a83f92c63e2f3
2023-10-23Move msb k8s override values configuration on the top settings levelmontrealMichal Jagiello3-2/+1
With the current override implementation on gating there is no way to modfy that value there Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I0ca8654c5320d7eb32318d7cb0b1cce44387e2ef
2023-10-19Make pnf-simulator helm chart configurableMichal Jagiello2-0/+2
PNF simulator couldn't be configured on demand (e.g. image couldn't be changed) That version allows override values and run customized version of pnf-simulator Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ic18bdaeaa782b61478579056d5ba1a893087d85c
2023-09-14Support additional namespaces in the status testLukasz Rajewski1-0/+1
Support additional namespaces in the status test Issue-ID: TEST-406 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ia4a4fd8aad4af02da598f6f64954d85c02349a15
2023-09-04Improve-CPS-sanity-testpawel.denst1-0/+1
Improve-CPS-sanity-test Issue-ID: INT-2263 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: I03c30e40667ab1796d373c8b617a18cfca7c1988
2023-09-01Improve-CPS-sanity-testpawel.denst1-0/+35
Improve CPS sanity test Issue-ID: INT-2263 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: I64c54920d1c70c5aa8befb058402fe234eaab1e8
2023-08-08Fix pylama errorsMichal Jagiello2-2/+2
Some new code was not checked by pylama and we have new errors Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I5e92f0bbbafedc8852599eb3fb3423509c3e0d12
2023-08-08Simplify PNF Macro VES Send processLukasz Rajewski3-0/+4
Issue-ID: TEST-404 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I7b3fd8f4bd96ff02dadf2662a1a16079a00fb1d0
2023-08-05Change cleanup process of testsLukasz Rajewski2-0/+2
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Iffe3aeaa4eab6adcabc94d143d1f94a684cd4657
2023-07-17Add pylama into checksMichal Jagiello18-134/+141
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 Rajewski1-0/+3
Issue-ID: INT-2246 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I84974b10ea0b62ccb81a9747e67fe4d9a79f43ba
2023-06-22Status encoding exception fixedLukasz Rajewski1-1/+3
- 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-2/+89
- 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-16Merge "Modify Python ONAP SDK tests to not require kubeconfig"Lukasz Rajewski1-1/+2
2023-06-15Enhanced SDNC test to cover SVC logic checkLukasz Rajewski1-0/+6
Issue-ID: TEST-395 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I1e49e8652d06b4c0147e8e1280ccbac9af83b8d4
2023-06-15Modify Python ONAP SDK tests to not require kubeconfigpawel.denst1-1/+2
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-06-02Merge "Configure status tests to not create artifacts"Micha? Jagie??o1-1/+2
2023-05-31Create SDNC Sanity testAleksandr Taranov1-0/+69
Issue-ID: TEST-395 Signed-off-by: Aleksandr Taranov <aleksandr.taranov@telekom.com> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I2a035beb74510013eb8e04aecd90c648af77fe28
2023-05-31Configure status tests to not create artifactspawel.denst1-1/+2
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-30ONAP Python SDK tests should generate JSON artifact (next to HTML)pawel.denst1-1/+3
Generation of report file in JSON format Issue-ID: INT-2235 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ib99a0cb8bf317633e19a4a2e1c41d611a3b9f343
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 Rajewski1-0/+7
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-05-18"Configure ONAP Python tests to not expose services"Pawe? Denst1-0/+1
Changed name of setting value Issue-ID: INT-2234 Change-Id: I3f56707e9310164560c4c866b527b6c75a477cfa Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl>
2023-05-18Revert "Configure ONAP Python tests to not expose services"Pawe? Denst1-1/+0
Changed name of setting value Issue-ID: INT-2234 Change-Id: I22f35a4cdff076862f086cb15d06e3d0101c883a Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl>
2023-05-11Configure ONAP Python tests to not expose servicespawel.denst1-0/+1
Changed name of setting value Issue-ID: INT-2234 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: I7c66789753f54e76217f16f9b9bc4ac5b89bd7e7
2023-04-17Disable SDC resources cleanupMichal Jagiello3-6/+1
SDC resources deletion makes a lot of issues, so should be enabled on demand and enabled for all tests after all needed fixes Issue-ID: INT-2193 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ice1d3558403851e98a05c99608a5ed0ecf0d6689
2023-03-29Test pnf_macro fixMichal Jagiello2-1/+4
Configure and check service distribuiton for 30 minutes Issue-ID: INT-2193 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I316a3e5c179530ba92c87c43795643e9faf30048
2023-03-15Add cleanup to sdc resources ondboarding stepMichal Jagiello2-3/+6
Delete SDC resources on cleanup Bump onapsdk requirements to 10.4.2 Issue-ID: INT-2193 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Id9e51f07a9c91a02b67a87eb897a2a4d19fa6738
2023-02-02[CPS] Create basic_cps testMichal Jagiello1-0/+46
Create test to check if creating basic cps resources (dataspace, schema-set, anchor) works and it's possible to create a node on an anchor. Issue-ID: INT-2194 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I86c5a80da65b90e2f1a228fcc7fc46a54bee92bc
2022-04-04[TEST] Change of the k8sregion nameLukasz Rajewski3-4/+4
Change of the k8sregion name to avoid overlap between two different tests Issue-ID: TEST-384 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ia734694e8ba9880f90888fed2182c753e11ed8c0
2022-01-12[TEST] Basic CNF macroLukasz Rajewski14-96/+155
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-12-14[TEST] Do not create simulators in "onap" namespaceMichal Jagiello3-13/+16
As described in ticket - that resource shouldn't be created in onap namespace because if it's not properly deleted it has impact on the security tests results. Note: That change doesn't require any additional work in lab preparation - the namespace is going to be created by MSB K8S plugin. Issue-ID: TEST-356 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I0acf6262e3c8c9fbe9113d96e62960ce36ece04c
2021-10-19[TEST] Added support for multi-vnf macro instantiationJulien Fontaine11-0/+101
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-11Merge "[TEST] CDS resource-resolution test"Michal Jagiello1-0/+79
2021-09-13[BASIC_CLAMP] Adapt tca clamp pluginmrichomme1-4/+28
The clamp plugin needs to be updated to match DCAE enhancements Issue-ID: INT-1978 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I7a3b96470ec3cff4c2ee1092f282058bff368311
2021-09-02[TEST] CDS resource-resolution testMichal Jagiello1-0/+79
Issue-ID: TEST-291 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I5d9f55b67942c62f63e11282ef2383fe063d3137
2021-08-25[TEST] Unwind master back to 27.07.2020Krzysztof Opasiak3-87/+6
Unwind master due to regression in few tests. Issue-ID: OOM-1 Change-Id: I3b759a5928aeb47fc7fddeaa5998aa090d085c5c Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2021-08-19[TEST] Do not create pnf simulator in "onap" namespaceMichal Jagiello2-1/+3
As described in ticket - that resource shouldn't be created in onap namespace because if it's not properly deleted it has impact on the security tests results. Note: That change doesn't require any additional work in lab preparation - the namespace is going to be created by MSB K8S plugin. Issue-ID: TEST-356 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ie7b288ce81b0fab0f746622d863cd48497d739e9
2021-08-19Merge "CDS resource-resolution test"Morgan Richomme1-0/+77
2021-08-03[TEST] Additional cleanup before MSB K8S instance creationMichal Jagiello1-5/+7
Issue-ID: TEST-354 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I507e15fb89eb019508387284f8ed76075709cf13
2021-07-30CDS resource-resolution testMichal Jagiello1-0/+77
Issue-ID: TEST-291 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I441f2486b38481624eeefa18f47840d4c7a3db9d
2021-07-05[TEST] Basic macro stability scenarioMichal Jagiello1-0/+4
Issue-ID: TEST-349 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I951e9720668de9bf00136d4e043c9fe8950061f1