ccsdk/cds.git
18 months agoUpdated for Jakarta Release 16/131916/1
Sangeeta Bellara [Wed, 26 Oct 2022 17:12:46 +0000 (22:42 +0530)]
Updated for Jakarta Release

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>
18 months agoRelease version 1.4.1 maven artifacts 95/131895/1
Timoney, Dan (dt5972) [Thu, 27 Oct 2022 23:55:27 +0000 (19:55 -0400)]
Release version 1.4.1 maven artifacts

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

18 months agoRelease version 1.4.1 dockers 94/131894/1
Timoney, Dan (dt5972) [Thu, 27 Oct 2022 23:52:07 +0000 (19:52 -0400)]
Release version 1.4.1 dockers

Release version 1.4.1 of CDS dockers

Issue-ID: CCSDK-3777
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Change-Id: Ieb7533a00e4834fb8152d122a7aae76535e4501b

18 months agoMerge "UatExecutor does not support complex test scenarios" 1.4.1
Jozsef Csongvai [Wed, 26 Oct 2022 00:29:13 +0000 (00:29 +0000)]
Merge "UatExecutor does not support complex test scenarios"

18 months agoMerge "Add Rest client that do not add any default headers"
Jozsef Csongvai [Wed, 26 Oct 2022 00:21:31 +0000 (00:21 +0000)]
Merge "Add Rest client that do not add any default headers"

18 months agoMerge "Fix for missing grpc module"
Dan Timoney [Tue, 25 Oct 2022 19:44:25 +0000 (19:44 +0000)]
Merge "Fix for missing grpc module"

18 months agoUatExecutor does not support complex test scenarios 88/131788/2
Frank Kimmlingen [Tue, 25 Oct 2022 11:22:59 +0000 (13:22 +0200)]
UatExecutor does not support complex test scenarios

Issue-ID: CCSDK-3793
Signed-off-by: Frank Kimmlingen <frank.kimmlingen@telekom.de>
Change-Id: I6bb03a8e03a37aa9e87d381075bc5de8cadcc7f2

18 months agoAdd Rest client that do not add any default headers 21/131421/3
Lukasz Rajewski [Tue, 11 Oct 2022 07:59:57 +0000 (09:59 +0200)]
Add Rest client that do not add any default headers

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

18 months agoUse released version 1.5.2 of sli 65/131765/1
Timoney, Dan (dt5972) [Mon, 24 Oct 2022 15:04:31 +0000 (11:04 -0400)]
Use released version 1.5.2 of sli

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

18 months agoFix for missing grpc module 43/131343/4
Lukasz Rajewski [Thu, 29 Sep 2022 22:30:39 +0000 (00:30 +0200)]
Fix for missing grpc module

Issue-ID: CCSDK-3770
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I07977e4e6602641d0a2e880275ec08074690e982

18 months agoUpgrade spring boot parent and hazelcast 91/131191/8
Jozsef Csongvai [Mon, 26 Sep 2022 15:09:50 +0000 (11:09 -0400)]
Upgrade spring boot parent and hazelcast

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

19 months agoMerge "UATExecutor support for k8sConnectionPlugin"
KAPIL SINGAL [Fri, 7 Oct 2022 16:35:30 +0000 (16:35 +0000)]
Merge "UATExecutor support for k8sConnectionPlugin"

19 months agoUATExecutor support for k8sConnectionPlugin 92/131392/2
Lukasz Rajewski [Thu, 6 Oct 2022 16:03:09 +0000 (18:03 +0200)]
UATExecutor support for k8sConnectionPlugin

Issue-ID: CCSDK-3785
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ice34d61ac62fe8935a6df539376dcbb9e998beaf

19 months agoFix enrichment for multiplicated assignments 51/131351/4
Lukasz Rajewski [Fri, 30 Sep 2022 21:51:12 +0000 (23:51 +0200)]
Fix enrichment for multiplicated assignments

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

19 months agoFix the transform-templating for referenced complex types 55/131355/6
Lukasz Rajewski [Tue, 4 Oct 2022 12:13:25 +0000 (14:13 +0200)]
Fix the transform-templating for referenced complex types

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

19 months agoFix compile error due to expired sli snapshot 77/131377/1
Timoney, Dan (dt5972) [Tue, 4 Oct 2022 20:07:19 +0000 (16:07 -0400)]
Fix compile error due to expired sli snapshot

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

