summaryrefslogtreecommitdiffstats
path: root/components
AgeCommit message (Collapse)AuthorFilesLines
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
2021-03-04Release version 1.1.1 of CDS dockersDan Timoney8-8/+8
Release new CDS dockers to correct issues found with release 1.1.0 dockers. Issue-ID: CCSDK-3192 Issue-ID: CCSDK-3197 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I3bc1acbb93f0bb95ef14a6565e66d8da7a5df21d
2021-02-24Add rollback and update functionality for config-value component.Grzegorz Wielgosinski1-6/+14
Issue-ID: CCSDK-2922 Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Change-Id: I7384aa3d99fe273454e3acf2f933add0fb07a66c
2021-02-23Release version 1.1.0 docker containers and roll to next versionDan Timoney8-8/+8
Release version 1.1.0 docker containers and roll to next version Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I2518ba1dd5a4bd926499867f5f9714bc3f716732
2021-02-22Merge "Revert removal of surefire plugin in test-blueprint-kotlin-parent"KAPIL SINGAL1-0/+26
2021-02-22Revert removal of surefire plugin in test-blueprint-kotlin-parentJozsef Csongvai1-0/+26
This was accidentally removed during java 11 upgrade. Without the plugin in this pom, mvn test will not work. Issue-ID: CCSDK-3178 Change-Id: I756092a4b71f4bfe75aae3ec6c276a0afc39fde4 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-02-22Add missing component-k8s-config-value.jsonGrzegorz Wielgosinski1-0/+65
Issue-ID: CCSDK-2922 Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Change-Id: I1744611cdbabd067c4610a97e724acf5add8e2ef
2021-02-151. Wrap configuration-template DAY2 APIGrzegorz Wielgosinski1-0/+65
2. Create config-template component Issue-ID: CCSDK-2922 Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Change-Id: I124c5995294c2c05eab471eb3a2658368a49cf06
2021-02-09Instance dependencies in ComponentScriptExecutorLukasz Rajewski1-0/+8
Issue-ID: CCSDK-3146 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I6502abd0d2a3fa85cefc3bc6a900f27171b51569
2021-01-26PV/PVC eliminationOleg Mitsura1-0/+31
Issue-ID: CCSDK-3086 1. initial commit 2. fix accidental paste / rebased cleaned up unneeded validation call in cmd-exec upload Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Ife5460c5be59aa8d8592d82099b27c507b08c6c6
2021-01-22Renaming Files having BluePrint to have BlueprintKAPIL SINGAL21-106/+106
Replacing BluePrint with Blueprint throughout Issue-ID: CCSDK-3098 Signed-off-by: KAPIL SINGAL <ks220y@att.com> Change-Id: Ibee8bad07ae7d9287073db2d4f2f2cd730fa8b96
2020-12-16Fixing typo in message-prioritizationSingal, Kapil (ks220y)1-1/+1
Refactoring few POMs name tag Issue-ID: CCSDK-3053 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I14447ea7f93efcc970213bbe7d42663cb87e33d7
2020-12-03add toggle variable ansible fire failure to awx functionEltanany Shaaban1-1/+6
Issue-ID: CCSDK-2366 Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com> Change-Id: I42b757c206c6d420ffa289cbe9e6c2b4dbf22b20
2020-10-28Simplify PNF-DEMO CBAJakobKrieg24-1334/+248
- fix reference issues causing enrichment/validation to fail - remove redundant data dictionaries - remove redundant template & mapping - rename node-templates for clarity - add workflow outputs for better feedback - remove bash scripts which belong in documentation Issue-ID: CCSDK-2859 Change-Id: I12095f37ff20fcfeee6af43aef3bd221b2ab1ef7 Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de> Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-10-225G Core Network Service CBA package uploadThamlurRaju29-0/+5530
As part of the 5G slicing use case, the core NSSMF shall be instantiating a 5G core service which typically would comprise of AMF, SMF and UPF CNFs. Performing day 0, day 1 and day 2 configurations Change-Id: Ie7ebd34221170804bc4aec92b4628fbfe17a6500 Issue-ID: CCSDK-2919 Signed-off-by: ThamlurRaju <TR00568434@TechMahindra.com>
2020-10-21Update AAI endpoints to /aai/v22 for HonoluluLasse Kaihlavirta14-19/+19
- Update all /aai/v21 references to /aai/v22 for Honolulu - note that the previous https://gerrit.onap.org/r/c/ccsdk/cds/+/114057 was for Guilin only Issue-ID: CCSDK-2914 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I8103b12610a9de7263789a0852140f2f0bb09393
2020-10-20Update AAI endpoints to /aai/v21Lasse Kaihlavirta14-19/+19
- Update all /aai/v14 references to /aai/v21 to resolve certificate problems in CDS when trying to resolve attribute values with aai-data source Issue-ID: CCSDK-2914 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I6b150348b66e93b3d08ceaa49fa997d531ddb0e4