ccsdk/cds.git
3 years agofixing issues in configuration package 72/111672/1
ShaabanEltanany [Tue, 25 Aug 2020 08:40:42 +0000 (10:40 +0200)]
fixing issues in configuration package

Issue-ID: CCSDK-2336

Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com>
Change-Id: I38e542a7959f98548a5494b0ee40ddb236f2595f

3 years agoMerge "change version regex"
KAPIL SINGAL [Mon, 24 Aug 2020 19:10:03 +0000 (19:10 +0000)]
Merge "change version regex"

3 years agoMerge "Adding Pagination Loader"
KAPIL SINGAL [Mon, 24 Aug 2020 18:51:37 +0000 (18:51 +0000)]
Merge "Adding Pagination Loader"

3 years agochange version regex 31/111631/3
Ahmedeldeeb50 [Mon, 24 Aug 2020 11:40:31 +0000 (13:40 +0200)]
change version regex

add tag with space click

Issue-ID: CCSDK-2437
Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: I366a97b39f7d2bdc77a99991a1fe4b6a17e07eaa

3 years agoAdding Pagination Loader 28/111628/3
Ahmedeldeeb50 [Mon, 24 Aug 2020 10:19:59 +0000 (12:19 +0200)]
Adding Pagination Loader

Issue-ID: CCSDK-2433
Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: I335ee8fb72c51f303183108aa36887fa0b65cf62

3 years agofixing issues in configuration package 41/111641/2
ShaabanEltanany [Mon, 24 Aug 2020 12:58:43 +0000 (14:58 +0200)]
fixing issues in configuration package

Issue-ID: CCSDK-2336
Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com>
Change-Id: Iae9f5151bc222b0b599a666218f3867269edc5e8

3 years agoMerge "Add request IDs in command-executor log"
KAPIL SINGAL [Mon, 24 Aug 2020 18:06:49 +0000 (18:06 +0000)]
Merge "Add request IDs in command-executor log"

3 years agoAdd request IDs in command-executor log 74/111574/5
Julien Fontaine [Thu, 20 Aug 2020 21:51:17 +0000 (17:51 -0400)]
Add request IDs in command-executor log

* Update gRPC interface to handle SubRequestID and Originator ID
* Update command-executor log format to handle request IDs in the log statement
* Add SubRequest ID and Originator ID in BP log statement

Issue-ID: CCSDK-2687
Change-Id: If261bb0912df5800ed2fc65371c5ee784d6a45fb
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
3 years agoAdd Blueprint Processor debug setup guide for Visual Studio Code 28/111528/3
Marek Szwałkiewicz [Fri, 21 Aug 2020 11:05:49 +0000 (11:05 +0000)]
Add Blueprint Processor debug setup guide for Visual Studio Code

Issue-ID: CCSDK-2682
Change-Id: I07b369d4bae295b3d957975f456f5d1c59c7e291
Signed-off-by: Marek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
3 years agofixes for J11 99/111499/6
Michael Dürre [Fri, 21 Aug 2020 04:56:48 +0000 (06:56 +0200)]
fixes for J11

fix pom files for J11 compile issues

Issue-ID: CCSDK-2680
Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
Change-Id: Iaa7a426cdf947288af64d41a94d954a933217332
Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
3 years agoUpgrading Parent pom version 49/111649/1
Singal, Kapil (ks220y) [Mon, 24 Aug 2020 13:40:42 +0000 (09:40 -0400)]
Upgrading Parent pom version

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

3 years agoFix toc header developer guide 03/111403/1
JakobKrieg [Wed, 19 Aug 2020 07:31:52 +0000 (09:31 +0200)]
Fix toc header developer guide

Issue-ID: CCSDK-2640
Change-Id: I94bf9a939ad04ea10784d6e0892e1d43e24057c9
Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
3 years agoMerge "Add and update Guide 'Running BP Processor in IDE"
KAPIL SINGAL [Tue, 18 Aug 2020 14:50:45 +0000 (14:50 +0000)]
Merge "Add and update Guide 'Running BP Processor in IDE"

