ccsdk/cds.git
19 months agoMerge "Fix enrichment for multiplicated assignments" into jakarta jakarta
KAPIL SINGAL [Fri, 7 Oct 2022 16:35:17 +0000 (16:35 +0000)]
Merge "Fix enrichment for multiplicated assignments" into jakarta

19 months agoFix enrichment for multiplicated assignments 05/131205/1
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 agoCreate dynamic data-type using all workflow steps 04/131204/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
(cherry picked from commit 27778ac1289588a9f68e9b9408819f7bfb1c7d21)

19 months agoRelease version 1.3.1 of ccsdk/cds artifacts 14/131014/1
Dan Timoney [Mon, 19 Sep 2022 19:57:05 +0000 (15:57 -0400)]
Release version 1.3.1 of ccsdk/cds artifacts

Release version 1.3.1 (Jakarta patch) of ccsdk/cds artifacts

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

19 months agoRelease version 1.3.1 of ccsdk/cds dockers 13/131013/1
Dan Timoney [Mon, 19 Sep 2022 19:53:55 +0000 (15:53 -0400)]
Release version 1.3.1 of ccsdk/cds dockers

Release version 1.3.1 (Jakarta patch) of ccsdk/cds dockers

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

19 months agoFix npm dependency issue for server 84/130884/1 1.3.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
(cherry picked from commit 3a31cda1d41e7aa21500a187503b7b637b80e435)

19 months agoMake UatExecutor accessible inside a CBA JUnit test 18/130618/3
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
(cherry picked from commit 43496fb210dd08bd934fedf2e5e1bba4636000d1)

