ccsdk/cds.git
2 years agoCorrect dynamic properties grpc json serializing 19/125819/2 1.2.2
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
(cherry picked from commit 04307eb9aff21a9df0510776be6363e9b71a95b8)

2 years agoExplicitly set NPM registry to public registry 21/126121/1
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
(cherry picked from commit 037e7dccf4fbf483f4504e91cfc74d823a2b026e)

2 years agoRelease 1.2.1 maven artifacts 71/125571/1
Dan Timoney [Wed, 3 Nov 2021 15:18:25 +0000 (11:18 -0400)]
Release 1.2.1 maven artifacts

Release version 1.2.1 CDS maven artifacts and roll version

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

2 years agoRelease version 1.2.1 docker containers 70/125570/1
Dan Timoney [Wed, 3 Nov 2021 14:38:36 +0000 (10:38 -0400)]
Release version 1.2.1 docker containers

Release version 1.2.1 CDS docker containers.

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

2 years agoAdd home directory for onap user in command-executor dockerfile 18/125318/1 1.2.1
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>
(cherry picked from commit 64ab1beff4ebcb8a52ae50613bb2abb147a22799)

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

3 years agoMerge "Revert removal of surefire plugin in test-blueprint-kotlin-parent"
KAPIL SINGAL [Mon, 22 Feb 2021 19:04:34 +0000 (19:04 +0000)]
Merge "Revert removal of surefire plugin in test-blueprint-kotlin-parent"

3 years agoRevert removal of surefire plugin in test-blueprint-kotlin-parent 89/118189/1
Jozsef Csongvai [Mon, 22 Feb 2021 17:37:53 +0000 (12:37 -0500)]
Revert removal of surefire plugin in test-blueprint-kotlin-parent

This was accidentally removed during java 11 upgrade.
Without the plugin in this pom, mvn test will not work.

Issue-ID: CCSDK-3178
Change-Id: I756092a4b71f4bfe75aae3ec6c276a0afc39fde4
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
3 years agoAdd missing component-k8s-config-value.json 81/118181/1
Grzegorz Wielgosinski [Mon, 22 Feb 2021 16:14:57 +0000 (17:14 +0100)]
Add missing component-k8s-config-value.json

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

3 years agoMerge "Wrap day2 api and create configuration-value component"
KAPIL SINGAL [Sat, 20 Feb 2021 03:34:07 +0000 (03:34 +0000)]
Merge "Wrap day2 api and create configuration-value component"

3 years agoK8sPlugin Query API endpoint added 24/118124/1
Lukasz Rajewski [Fri, 19 Feb 2021 18:23:11 +0000 (19:23 +0100)]
K8sPlugin Query API endpoint added

K8sPlugin Query API endpoint added

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

3 years agoWrap day2 api and create configuration-value component 92/117892/4
Grzegorz Wielgosinski [Tue, 16 Feb 2021 11:53:49 +0000 (12:53 +0100)]
Wrap day2 api and create configuration-value component

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

3 years agoK8sPlugin Healthcheck API and API refactoring 93/117993/1
Lukasz Rajewski [Wed, 17 Feb 2021 19:33:21 +0000 (20:33 +0100)]
K8sPlugin Healthcheck API and API refactoring

K8sPlugin Healthcheck API and API refactoring

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

3 years agoFixed null pointer exception for JSON RA 49/117949/1
Lukasz Rajewski [Wed, 17 Feb 2021 13:11:06 +0000 (14:11 +0100)]
Fixed null pointer exception for JSON RA

Fixed null pointer exception for JSON RA

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

3 years ago1. Wrap configuration-template DAY2 API 06/117606/6
Grzegorz Wielgosinski [Mon, 8 Feb 2021 18:24:25 +0000 (19:24 +0100)]
1. Wrap configuration-template DAY2 API
2. Create config-template component

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

3 years agoAdded Kafka metrics for CDS workers 64/117764/1
Julien Fontaine [Fri, 5 Feb 2021 19:18:06 +0000 (14:18 -0500)]
Added Kafka metrics for CDS workers

Added counters to gather metrics on CDS Kafka workers.
This will enable us to get metrics on how many messages we consumer and produce to/from kafka.
For consumers we count how many messages we consume and how many failed ie. consumed but not able to be processed (parsing error).
For producers we count how many messages we produce and how many failed ie. failed to be pushed to the cluster (unavailable brokers, network error, ...).
Relocated metrics tag constants to BlueprintConstants so that they can be use by any CDS module.
If they make sense for other metrics then they should be shared.

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

3 years agoImprove logging for CDS Kafka workers 54/117754/3
Julien Fontaine [Tue, 26 Jan 2021 19:47:32 +0000 (14:47 -0500)]
Improve logging for CDS Kafka workers

Modified CDS Kafka consumersand producers logs to provide more details about the topic of the consumer record being consumed or published.
Refactored the publish callback to make it more readable.
Refactored audit service log error messages.

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

3 years agoK8sPlugin Instance API Handlers 99/117699/2
Lukasz Rajewski [Wed, 10 Feb 2021 21:07:29 +0000 (22:07 +0100)]
K8sPlugin Instance API Handlers

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