3 years agoModeling Concepts Guide fix Copyrights 42/111342/1
JakobKrieg [Mon, 17 Aug 2020 20:36:44 +0000 (22:36 +0200)]
Modeling Concepts Guide fix Copyrights

Issue-ID: CCSDK-2615
Change-Id: I89eb901f54cde730cbbfb4b9f29f4c31c3e799a2
Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
3 years agoAdd and update Guide 'Running BP Processor in IDE 36/111336/2
JakobKrieg [Mon, 17 Aug 2020 19:04:35 +0000 (21:04 +0200)]
Add and update Guide 'Running BP Processor in IDE

Issue-ID: CCSDK-2640
Change-Id: I53fc4d9528cbc8ffab0b8b613c7c7350bc330fa2
Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
3 years agoMerge "disable GRPC bydefault"
KAPIL SINGAL [Mon, 17 Aug 2020 16:51:47 +0000 (16:51 +0000)]
Merge "disable GRPC bydefault"

3 years agodisable GRPC bydefault 25/111325/1
ShaabanEltanany [Mon, 17 Aug 2020 15:34:35 +0000 (17:34 +0200)]
disable GRPC bydefault

Issue-ID: CCSDK-2070
Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com>
Change-Id: Ica011b6084c9c916e62a7f95f33e038378a8e3ff

3 years agoFixing and Refactoring Pom 24/111324/2
Singal, Kapil (ks220y) [Mon, 17 Aug 2020 14:56:59 +0000 (10:56 -0400)]
Fixing and Refactoring Pom

Changing parent reference to avoid relative path issue and adding copyright header to new pom

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

3 years agoMerge "Add functions/endpoints to fetch all config snapshots for a given resource...
KAPIL SINGAL [Wed, 12 Aug 2020 18:24:13 +0000 (18:24 +0000)]
Merge "Add functions/endpoints to fetch all config snapshots for a given resource type or Id - configs-snapshot rest API"

3 years agoAppend input param true in workflow-spec 98/111198/1
jananib [Wed, 12 Aug 2020 17:17:11 +0000 (22:47 +0530)]
Append input param true in workflow-spec

Workflow spec

Change-Id: Iac833abcc3d1079fbe8d12a354fd7ceff1aa758e
Issue-ID: CCSDK-422
Signed-off-by: jananib <janani.b@huawei.com>
3 years agoMerge "Add test-blueprint-kotlin-parent"
KAPIL SINGAL [Wed, 12 Aug 2020 14:56:17 +0000 (14:56 +0000)]
Merge "Add test-blueprint-kotlin-parent"

3 years agoAdd code-block language for CBA structure 74/111174/1
JakobKrieg [Wed, 12 Aug 2020 09:23:52 +0000 (11:23 +0200)]
Add code-block language for CBA structure

Issue-ID: CCSDK-2615
Change-Id: I82eabcec215c1313b3fce418978678d8a0306dfa
Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
3 years agoAdd test-blueprint-kotlin-parent 57/111157/1
Jozsef Csongvai [Tue, 11 Aug 2020 20:17:55 +0000 (16:17 -0400)]
Add test-blueprint-kotlin-parent

This parent project is intended for inheritence in CBA pom.xml.
It provides dependencies for testing and mocking kotlin scripts.
By turning a CBA into a maven project which inherits this parent,
users will be able to debug and unit test their kotlin scripts.

The parent also includes a profile (-Pdeploy-cba) which will enrich
and publish the CBA to a running instance of CDS, defined by properties
in the CBA pom.xml.

This patch also adds a common assembly descriptor for resuse in
maven-assembly-plugin where it is used to package CBA into zip.

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

3 years agoAdd functions/endpoints to fetch all config snapshots for a given resource type or... 28/111128/1
Serge Simard [Tue, 11 Aug 2020 13:47:23 +0000 (09:47 -0400)]
Add functions/endpoints to fetch all config snapshots for a given resource type or Id - configs-snapshot rest API

