aboutsummaryrefslogtreecommitdiffstats
path: root/components
AgeCommit message (Collapse)AuthorFilesLines
2024-01-18reduce CDS java security vulnerabilitiesFrank Kimmlingen1-3/+3
upgrade to spring-boot 2.7.18 (Last spring-boot 2.x version) upgrade the additional versions inside the cds Issue-ID: CCSDK-3981 Signed-off-by: Frank Kimmlingen <frank.kimmlingen@telekom.de> Change-Id: I239fbdb8b6f58095d805399c6f9ed3af6e7b42fe
2023-06-14Convert scripts to python3Dan Timoney13-30/+30
Convert python2 scripts to python3 Issue-ID: CCSDK-3906 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I68b82108c5cd51a99735f65f964b8ebc16181c1b
2023-06-14Roll snapshot for MontrealDan Timoney9-9/+9
Roll snapshot to 1.6.0-SNAPSHOT to prepare for Montreal release Issue-ID: CCSDK-3903 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I76b9683c658f793c01fdb865404df72ac1ec9684
2023-05-08Enhancing BluePrintJinjaTemplateServiceSingal, Kapil (ks220y)1-2/+2
* Using CustomJinjavaInterpreter to override getAsString API, and returning context.currentNode.master.image instead of empty string * Earlier rendered result was not keeping unresolved variable rather replacing with empty string, and above helps keeping those. * Upgrading jinja.version to 2.7.0 from 2.5.1 and adding related Junit Test Issue-ID: CCSDK-3895 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I00da64811883957f44f819a44405e073ed7a7755
2023-05-02Release version 1.5.1 maven artifacts and roll versionDan Timoney9-9/+9
Release version 1.5.1 of CDS maven artifacts and roll to next snapshot version Issue-ID: CCSDK-3876 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I2d865d2acad2e3594e140604076a421c5d352e0c
2023-04-27Update version to 1.5.1-SNAPSHOT1.5.1Dan Timoney9-9/+9
Update CDS to snapshot version 1.5.1-SNAPSHOT so that version 1.5.1 can be released Issue-ID: CCSDK-3876 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I9c54710dfadcda134a3b3a08d50690a3cadccca3
2023-04-27Adding some minor featuresSingal, Kapil (ks220y)1-1/+1
* Adding proxy and ssl context to CloseableHttpClient * Adding paged capability to ResourceDictionary GET API, and adding POST APi to bulk load resource definitions * Adding more packages to swagger-maven-plugin to get more RestCOntroller generating swagger doc * Fixing maven artifact versions all places Issue-ID: CCSDK-3895 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I096f80a2326cd00068029330b241da209e46e31d (cherry picked from commit 2f4cc180555b1891fb749443449bd969db408d9c)
2023-03-17Enable JUnit tests and porting to java 17Frank Kimmlingen1-1/+5
JUnit tests are no more executed: spring-boot-starter-test does not execute any junit4 tests by default Fix enable tests and adopts the tests moslty to java 17 runtime Issue-ID: CCSDK-3859 Signed-off-by: Frank Kimmlingen <frank.kimmlingen@telekom.de> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I02a8d25350ca62262bfc6e07c2865cd8d7b4e6b2
2023-01-04Use released version 2.5.1 parent pomsDan Timoney10-10/+0
Use released version 2.5.1 of parent pom Issue-ID: CCSDK-3831 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ic46287ef341abb1eb2bbdd68ecc890f80702b4a9
2022-11-04Merge "Updated for Jakarta Release"Dan Timoney16-2983/+2580
2022-10-31Updated for Jakarta ReleaseSangeeta Bellara16-2983/+2580
Change to native helm, and removed generate-name capability reference. Issue-ID: SO-3835 Change-Id: I59f4271872db1e94c189a3b375da1fe30d1089a3 Signed-off-by: sangeeta.bellara <sangeeta.bellara@t-systems.com>
2022-10-28Update versions for LondonTimoney, Dan (dt5972)10-9/+19
Update version of master branch CDS for London relesae Issue-ID: CCSDK-3779 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Change-Id: I41a60427c902c731990a9cb570896551819959b6
2022-10-27Release version 1.4.1 maven artifactsTimoney, Dan (dt5972)9-9/+9
Release version 1.4.1 maven artifacts and roll to next snapshot Issue-ID: CCSDK-3777 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Change-Id: I37429e7e210a4620d4a2aed4618c501aa4836c02
2022-10-04Fix the transform-templating for referenced complex typesLukasz Rajewski4-0/+78
After fix the transform-templating will be closer to the velocity artifact templating mechanism, what was not a case before, when templating with complex variables like json was not working. Issue-ID: CCSDK-3774 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Icd5001cb2ea2de0220fe65a7c9c0510d1fba0911
2022-09-28Release version 1.4.0 CDS artifactsTimoney, Dan (dt5972)9-9/+9
Release version 1.4.0 of ccsdk/cds artifacts and roll to next snapshot Issue-ID: CCSDK-3754 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Change-Id: I2b3844a40f94885b3ad08847f6a8145950ac46e0
2022-09-09Make UatExecutor accessible inside a CBA JUnit testFrank Kimmlingen13-48/+991
Issue-ID: CCSDK-3748 Signed-off-by: Frank Kimmlingen <frank.kimmlingen@telekom.de> Change-Id: Icbc0a44d91fd08f2e06a12bcdf016655a2b2282d
2022-09-01Templating constants added to ResourceAssignmentLukasz Rajewski2-0/+39
Fixed values of inputs for resource assignment allow to build data dictionaries that are generic. Along with templating of outputs mapping, path, url and payload sdnc and aai dictionary entry may be one for support of all the attributes of specified object like for instance generic vnf one. Issue-ID: CCSDK-3716 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I1817303e997a4dfb7dda9c32d9ac690ec723b3d8
2022-09-01Resolution processors tests and extendabilityLukasz Rajewski1-0/+84
- Open resolution processors for in-CBA customization - Improve resolution tests verification - Use RestProcessor for testing RestProcessor Issue-ID: CCSDK-3716 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I7c05fc940647f40c20c37b4f7fcfe29f2c3076ba
2022-09-01CDS max-occurrence featureJuhi Arora4-0/+38
As part of occurrence feature, one or more version of the resource resolution can be resolved. However, user did not have granular control in case the user wants to resolve a specific value once and never again. Max-Occurrence feature implements the granular control to be give the user an option to specify the max number of times a resource to be resolved. It is specified as part of mapping in a cba. Max-occurrence value of 0 or not specifying it explicitly denotes the current default behaviour of unlimited resoltions. If a user specify a particular max-occurrence value then the resource is resolved that many times in subsquent requests and never again once we reached the max-occurrence limit of resource resolutions. Issue-ID: CCSDK-3736 Change-Id: Ie18764a313530e36be14531d8c7b93bf54f0b651 Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
2022-08-31Add component for deleting resources and tempatesJozsef Csongvai1-0/+67
Users can now add component-resource-deletion as a nodetemplate in their CBA. This will delete resources and templates created by the cba, using resolution key or resource-id and resource-type. Issue-ID: CCSDK-3735 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: I22b7f2fe3369a3e5bac3b72a2114a81622d878dc
2022-08-22SO-3835 Modify-Config flow of slice (Day-2) -snssai not updated in config ↵Rudrangi Anupriya33-2160/+1459
map of the NFs Issue-ID: SO-3835 Change-Id: I7578b3292b625e0773ee67a0b6db60c8e192fe1a Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2022-07-19[Blueprintsprocessor] Use all source-db resources instead of only processor-dbMichal Jagiello1-0/+13
In DatabaseResourceAssignmentProcessor class filter resourceSourceMappings to get all source-db resources instead of using only one: processor-db Issue-ID: CCSDK-3699 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I616ca6fe1336427b0b603a0386878ba4c8ea5828
2022-07-18Aligned attributes of CDS componentsLukasz Rajewski8-4/+58
Issue-ID: CCSDK-3698 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ie5c78a9a347373b5faf588627e42138806d69c0c
2022-05-23Merge "Enable force-resolution"Dan Timoney1-1/+6
2022-05-19CCSDK-3671 add workflows list for grpcOleg Mitsura1-0/+8
Issue-ID: CCSDK-3671 1. added grpc 'getWorkflows' for BlueprintManagement 2. during CBA upload, the workflows get cached to BLUEPRINT_MODEL.workflows 3. reworked HTTP endpoint to use above "/workflows/blueprint-name/{name}/version/{version}" 4. If CDS is upgraded, with existing CBAs present, fallback by parsing the CBA instead of DB lookup Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I68bebfe23c0b16ea288512f1087bfe1ceef57686
2022-05-19Enable force-resolutionOleg Mitsura1-1/+6
If force-resolution is set to true in a CBA, all resolved values and templates will be overwritten for the given resolution-key or resource-id & resource-type. Issue-ID: CCSDK-3670 Change-Id: I1859a7029a16190a6e691cb1fa0c76ced470279a Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2022-04-28Update versions for Kohn releaseDan Timoney9-9/+9
Update versions in master branch for Kohn release Issue-ID: CCSDK-3641 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I78cbfb5ec5175e87233f263422f7323b22d352de
2022-04-12Return errormessages in failing imperative workflowsJozsef Csongvai2-1/+50
Instead of discarding error messages after each node has executed, they are now kept until the workflow completes. If the workflow completes without exceptions, it means that all errors were handled and the error messages can be cleared. If the workflow does complete with exceptions, all error messages will be propagated in the response. Also update UatExecutor to enable expected status codes other than 200. Issue-ID: CCSDK-3630 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I94fd81c342ad2a798e64051c603beb62bf1aaacd
2022-04-09CCSDK-3472 Maven plugin support of velocity for CBA package creation in IDERudrangi Anupriya2-6/+1
Issue-ID: CCSDK-3472 Change-Id: I419ed795b3fdf31b35ed379010df44bdc4164d7b Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2022-04-04CCSDK-3472 Maven plugin support of velocity for CBA package creation in IDERudrangi Anupriya1-0/+13
Change-Id: Iadfee3898ab2b8b746c0e10d8d04c0d6f862a3cb Issue-ID: CCSDK-3472 Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2022-04-01CCSDK-3472 Maven plugin support of velocity for CBA package creation in IDERudrangi Anupriya6-0/+176
Change-Id: I873be858c44b3ca36f4e292e44a483a2af6e83f1 Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com> Issue-ID: CCSDK-3472
2022-03-29Release Jakarta M4 CDS maven artifactsDan Timoney9-9/+9
Release Jakarta M4 version of CDS maven artifacts and roll to next snapshot Issue-ID: CCSDK-3604 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I3335ce0e3f6995c350c5a87691e9922204a67dcb
2022-03-07Upgrade to okhttp version 4.9.3Dan Timoney1-1/+1
Upgrade to SECCOM recommended version 4.9.3 of okhttp Issue-ID: CCSDK-3585 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I106818767e8d3ac7f4c21745c0fe7bb7190b6110
2022-01-20rb-version changed to vf-module-model-customization-uuidMaciej Lisowski6-10/+10
rb-version changed to vf-module-model-customization-uuid to be aligned with Istanbul version Issue-ID: CCSDK-3570 Signed-off-by: Maciej Lisowski <m.lisowski2@partner.samsung.com> Change-Id: Ieb30aaf83e498e842bafdb3006b74d3f45317368
2021-11-30CCSDK-3531 improve cmd-exec returned err msgOleg Mitsura1-3/+1
Issue-ID: CCSDK-3531 Improve end-user CBA's Python scripts ability to return error messages on failues. See JIRA story for examples: https://jira.onap.org/browse/CCSDK-3531 adds functions send_response_err_msg(err_message) and send_response_err_msg_and_exit(ret_err_msg, code=1) Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Ideda64dd108f987c3c4515c70daf9f7b6d2b1f2f
2021-09-21Roll versions for JakartaDan Timoney9-17/+9
Roll versions to set up for Jakarta release Issue-ID: CCSDK-3470 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ia341d92b79acd758cc9d16f24a83399d1a8a1c5b
2021-09-16Release version 1.2.0 maven artifactsDan Timoney8-8/+8
Release version 1.2.0 maven artifacts for CDS and roll version Issue-ID: CCSDK-3444 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I3e5beebd0e2aedb7d6f69ad854af879c20308c17
2021-07-28Revert "Renaming Files having BluePrint to have Blueprint"Jozsef Csongvai23-107/+107
The renaming in CCSDK-3098 caused breaking changes to the grpc api and compile issues for kotlin scripts. Issue-ID: CCSDK-3385 Change-Id: I0d745cb858371678eabcb2284671c1fd76a1ab6d Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-06-14Adding maven-deploy-plugin to archtype-blueprintSingal, Kapil (ks220y)2-2/+13
Issue-ID: CCSDK-3334 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I45e56d5b3e837888f561f707a233a995ff135ce9
2021-05-27Update CBA contentsebdet3-6/+6
The policy name initially created and deployed in PAP has been changed. It's now SDNC_Policy.ONAP_NF_NAMING_TIMESTAMP instead of SDNC_Policy.Config_MS_ONAP_VNF_NAMING_TIMESTAMP So this must be changed in the different CBA packs (vFW, vLB_CDS_Kotlin, vLB_CDS_RESTCONF) Issue-ID: CCSDK-3319 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I65f0646ac3e747f4a36329e5ef52c0544e2bd04f
2021-05-21Create a CBA boilerplate by leveraging the use of maven archetypeskuldipr9-0/+382
An archetype is a very simple artifact, that contains the project prototype you wish to create. Idea here is to provide better user experience when it comes to setup, configuration and testing of CBAs. With just one maven command 'mvn archetype:generate' use can have boilerplate cba ready to be explored, deployed and published. Issue-ID: CCSDK-3311 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: Id02f641a37c8f1768226b503c4e18a3a447c05da
2021-04-21Add missing k8s-rb-instance-release-name.jsonGrzegorz Wielgosinski1-0/+19
Issue-ID: CCSDK-3274 Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Change-Id: Ia90225fbe4a41e6afbdb62e0c43ac85d03d3df59
2021-03-30Extend Restconf executor functionClaudio D. Gasparini3-3/+3
provide capability to - execute a sorted array of restconf actions - mount odl restconf node Issue-ID: CCSDK-3241 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com> Change-Id: I1999195f7b84a259d82f9c5aa31e9fa892e9c3df
2021-03-24Fixed bug when k8s profile is created for default k8s versionLukasz Rajewski2-0/+44
Fixed bug when k8s profile is created for default k8s version Issue-ID: CCSDK-3239 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ibc0c8a6057b4b9eef3beb1821093b935f3b2e53b
2021-03-23Add new elements of starter dictionary for vFW CNF CBALukasz Rajewski6-2/+118
Add new elements of starter dictionary for vFW CNF CBA Issue-ID: INT-1870 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I83d36de9e14316c1c95cbb78e69527802d2a6373
2021-03-22Bug fixes for config template and config value componentsLukasz Rajewski2-10/+21
Issue-ID: CCSDK-3232 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I817d83001a76ba480472c7aa2da15eba65b39c20
2021-03-17Add UAT for imperative workflowJozsef Csongvai12-0/+918
Issue-ID: CCSDK-3219 Change-Id: I7b6e619fb60e687885b5545ba323bd7bb15ec209 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-03-17Refactoring to enable on_failure for imperative workflowJozsef Csongvai5-5/+5
BlueprintError needs to associate errors with the steps in which they occurred in order for imperative workflow to handle on_failure properly. Made stepName more accessible and corrected places where stepName was assigned to nodeTemplateName. Issue-ID: CCSDK-3219 Change-Id: I7e5805745c63558cff6be533e1b99c32ad06c3db Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-03-15Added missing elements of starter dictionary for CNF CBALukasz Rajewski10-0/+246
Added missing elements of starter dictionary for CNF CBA Issue-ID: CCSDK-3211 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ib0ae251e26ccfab08e9c402d9e22bf5e9af29109
2021-03-09Roll master version for IstanbulDan Timoney8-8/+8
Roll versions of ccskd parent poms to 2.2.0-SNAPSHOT and of ccsdk/cds to 1.2.0-SNAPSHOT for Istanbul release Issue-ID: CCSDK-3190 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Iab0bf047c8d2e4ddaaadf2e6278917ed2de338e5