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

3 years agoAdd new rst guide files 52/116752/23
Sarah Abouzainah [Tue, 12 Jan 2021 12:47:21 +0000 (14:47 +0200)]
Add new rst guide files

Issue-ID: CCSDK-3070

Issue-ID: CCSDK-3081

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

3 years agoMerge "Modify Data Dictionary style and add source option items"
KAPIL SINGAL [Tue, 19 Jan 2021 14:48:34 +0000 (14:48 +0000)]
Merge "Modify Data Dictionary style and add source option items"

3 years agoModify Data Dictionary style and add source option items 73/116973/2
Sarah Abouzainah [Tue, 19 Jan 2021 13:27:47 +0000 (15:27 +0200)]
Modify Data Dictionary style and add source option items

Issue-ID: CCSDK-3092

Issue-ID: CCSDK-3093

Issue-ID: CCSDK-3094

Issue-ID: CCSDK-3095

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

3 years agochange 'update-by' key in Resource-Dictionary JSON 69/116969/1
Ahmedeldeeb50 [Tue, 19 Jan 2021 12:44:18 +0000 (14:44 +0200)]
change 'update-by' key in Resource-Dictionary JSON

Issue-ID: CCSDK-3083

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

3 years agoMerge "Remove save button from function Attributes tab"
KAPIL SINGAL [Tue, 19 Jan 2021 04:17:52 +0000 (04:17 +0000)]
Merge "Remove save button from function Attributes tab"

3 years agocreate dictionary resource from metadata tab 50/116950/1
Ahmedeldeeb50 [Mon, 18 Jan 2021 12:26:22 +0000 (14:26 +0200)]
create dictionary resource from metadata tab

enable the user to add source from the UI

Issue-ID: CCSDK-3083

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

3 years agoRemove save button from function Attributes tab 35/116935/1
Ahmedeldeeb50 [Sun, 17 Jan 2021 15:23:59 +0000 (17:23 +0200)]
Remove save button from function Attributes tab

Issue-ID: CCSDK-3088

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

3 years agoMerge "enable 2-way binding between metadata and editor tabs"
KAPIL SINGAL [Thu, 14 Jan 2021 04:21:41 +0000 (04:21 +0000)]
Merge "enable 2-way binding between metadata and editor tabs"

3 years agoenable 2-way binding between metadata and editor tabs 01/116801/1
Ahmedeldeeb50 [Wed, 13 Jan 2021 17:50:20 +0000 (19:50 +0200)]
enable 2-way binding between metadata and editor tabs

Issue-ID: CCSDK-3083

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

3 years agoApply style modifications to done development tasks 53/116753/2
Sarah Abouzainah [Tue, 12 Jan 2021 12:58:54 +0000 (14:58 +0200)]
Apply style modifications to done development tasks

Issue-ID: CCSDK-2525

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

3 years agofixing bugs import inputs and outputs from functions into actions 80/116780/1
Eltanany Shaaban [Wed, 13 Jan 2021 09:29:44 +0000 (11:29 +0200)]
fixing bugs import inputs and outputs from functions into actions

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

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

3 years agoAdd icon beside the selected templates in Function attributes tab 49/116749/1
Ahmedeldeeb50 [Tue, 12 Jan 2021 11:07:45 +0000 (13:07 +0200)]
Add icon beside the selected templates in Function attributes tab

update create_resource_dictionary API

Issue-ID: CCSDK-3082
Issue-ID: CCSDK-3078

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

3 years agoMerge "Update committer list"
KAPIL SINGAL [Tue, 12 Jan 2021 00:04:49 +0000 (00:04 +0000)]
Merge "Update committer list"

3 years agoUpdate committer list 33/116733/1
Dan Timoney [Mon, 11 Jan 2021 18:27:27 +0000 (13:27 -0500)]
Update committer list

Remove Jack Lucas as committer - Jack has moved on to other
work and resigned as committer from CCSDK

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

3 years agoEnable user to create new resource dictionary with json 21/116721/1
Ahmedeldeeb50 [Mon, 11 Jan 2021 12:10:35 +0000 (14:10 +0200)]
Enable user to create new resource dictionary with json

Issue-ID: CCSDK-3078

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

3 years agochanging json handling with function inputs 14/116714/1
Eltanany Shaaban [Sun, 10 Jan 2021 15:32:41 +0000 (17:32 +0200)]
changing json handling with function inputs

Issue-ID: CCSDK-3051

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

3 years agoCDS add Swagger annotations for Model Type API 95/116695/1
Piotr Stanior [Fri, 8 Jan 2021 13:03:30 +0000 (14:03 +0100)]
CDS add Swagger annotations for Model Type API