Issue-ID: CCSDK-2641

Signed-off-by: Serge Simard <serge@agilitae.com>
Change-Id: I392fa72bcbe39fd5306d4d2fdf7f49d62ec441b5

3 years agoMerge "Adding Modeling Concepts documentation from COnfluence to RDT"
Dan Timoney [Mon, 10 Aug 2020 12:12:41 +0000 (12:12 +0000)]
Merge "Adding Modeling Concepts documentation from COnfluence to RDT"

3 years agoMerge "Make use of Kafka Key for Audit service and Kafka listener"
KAPIL SINGAL [Mon, 10 Aug 2020 11:30:27 +0000 (11:30 +0000)]
Merge "Make use of Kafka Key for Audit service and Kafka listener"

3 years agoKafka Audit Service: Error during sensitive data hiding 34/111034/1
Julien Fontaine [Fri, 7 Aug 2020 13:51:39 +0000 (09:51 -0400)]
Kafka Audit Service: Error during sensitive data hiding

Changed behaviour during sensitive data hiding.
Instead of looking for every node template defined in the CBA we only check for the ones declared for the current executed workflow.
This prevent the issue when you have two independant workflows defined in the same CBA and one of those has a node template using a get_input expression for template-prefix in a component-resource-resolution. If you execute the other workflow audit service was still trying to resolve this expression which was making it fail.

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

3 years agoMake use of Kafka Key for Audit service and Kafka listener 93/110893/4
Julien Fontaine [Tue, 4 Aug 2020 15:57:56 +0000 (11:57 -0400)]
Make use of Kafka Key for Audit service and Kafka listener

* When message is sent by audit service, key will be the  CBA name
* When sent by kafka listener (self-service api), key is the same as the request message key consumed. If not specified, a random UUID
* MessageProducer interface refactoring :
  * add 'key' parameter to specify a key
  * add default value null to paramater 'headers' to remove some unnecessary method

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

3 years agoAdding Modeling Concepts documentation from COnfluence to RDT 96/110896/1
JakobKrieg [Tue, 4 Aug 2020 18:46:50 +0000 (20:46 +0200)]
Adding Modeling Concepts documentation from COnfluence to RDT

Issue-ID: CCSDK-2615
Change-Id: Ib5dfaecc96e8fac1dda07aa6c13aba5ded81efee
Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
3 years agocds-exec shouldn't return "N/A" as output 97/110497/3
Oleg Mitsura [Thu, 23 Jul 2020 14:02:43 +0000 (10:02 -0400)]
cds-exec shouldn't return "N/A" as output

Issue-ID: CCSDK-2603

* execute-command-logs" should always be a list (in some cases,
  we had a string causing possible parsing problems)
* response-data should be JSON and "N/A" not acceptible.

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

3 years agoMerge "Fix empty dict in the script arguments when running a script in the cmd-exec"
KAPIL SINGAL [Fri, 31 Jul 2020 13:05:05 +0000 (13:05 +0000)]
Merge "Fix empty dict in the script arguments  when running a script in the cmd-exec"

3 years agoImprove Kafka Producer callback messages 09/110709/2
Julien Fontaine [Wed, 29 Jul 2020 23:06:00 +0000 (19:06 -0400)]
Improve Kafka Producer callback messages

Check if message sent is a BP request/response to print CBA name and version in the callback message.

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

3 years agoMerge "Docs: Updating CDS architecture overview picture"
KAPIL SINGAL [Tue, 28 Jul 2020 11:58:05 +0000 (11:58 +0000)]
Merge "Docs: Updating CDS architecture overview picture"

3 years agoDocs: Updating CDS architecture overview picture 96/110396/3
JakobKrieg [Tue, 21 Jul 2020 08:42:45 +0000 (10:42 +0200)]
Docs: Updating CDS architecture overview picture

Issue-ID: CCSDK-2584
Change-Id: I064ed353128e14c4c0f3d669bc7cd67ff4f5e7e2
Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
3 years agoFix empty dict in the script arguments when running a script in the cmd-exec 26/110626/1
Julien Fontaine [Mon, 27 Jul 2020 15:26:27 +0000 (11:26 -0400)]
Fix empty dict in the script arguments  when running a script in the cmd-exec