19 months agoRelease version 1.4.0 CDS artifacts 68/131268/1
Timoney, Dan (dt5972) [Wed, 28 Sep 2022 11:42:07 +0000 (07:42 -0400)]
Release version 1.4.0 CDS artifacts

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

19 months agoRelease version 1.4.0 CDS dockers 67/131267/1
Timoney, Dan (dt5972) [Wed, 28 Sep 2022 11:37:13 +0000 (07:37 -0400)]
Release version 1.4.0 CDS dockers

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

19 months agoUse version 2.4.2 parent poms 40/130940/2 1.4.0
Dan Timoney [Wed, 14 Sep 2022 14:40:50 +0000 (10:40 -0400)]
Use version 2.4.2 parent poms

Use version 2.4.2 of parent poms

Issue-ID: CCSDK-3754
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I5ed00e4ae2bbbfd8c36534d484bab79e8bae5358

19 months agoFix npm dependency issue for server 96/130996/1
Lukasz Rajewski [Sun, 18 Sep 2022 21:41:04 +0000 (23:41 +0200)]
Fix npm dependency issue for server

Issue-ID: CCSDK-3754
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Id3a43101fcb9b5c5af8d219598283cb57ea8a4d7

20 months agoMake UatExecutor accessible inside a CBA JUnit test 79/130779/7
Frank Kimmlingen [Wed, 7 Sep 2022 09:23:52 +0000 (11:23 +0200)]
Make UatExecutor accessible inside a CBA JUnit test

Issue-ID: CCSDK-3748
Signed-off-by: Frank Kimmlingen <frank.kimmlingen@telekom.de>
Change-Id: Icbc0a44d91fd08f2e06a12bcdf016655a2b2282d

20 months agoCreate dynamic data-type using all workflow steps 81/130781/1
Jozsef Csongvai [Tue, 6 Sep 2022 23:05:02 +0000 (19:05 -0400)]
Create dynamic data-type using all workflow steps

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

20 months agoSpyPostInterceptor in UatExecutor does not collect all responses 91/130491/6
Frank Kimmlingen [Mon, 29 Aug 2022 15:05:59 +0000 (17:05 +0200)]
SpyPostInterceptor in UatExecutor does not collect all responses

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

20 months agoHttp 204 response results with exception in rest resolution 73/130473/6
Frank Kimmlingen [Mon, 29 Aug 2022 11:28:01 +0000 (13:28 +0200)]
Http 204 response results with exception in rest resolution

Issue-ID: CCSDK-3746
Signed-off-by: Frank Kimmlingen <frank.kimmlingen@telekom.de>
Change-Id: I740c970de631e58902e6f92b9069aee8d3ae075b

20 months agoTemplating constants added to ResourceAssignment 63/130463/6
Lukasz Rajewski [Fri, 26 Aug 2022 21:44:34 +0000 (23:44 +0200)]
Templating constants added to ResourceAssignment

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

20 months agoResolution processors tests and extendability 47/130447/10
Lukasz Rajewski [Thu, 25 Aug 2022 22:23:01 +0000 (00:23 +0200)]
Resolution processors tests and extendability

- 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

20 months agoCDS max-occurrence feature 68/130168/10
Juhi Arora [Mon, 6 Jun 2022 17:30:03 +0000 (13:30 -0400)]
CDS max-occurrence feature

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>
20 months agoChange SQL query syntax for delete resource/template 07/130207/4
Jozsef Csongvai [Wed, 15 Jun 2022 18:26:21 +0000 (14:26 -0400)]
Change SQL query syntax for delete resource/template

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>
20 months agoAdd component for deleting resources and tempates 66/130166/7
Jozsef Csongvai [Mon, 16 May 2022 15:15:06 +0000 (11:15 -0400)]
Add component for deleting resources and tempates

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

20 months agoForce py3.8 in tox.ini 42/130542/5
Cédric Ollivier [Wed, 31 Aug 2022 14:47:05 +0000 (16:47 +0200)]
Force py3.8 in tox.ini

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

20 months agoAdd endpoint for deleting templates 65/130165/5
Jozsef Csongvai [Mon, 16 May 2022 15:12:51 +0000 (11:12 -0400)]
Add endpoint for deleting templates