3 years agoMerge "Remove Save scenario from Function Attributes Side"
KAPIL SINGAL [Wed, 10 Feb 2021 13:36:12 +0000 (13:36 +0000)]
Merge "Remove Save scenario from Function Attributes Side"

3 years agoMerge "detect paste change in ace-editor"
KAPIL SINGAL [Wed, 10 Feb 2021 13:36:04 +0000 (13:36 +0000)]
Merge "detect paste change in ace-editor"

3 years agoRemove Save scenario from Function Attributes Side 76/117676/1
Sarah Abouzainah [Wed, 10 Feb 2021 11:55:02 +0000 (13:55 +0200)]
Remove Save scenario from Function Attributes Side

Issue-ID: CCSDK-3150

Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com>
Change-Id: I8ba17be31214a78941bcc262cc9f911ec6c458c7

3 years agodetect paste change in ace-editor 65/117665/1
Eltanany Shaaban [Wed, 10 Feb 2021 09:59:52 +0000 (11:59 +0200)]
detect paste change in ace-editor

Issue-ID: CCSDK-3149

Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com>
Change-Id: I0d636ba3d2a7b6097083f18763f8eba92187d179

3 years agoInstance dependencies in ComponentScriptExecutor 52/117652/3
Lukasz Rajewski [Tue, 9 Feb 2021 18:54:19 +0000 (19:54 +0100)]
Instance dependencies in ComponentScriptExecutor

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

3 years agoMove configuration beans out of profile.upload package 02/117602/4
Grzegorz Wielgosinski [Mon, 8 Feb 2021 16:57:03 +0000 (17:57 +0100)]
Move configuration beans out of profile.upload package

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

3 years agoIssue-ID: CCSDK-3130 18/117418/2
Grzegorz Wielgosinski [Wed, 3 Feb 2021 11:56:59 +0000 (12:56 +0100)]
Issue-ID: CCSDK-3130

1. Change module name to k8s-connection-plugin
2. Move K8sPluginApi.kt and K8sUploadFileRestClientService.kt out of profile.upload package

Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com>
Change-Id: I1708428ce986bc97e69dfbef9cf837a8039ccfe8

3 years agoMerge "fixing input and output action"
KAPIL SINGAL [Tue, 2 Feb 2021 13:44:20 +0000 (13:44 +0000)]
Merge "fixing input and output action"

3 years agoadd properties for dictionary sources 51/117351/1
Ahmedeldeeb50 [Tue, 2 Feb 2021 11:21:07 +0000 (13:21 +0200)]
add properties for dictionary sources

Issue-ID: CCSDK-3093

Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: I5141ae40df5a81495f903f8e443953f695c3dd4b

3 years agofixing input and output action 49/117349/2
Eltanany Shaaban [Tue, 2 Feb 2021 10:56:39 +0000 (12:56 +0200)]
fixing input and output action

Issue-ID: CCSDK-2779
Issue-ID: CCSDK-3025

Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com>
Change-Id: Ie9a89b5312a173925d44b9868d796775912304a8

3 years agoPV/PVC elimination 22/116922/2
Oleg Mitsura [Fri, 15 Jan 2021 18:49:25 +0000 (13:49 -0500)]
PV/PVC elimination

Issue-ID: CCSDK-3086

1. initial commit
2. fix accidental paste / rebased
   cleaned up unneeded validation call in cmd-exec upload

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

3 years agoMerge "solving showing icon and filter by tags"
KAPIL SINGAL [Sun, 24 Jan 2021 20:24:52 +0000 (20:24 +0000)]
Merge "solving showing icon and filter by tags"

3 years agoenable user to add sources to the Dictionary 87/117087/1
Ahmedeldeeb50 [Sun, 24 Jan 2021 11:30:30 +0000 (13:30 +0200)]
enable user to add  sources to the Dictionary

Issue-ID: CCSDK-3083

Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: Ia8365cbad47d40849a65162829cee1c812bf433b

3 years agosolving showing icon and filter by tags 86/117086/1
Eltanany Shaaban [Sun, 24 Jan 2021 11:16:47 +0000 (13:16 +0200)]
solving showing icon and filter by tags

Issue-ID: CCSDK-2432
Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com>
Change-Id: Id90a8706374f67959c43b616e4b123baa782354b

3 years agoRenaming Files having BluePrint to have Blueprint 76/117076/2
KAPIL SINGAL [Fri, 22 Jan 2021 16:49:51 +0000 (11:49 -0500)]
Renaming Files having BluePrint to have Blueprint

Replacing BluePrint with Blueprint throughout

Issue-ID: CCSDK-3098
Signed-off-by: KAPIL SINGAL <ks220y@att.com>
Change-Id: Ibee8bad07ae7d9287073db2d4f2f2cd730fa8b96

3 years agoFixing Blueprint Typo's and docs 53/117053/1
Singal, Kapil (ks220y) [Fri, 22 Jan 2021 00:34:39 +0000 (19:34 -0500)]
Fixing Blueprint Typo's and docs

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