aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-05-08Enhancing BluePrintJinjaTemplateServicekohnSingal, Kapil (ks220y)7-24/+72
* 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-04-26Adding some minor featuresSingal, Kapil (ks220y)13-2479/+2900
* 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
2023-03-31K8sPlugin: support UAT functionalityFrank Kimmlingen12-170/+286
K8sAbstractRestClientService and all derived classes K8sQueryRestClient K8sRbInstanceRestClient K8sDefinitionRestClient K8sUploadFileRestClientService does not support the spy / verify functionality of UatExecutor / UatServices Issue-ID: CCSDK-3872 Signed-off-by: Frank Kimmlingen <frank.kimmlingen@telekom.de> Change-Id: Iee30f48e9d86efd07a2ab6dde0d5743e4657934f (cherry picked from commit 97c07491d6dfb1fca6e4aeebaf7318324c1d3eb4)
2023-03-31Fix doc-rules job and cds-ui buildLukasz Rajewski20-210/+459
- Doc changes to satisfy new doc-rules - Fixo f CDS-UI build Issue-ID: CCSDK-3859 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I9471e845afd39d06466da9a5db8fde5acdf15ea1 (cherry picked from commit 4d906e5210c570678bba6db82d85b16ff2ebaaf8)
2023-03-14Enable JUnit testsFrank Kimmlingen11-52/+60
JUnit tests are no more executed: spring-boot-starter-test does not execute any junit4 tests by default 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
2022-12-19Release version 1.4.2 CDS maven artifactsDan Timoney70-69/+74
Release version 1.4.2 CDS maven artifacts and roll to next snapshot Issue-ID: SDNC-1765 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Iedfba4f5543a95f0e8ba1f45c4511d58b195ffba
2022-12-19Release version 1.4.2 CDS dockersDan Timoney1-0/+17
Release version 1.4.2 CDS dockers Issue-ID: SDNC-1765 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I0430dbc15664f4a30411dd696ef37f30204c3417
2022-12-14Update to parent version 2.4.61.4.2Dan Timoney1-1/+1
Update to version 2.4.6 to use correct version of dmaapClient Issue-ID: SDNC-1765 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I485fc9d8f9843f863005d841aab867d99c70de3b
2022-12-01Update parent pom version to 2.4.5Dan Timoney1-1/+1
Update parent pom version to 2.4.5 to pick up dmaap client version fix Issue-ID: CCSDK-3796 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: If1eb43aa8282c1624e555d7d9ac3e9b1071c65d4
2022-11-21fix doc config filesthmsdt6-47/+83
Issue-ID: DOC-798 Signed-off-by: thmsdt <thomas.kulik@telekom.de> Change-Id: I5d49c5f546e4f54bd1924fdcd2e6d7282b4eb20e (cherry picked from commit be64eed899c7acff50d1e157e165a8183354987d)
2022-11-10Add @transactional to delete data-dictionaryJozsef Csongvai2-2/+2
The delete endpoint was failing due to missing annotation. Issue-ID: CCSDK-3798 Change-Id: Ifa857a4842b9528d1e645e1fdeb6781121a930f7 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> (cherry picked from commit 46febe27ee933031db06c002d14aa1c911048fe1)
2022-10-27Release version 1.4.1 maven artifactsTimoney, Dan (dt5972)70-69/+74
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-27Release version 1.4.1 dockersTimoney, Dan (dt5972)1-0/+17
Release version 1.4.1 of CDS dockers Issue-ID: CCSDK-3777 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Change-Id: Ieb7533a00e4834fb8152d122a7aae76535e4501b
2022-10-26Merge "UatExecutor does not support complex test scenarios"1.4.1Jozsef Csongvai3-4/+107
2022-10-26Merge "Add Rest client that do not add any default headers"Jozsef Csongvai6-12/+153
2022-10-25Merge "Fix for missing grpc module"Dan Timoney1-1/+1
2022-10-25UatExecutor does not support complex test scenariosFrank Kimmlingen3-4/+107
Issue-ID: CCSDK-3793 Signed-off-by: Frank Kimmlingen <frank.kimmlingen@telekom.de> Change-Id: I6bb03a8e03a37aa9e87d381075bc5de8cadcc7f2
2022-10-25Add Rest client that do not add any default headersLukasz Rajewski6-12/+153
In consequence we can specify client without default headers. Still, we can specify additional headers in the client properties. We can use data disctionary definition to add extra headers. Sice Kohn we can also template the headers section in the data dictionary so ssuch headers can be created dynamically. Issue-ID: CCSDK-3787 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I14c219251e11733c7cdfe059c87717f6b0fded0d
2022-10-24Use released version 1.5.2 of sliTimoney, Dan (dt5972)1-1/+1
Update sli version to release version 1.5.2 Issue-ID: CCSDK-3779 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Change-Id: Iee36106d5f69bb7ab57953a151cbc26144bbccf9
2022-10-24Fix for missing grpc moduleLukasz Rajewski1-1/+1
Issue-ID: CCSDK-3770 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I07977e4e6602641d0a2e880275ec08074690e982
2022-10-22Upgrade spring boot parent and hazelcastJozsef Csongvai7-12/+12
The code changes are required for kotlin upgrade. New kotlin version is 1.5.32 (defined in spring-boot-parent) Issue-ID: CCSDK-3701 Issue-ID: CCSDK-3762 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I0d6ecc7bee8c21d2ecd3ac4364845c5c8e0e9738
2022-10-07Merge "UATExecutor support for k8sConnectionPlugin"KAPIL SINGAL5-5/+22
2022-10-06UATExecutor support for k8sConnectionPluginLukasz Rajewski5-5/+22
Issue-ID: CCSDK-3785 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ice34d61ac62fe8935a6df539376dcbb9e998beaf
2022-10-05Fix enrichment for multiplicated assignmentsLukasz Rajewski1-3/+1
When different assignment mappings declare assignments of the same name, only one of the data dictionaries used there is being enriched and others are ignored. This change removes this limitation. Issue-ID: CCSDK-3773 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I492b18e01265471f89459c6dd5a28818aa479e5e
2022-10-04Fix the transform-templating for referenced complex typesLukasz Rajewski7-1/+153
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-10-04Fix compile error due to expired sli snapshotTimoney, Dan (dt5972)1-1/+1
Update sli version to released version 1.5.1 to resolve compile errors due to expired sli snapshot version Issue-ID: CCSDK-3754 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Change-Id: I3de2eb7d5b087197ae114d19d1cd23ab92e58270
2022-09-28Release version 1.4.0 CDS artifactsTimoney, Dan (dt5972)70-69/+74
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-28Release version 1.4.0 CDS dockersTimoney, Dan (dt5972)1-0/+17
Release version 1.4.0 of ccsdk/cds docker containers Issue-ID: CCSDK-3754 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Change-Id: I0ddc89fd035306adfcc8fd287232fa05a04766bb
2022-09-19Use version 2.4.2 parent poms1.4.0Dan Timoney1-1/+1
Use version 2.4.2 of parent poms Issue-ID: CCSDK-3754 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I5ed00e4ae2bbbfd8c36534d484bab79e8bae5358
2022-09-18Fix npm dependency issue for serverLukasz Rajewski4-7/+14
Issue-ID: CCSDK-3754 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Id3a43101fcb9b5c5af8d219598283cb57ea8a4d7
2022-09-09Make UatExecutor accessible inside a CBA JUnit testFrank Kimmlingen15-53/+1037
Issue-ID: CCSDK-3748 Signed-off-by: Frank Kimmlingen <frank.kimmlingen@telekom.de> Change-Id: Icbc0a44d91fd08f2e06a12bcdf016655a2b2282d
2022-09-07Create dynamic data-type using all workflow stepsJozsef Csongvai1-1/+1
Only the first step was used to create dynamic data-type in imperative workflows. Unless the first step was targeting resource resolution component, the dynamic data-type would not be created. This prevents resolution of workflow input properties. Issue-ID: CCSDK-3764 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ic51808f2ee0d74d6c4b07565e0caf12adc3e2590
2022-09-01SpyPostInterceptor in UatExecutor does not collect all responsesFrank Kimmlingen1-2/+6
For one mocked backend system (selector) only the last request/response pair is collected. With this fix all request/response pairs will be collected. Issue-ID: CCSDK-3747 Signed-off-by: Frank Kimmlingen <frank.kimmlingen@telekom.de> Change-Id: Iccebdb153752988e1644092a8786891bdb17d5e6
2022-09-01Http 204 response results with exception in rest resolutionFrank Kimmlingen2-3/+92
Issue-ID: CCSDK-3746 Signed-off-by: Frank Kimmlingen <frank.kimmlingen@telekom.de> Change-Id: I740c970de631e58902e6f92b9069aee8d3ae075b
2022-09-01Templating constants added to ResourceAssignmentLukasz Rajewski11-45/+102
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 Rajewski12-203/+317
- 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 Arora11-3/+308
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-31Change SQL query syntax for delete resource/templateJozsef Csongvai4-21/+35
The delete query does not work with Mariadb version 10.1.24. Changed the syntax so that it will work with both older and newer versions. Typo in method names has been fixed as well. Issue-ID: CCSDK-3735 Change-Id: I225752d62068e5aa44354624aa6542a4f4bae73b Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
2022-08-31Add component for deleting resources and tempatesJozsef Csongvai3-0/+473
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-31Force py3.8 in tox.iniCédric Ollivier1-4/+4
It allows leveraging on OpenStack Yoga's upper-contraints without any exception. Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I7b7c2056d6e9d4e5e3e8f2e860a276da3f1f0ea9
2022-08-29Add endpoint for deleting templatesJozsef Csongvai4-0/+199
Issue-ID: CCSDK-3735 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: I80d0da87651933da103e79d878902da743bb134e
2022-08-26Rest resolution enhancementsLukasz Rajewski1-8/+41
- Empty Output mapping means for JSON/MAP all keys and for other types extracting of primitive - Empty response is mapped to value is output mapping is empty (but not null) Issue-ID: CCSDK-3716 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ib67507eba07e08fad049307f7b69f7aac4c3ec45
2022-08-25Template headers, path and outputsmapping in the rest processorLukasz Rajewski1-9/+16
Issue-ID: CCSDK-3716 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I4abc2cdf3eeff1d982d2e96670df262cf16931b3
2022-08-24Refactor rest clients and support timeoutsLukasz Rajewski8-363/+396
- Refactored rest clients to remove redundant code - Timeouts added to the configuration of rest clients Issue-ID: CCSDK-3716 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I706b8efd8447570455b8b65bd5b1a22da474f62b
2022-08-22Refactoring Code to remove NRMSingal, Kapil (ks220y)4-29/+28
Renaming Classes, API's, variabled and removing NRM word from codebase Issue-ID: CCSDK-3741 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I8150eec7e8fb0bc1d33e80991215e745e9aa79d0 (cherry picked from commit cc2dbf6d08840ba0e105e44022568d9afd130273)
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-08-22Fix inconsistency introduced during commit b4cbb0ee9kuldipr1-8/+1
Issue-ID: CCSDK-3738 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: I72ae642f3027fa3b4c8caa3105b2147ed654c159
2022-08-22Fixing CDS-UI Build issuesSingal, Kapil (ks220y)7-5/+9
Issue-ID: CCSDK-3744 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I8cd8a11c8ada5a1179b4a791edc12dd810f7f1bf (cherry picked from commit 9eb67111794a2a10bc9776775aced9ef9b84345b)
2022-08-04Kafka producer parameters updated to be consistent with frankfurtOleg Mitsura2-6/+6
Issue-ID: CCSDK-3737 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: I00cba2f644abf85778abf17ee3fb9e102ac5f42f
2022-08-03Enable deleting resources by lastN occurrencesJozsef Csongvai5-24/+213
Also enable deletion using resource-type and resource-id. Issue-ID: CCSDK-3735 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: Id1b487fce97f582bd3781dfd5bcff61a8df08c5c