Issue-ID: CCSDK-3735
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I80d0da87651933da103e79d878902da743bb134e

20 months agoRest resolution enhancements 81/129781/18
Lukasz Rajewski [Mon, 4 Jul 2022 15:43:31 +0000 (17:43 +0200)]
Rest resolution enhancements

- 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

20 months agoTemplate headers, path and outputsmapping in the rest processor 81/130381/9
Lukasz Rajewski [Thu, 18 Aug 2022 21:06:29 +0000 (23:06 +0200)]
Template headers, path and outputsmapping in the rest processor

Issue-ID: CCSDK-3716
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I4abc2cdf3eeff1d982d2e96670df262cf16931b3

20 months agoRefactor rest clients and support timeouts 74/130374/4
Lukasz Rajewski [Thu, 18 Aug 2022 19:50:31 +0000 (21:50 +0200)]
Refactor rest clients and support timeouts

- 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

20 months agoRefactoring Code to remove NRM 07/130107/2
Singal, Kapil (ks220y) [Mon, 8 Aug 2022 03:01:52 +0000 (23:01 -0400)]
Refactoring Code to remove NRM

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)

20 months agoSO-3835 Modify-Config flow of slice (Day-2) -snssai not updated in config map of... 75/129975/4
Rudrangi Anupriya [Mon, 18 Jul 2022 16:33:14 +0000 (22:03 +0530)]
SO-3835 Modify-Config flow of slice (Day-2) -snssai not updated in config map of the NFs
Issue-ID: SO-3835

Change-Id: I7578b3292b625e0773ee67a0b6db60c8e192fe1a
Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
20 months agoFix inconsistency introduced during commit b4cbb0ee9 05/130205/3
kuldipr [Tue, 17 May 2022 14:30:34 +0000 (10:30 -0400)]
Fix inconsistency introduced during commit b4cbb0ee9

Issue-ID: CCSDK-3738
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I72ae642f3027fa3b4c8caa3105b2147ed654c159

20 months agoFixing CDS-UI Build issues 06/130106/1
Singal, Kapil (ks220y) [Mon, 22 Aug 2022 14:55:48 +0000 (10:55 -0400)]
Fixing CDS-UI Build issues

Issue-ID: CCSDK-3744
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I8cd8a11c8ada5a1179b4a791edc12dd810f7f1bf
(cherry picked from commit 9eb67111794a2a10bc9776775aced9ef9b84345b)

21 months agoKafka producer parameters updated to be consistent with frankfurt 79/130179/1
Oleg Mitsura [Wed, 1 Jun 2022 14:00:56 +0000 (10:00 -0400)]
Kafka producer parameters updated to be consistent with frankfurt

Issue-ID: CCSDK-3737
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I00cba2f644abf85778abf17ee3fb9e102ac5f42f

21 months agoEnable deleting resources by lastN occurrences 57/130157/1
Jozsef Csongvai [Mon, 16 May 2022 15:09:06 +0000 (11:09 -0400)]
Enable deleting resources by lastN occurrences

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

21 months ago[Blueprintsprocessor] Blueprint Model API returns 204 NO CONTENT if blueprint model... 00/130000/1
Michal Jagiello [Thu, 21 Jul 2022 14:23:53 +0000 (14:23 +0000)]
[Blueprintsprocessor] Blueprint Model API returns 204 NO CONTENT if blueprint model does not exist

Issue-ID: CCSDK-3729
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ie19128d1ece6b229e5c2e5636ab3a7add4e2f3ef

21 months ago[Blueprintsprocessor] Use all source-db resources instead of only processor-db 30/129730/8
Michal Jagiello [Fri, 1 Jul 2022 09:04:36 +0000 (09:04 +0000)]
[Blueprintsprocessor] Use all source-db resources instead of only processor-db

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

21 months agoAligned attributes of CDS components 56/129656/11
Lukasz Rajewski [Mon, 20 Jun 2022 20:27:19 +0000 (22:27 +0200)]
Aligned attributes of CDS components

Issue-ID: CCSDK-3698
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ie5c78a9a347373b5faf588627e42138806d69c0c

21 months agoUse released 2.4.0 parent poms 59/129959/1
Dan Timoney [Fri, 15 Jul 2022 15:33:42 +0000 (11:33 -0400)]
Use released 2.4.0 parent poms