Issue-ID: CCSDK-3014
Change-Id: I469151beef8ebf63b3a24ca4ce9a047c0b80850a
Signed-off-by: Piotr Stanior <piotr.stanior@t-mobile.pl>
3 years agoCreate local build profile for designer-client 61/116561/2
Ahmedeldeeb50 [Mon, 4 Jan 2021 12:45:26 +0000 (14:45 +0200)]
Create local build profile for designer-client

update loader logo

Issue-ID: CCSDK-3072, CCSDK-2433

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

3 years ago[docker] use `--no-cache-dir` flag to `pip` in dockerfiles to save space 49/116549/1
Pratik raj [Wed, 30 Dec 2020 17:22:18 +0000 (22:52 +0530)]
[docker] use `--no-cache-dir` flag to `pip` in dockerfiles to save space

using "--no-cache-dir" flag in pip install ,make sure downloaded
packages by pip don't cached on system . This is a best practice
which make sure to fetch from repo instead of using local cached one .
Further , in case of Docker Containers , by restricting caching ,
we can reduce image size.
In term of stats , it depends upon the number of python packages
multiplied by their respective size . e.g for heavy packages with a lot
of dependencies it reduce a lot by don't caching pip packages.

Further , more detail information can be found at

https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6

Issue-ID: CCSDK-3071
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
Change-Id: I9c957bda7fbcf631ce9be65bd5bcc41d2c9ada48

3 years agoAdd create script modal in script tab. 22/116522/2
Ahmedeldeeb50 [Sun, 27 Dec 2020 12:50:56 +0000 (14:50 +0200)]
Add create script modal in script tab.

Issue-ID: CCSDK-3051

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

3 years agoMerge "CDS API Reference add workflow tutorial"
KAPIL SINGAL [Mon, 21 Dec 2020 14:31:18 +0000 (14:31 +0000)]
Merge "CDS API Reference add workflow tutorial"

3 years agoCDS API Reference add workflow tutorial 94/116494/1
JakobKrieg [Mon, 21 Dec 2020 08:23:05 +0000 (09:23 +0100)]
CDS API Reference add workflow tutorial

Issue-ID: CCSDK-3060
Change-Id: I9e3465f4fff816ad8dcdb74f54713e11d9d246cd
Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
3 years agoadd new build script 91/116491/1
Ahmedeldeeb50 [Sun, 20 Dec 2020 08:47:47 +0000 (10:47 +0200)]
add new build script

add highlighting for action output selection

Issue-ID: CCSDK-3042

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

3 years agoMerge "Fixed NoClassDefFoundError when USE_SCRIPT_COMPILE_CACHE is set to false"
KAPIL SINGAL [Thu, 17 Dec 2020 17:11:35 +0000 (17:11 +0000)]
Merge "Fixed NoClassDefFoundError when USE_SCRIPT_COMPILE_CACHE is set to false"

3 years agoRefactoring assembly.id and name.space 12/116412/6
Singal, Kapil (ks220y) [Wed, 16 Dec 2020 01:56:54 +0000 (20:56 -0500)]
Refactoring assembly.id and name.space

Upgrading base onap/ccsdk-alpine-j11-image to version 1.1.0

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

3 years agoFixed NoClassDefFoundError when USE_SCRIPT_COMPILE_CACHE is set to false 09/116409/3
Julien Fontaine [Wed, 2 Dec 2020 21:25:08 +0000 (16:25 -0500)]
Fixed NoClassDefFoundError when USE_SCRIPT_COMPILE_CACHE is set to false

USE_SCRIPT_COMPILE_CACHE set to false cleans the Class Loader cache after each kotlin script execution.
When several kotlin script are executed in parallel (ie no dependency between them) and USE_SCRIPT_COMPILE_CACHE=false then
the class loader from the cache may be deleted before one of those executed kotlin script get the time to finish which to the NoClassDefFoundError.

Removed cleanupInstance method for kotlin script executors that where causing the class loader to be removed prematurely.
Now the behaviour is to remove the class loader from the cache only when we publish a new CBA which was already the case when CDS run with a single instance.
In cluster mode, a topic has been added to hazelcast to allow the instance publishing the updated CBA to communicate to the other instances by sending a message to clean the class loader
for this CBA from their cache.

Added mutex on kotlin script compilation to fix race condition. For concurrent kotlin script execution each process wanted to compile an executable but it was causing a race condition if a process tries to execute while another still compile. Mutex on the execution path prevent this behaviour

Issue-ID: CCSDK-3052
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: I6ab002352b3272898ad0b183341ee664652c8ae3

