ccsdk/cds.git
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

3 years agoMerge "Fixing DockerFile to avoid IOException"
KAPIL SINGAL [Mon, 5 Apr 2021 13:50:34 +0000 (13:50 +0000)]
Merge "Fixing DockerFile to avoid IOException"

3 years agoExtend Restconf executor function 52/119952/7
Claudio D. Gasparini [Mon, 29 Mar 2021 08:02:17 +0000 (10:02 +0200)]
Extend Restconf executor function

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

3 years agoFixing DockerFile to avoid IOException 61/119561/16
Singal, Kapil (ks220y) [Fri, 19 Mar 2021 19:08:22 +0000 (15:08 -0400)]
Fixing DockerFile to avoid IOException

chown on /opt isn't enough as files/directory permissions needs change so that onap user can access to execute
Even if chown onap:onap was done, it was failing to create/run script due to permission issues

Adding noCache to docker-maven-plugin so that it won't pick cached layers

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

3 years agoMerge "Address some pendings items for SSLBasicAuthRestClient"
KAPIL SINGAL [Sat, 27 Mar 2021 15:33:29 +0000 (15:33 +0000)]
Merge "Address some pendings items for SSLBasicAuthRestClient"

3 years agoAddress some pendings items for SSLBasicAuthRestClient 03/119703/5
Claudio D. Gasparini [Wed, 24 Mar 2021 08:43:40 +0000 (09:43 +0100)]
Address some pendings items for SSLBasicAuthRestClient

- FIXME under SSLBasicAuthRestClientProperties
- TODO under SSLBasicAuthRestClientPropertiesBuilder

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

3 years agoFixed K8s HealthCheck API issue 61/119861/1
Lukasz Rajewski [Thu, 25 Mar 2021 16:47:47 +0000 (17:47 +0100)]
Fixed K8s HealthCheck API issue

Fixed K8s HealthCheck API issue

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

3 years agoFixed bug when k8s profile is created for default k8s version 61/119761/1
Lukasz Rajewski [Wed, 24 Mar 2021 18:01:34 +0000 (19:01 +0100)]
Fixed bug when k8s profile is created for default k8s version

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

3 years agoMerge "Add new elements of starter dictionary for vFW CNF CBA"
KAPIL SINGAL [Wed, 24 Mar 2021 01:57:00 +0000 (01:57 +0000)]
Merge "Add new elements of starter dictionary for vFW CNF CBA"

3 years agoAdd new elements of starter dictionary for vFW CNF CBA 66/119666/1
Lukasz Rajewski [Tue, 23 Mar 2021 21:48:02 +0000 (22:48 +0100)]
Add new elements of starter dictionary for vFW CNF CBA

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

3 years agoFix Certificate Exception when using BasicAuthRestClientService 54/119654/2
Claudio D. Gasparini [Tue, 23 Mar 2021 17:39:35 +0000 (18:39 +0100)]
Fix Certificate Exception when using BasicAuthRestClientService

by using TrustAllStrategy

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

3 years agoBug fixes for config template and config value components 05/119605/1
Lukasz Rajewski [Mon, 22 Mar 2021 21:43:23 +0000 (22:43 +0100)]
Bug fixes for config template and config value components

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

3 years agoProhibit cycles in imperative workflows 63/119463/2
Jozsef Csongvai [Sun, 14 Mar 2021 23:13:35 +0000 (19:13 -0400)]
Prohibit cycles in imperative workflows

Issue-ID: CCSDK-3221
Change-Id: I767003dde40c0fc53a673c4a41cb2430624d7b04
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
3 years agoMerge "Print process name with UAT assert error message"
KAPIL SINGAL [Fri, 19 Mar 2021 19:47:25 +0000 (19:47 +0000)]
Merge "Print process name with UAT assert error message"

3 years agoMerge "Add UAT for imperative workflow"
KAPIL SINGAL [Fri, 19 Mar 2021 19:47:11 +0000 (19:47 +0000)]
Merge "Add UAT for imperative workflow"

3 years agoMerge "Refactoring to enable on_failure for imperative workflow"
KAPIL SINGAL [Fri, 19 Mar 2021 19:46:58 +0000 (19:46 +0000)]
Merge "Refactoring to enable on_failure for imperative workflow"

3 years agoComponentRemotePythonExecutor prepareEnv bug 50/119450/3
Oleg Mitsura [Wed, 17 Mar 2021 19:22:04 +0000 (15:22 -0400)]
ComponentRemotePythonExecutor prepareEnv bug