Use released version 2.4.0 (Phosphorus) of parent poms

Issue-ID: CCSDK-3691
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I920f1f8be47bd45962014d7ccb682dc6f6efb5e5

21 months agoCommand Executor metrics to include script name only 35/129935/1
Kuldip Rai [Thu, 14 Jul 2022 12:33:20 +0000 (08:33 -0400)]
Command Executor metrics to include script name only

Issue-ID: CCSDK-3720
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I206bfb1ed165ccb4c1c360732e6781ccfe9b971c

21 months agoChange template query to return a result when duplicate rows exists 76/129776/3
kuldipr [Fri, 17 Jun 2022 16:18:35 +0000 (12:18 -0400)]
Change template query to return a result when duplicate rows exists

Issue-ID: CCSDK-3714
Change-Id: I516efc75d5d789903883437b6f3b50874bcfc79a
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
22 months agoFixed Template API (resourceId and resoourceType) input validation 77/129777/1
kuldipr [Fri, 17 Jun 2022 22:27:33 +0000 (18:27 -0400)]
Fixed Template API (resourceId and resoourceType) input validation

Validation was always checking for resolutionKey even when it is not
required when using resourceId and resourceType. Also artifactName
which is always required could not have been sent along with
resourceId and resourceType.

Issue-ID: CCSDK-3713
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I4a2945397f10bf5c57a698894df09ee4fc5891d0

23 months agoImprove log format consistency 16/129516/1
Jozsef Csongvai [Tue, 7 Jun 2022 23:30:54 +0000 (19:30 -0400)]
Improve log format consistency

Logs related to request processing should include: requestId,
subrequestId and originatorId. Each API (rest,grpc,kafka) would
produce different outputs, due to MDC context not being passed
properly between coroutine contexts or values not being populated.

Issue-ID: CCSDK-3686
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: Ibafdffd3409b9724ad91633ca5840070f7e287f5

23 months agoMerge "CCSDK-3684 ComponentRemotePYthonExecutor eliminate recursive call"
Jozsef Csongvai [Tue, 7 Jun 2022 14:54:46 +0000 (14:54 +0000)]
Merge "CCSDK-3684 ComponentRemotePYthonExecutor eliminate recursive call"

23 months agoCCSDK-3684 ComponentRemotePYthonExecutor eliminate recursive call 08/129508/1
Oleg Mitsura [Tue, 7 Jun 2022 14:05:20 +0000 (10:05 -0400)]
CCSDK-3684 ComponentRemotePYthonExecutor eliminate recursive call

Issue-ID: CCSDK-3684

prepareEnv (mistakenly) had a recursive call, but no decement.
Simplified it in favour of the inner/outter flag instead of retry counter as in Frankfurt release.

Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I5d7f623d6e206a844d33d95a15f85758da3a6681

23 months agoCCSDK-3682 pin protobuf to 3.20.1 35/129435/1
Oleg Mitsura [Tue, 31 May 2022 22:10:04 +0000 (18:10 -0400)]
CCSDK-3682 pin protobuf to 3.20.1

Issue-ID: CCSDK-3682

protobuf gets updated to a later version (without pinning), which is not compatible
with protoc, as well as we need to keep it consistent with SO proto version.

Change-Id: I7b35503e7f2997cc56e131ad4775a41a942eeac5
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
23 months agoMerge "Extend Template API to retrieve resolutions by occurrence"
Jozsef Csongvai [Tue, 24 May 2022 23:29:36 +0000 (23:29 +0000)]
Merge "Extend Template API to retrieve resolutions by occurrence"

23 months agoAPI to resolve resources based on optional 'occurrence' options 04/129304/17
kuldipr [Thu, 24 Mar 2022 21:13:47 +0000 (17:13 -0400)]
API to resolve resources based on optional 'occurrence' options

User can specificy options to get firstN, lastN and by the Range
(begin, end) of 'occurrence' to get the resolutions. If no options
are specified, all the resolutions are returned in decending
oder (latest on top).

Map of resolutions are returned with 'occurrence' as the key to the
corresponding list of resolutions.

Issue-ID: CCSDK-3665
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I9ecbfb339bde76510e81cd695e03cc1e061396ee

23 months agoExtend Template API to retrieve resolutions by occurrence 61/129361/3
juhi arora [Thu, 19 May 2022 18:14:17 +0000 (14:14 -0400)]
Extend Template API to retrieve resolutions by occurrence