Add a test to check if dynamic properties are empty. If empty we don't pass them to the script.

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

3 years agoChange EventListener functions to non-blocking scope 71/110571/2
Jozsef Csongvai [Fri, 24 Jul 2020 17:11:39 +0000 (13:11 -0400)]
Change EventListener functions to non-blocking scope

BluePrintProcessingKafkaConsumer and BluePrintProcessorCluster were
both defining EventListener functions which were executed with
runBlocking. When both were enabled, kafkaconsumer would block
and cluster would never run.

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

3 years agoremote-python-executor was missing timeout inputs 57/110557/1
Oleg Mitsura [Fri, 24 Jul 2020 14:44:10 +0000 (10:44 -0400)]
remote-python-executor was missing timeout inputs

Was present in 'elalto', wasn't merged to frankfurt/master

Issue-ID: CCSDK-2608

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

3 years agoFix NullpointerException in ErrorCatalogLoadPropertyService 26/110426/2
Jozsef Csongvai [Tue, 21 Jul 2020 20:15:56 +0000 (16:15 -0400)]
Fix NullpointerException in ErrorCatalogLoadPropertyService

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

3 years agoDisable jython tests 95/110495/3
Jozsef Csongvai [Thu, 23 Jul 2020 13:13:04 +0000 (09:13 -0400)]
Disable jython tests

BlueprintJythonServiceTest started failing in Jenkins for unknown
reasons. Seeing as jython is deprecated and should be removed, its
not worth tracing the cause.

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

3 years agofix empty tag - bug 64/110364/1
Ahmedeldeeb50 [Sun, 19 Jul 2020 15:54:43 +0000 (17:54 +0200)]
fix empty tag - bug

Issue-ID: CCSDK-1992

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

3 years agoAdd Help link and User profile menu 84/110284/1
Sarah Abouzainah [Thu, 16 Jul 2020 15:52:00 +0000 (17:52 +0200)]
Add Help link and User profile menu

Issue-ID: CCSDK-2567

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

3 years agoMerge "starting manual enrichment functionality"
KAPIL SINGAL [Thu, 16 Jul 2020 10:30:56 +0000 (10:30 +0000)]
Merge "starting manual enrichment functionality"

3 years agostarting manual enrichment functionality 21/110221/4
ShaabanEltanany [Wed, 15 Jul 2020 21:50:43 +0000 (23:50 +0200)]
starting manual enrichment functionality

Issue-ID: CCSDK-2542
Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com>
Change-Id: I3ce3e7aa5deb131b958cef0ca424e4d92fd7913c

3 years agosupport XML for "Upload Attributes List" button for mapping 14/110214/1
AhmedEldeeb50 [Wed, 15 Jul 2020 19:58:59 +0000 (21:58 +0200)]
support XML for "Upload Attributes List" button for mapping

Issue-ID: CCSDK-2571

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

3 years agoMerge "Manual Enrichment."
KAPIL SINGAL [Wed, 15 Jul 2020 12:11:33 +0000 (12:11 +0000)]
Merge "Manual Enrichment."

3 years agocmd-exec payload should be payload, not err msg. 32/110132/4
Oleg Mitsura [Mon, 13 Jul 2020 17:38:10 +0000 (13:38 -0400)]
cmd-exec payload should be payload, not err msg.

Issue-ID: CCSDK-2549

fixes:
1. CMD-exec returns payload as JSON object.
There was some regression where we overwrite returned JSON with errMsg.
2. adds 100ms delta to executionTimeout, as was in our downstream version
(want to guarantee that we get grpc timeout exception on BP side
rather than coroutine w/o waiting extra)
3. setNodeOutputErrors should not have ability to set execution status
to success.

rev1. initial import
rev2. reworked the calls to setNodeOutputErrors: addError was brought out of it
as we can set the node execution error based on prepare.env or execution.
rev3. did not mean to add BlueprintRuntimeService change

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

