aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
12 days[SDNC] Change SDNC API endpointsMichal Jagiello3-3/+3
Fix 404 erros on SDNC due to it's API change Bump version to 13.2.0 Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I2691b9f434b516238d635fbedb2b3750dfa6657a
2024-08-13Fix PNF instance creation templateMichal Jagiello1-1/+1
Use "-" sign instead of "_" on template Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I63ce15c184c167d9c6468afa11730587f6322c40
2024-07-23Refactor AAI service instance resourceMichal Jagiello2-15/+6
Do not require additional parameters to delete service instance (all needed information are in object) Issue-ID: INT-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I9dc7953207e889bc52527a08ac24e701150c92d4
2024-06-14Add modules into settings loader so it would be loaded during initMichal Jagiello2-3/+15
Thanks to that we won't override custom settings by global ones Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I386c5a984743d809be9a2591633c650ca1cf1df9
2024-03-26Fix SDC v2 distribution status - desird statusLukasz Rajewski3-4/+17
If DOWNLOAD_OK check not for all components Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I4111ceb8b3aeb69023d8c80a80b6ef57c95b9575
2024-03-25Fix SDC v2 distribution statuslukasz.rajewski@t-mobile.pl2-2/+13
Check in the status if DOWNLOAD_OK is present Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I270cdc6abfbe658fcd1940f25fa440e11f52e778
2024-03-14Version 13.0.5 -- Add an exception on SDC model distribution checkmichal.jagiello@t-mobile.pl2-1/+71
There is a chance that SO-SDC controller returns an error that some artifact is not used in model. That's not an error which should mark distribution as failed Issue-ID: TEST-404 Change-Id: I27011f5c8989f989b95fa06a4632bf0ef16cc9bf Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2024-03-07Add retry option to onap_serviceLukasz Rajewski1-1/+2
Add retry option to onap_service Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ib86ad8faed3a89786054ab49eeb58f4cc46471fb
2024-02-29Avoid empty newlines in jina templates when if conditions evaluate to falseFiete Ostkamp5-14/+14
- avoid empty newlines for false if statements - this is useful for the logging of the rendered objects in tests Issue-ID: TEST-417 Change-Id: Iaeec217c87e73e316c4ef468007369facbf9a02f Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-02-27Fix distribution status check errorMichal Jagiello2-1/+12
Check if the set of components to which distribution is required is a subset of the set of components to which the service model has beed distributed Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I4ed15a38022ccefab8148fa9f46a4e5ef38dc212
2024-02-22Fix latest SDC distribution list retrieval (old API)Lukasz Rajewski2-3/+4
Distributions must be sorted when returned from SDC Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I0bb916f304f047e90b7a310d00b32f7ce9dea1c5
2024-02-02Fix SDC v2 lifecycleOperation bugMichal Jagiello5-13/+13
Relese 13.0.2 version with fix Issue-ID: TEST-404 Change-Id: I076223ad3cb982fbf5035baa5254b1696f6408c7 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2024-02-02Bugfix version 13.0.1Michal Jagiello2-1/+5
Fix a bug on query creation related with fact that Enum by default not use it's values as a __repr__ (which is a StrEnum default behaviour but it's not available on Python 3.8) Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I4a71d4c32f1f2f784c7bb12abde194c9673f8eae
2024-02-01Create 13.0.0 (Montreal) versionMichal Jagiello5-971/+3
Remove code of deprecated modules and functions Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I8fbab8688e35820272522705638d65d871fb3421
2024-01-31SDC refactor to use sdc v2 APIMichal Jagiello11-3/+2509
It's faster and usage of archive/deletion of resources is possible Issue-ID: TEST-404 Change-Id: I362c1c282afcd8b4ce3e540bc23a4751861e3b4f Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2024-01-25Merge "Create 12.10.0 version"Lukasz Rajewski1-1/+1
2024-01-25Create 12.10.0 versionMichal Jagiello1-1/+1
Version include new NBI API to get a service specification schema for requested service specification Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ib638632b97c5f159cf4538780ed30e411960caee
2024-01-24Updating onap-sdk to list service catalog in nbisheetal ghadge1-0/+13
Issue-ID: TEST-415 Change-Id: I55bf2b1352b0b006dc3e3b6100cadaecc3e4d672 Signed-off-by: sheetal ghadge <sheetal.ghadge@t-systems.com>
2024-01-18Update version to 12.9.0Michal Jagiello1-1/+1
It contains changes for NBI module Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Iac70fc8f35c42b361a04e3408e05484019bb0a16
2024-01-18Added resource related API in NBI classA2002311211-1/+137
Add Resource class Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I9b972f94aa613bbddb65f5492a1209ea0702b083
2024-01-11Refactor bulk classMichal Jagiello1-3/+162
Find failing requests and retry bulk without them Issue-ID: TEST-404 Change-Id: Ia60f7761bcee99bcb6d0af0381db267d259e77a2 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2024-01-11Issue-ID: TEST-414Abhishek Patil3-0/+42
Signed-off-by: Abhishek Patil <abhishek.patil@t-systems.com> Change-Id: If15b480a5fd748dc664e1234d3af5bda0b7c87a8
2024-01-1012.8.0 versionMichal Jagiello1-1/+1
Delete service instance from A&AI Issue-ID: TEST-413 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: If15b480a5fd748dc664e9754d3af5bda0b7c87a7
2024-01-09change to delete service instance from aai:Updated service.py & nbi.py modulesheetal ghadge2-12/+28
Issue-ID: TEST-413 Change-Id: If2e670e9ab3e819099376148620b47b36adb051d Signed-off-by: sheetal ghadge <sheetal.ghadge@t-systems.com>
2023-12-19Refactor CPS module url creationMichal Jagiello2-25/+25
Switch from string formatting into urllib urljoin. Fix issue with invalid CPS requests urls Issue-ID: INT-2277 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I37583aa3517be6cc27ed547ca6b11b19d6ccaca7
2023-12-14Bugfix version 12.7.2Michal Jagiello1-1/+1
Fix invalid PNF instantiation template Issue-ID: INT-2278 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ic0fdd7cd77127770a140ed8d056258d3497d705f
2023-12-13Fix CPS create schema setMichal Jagiello1-1/+1
Schema set creation method was sending invalid schema set name parameter Issue-ID: INT-2277 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I46cd318eca2a4f39166768ff05c4fc8da2d29746
2023-11-24A&AI PNF methodsKedar Ambekar3-7/+97
Add methods to maintenance PNF in A&AI. Create 12.7.0 version Issue-ID: TEST-404 Change-Id: Idbb0bc08e7181c6a3db47f5dfd0362e1672eac36 Signed-off-by: Kedar Ambekar <kedar.ambekar@t-systems.com>
2023-11-02Sonarqube fixesmichal.jagiello@t-mobile.pl7-26/+13
Code was linted using sonarqube and fixes was made Issue-ID: TEST-404 Change-Id: Id5874b8f4f392228743cd12657a8efcb1ded0b5b Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2023-10-27Fix regression on patching any objects other than AAI resourcesMichal Jagiello1-1/+1
Due to fact that for patching some specific headers was set (due to fact A&AI requires that) all other resources couldn't be patched. That's a quick fix for that issue Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I79d70d5bb6541db1c8b1b10db2d9091e16211846
2023-10-27Merge "Formatting fixes on NBI module"Lukasz Rajewski1-208/+200
2023-10-27Formatting fixes on NBI modulesheetal ghadge1-208/+200
Updated __repr__ method for str & some pylama fix for long lines. Issue-ID: TEST-411 Change-Id: Id046b2e8b06fefdb64b6245f3195a546e733299d Signed-off-by: sheetal ghadge <sheetal.ghadge@t-systems.com>
2023-10-26Unlink complexMichal Jagiello3-4/+23
Add missing method to unlink (delete relationship) with complex Issue-ID: TEST-404 Change-Id: I393fa5a2c98dbc01a5620e8e58f8c27ebf734631 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2023-10-19ONAP SDK 12.5.0 versionMichal Jagiello1-1/+1
Provides: - delete anchor method for CPS dataspace - multiple functionalities for A&AI resources - modification of PNF using SO - end of support for Python 3.7 version - changes required to support Python 3.12 version Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ia65da6186d3ac82166e2d1d01be0168951b8af5b
2023-10-19Fix tests for Python 3.12 versionMichal Jagiello5-13/+13
Some attributes were deprecated and are not available on Python 3.12 version Issue-ID: TEST-404 Change-Id: Ib306e6515038ea245c56c3ea64c434b003a92bf6 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2023-10-19Merge "changes for update functionality for entities.."Micha? Jagie??o4-0/+73
2023-10-19modify pnf in service(so) patch updatesheetal ghadge1-0/+35
Issue-ID: TEST-410 Change-Id: I3488088b2068ca084cedd705627b5c454bfb8cae Signed-off-by: sheetal ghadge <sheetal.ghadge@t-systems.com>
2023-10-18changes for update functionality for entities..Kiran4-0/+73
Issue-ID: TEST-412 Change-Id: I598c289f87fff80323ef979600df45d4fa4591dd Signed-off-by: Kiran <kiran.mhetre@t-systems.com>
2023-10-16Merge "Add delete-anchor method for cps"Micha? Jagie??o1-0/+9
2023-10-16Add delete-anchor method for cpsArne Chrestin1-0/+9
Issue-ID: TEST-408 Signed-off-by: Arne Chrestin <arne.chrestin@telekom.de> Change-Id: I6ad9c25dbe9b45fdaf357d0a540332089be5a6a6
2023-10-16Create package with version on different formatMichal Jagiello1-1/+1
Release jobs requires that version format Issue-ID: TEST-407 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I8b602898c9e5ebe9245e4e88e798ba0ed22fe25d
2023-10-09Release 12.4 versionMichal Jagiello1-1/+1
Changes: * more A&AI methods for several resources Issue-ID: TEST-407 Change-Id: I6aa5bdc340ed154df24e1f5421e8d9ee11de1c70 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2023-10-05updated changes for delete functionality for entities and relationship ↵Kiran7-68/+307
between entities. Issue-ID: TEST-407 Change-Id: Ie8abaee76af001260ae999d3e56e886b8f449517 Signed-off-by: Kiran <kiran.mhetre@t-systems.com>
2023-09-25Fix invalid pnf model instantiation parametersMichal Jagiello1-1/+1
Use PNF instantiation parameters instead of service's ones Issue-ID: INT-2264 Change-Id: I6fea78df4467d4751f4a7fc008e9de9ef7219955 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2023-09-15Regression quickfixMichal Jagiello1-1/+1
Release 12.3.1 quickfix version Issue-ID: INT-2137 Change-Id: I785e7256bc5678e098cdf77d78d9ee27db8fd69f Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2023-09-14Release 12.3.0 versionMichal Jagiello1-1/+1
Includes: * [SO] Instantiate Service Without Resource Issue-ID: TEST-405 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I89c248ce57c8c13b3ea13f0990df958727d867eb
2023-09-13[SO] Instantiate Service Without Resourcesheetal ghadge1-191/+221
Updated jinja template & unit test for service withoutt resource Issue-ID: TEST-405 Change-Id: I6c163b038dbd7fc7e3afbe12e5da21d1b5b7f5ea Signed-off-by: sheetal ghadge <sheetal.ghadge@t-systems.com>
2023-07-28Release 12.2.0 versionMichal Jagiello1-1/+1
New PNF instantiation functionalities Issue-ID: INT-1234 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ica039562c17c5248e9d74795fbe1d37db76a5fe5
2023-07-27ONAP SDK to add new PNF functionalityAbhishek Patil2-48/+64
Issue-ID: TEST-401 Change-Id: Ib603b9aaad43bb8c55ff5c2c23cd9a1a36475de9 Signed-off-by: Abhishek Patil <abhishek.patil@t-systems.com>
2023-07-05Release v12.1.0 versionMichal Jagiello1-1/+1
Contains bug fix for CPS and new method for SDC Service Issue-ID: INT-2222 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I53d24d7a7a1ef89b38700579e9b33d52a20464dd