Add new endpoints - template to get firstN, lastN and by Range (begin, end) of 'occurrence' to get the templates

Issue-ID: CCSDK-3666
Change-Id: I242626e826022ed8b70a0abc287560ea634121b7
Signed-off-by: juhi arora <juhi.arora1@bell.ca>
23 months agoEnable versioned resource resolution by using occurrence 03/129303/9
kuldipr [Fri, 18 Mar 2022 14:35:56 +0000 (10:35 -0400)]
Enable versioned resource resolution by using occurrence

By setting occurrence to <= 0 in the CBA, a user indicates that each
time resource resolution executes, it should produce a new set of
values for a resolution-key or (resourceId, resourceType) pair.
For each new execution, the occurrence is incremented to serve
as the version number for the new set of values.

Issue-ID: CCSDK-3663
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: Ib535b20cb775dcbb5b02fe5a5f6904a335fda310

23 months agoMerge "Enable force-resolution"
Dan Timoney [Mon, 23 May 2022 16:21:40 +0000 (16:21 +0000)]
Merge "Enable force-resolution"

23 months agoMerge "CCSDK-3671 add workflows list for grpc"
Dan Timoney [Mon, 23 May 2022 16:20:49 +0000 (16:20 +0000)]
Merge "CCSDK-3671 add workflows list for grpc"

23 months agoMerge "Resource endpoint should support occurrences"
Jozsef Csongvai [Fri, 20 May 2022 14:53:51 +0000 (14:53 +0000)]
Merge "Resource endpoint should support occurrences"

23 months agoOverride Request ID in MDC Context 31/129331/2
Julien Fontaine [Wed, 10 Jun 2020 15:30:37 +0000 (11:30 -0400)]
Override Request ID in MDC Context

Issue-ID: CCSDK-3676
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I6b0a816fcb40e149be1818f9edc9d4839f1a4cf6

23 months agoResource endpoint should support occurrences 29/129329/1
Kuldip Rai [Wed, 16 Mar 2022 14:26:30 +0000 (14:26 +0000)]
Resource endpoint should support occurrences

The getOneFromResolutionKey endpoint would fail if there are multiple
occurrences for a resource. Instead it should return the last occurrence.

Issue-ID: CCSDK-3664
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I1468c41c164f64931ce719f9908b935baae6e1a4

23 months agoCCSDK-3671 add workflows list for grpc 28/129328/2
Oleg Mitsura [Thu, 19 May 2022 15:05:13 +0000 (11:05 -0400)]
CCSDK-3671 add workflows list for grpc

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

23 months agoEnable force-resolution 26/129326/1
Oleg Mitsura [Thu, 21 May 2020 14:33:18 +0000 (10:33 -0400)]
Enable force-resolution

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>
23 months agoFix broken model-type API endpoint 93/129293/1
Jozsef Csongvai [Tue, 17 May 2022 15:47:15 +0000 (11:47 -0400)]
Fix broken model-type API endpoint

The endpoint path was accidentally changed with CCSDK-3014, where a
trailing slash was added to the path. This reverts the endpoint path,
and is still compatible with requests that have a trailing slash.

Issue-ID: CCSDK-3672
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: I071e15a525750d3068c53ff9f5447c524cd44669

23 months agoRe-enable formatting and fix formatting issues 76/129276/1
Jozsef Csongvai [Mon, 16 May 2022 15:03:43 +0000 (11:03 -0400)]
Re-enable formatting and fix formatting issues

Issue-ID: CCSDK-3657
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: Idd1871e82a319325b042c339741a66c06499692c

2 years agoUpdate versions for Kohn release 81/128881/2
Dan Timoney [Tue, 26 Apr 2022 17:44:15 +0000 (13:44 -0400)]
Update versions for Kohn release

Update versions in master branch for Kohn release

Issue-ID: CCSDK-3641
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I78cbfb5ec5175e87233f263422f7323b22d352de

2 years agoUpdate cmd-exec for Python 3.7 89/128689/3
kuldipr [Thu, 14 Apr 2022 21:52:59 +0000 (17:52 -0400)]
Update cmd-exec for Python 3.7

Issue-ID: CCSDK-3632
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I351203e1935ccee9327edf39b9809b873e391f86