3 years agoManual Enrichment. 45/110045/4
Sarah Abouzainah [Fri, 10 Jul 2020 01:07:45 +0000 (03:07 +0200)]
Manual Enrichment.

Issue-ID: CCSDK-2542

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

3 years agosingle /enrichandupload endpoint. 14/110014/3
Oleg Mitsura [Thu, 9 Jul 2020 15:19:44 +0000 (11:19 -0400)]
single /enrichandupload endpoint.

Issue-ID: CCSDK-2540

rev1. initial commit
rev2. spacing

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

3 years agoSet EventType for GRPC response in designer API 08/110008/1
Jozsef Csongvai [Thu, 9 Jul 2020 12:32:40 +0000 (08:32 -0400)]
Set EventType for GRPC response in designer API

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

3 years agocmd-exec server-side timeout. 66/109966/1
Oleg Mitsura [Wed, 8 Jul 2020 07:07:07 +0000 (03:07 -0400)]
cmd-exec server-side timeout.

Issue-ID: CCSDK-2535

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

3 years agoMerge "Fix misleading errormessages in script exeutors"
KAPIL SINGAL [Mon, 6 Jul 2020 13:21:18 +0000 (13:21 +0000)]
Merge "Fix misleading errormessages in script exeutors"

3 years agoMerge "Fix merge conflict"
KAPIL SINGAL [Mon, 6 Jul 2020 13:20:34 +0000 (13:20 +0000)]
Merge "Fix merge conflict"

3 years agoFix misleading errormessages in script exeutors 53/109853/1
Jozsef Csongvai [Mon, 6 Jul 2020 11:54:08 +0000 (07:54 -0400)]
Fix misleading errormessages in script exeutors

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

3 years agoFix merge conflict 29/109829/1
Sarah Abouzainah [Sun, 5 Jul 2020 17:45:40 +0000 (19:45 +0200)]
Fix merge conflict

Issue-ID: CCSDK-2477

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

3 years agoAdd error handling for CDS Kafka Producer callback 25/109825/2
Julien Fontaine [Fri, 3 Jul 2020 16:07:56 +0000 (12:07 -0400)]
Add error handling for CDS Kafka Producer callback

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

3 years agoCommand Executor : Invalid response_data when executed script fails 64/109664/9
Julien Fontaine [Mon, 29 Jun 2020 23:54:27 +0000 (19:54 -0400)]
Command Executor : Invalid response_data when executed script fails

* Modified command exec returned value in case of failure during execution. It now prints the response_data defined by the user
* Modified truncation method of the gRPC returned object to use ByteSize() to get the exact sizxe consumed within the buffer

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

3 years agoMerge "Fix incorrect error handling for resolveWorkflowOutputs"
KAPIL SINGAL [Thu, 2 Jul 2020 12:03:41 +0000 (12:03 +0000)]
Merge "Fix incorrect error handling for resolveWorkflowOutputs"

3 years agofixing build failure 55/109755/1
Singh, Rupinderjeet (rs830d) [Thu, 2 Jul 2020 04:38:04 +0000 (10:08 +0530)]
fixing build failure

Issue-ID: CCSDK-2283
Change-Id: I065194bf92c2d0c3098c4e0430e8bfe2e1638e96
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoMerge "RemoteAnsibleExecutor delay vs Thread.sleep bug"
KAPIL SINGAL [Tue, 30 Jun 2020 13:58:50 +0000 (13:58 +0000)]
Merge "RemoteAnsibleExecutor delay vs Thread.sleep bug"

3 years agoMerge "added navbar in source-view component"
KAPIL SINGAL [Tue, 30 Jun 2020 13:38:03 +0000 (13:38 +0000)]
Merge "added navbar in source-view component"

3 years agoRemoteAnsibleExecutor delay vs Thread.sleep bug 80/109680/1
Oleg Mitsura [Tue, 30 Jun 2020 12:46:35 +0000 (08:46 -0400)]
RemoteAnsibleExecutor delay vs Thread.sleep bug