3 years agoMerge "Add Deploy status icon and fix Script form design"
KAPIL SINGAL [Wed, 16 Dec 2020 13:47:10 +0000 (13:47 +0000)]
Merge "Add Deploy status icon and fix Script form design"

3 years agoAdd Deploy status icon and fix Script form design 11/116411/2
Sarah Abouzainah [Wed, 16 Dec 2020 00:45:47 +0000 (02:45 +0200)]
Add Deploy status icon and fix Script form design

Issue-ID: CCSDK-2320

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

3 years agoFixing typo in message-prioritization 10/116410/5
Singal, Kapil (ks220y) [Wed, 16 Dec 2020 00:02:17 +0000 (19:02 -0500)]
Fixing typo in message-prioritization
Refactoring few POMs name tag

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

3 years agoCDS add Postman collection for Resource, Template, Dictionary and Config API 57/116357/5
Piotr Stanior [Tue, 15 Dec 2020 09:13:34 +0000 (10:13 +0100)]
CDS add Postman collection for Resource, Template, Dictionary and Config API

Issue-ID: CCSDK-3014
Change-Id: Ic9892c035067064fd612f2781507a36072e4e712
Signed-off-by: Piotr Stanior <piotr.stanior@t-mobile.pl>
3 years agoMerge "handle json inputs in function attributes"
KAPIL SINGAL [Tue, 15 Dec 2020 20:12:47 +0000 (20:12 +0000)]
Merge "handle json inputs in function attributes"

3 years agoMerge "adding scripts features by allowing creating from scratch"
KAPIL SINGAL [Tue, 15 Dec 2020 20:12:38 +0000 (20:12 +0000)]
Merge "adding scripts features by allowing creating from scratch"

3 years agoadding scripts features by allowing creating from scratch 06/116406/1
Eltanany Shaaban [Tue, 15 Dec 2020 18:30:59 +0000 (20:30 +0200)]
adding scripts features by allowing creating from scratch

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

3 years agohandle json inputs in function attributes 05/116405/1
Ahmedeldeeb50 [Tue, 15 Dec 2020 18:21:23 +0000 (20:21 +0200)]
handle json inputs in function attributes

Issue-ID: CCSDK-3050

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

3 years agoMerge "CDS add vFW Use Case from Integration project"
KAPIL SINGAL [Tue, 15 Dec 2020 17:40:24 +0000 (17:40 +0000)]
Merge "CDS add vFW Use Case from Integration project"

3 years agoMerge "Fixing script text editor window that closes suddenly"
KAPIL SINGAL [Tue, 15 Dec 2020 16:13:21 +0000 (16:13 +0000)]
Merge "Fixing script text editor window that closes suddenly"

3 years agoFixing script text editor window that closes suddenly 02/116402/2
Eltanany Shaaban [Tue, 15 Dec 2020 14:58:27 +0000 (16:58 +0200)]
Fixing script text editor window that closes suddenly

Issue-ID: CCSDK-3049

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

3 years agoStop clearing angular store after deploy to avoid script problem. 59/116359/3
Ahmedeldeeb50 [Tue, 15 Dec 2020 09:17:29 +0000 (11:17 +0200)]
Stop clearing angular store after deploy to avoid script problem.

Issue-ID: CCSDK-3042

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

3 years agoCDS add vFW Use Case from Integration project 88/116388/2
JakobKrieg [Tue, 15 Dec 2020 12:27:39 +0000 (13:27 +0100)]
CDS add vFW Use Case from Integration project

Issue-ID: DOC-698
Change-Id: I838e90d4f229dcf544117146d72dfd1af193dfb4
Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
3 years agoAdd CDS version and apply minor css style changes 51/116351/1
Sarah Abouzainah [Tue, 15 Dec 2020 00:15:46 +0000 (02:15 +0200)]
Add CDS version and apply minor css style changes

Issue-ID: CCSDK-2292

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

3 years agoMerge "1- Fix add template & cancel button in templates modal"
KAPIL SINGAL [Mon, 14 Dec 2020 19:07:18 +0000 (19:07 +0000)]
Merge "1- Fix add template & cancel button in templates modal"

3 years agoMerge "CDS API reference add request classes"
KAPIL SINGAL [Mon, 14 Dec 2020 19:06:59 +0000 (19:06 +0000)]
Merge "CDS API reference add request classes"

3 years agoMerge "Pass on MDCContext to imperative workflow"
KAPIL SINGAL [Mon, 14 Dec 2020 19:06:51 +0000 (19:06 +0000)]
Merge "Pass on MDCContext to imperative workflow"