2 years agoClosing artifact files after vtl templating 85/128585/1
Lukasz Rajewski [Wed, 13 Apr 2022 18:49:52 +0000 (20:49 +0200)]
Closing artifact files  after vtl templating

Issue-ID: CCSDK-3631
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I20972afeebafbc0ea47ee22c2ba9b32d760ebbb5

2 years agoMerge "Return errormessages in failing imperative workflows"
KAPIL SINGAL [Wed, 13 Apr 2022 12:47:30 +0000 (12:47 +0000)]
Merge "Return errormessages in failing imperative workflows"

2 years agoPrevent stack overflow in BluePrintProcessingGRPCHandler 34/128534/2
Jozsef Csongvai [Wed, 13 Apr 2022 00:25:18 +0000 (20:25 -0400)]
Prevent stack overflow in BluePrintProcessingGRPCHandler

The overridden onError is called when a terminating error occurs in
the stream, for example when the calling client crashes. It should not
be handled the same way as CBA processing errors.

Issue-ID: CCSDK-3496
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: Ib0aa416325a5b9708615e0ef9d9c602df24518b9

2 years agoReturn errormessages in failing imperative workflows 33/128533/1
Jozsef Csongvai [Tue, 12 Apr 2022 23:24:37 +0000 (19:24 -0400)]
Return errormessages in failing imperative workflows

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

2 years agoAdd bounds to sphinx requirement 54/128454/1
Cédric Ollivier [Mon, 11 Apr 2022 14:28:46 +0000 (16:28 +0200)]
Add bounds to sphinx requirement

As ONAP was created before Oct 20 2020 in RTD, we
must set bounds to enforce a compatible Sphinx version
(see manual).

It also applied fixes which were applied during the
previous release in all repos.

Issue-ID: DOC-782
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I684efed16ac46552bfaa989ded2a4515ee6cc6a0

2 years agoCCSDK-3472 Maven plugin support of velocity for CBA package creation in IDE 08/128408/1
Rudrangi Anupriya [Sat, 9 Apr 2022 13:17:28 +0000 (18:47 +0530)]
CCSDK-3472 Maven plugin support of velocity for CBA package creation in IDE
Issue-ID: CCSDK-3472

Change-Id: I419ed795b3fdf31b35ed379010df44bdc4164d7b
Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2 years agoCCSDK-3472 Maven plugin support of velocity for CBA package creation in IDE 63/128263/1
Rudrangi Anupriya [Mon, 4 Apr 2022 10:47:35 +0000 (16:17 +0530)]
CCSDK-3472 Maven plugin support of velocity for CBA package creation in IDE

Change-Id: Iadfee3898ab2b8b746c0e10d8d04c0d6f862a3cb
Issue-ID: CCSDK-3472
Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2 years agoCCSDK-3472 Maven plugin support of velocity for CBA package creation in IDE 97/128197/2
Rudrangi Anupriya [Wed, 30 Mar 2022 10:44:10 +0000 (16:14 +0530)]
CCSDK-3472 Maven plugin support of velocity for CBA package creation in IDE

Change-Id: I873be858c44b3ca36f4e292e44a483a2af6e83f1
Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
Issue-ID: CCSDK-3472

2 years agoRelease Jakarta M4 CDS maven artifacts 75/128175/1
Dan Timoney [Tue, 29 Mar 2022 20:17:16 +0000 (16:17 -0400)]
Release Jakarta M4 CDS maven artifacts

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

2 years agoRelease CDS Jakarta M4 dockers 74/128174/1
Dan Timoney [Tue, 29 Mar 2022 20:15:09 +0000 (16:15 -0400)]
Release CDS Jakarta M4 dockers

Release Jakarta M4 version of CDS docker containers

Issue-ID: CCSDK-3604
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I4dc65bffb0d8a0eb638790747f850c34de3fb12a

2 years agoUse released parent pom 2.3.3 30/128130/1 1.3.0
Dan Timoney [Mon, 28 Mar 2022 15:09:54 +0000 (11:09 -0400)]
Use released parent pom 2.3.3

Use released 2.3.3 version of parent pom

Issue-ID: CCSDK-3604
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Idf14619680572a4643d587976e49f8c934394111

2 years agoMerge "Add indexes to Template/Resource resolution"
Dan Timoney [Wed, 23 Mar 2022 18:05:48 +0000 (18:05 +0000)]
Merge "Add indexes to Template/Resource resolution"