Issue-ID: CCSDK-2505

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

3 years agoFix incorrect error handling for resolveWorkflowOutputs 78/109678/1
Jozsef Csongvai [Tue, 30 Jun 2020 10:59:43 +0000 (06:59 -0400)]
Fix incorrect error handling for resolveWorkflowOutputs

Issue-ID: CCSDK-2504
Change-Id: Ie910e47bb97be2db4f4a4e94653e5ae474a78c0d
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
3 years agoMerge "Add package deletion button"
KAPIL SINGAL [Mon, 29 Jun 2020 12:51:32 +0000 (12:51 +0000)]
Merge "Add package deletion button"

3 years agoAdd package deletion button 32/109632/1
AhmedEldeeb50 [Sun, 28 Jun 2020 13:29:33 +0000 (15:29 +0200)]
Add package deletion button

Issue-ID: CCSDK-2483

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

3 years agofixing required inputs for save function 31/109631/3
ShaabanEltanany [Sun, 28 Jun 2020 09:03:37 +0000 (11:03 +0200)]
fixing required inputs for save function

Issue-ID: CCSDK-2014
Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com>
Change-Id: Iec03932293f0c566333828fac24a071e3e719dfa

3 years agoFix template&mapping in view/create 23/109623/1
AhmedEldeeb50 [Sat, 27 Jun 2020 10:45:17 +0000 (12:45 +0200)]
Fix template&mapping in view/create

Issue-ID: CCSDK-2450

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

3 years agoadded navbar in source-view component 76/109476/6
Rupinder [Wed, 24 Jun 2020 06:21:51 +0000 (11:51 +0530)]
added navbar in source-view component

Issue-ID: CCSDK-2283
Change-Id: I4903ddf8c29727dadf6eaf303f68537aa6f793b8
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agocmdexec should return status=FAILURE on errors 21/109321/7
Oleg Mitsura [Thu, 18 Jun 2020 18:13:30 +0000 (14:13 -0400)]
cmdexec should return status=FAILURE on errors

Issue-ID: CCSDK-2445

In certain cases, status message is returned on error instead of status=FAILURE.
rev 2: reuse same msg
rev 3: past elalto, compoment level timeout is implementation.timeout

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

3 years agoExplicit error message in command-executor when script is failing 84/109584/2
Julien Fontaine [Thu, 25 Jun 2020 21:10:02 +0000 (17:10 -0400)]
Explicit error message in command-executor when script is failing

Changed error message to print the last execution log (if possible) when the executed script fails.

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

3 years agoMerge "change the budget size for maximumWarning and maximumError"
KAPIL SINGAL [Fri, 26 Jun 2020 04:31:34 +0000 (04:31 +0000)]
Merge "change the budget size for maximumWarning and maximumError"

3 years agoMerge "Fix tags view in metadata tab"
KAPIL SINGAL [Fri, 26 Jun 2020 04:31:19 +0000 (04:31 +0000)]
Merge "Fix tags view  in metadata tab"

3 years agochange the budget size for maximumWarning and maximumError 26/109526/1
AhmedEldeeb50 [Wed, 24 Jun 2020 16:13:34 +0000 (18:13 +0200)]
change the budget size for maximumWarning and maximumError

Issue-ID: CCSDK-2474

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

3 years agoFix tags view in metadata tab 12/109512/1
AhmedEldeeb50 [Wed, 24 Jun 2020 14:05:32 +0000 (16:05 +0200)]
Fix tags view  in metadata tab

Issue-ID: CCSDK-2014

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

3 years agoRemove service annotation for ImperativeBluePrintWorkflowService 35/109435/2
Jozsef Csongvai [Mon, 22 Jun 2020 21:24:39 +0000 (17:24 -0400)]
Remove service annotation for ImperativeBluePrintWorkflowService

Even with the PROTOTYPE_SCOPE annotation the bean was in effect
a Singleton, as it was only injected in one other service. The
class has field variables which would be shared by every thread,
potentially causing severe errors under parallel execution.

