aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2024-03-26Fix SDC v2 distribution status - desird statusLukasz Rajewski3-2/+14
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-4/+19
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-4/+10
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 Rajewski2-2/+5
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 Ostkamp40-323/+323
- 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-2/+2
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/+5
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-11Fix latest SDC distribution list retrievalLukasz Rajewski1-2/+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: I0b8b0245ca4ab105d7c2cc90fbc7d04b1b294dfa
2024-02-05Fix parameter types on some methods docMichal Jagiello2-18/+18
Some methods documentation had invalid parameters types what could be confusing for developers Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I8def66fa7211d85f07b8d935e9fe39c4c029ecaf
2024-02-02Fix SDC v2 lifecycleOperation bugMichal Jagiello2-4/+4
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-2/+2
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 Jagiello11-272/+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 Jagiello21-3/+2165
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-1/+28
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 classA2002311213-3/+114
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 Jagiello3-28/+202
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-11Merge "Issue-ID: TEST-414 Signed-off-by: Abhishek Patil ↵Micha? Jagie??o3-3/+249
<abhishek.patil@t-systems.com> Change-Id: If15b480a5fd748dc664e1234d3af5bda0b7c87a8"
2024-01-11Issue-ID: TEST-414Abhishek Patil3-3/+249
Signed-off-by: Abhishek Patil <abhishek.patil@t-systems.com> Change-Id: If15b480a5fd748dc664e1234d3af5bda0b7c87a8
2024-01-11Fix issue of resolving the CPS datasapces on montreal relLukasz Rajewski1-1/+1
Issue-ID: INT-2277 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: If32dbaa4490306c40d512895579acc62c8f68c82
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-14/+52
Issue-ID: TEST-413 Change-Id: If2e670e9ab3e819099376148620b47b36adb051d Signed-off-by: sheetal ghadge <sheetal.ghadge@t-systems.com>
2023-12-19Refactor CPS module url creationMichal Jagiello5-25/+42
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-14Fix modelinvariantId for pnf-instantiationpeukerl@telekom.de1-1/+1
Issue-ID: INT-2278 Signed-off-by: peukerl@telekom.de <peukerl@telekom.de> Change-Id: I03f78438308df08d08526654797e21907b999f20
2023-12-13Fix CPS create schema setMichal Jagiello2-3/+2
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 Ambekar4-8/+134
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.pl32-203/+196
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-27Use latest pylint and make fixes for itMichal Jagiello29-128/+110
Do not be sticked into one version of pylint, but use the latest Issue-ID: INT-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ib2c0a2ebe680968ae9d69958a564733a76990367
2023-10-27Fix regression on patching any objects other than AAI resourcesMichal Jagiello3-6/+6
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-9/+14
2023-10-27Formatting fixes on NBI modulesheetal ghadge1-9/+14
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 Jagiello2-3/+31
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-19Merge "changes for update functionality for entities.."Micha? Jagie??o10-5/+205
2023-10-19modify pnf in service(so) patch updatesheetal ghadge2-0/+164
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..Kiran10-5/+205
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/+14
2023-10-16Add delete-anchor method for cpsArne Chrestin1-0/+14
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 ↵Kiran13-15/+245
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 Jagiello2-6/+6
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 Jagiello2-4/+4
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 ghadge2-5/+23
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 Patil7-35/+342
Issue-ID: TEST-401 Change-Id: Ib603b9aaad43bb8c55ff5c2c23cd9a1a36475de9 Signed-off-by: Abhishek Patil <abhishek.patil@t-systems.com>