2 years agoAdd indexes to Template/Resource resolution 44/128044/1
Oleg Mitsura [Wed, 23 Mar 2022 17:14:05 +0000 (13:14 -0400)]
Add indexes to Template/Resource resolution

Issue-ID: CCSDK-3611

Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I7e761a3a7bd6a107748a4d90d3a335ebf77a759b

2 years agoAdd new committer - Jozsef Csongvai 66/127966/1
Dan Timoney [Tue, 22 Mar 2022 13:28:59 +0000 (09:28 -0400)]
Add new committer - Jozsef Csongvai

Add Jozsef Csongvai as committer

Issue-ID: CCSDK-3613
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I10459ce59073229f32bf648142be6c5631b7e1da

2 years agoDocumentation changes for vFW CNF use case and CNFO 25/127825/1
Lukasz Rajewski [Tue, 15 Mar 2022 20:24:49 +0000 (21:24 +0100)]
Documentation changes for vFW CNF use case and CNFO

Issue-ID: REQ-1147
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: Ieb979ddad91fcb82ebf1a3ca7598699559a02bd2

2 years agoUpgrade commons-compress to version 1.21 39/127539/1
Dan Timoney [Mon, 7 Mar 2022 17:04:34 +0000 (12:04 -0500)]
Upgrade commons-compress to version 1.21

Update commons-compress to version 1.21 per SECCOM recommendation

Issue-ID: CCSDK-3585
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I41c9430b1ab0dbfa5442a145ce2d2db7086049e6

2 years agoUpgrade to okhttp version 4.9.3 35/127535/1
Dan Timoney [Mon, 7 Mar 2022 16:36:18 +0000 (11:36 -0500)]
Upgrade to okhttp version 4.9.3

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

2 years agoRemove retired committers 23/127523/1
Dan Timoney [Mon, 7 Mar 2022 14:03:59 +0000 (09:03 -0500)]
Remove retired committers

Remove retired committers Brinda and Nicolas

Issue-ID: CCSDK-3599
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I640ac6e643668727f406ec28bf9f9622a7676b51

2 years ago[STRIMZI] Add strimzi docs entry 11/127511/1
efiacor [Sat, 5 Mar 2022 13:16:22 +0000 (13:16 +0000)]
[STRIMZI] Add strimzi docs entry

Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Issue-ID: DMAAP-1706
Change-Id: I24a1110e6b30851051f440f7a4af84531caa9a20

2 years agoDMAAP-1706 - New Kafka Auth option 17/127217/4
david.mcweeney [Thu, 17 Feb 2022 17:07:59 +0000 (17:07 +0000)]
DMAAP-1706 - New Kafka Auth option

Change-Id: I8533721d23d6adb41f65cb96fb2b8f852bda47b8
Signed-off-by: david.mcweeney <david.mcweeney@est.tech>
Issue-ID: DMAAP-1706

2 years agoK8sPlugin integration changes for Istanbul APIs 04/127104/1
Lukasz Rajewski [Mon, 14 Feb 2022 15:39:09 +0000 (16:39 +0100)]
K8sPlugin integration changes for Istanbul APIs

- k8sconfigteamplate component accepts empty source
  what means that template is the same like definition
- fix of the query API namespace param

Issue-ID: CCSDK-3537
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I86c6b7e0fd98cd34a1ee89dd183732b113439a23

2 years agoK8sPlugin integration changes for Istanbul APIs 42/127042/1
Lukasz Rajewski [Wed, 9 Feb 2022 16:07:31 +0000 (17:07 +0100)]
K8sPlugin integration changes for Istanbul APIs

Implementation of the K8sPlugin new APIs or
changes introduced there in the Istanbul
release.

Issue-ID: CCSDK-3537
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I263dd22bb1d3cbcc9360583cd82a728afbebc09d

2 years agoMerge "rb-version changed to vf-module-model-customization-uuid"
Dan Timoney [Mon, 24 Jan 2022 15:12:09 +0000 (15:12 +0000)]
Merge "rb-version changed to vf-module-model-customization-uuid"

2 years agorb-version changed to vf-module-model-customization-uuid 57/126657/1
Maciej Lisowski [Thu, 20 Jan 2022 08:15:34 +0000 (09:15 +0100)]
rb-version changed to vf-module-model-customization-uuid

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