Removed annotations to disable dependency injection, and instead
create a new instance with every execution call.

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

3 years agoMerge "Fix "npm run build" errors"
KAPIL SINGAL [Tue, 23 Jun 2020 16:46:54 +0000 (16:46 +0000)]
Merge "Fix "npm run build" errors"

3 years agoMerge "Fix template&mapping in view/create"
KAPIL SINGAL [Tue, 23 Jun 2020 16:01:14 +0000 (16:01 +0000)]
Merge "Fix template&mapping in view/create"

3 years agoFix "npm run build" errors 62/109462/1
AhmedEldeeb50 [Tue, 23 Jun 2020 15:28:21 +0000 (17:28 +0200)]
Fix "npm run build" errors

Issue-ID: CCSDK-2474

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

3 years agoFix template&mapping in view/create 60/109460/1
AhmedEldeeb50 [Tue, 23 Jun 2020 14:21:03 +0000 (16:21 +0200)]
Fix template&mapping in view/create

Issue-ID: CCSDK-2450

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

3 years agoFix hazelcast issues 56/109456/1
Jozsef Csongvai [Tue, 23 Jun 2020 12:48:30 +0000 (08:48 -0400)]
Fix hazelcast issues

- confined lock tests to individual threads to ensure correct unlocking
- removed silent failure in clusterlock.unlock function when unlock is
  called by a thread that doesnt own the lock.
- added isLockedByCurrentThread method to ClusterLock interface
- disabled multicast discovery, tcp-ip should be more stable for tests
- fix Hazlecast typo

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

3 years agoMerge "fix issue for deleting files from definition section"
KAPIL SINGAL [Tue, 23 Jun 2020 05:34:12 +0000 (05:34 +0000)]
Merge "fix issue for deleting files from definition section"

3 years agoMerge "Kafka Audit Service : Improve error handling and miscellaneous refactoring"
KAPIL SINGAL [Tue, 23 Jun 2020 05:33:59 +0000 (05:33 +0000)]
Merge "Kafka Audit Service : Improve error handling and miscellaneous refactoring"

3 years agofix issue for deleting files from definition section 28/109428/3
ShaabanEltanany [Mon, 22 Jun 2020 19:10:28 +0000 (21:10 +0200)]
fix issue for deleting files from definition section

Issue-ID: CCSDK-2402
Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com>
Change-Id: I3da68daf0b06c307d0864391ecc504287842f954

3 years agoKafka Audit Service : Improve error handling and miscellaneous refactoring 28/109328/3
Julien Fontaine [Thu, 18 Jun 2020 22:16:38 +0000 (18:16 -0400)]
Kafka Audit Service : Improve error handling and miscellaneous refactoring

When Kafka Audit Service fails it no longer stops Blueprint Processor execution

* Add error handling when trying to hide sensitive data
* Add error handling when trying to send kafka message
* Set timeout for blocking loop when sending messages with kafka producer
-> When broker is not available producer tries to reconnect in a blocking loop
* Refactor Audit Service interface to give more explict name for publish methods
* Modify publishExecutionOutput() to a non-blocking function

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

3 years agoFix exception handling in AbstractComponentFunction 24/109424/1
Jozsef Csongvai [Mon, 22 Jun 2020 18:05:45 +0000 (14:05 -0400)]
Fix exception handling in AbstractComponentFunction

Moved try-catch to applyNB so that it also catches exceptions
in prepareRequestNB. This restores exception handling to the
way it was before introduction of locking feature.

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

3 years agoMerge "add delete button in template&mapping view"
KAPIL SINGAL [Mon, 22 Jun 2020 18:14:26 +0000 (18:14 +0000)]
Merge "add delete button in template&mapping view"

3 years agoMerge "solving continuous saving"
KAPIL SINGAL [Mon, 22 Jun 2020 18:14:05 +0000 (18:14 +0000)]
Merge "solving continuous saving"