Issue-ID: CCSDK-3086

commit 1: orig commit
commit 2: update retry counter
commit 3: bug fix for packages being null should still trigger creation of python environment
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: Id9e7024df8c604c719828211cce31d6f0452330b

3 years agoPrint process name with UAT assert error message 62/119462/1
Jozsef Csongvai [Sun, 14 Mar 2021 23:11:57 +0000 (19:11 -0400)]
Print process name with UAT assert error message

Issue-ID: CCSDK-3220
Change-Id: I6ea56454f777017d78bed0bd1755611dac5d5255
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
3 years agoAdd UAT for imperative workflow 61/119461/1
Jozsef Csongvai [Sun, 14 Mar 2021 23:10:30 +0000 (19:10 -0400)]
Add UAT for imperative workflow

Issue-ID: CCSDK-3219
Change-Id: I7b6e619fb60e687885b5545ba323bd7bb15ec209
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
3 years agoRefactoring to enable on_failure for imperative workflow 60/119460/1
Jozsef Csongvai [Thu, 10 Dec 2020 00:49:48 +0000 (19:49 -0500)]
Refactoring to enable on_failure for imperative workflow

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>
3 years agoAssign a unique worker ID for CDS Kafka worker 31/118831/7
Julien Fontaine [Mon, 15 Feb 2021 23:31:24 +0000 (18:31 -0500)]
Assign a unique worker ID for CDS Kafka worker

* Modified CDS Kafka workers to add the 5 lasts characters of the env var HOSTNAME to their worker ID.
* Small refactoring to move some utilitary functions to BlueprintMessageUtils

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

3 years agoAdded missing elements of starter dictionary for CNF CBA 43/119343/2
Lukasz Rajewski [Mon, 15 Mar 2021 21:46:18 +0000 (22:46 +0100)]
Added missing elements of starter dictionary for CNF CBA

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

3 years agoAdd delete endpoint for config snapshot API 33/118833/2
Julien Fontaine [Tue, 2 Mar 2021 23:18:30 +0000 (18:18 -0500)]
Add delete endpoint for config snapshot API

Add delete endpoint to delete config-snapshots based on resource-type, resource-id and resources-status.

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

3 years agoRoll master version for Istanbul 68/118968/1
Dan Timoney [Tue, 9 Mar 2021 15:17:30 +0000 (10:17 -0500)]
Roll master version for Istanbul

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

3 years agoRelease version 1.1.1 of CDS dockers 28/118828/1
Dan Timoney [Thu, 4 Mar 2021 17:48:19 +0000 (12:48 -0500)]
Release version 1.1.1 of CDS dockers

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

3 years agoRelease version 1.1.1 of CDS maven artifacts 27/118827/1
Dan Timoney [Thu, 4 Mar 2021 17:43:49 +0000 (12:43 -0500)]
Release version 1.1.1 of CDS maven artifacts

Release new CDS artifacts 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: I4bf854aa826ed8ae4fead35da9bec6aa422d1c73

3 years agoFix PY compiled proto files. 72/118772/1
Oleg Mitsura [Wed, 3 Mar 2021 21:57:33 +0000 (16:57 -0500)]
Fix PY compiled proto files.

Issue-ID: CCSDK-3192

py-modules/common/proto files contain some binary data, plain rename bluePrint-> print
wouldn't work. Had to recomipe .proto files from model-catalog/proto-defintion/proto
and place them into py-modules....

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

3 years agoFix import error in commandexecutor 28/118728/1
Dan Timoney [Tue, 2 Mar 2021 20:43:00 +0000 (15:43 -0500)]
Fix import error in commandexecutor

Fixed bad import statement, which causes command executor to fail
on startup.

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

3 years agoAdd rollback and update functionality for config-value component. 86/118286/3
Grzegorz Wielgosinski [Tue, 23 Feb 2021 16:27:58 +0000 (17:27 +0100)]
Add rollback and update functionality for config-value component.

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

3 years agoRelease version 1.1.0 docker containers and roll to next version 18/118318/1
Dan Timoney [Tue, 23 Feb 2021 20:21:08 +0000 (15:21 -0500)]
Release version 1.1.0 docker containers and roll to next version

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

3 years agoRelease version 1.1.0 of cds maven artifacts 15/118315/1
Dan Timoney [Tue, 23 Feb 2021 20:10:32 +0000 (15:10 -0500)]
Release version 1.1.0 of cds maven artifacts

Release version 1.1.0 of CDS maven artifacts

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