2 years agoAdd functions for retrieving multiple artifacts 63/126463/5
Arne Chrestin [Mon, 20 Dec 2021 12:16:57 +0000 (13:16 +0100)]
Add functions for retrieving multiple artifacts

Add the functions AbstractComponentFunction
.storedArtifactNamesAndResolutionKeysNB()
to retrieve all artifact_names and resolution_keys for a given
blueprint and AbstractComponentFunction
.storedResolutionKeysForArtifactNameNB(artifactName)
to retrieve all resolution_keys for a given blueprint and artifact_name.
To support the required JPA query, an interface
TemplateResolutionSelector was added in resource-resolution.

Issue-ID: CCSDK-3543
Signed-off-by: arne.chrestin@telekom.de
Change-Id: I1907949e49134ec13d28a876474f08502759762f

2 years agoUpgrade to log4j2 2.17.1 00/126400/1
Dan Timoney [Mon, 3 Jan 2022 19:02:41 +0000 (14:02 -0500)]
Upgrade to log4j2 2.17.1

Update to use version 2.17.1 to resolve log4shell vulnerability

Issue-ID: CCSDK-3556
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I9febd972ef9cee30361894ed11de13f3fb375f91

2 years ago[SDC Client] Allow HTTP 86/126186/9
Sylvain Desbureaux [Fri, 10 Dec 2021 09:55:32 +0000 (10:55 +0100)]
[SDC Client] Allow HTTP

By default, SDC client is using only https, which can be problematic
when used on top of service mesh for example.
Let's override isUseHttpsWithSDC in order to allow use of http thanks to
a configuration variable.

Issue-ID: OOM-2258
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I029f1dc802bba647b8088fb61a5e60680337aa00

2 years agoUpdate formatter-maven-plugin to latest version 15/126215/2
Dan Timoney [Mon, 13 Dec 2021 20:06:43 +0000 (15:06 -0500)]
Update formatter-maven-plugin to latest version

Update version of formatter-maven-plugin

Issue-ID: CCSDK-3555
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Ib344878ef704a5781e92c8974e8f32a15ece7d6e

2 years agoRevert "Explicitly set NPM registry to public registry" 07/126107/1
Dan Timoney [Tue, 7 Dec 2021 14:49:09 +0000 (09:49 -0500)]
Revert "Explicitly set NPM registry to public registry"

Revert workaround to allow LF IT to test proposed fix

Issue-ID: CCSDK-3536
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Ic93b5ab8a21e97af8a9484789599c3da611a5436

2 years agoCCSDK-3531 improve cmd-exec returned err msg 48/125848/4
Oleg Mitsura [Tue, 23 Nov 2021 14:23:44 +0000 (09:23 -0500)]
CCSDK-3531 improve cmd-exec returned err msg

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

2 years agoMerge "Correct dynamic properties grpc json serializing"
KAPIL SINGAL [Mon, 29 Nov 2021 19:09:19 +0000 (19:09 +0000)]
Merge "Correct dynamic properties grpc json serializing"

2 years agoChange load configuration paths for modeltype and resourcedicitonary 12/125512/4
farida azmy [Mon, 1 Nov 2021 13:56:16 +0000 (15:56 +0200)]
Change load configuration paths for modeltype and resourcedicitonary

Issue-ID: CCSDK-3516
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: Ibebff38d43b6e2db6f8a0ec38483a691e3ea3449

2 years agoCorrect dynamic properties grpc json serializing 49/125749/3
Abdelmuhaimen Seaudi [Sun, 14 Nov 2021 18:44:33 +0000 (20:44 +0200)]
Correct dynamic properties grpc json serializing

Correct the json serializing and escaping in command executor
for grpc server

Issue-ID: CCSDK-3521
Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
Change-Id: I5d0c9fbb7190e8de52bf954ef1af29a6f854f685

2 years agoExplicitly set NPM registry to public registry 67/125967/2
Dan Timoney [Mon, 29 Nov 2021 13:07:14 +0000 (08:07 -0500)]
Explicitly set NPM registry to public registry

Explicitly set NPM registry to public registry https://registry.npmjs.org

Issue-ID: CCSDK-3536
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Id441b70a7543b410b2246e692cad0b2b47ca7fdb