3 years agoadd delete button in template&mapping view 20/109420/1
AhmedEldeeb50 [Mon, 22 Jun 2020 16:07:52 +0000 (18:07 +0200)]
add delete button in template&mapping view

Issue-ID: CCSDK-2448

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

3 years agoMerge "Edit mapping table style."
KAPIL SINGAL [Mon, 22 Jun 2020 13:02:29 +0000 (13:02 +0000)]
Merge "Edit mapping table style."

3 years agosolving continuous saving 89/109389/3
ShaabanEltanany [Sun, 21 Jun 2020 19:48:49 +0000 (21:48 +0200)]
solving continuous saving

Issue-ID: CCSDK-2336
Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com>
Change-Id: I7e488950a77a19b7b1b4ac2e4c9044698b9ff757

3 years agoEdit mapping table style. 93/109393/2
Sarah Abouzainah [Sun, 21 Jun 2020 23:42:15 +0000 (01:42 +0200)]
Edit mapping table style.

Issue-ID: CCSDK-2472

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

3 years agoFix editor highlight. 88/109388/4
AhmedEldeeb50 [Sun, 21 Jun 2020 13:55:36 +0000 (15:55 +0200)]
Fix editor highlight.

Issue-ID: CCSDK-2471

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

3 years agoImplement nodetemplate locking feature 48/109348/2
Jozsef Csongvai [Mon, 15 Jun 2020 12:42:08 +0000 (08:42 -0400)]
Implement nodetemplate locking feature

Enables locking execution of a nodetemplate using a
lock key and lock acquire timeout.

Issue-ID: CCSDK-2460
Change-Id: I308d4d89dab44b7f7a766d5b62258e67b051eab1
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
3 years agoMerge "Error when template-prefix-names list is set as an input"
KAPIL SINGAL [Fri, 19 Jun 2020 12:41:20 +0000 (12:41 +0000)]
Merge "Error when template-prefix-names list is set as an input"

3 years agoadded redo-undo buttons 45/109345/1
Rupinder [Fri, 19 Jun 2020 11:51:17 +0000 (17:21 +0530)]
added redo-undo buttons
Modified zoom in and out button

Issue-ID: CCSDK-2279
Change-Id: Ic4a55cba53e681cf21e3e7b3239adf01c3fad69c
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoError when template-prefix-names list is set as an input 78/109278/3
Julien Fontaine [Wed, 17 Jun 2020 19:51:45 +0000 (15:51 -0400)]
Error when template-prefix-names list is set as an input

Case when template-prefix-names list for resource resolution is passed as an input was not handled.
When the audit service was trying to get input-prefix-names values he was only getting {"get_input": "..."} and was not resolving this expression.

Issue-ID: CCSDK-2456
Change-Id: If9ebbf0aa6b6eae3e44a7bfe0b930f622dfd3c1e
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
3 years agoMerge "fix custom keys issues"
KAPIL SINGAL [Fri, 19 Jun 2020 04:00:23 +0000 (04:00 +0000)]
Merge "fix custom keys issues"

3 years agoFix duplicate style files in designer 29/109329/2
Sarah Abouzainah [Fri, 19 Jun 2020 00:15:20 +0000 (02:15 +0200)]
Fix duplicate style files in designer

Issue-ID: CCSDK-2454

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

3 years agoMerge "Missing note of timeout differences."
KAPIL SINGAL [Thu, 18 Jun 2020 17:03:13 +0000 (17:03 +0000)]
Merge "Missing note of timeout differences."

3 years agoMerge "added zoom in and out button in editBar"
KAPIL SINGAL [Thu, 18 Jun 2020 14:50:56 +0000 (14:50 +0000)]
Merge "added zoom in and out button in editBar"

3 years agoMissing note of timeout differences. 06/109306/2
Oleg Mitsura [Thu, 18 Jun 2020 12:57:22 +0000 (08:57 -0400)]
Missing note of timeout differences.

rev1. initial commit
rev2. spacing (silly klint!)

Issue-ID: CCSDK-2445

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