3 years agoMerge "CDS add Swagger annotations for Resource, Template, Dictionary and Config...
KAPIL SINGAL [Mon, 14 Dec 2020 19:06:30 +0000 (19:06 +0000)]
Merge "CDS add Swagger annotations for Resource, Template, Dictionary and Config API"

3 years agoMerge "ResourceResolution should fail if required resource did not resolve -edge...
KAPIL SINGAL [Mon, 14 Dec 2020 19:05:52 +0000 (19:05 +0000)]
Merge "ResourceResolution should fail if required resource did not resolve  -edge case"

3 years agoMerge "CDS Swagger remove yaml files"
KAPIL SINGAL [Mon, 14 Dec 2020 19:02:03 +0000 (19:02 +0000)]
Merge "CDS Swagger remove yaml files"

3 years agoshowing topology template in configuration dashboard 32/116332/7
Eltanany Shaaban [Sun, 13 Dec 2020 18:16:17 +0000 (20:16 +0200)]
showing topology template in configuration dashboard

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

3 years agoCDS Swagger remove yaml files 40/116240/3
JakobKrieg [Wed, 9 Dec 2020 08:09:46 +0000 (09:09 +0100)]
CDS Swagger remove yaml files

Issue-ID: CCSDK-3014
Change-Id: I3f2f6bbe4d7f2b49e0ff1511f2938d258cc4976b
Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
3 years agoCDS API reference add request classes 61/116261/3
JakobKrieg [Wed, 9 Dec 2020 14:05:10 +0000 (15:05 +0100)]
CDS API reference add request classes

Issue-ID: CCSDK-3014
Change-Id: If0a0a6169ac43a66c3dc51639e3a22efa49dcba5
Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
3 years agoCDS add Swagger annotations for Resource, Template, Dictionary and Config API 42/116242/4
Piotr Stanior [Wed, 9 Dec 2020 08:36:03 +0000 (09:36 +0100)]
CDS add Swagger annotations for Resource, Template, Dictionary and Config API

Issue-ID: CCSDK-3014
Change-Id: I380c38cde52a748a9b797c573b7651a766e8b496
Signed-off-by: Piotr Stanior <piotr.stanior@t-mobile.pl>
3 years agoPass on MDCContext to imperative workflow 73/116273/3
Jozsef Csongvai [Thu, 10 Dec 2020 00:45:48 +0000 (19:45 -0500)]
Pass on MDCContext to imperative workflow

Issue-ID: CCSDK-3032
Change-Id: Id62ab38064d5d3b1a24db674804d710ca407940e
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
3 years ago1- Fix add template & cancel button in templates modal 33/116333/3
Ahmedeldeeb50 [Sun, 13 Dec 2020 19:47:55 +0000 (21:47 +0200)]
1- Fix add template & cancel button in templates modal

2- Add a distinctive color to the selected template

Issue-ID: CCSDK-3042

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

3 years agoResourceResolution should fail if required resource did not resolve -edge case 37/116237/4
kuldipr [Wed, 9 Dec 2020 00:30:52 +0000 (19:30 -0500)]
ResourceResolution should fail if required resource did not resolve  -edge case

Issue-ID: CCSDK-3022
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: Ia88a86f13c693a7bcd2d61cdfb5c2e39041b5a31
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
3 years agoUpdating parent pom version to 2.1.1-SNAPSHOT 42/116342/6
Singal, Kapil (ks220y) [Mon, 14 Dec 2020 15:16:59 +0000 (10:16 -0500)]
Updating parent pom version to 2.1.1-SNAPSHOT

Comenting out testSampleAaiReq from RestClientServiceTest.kt
as this is causing verify job timeout

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

3 years agoMerge "CDS add API reference documentation"
KAPIL SINGAL [Tue, 8 Dec 2020 19:19:05 +0000 (19:19 +0000)]
Merge "CDS add API reference documentation"

3 years agoMerge "CDS add Swagger annotations for BP Model API"
KAPIL SINGAL [Tue, 8 Dec 2020 19:18:57 +0000 (19:18 +0000)]
Merge "CDS add Swagger annotations for BP Model API"

3 years agoCDS add API reference documentation 29/116229/1
JakobKrieg [Tue, 8 Dec 2020 18:15:36 +0000 (19:15 +0100)]
CDS add API reference documentation

Issue-ID: CCSDK-3014
Change-Id: Id31270c287bdf23de5feb6666ca859d6cd5732c2
Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
3 years agoCDS add Swagger annotations for BP Model API 28/116228/1
JakobKrieg [Tue, 8 Dec 2020 18:04:52 +0000 (19:04 +0100)]
CDS add Swagger annotations for BP Model API

Issue-ID: CCSDK-3014
Change-Id: Ibca7cbaa2c70f04acf818e2b554664e13b116c5e
Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>