20 months agoHttp 204 response results with exception in rest resolution 46/130746/2
Frank Kimmlingen [Mon, 29 Aug 2022 11:15:30 +0000 (13:15 +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: I74873bc54a7007bac1eed9223460146fb9724af2

20 months agoSpyPostInterceptor in UatExecutor does not collect all responses 06/130606/1
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
(cherry picked from commit 4899f6bd4e00fa20bd0cac4a60c04a959b8e88c7)

20 months agoRefactoring to support H2 DB for local run 95/130195/7
Singal, Kapil (ks220y) [Mon, 8 Aug 2022 00:20:06 +0000 (20:20 -0400)]
Refactoring to support H2 DB for local run

Updating pom.xml to remove scope test for H2 DB
Updating H2DB version to 1.4.200
Updating application-dev.properties DB properties to H2 DB

Issue-ID: CCSDK-3740
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I57f90a0b0788510ab736d2f9dce28a0cbf3da12d

20 months agoRefactoring Code to remove NRM 96/130196/5
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

20 months agoUse all source-db resources instead of only processor-db 48/129748/4
Michal Jagiello [Fri, 1 Jul 2022 09:04:36 +0000 (09:04 +0000)]
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
(cherry picked from commit 3395dfa1f31111bb4dd03e89a7e493a2850901f2)

20 months agoFixing CDS-UI Build issues 12/130412/2
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

21 months agoChange HTTP response code on Blueprint Model API 47/129747/2
Michal Jagiello [Thu, 21 Jul 2022 14:23:53 +0000 (14:23 +0000)]
Change HTTP response code on Blueprint Model API

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
(cherry picked from commit eb7eb24bf107bbd42537a9557e07b5ca82280c60)

21 months agoAligned attributes of CDS components 49/129749/1
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
(cherry picked from commit ea1c8b477e615f4dd45204b221fe7eacfe5474af)

2 years agoSelect the right Jakarta intersphinx mapping 10/129010/1
Cédric Ollivier [Mon, 2 May 2022 07:42:19 +0000 (09:42 +0200)]
Select the right Jakarta intersphinx mapping

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

2 years agoLeverage the right Jakarta upper-constraints 09/129009/1
Cédric Ollivier [Mon, 2 May 2022 07:41:41 +0000 (09:41 +0200)]
Leverage the right Jakarta upper-constraints

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

2 years agoSet defaultbranch=jakarta in .gitreview 08/129008/1
Cédric Ollivier [Mon, 2 May 2022 07:40:08 +0000 (09:40 +0200)]
Set defaultbranch=jakarta in .gitreview

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

2 years agoRemove blank line in version.properties 84/128984/1
Dan Timoney [Thu, 28 Apr 2022 18:48:12 +0000 (14:48 -0400)]
Remove blank line in version.properties

This no-op commit was made to provide a Gerrit review to be used
to trigger a build in the newly created jakarta branch.

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

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

2 years agofix output type remains Other 14/125514/1
farida azmy [Tue, 2 Nov 2021 10:16:13 +0000 (12:16 +0200)]
fix output type remains Other

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

2 years agoUse version 2.3.0 of parent poms 51/125451/1
Dan Timoney [Thu, 28 Oct 2021 20:24:44 +0000 (16:24 -0400)]
Use version 2.3.0 of parent poms

Use released version 2.3.0 of parent pom to avoid compile errors due to
removing aged-out snapshot version

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

2 years agoMerge "Add missing code for Metrics and PV/PVC elimination"
Dan Timoney [Fri, 22 Oct 2021 11:12:50 +0000 (11:12 +0000)]
Merge "Add missing code for Metrics and PV/PVC elimination"

2 years agoAdd missing code for Metrics and PV/PVC elimination 05/124705/7
Jozsef Csongvai [Wed, 6 Oct 2021 15:47:23 +0000 (11:47 -0400)]
Add missing code for Metrics and PV/PVC elimination

Earlier patch introducing MeterRegistry to AbstractComponentFunction
was not initializing the lateinit property and causing NPE.

Also add additional code to handle compatibility issues after the
introduction of PV/PVC elminiation for CommandExecutor. This allows
blueprintsprocessor to communicate with earlier versions of command-
executor which still use the shared pvc.

Issue-ID: CCSDK-3471
Change-Id: I84a04601c4fe09c5f3a06664ce877800a30531f1
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2 years agoAdd home directory for onap user in command-executor dockerfile 58/124758/2
Jozsef Csongvai [Wed, 6 Oct 2021 15:42:59 +0000 (11:42 -0400)]
Add home directory for onap user in command-executor dockerfile

Without a home directory, pip install would fail for CBAs that require
additional modules.

Issue-ID: CCSDK-3477
Change-Id: If99790a0c8c015639c489e9a498f8df8da4cbe77
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2 years agoUse latest version of frontend-maven-plugin 36/125036/1
Dan Timoney [Fri, 15 Oct 2021 20:32:24 +0000 (16:32 -0400)]
Use latest version of frontend-maven-plugin

Update to use latest version of frontend-maven-plugin to try to address
npm failures on Jenkins.

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

2 years agoMerge "Metrics on command-executor blueprints processor side"
Dan Timoney [Wed, 29 Sep 2021 12:35:37 +0000 (12:35 +0000)]
Merge "Metrics on command-executor blueprints processor side"

2 years agoMetrics on command-executor blueprints processor side 06/124406/1
Michael Pruss [Tue, 21 Sep 2021 19:53:32 +0000 (15:53 -0400)]
Metrics on command-executor blueprints processor side

Issue-ID: CCSDK-3471
Signed-off-by: Michael Pruss <michprus@amdocs.com>
Change-Id: I871a032ff5c9ebfd408aaa28a7d24185dee7c953

2 years agoRoll versions for Jakarta 00/124400/1
Dan Timoney [Tue, 21 Sep 2021 17:11:13 +0000 (13:11 -0400)]
Roll versions for Jakarta

Roll versions to set up for Jakarta release

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

2 years agoRelease version 1.2.0 maven artifacts 08/124308/1
Dan Timoney [Thu, 16 Sep 2021 14:58:44 +0000 (10:58 -0400)]
Release version 1.2.0 maven artifacts

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

2 years agoRelease version 1.2.0 docker containers 07/124307/1
Dan Timoney [Thu, 16 Sep 2021 14:30:37 +0000 (10:30 -0400)]
Release version 1.2.0 docker containers

Release version 1.2.0 docker containers for CDS

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

2 years agoUse version 2.2.1 of CCSDK parent pom 95/124295/1 1.2.0
Dan Timoney [Thu, 16 Sep 2021 12:20:00 +0000 (08:20 -0400)]
Use version 2.2.1 of CCSDK parent pom

Use released version 2.2.1 of CCSDK parent pom

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

2 years agoFix version 23/124123/2
Dan Timoney [Mon, 13 Sep 2021 23:17:28 +0000 (19:17 -0400)]
Fix version

Should use project.version property for internal references, not hard-coded
value.  Otherwise, staging and docker builds break.

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

2 years agoAdd requests library to cds-command-executor docker 54/123954/4
Abdelmuhaimen Seaudi [Wed, 8 Sep 2021 11:49:41 +0000 (13:49 +0200)]
Add requests library to cds-command-executor docker

Add requests to Dockerfile for command executor helps running in offline installation

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

2 years agoMerge "Upgrading velocity version to v2.3 due to some vulnerabilities in previous...
KAPIL SINGAL [Sat, 11 Sep 2021 14:38:47 +0000 (14:38 +0000)]
Merge "Upgrading velocity version to v2.3 due to some vulnerabilities in previous version"

2 years agoMerge "CCSDK-3451 Prometheus Metrics for command-executor"
KAPIL SINGAL [Sat, 11 Sep 2021 14:38:38 +0000 (14:38 +0000)]
Merge "CCSDK-3451 Prometheus Metrics for command-executor"

2 years agoUpgrading velocity version to v2.3 due to some vulnerabilities in previous version 30/124030/2
meriem zidane [Fri, 10 Sep 2021 16:46:02 +0000 (12:46 -0400)]
Upgrading velocity version to v2.3 due to some vulnerabilities in previous version

Issue-ID: CCSDK-3430
Signed-off-by: Meriem Zidane <meriem.zidane@bell.ca>
Change-Id: I82dad1c2dd7f8e4cc5712e9fddde5b1bb5429b7f

2 years agoMerge "Use cert-initializer truststore instead of hard-coded ONAP Root CA"
Dan Timoney [Wed, 8 Sep 2021 12:29:10 +0000 (12:29 +0000)]
Merge "Use cert-initializer truststore instead of hard-coded ONAP Root CA"

2 years agoUse cert-initializer truststore instead of hard-coded ONAP Root CA 51/122651/5
wdgp0424 [Thu, 15 Jul 2021 10:50:24 +0000 (12:50 +0200)]
Use cert-initializer truststore instead of hard-coded ONAP Root CA

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

2 years agoCCSDK-3451 Prometheus Metrics for command-executor 35/123735/2
Kuldip Rai [Tue, 31 Aug 2021 14:13:58 +0000 (14:13 +0000)]
CCSDK-3451 Prometheus Metrics for command-executor

Issue-ID: CCSDK-3451
Signed-off-by: Kuldip Rai <kuldip.rai@bell.ca>
Change-Id: Ibd11257037ec6f1941b5dee08cc97177b2c798c9

2 years agoMerge "Upgrade hazelcast version"
KAPIL SINGAL [Wed, 1 Sep 2021 01:15:54 +0000 (01:15 +0000)]
Merge "Upgrade hazelcast version"

2 years agoUpgrade hazelcast version 45/123645/3
meriem zidane [Thu, 26 Aug 2021 21:52:59 +0000 (17:52 -0400)]
Upgrade hazelcast version

Upgrade hazelcast version from 4.0.3 to 4.2.2

Issue-ID: CCSDK-3429
Signed-off-by: meriem zidane <meriem.zidane@bell.ca>
Change-Id: I560e3970f84210d3c0e8c8f5eb569b5f2cf556e0

2 years agoCCSDK-3434 CBA workflow status store 37/123537/6
Kavitha P [Wed, 25 Aug 2021 10:42:18 +0000 (16:12 +0530)]
CCSDK-3434 CBA workflow status store

Change-Id: Iaeac6fa534c569bbc152e6c8a78c2dd23b6c4b1a
Signed-off-by: Kavitha P <pkavitha@aarnanetworks.com>
Issue-ID: CCSDK-3434

2 years agoCCSDK-3435 cds py executor log persistence 40/123540/1
chsailakshmi [Wed, 25 Aug 2021 12:03:28 +0000 (08:03 -0400)]
CCSDK-3435 cds py executor log persistence

Change-Id: If83db093e3b331a7f2f45435648aad142a2f78d5
Signed-off-by: chsailakshmi <sailakshmi@aarnanetworks.com>
Issue-ID: CCSDK-3435

2 years agoVersion upgrades 75/123475/1
Dan Timoney [Mon, 23 Aug 2021 19:51:45 +0000 (15:51 -0400)]
Version upgrades

Upgrade versions to address security vulnerabilities detected
by Nexus IQ scan

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

2 years agoIgnore unknown fields from the k8splugin API responses 79/122979/2
Lukasz Rajewski [Thu, 29 Jul 2021 21:27:06 +0000 (23:27 +0200)]
Ignore unknown fields from the k8splugin API responses

Ignore unknown fields from the k8splugin API responses

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

2 years agoMove netty-ssl definition to springboot parent 66/123066/1
Dan Timoney [Tue, 3 Aug 2021 15:34:57 +0000 (11:34 -0400)]
Move netty-ssl definition to springboot parent

Move definition of netty ssl version to springboot parent pom so that it
can be kept in sync with spring boot

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

2 years agoRevert "Renaming Files having BluePrint to have Blueprint" 34/122934/1
Jozsef Csongvai [Mon, 26 Jul 2021 16:00:59 +0000 (12:00 -0400)]
Revert "Renaming Files having BluePrint to have Blueprint"

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>
2 years agoRemoved redundant timeout handling for executeCommand 86/122886/1
Julien Fontaine [Tue, 27 Jul 2021 16:43:24 +0000 (12:43 -0400)]
Removed redundant timeout handling for executeCommand

executeCommand was called from a GlobalScope.async coroutine to handle executeCommand timeout.
Execution timeout is already handled on the gRPC side, there's no need to handle this timeout by wrapping the gRPC call with a coroutine timeout.
When a lot of long running processes in executeCommand were running, it was causing process to queue on BP side to get their executeCommand executed because all the capacity of couroutines were being used by some long running process.
This was causing a delay on the execution of prepareEnv and executeCommand and would even some time make those process timeout because of component timeout.

Issue-ID: CCSDK-3386
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
Change-Id: If3aef4b6b65006e874525436bf3f6d1b1a3d8c9a

2 years agoFix typos 72/122772/1
Frank Grutzmacher [Wed, 21 Jul 2021 07:55:25 +0000 (09:55 +0200)]
Fix typos

Issue-ID: CCSDK-3371
Signed-off-by: Frank Grutzmacher <frank.gruetzmacher@t-systems.com>
Change-Id: I367b59b2986b4a02acbcbe73fb3376002c81fdc4

2 years agoAdd Request ID and Sub Request ID to CDS kafka logs 26/122126/2
Julien Fontaine [Wed, 23 Jun 2021 12:44:00 +0000 (08:44 -0400)]
Add Request ID and Sub Request ID to CDS kafka logs

Improved log message when a message is published or consumed by CDS Kafka to specify the RequestID and SubRequestID.

Issue-ID: CCSDK-3348
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
Change-Id: I50e068d9aa36df8fe4ee5f0f6a8e9bd7a1209467

2 years agoAdding maven-deploy-plugin to archtype-blueprint 83/121883/3
Singal, Kapil (ks220y) [Fri, 11 Jun 2021 17:58:20 +0000 (13:58 -0400)]
Adding maven-deploy-plugin to archtype-blueprint

Issue-ID: CCSDK-3334
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I45e56d5b3e837888f561f707a233a995ff135ce9

2 years agoUpdate CBA content 66/121566/2
sebdet [Thu, 27 May 2021 08:45:43 +0000 (10:45 +0200)]
Update CBA content

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

2 years agoCreate a CBA boilerplate by leveraging the use of maven archetypes 79/121479/4
kuldipr [Fri, 21 May 2021 13:17:31 +0000 (09:17 -0400)]
Create a CBA boilerplate by leveraging the use of maven archetypes

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

2 years agoAdd MS SQL driver in CDS blueprints and 20/121320/6
Prudence Au [Wed, 12 May 2021 17:23:29 +0000 (13:23 -0400)]
Add MS SQL driver in CDS blueprints and
DB resolution fails on an empty dataset with required template mapping.

Issue-ID: CCSDK-3293
Issue-ID: CCSDK-3294
Signed-off-by: Prudence Au <prudence.au@amdocs.com>
Change-Id: I9f302d12e7359b62180fcdfddbd8ae2c993a8324

3 years agoMerge "Fixed error when uploading CBA when Hazelcast cluster is not initialized"
Dan Timoney [Wed, 28 Apr 2021 22:50:38 +0000 (22:50 +0000)]
Merge "Fixed error when uploading CBA when Hazelcast cluster is not initialized"

3 years agoFixed error when uploading CBA when Hazelcast cluster is not initialized 78/120978/3
Julien Fontaine [Wed, 20 Jan 2021 23:28:49 +0000 (18:28 -0500)]
Fixed error when uploading CBA when Hazelcast cluster is not initialized

Hazelcast is used to enable CDS pods to notify the rest of the CDS cluster when a CBA got updated locally so they clean their compile cache (if they have an entry for that CBA). Though, the code doesn't make sure that hazelcast cluster is fully initialized before trying to notify using a hazelcast topic.
Fixed that error by making sure that the cluster is fully initialized before pushing notification to hazelcast topic.

Issue-ID: CCSDK-3277
Change-Id: I44211c63c5a991269005bcc238f18b19979cb718
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
3 years agoAdd check for cluster status to readiness endpoint 73/120973/2
Jozsef Csongvai [Wed, 28 Apr 2021 18:49:22 +0000 (14:49 -0400)]
Add check for cluster status to readiness endpoint

When Cluster is enabled, BlueprintsProcessor should not process
any requests until cluster is fully joined.

Issue-ID: CCSDK-3275
Change-Id: I779159346976f7af0c0add69883f27d7f359f413
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
3 years agoFix for CCSDK-3271 added kotlin compiler option java 11 01/120901/1
vmuthukrishnan@aarnanetworks.com [Mon, 26 Apr 2021 11:16:41 +0000 (16:46 +0530)]
Fix for CCSDK-3271 added kotlin compiler option java 11

Issue-ID: CCSDK-3271
Change-Id: I9c007c9e332206fb1631442d6acfd41a1e57a882
Signed-off-by: vmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>
3 years agoFix grpcProperties resolution for String values 64/120864/1
Jozsef Csongvai [Thu, 22 Apr 2021 22:04:15 +0000 (18:04 -0400)]
Fix grpcProperties resolution for String values

When a CBA defines a String selector, it will be passed
as TextNode. This enables using using application properties
to define grpcClientProperties for py executor.

Issue-ID: CCSDK-3272
Change-Id: Id4fcd4f43306e385458eb4decbb07f923a957cc0
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
3 years agoAdd missing k8s-rb-instance-release-name.json 51/120751/3
Grzegorz Wielgosinski [Wed, 21 Apr 2021 08:46:20 +0000 (10:46 +0200)]
Add missing k8s-rb-instance-release-name.json

Issue-ID: CCSDK-3274
Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com>
Change-Id: Ia90225fbe4a41e6afbdb62e0c43ac85d03d3df59

3 years agoMerge "Fixed templating of values in k8s components"
KAPIL SINGAL [Sun, 11 Apr 2021 01:41:01 +0000 (01:41 +0000)]
Merge "Fixed templating of values in k8s components"

3 years agoMerge "vFW CNF Use Case Documentation changes"
KAPIL SINGAL [Sun, 11 Apr 2021 01:40:49 +0000 (01:40 +0000)]
Merge "vFW CNF Use Case Documentation changes"

3 years agovFW CNF Use Case Documentation changes 06/118206/8
Lukasz Rajewski [Mon, 22 Feb 2021 21:07:30 +0000 (22:07 +0100)]
vFW CNF Use Case Documentation changes

vFW CNF Use Case Documentation changes with description of
the role of CDS and CBA in the Day 0/1/2 operations.

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

3 years agoFixed templating of values in k8s components 76/120376/1
Lukasz Rajewski [Fri, 9 Apr 2021 21:15:52 +0000 (23:15 +0200)]
Fixed templating of values in k8s components

Fixed templating of values in k8s components

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

3 years agoRemove trust all for BasicAuthRestClientService 70/120270/1
Claudio D. Gasparini [Wed, 7 Apr 2021 12:48:39 +0000 (12:48 +0000)]
Remove trust all for BasicAuthRestClientService

following global requirement expected in Istanbul,
 which forbids disabling host name verification

Issue-ID: CCSDK-3245
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com>
Change-Id: I89c37a94cb3999a8f1813d3fc33958421b183de1