aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-08-04Make use of Kafka Key for Audit service and Kafka listenerJulien Fontaine11-56/+50
* 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
2020-07-31Merge "Fix empty dict in the script arguments when running a script in the ↵KAPIL SINGAL1-1/+6
cmd-exec"
2020-07-29Improve Kafka Producer callback messagesJulien Fontaine1-2/+13
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
2020-07-28Merge "Docs: Updating CDS architecture overview picture"KAPIL SINGAL3-5/+4
2020-07-28Docs: Updating CDS architecture overview pictureJakobKrieg3-5/+4
Issue-ID: CCSDK-2584 Change-Id: I064ed353128e14c4c0f3d669bc7cd67ff4f5e7e2 Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
2020-07-27Fix empty dict in the script arguments when running a script in the cmd-execJulien Fontaine1-1/+6
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
2020-07-24Change EventListener functions to non-blocking scopeJozsef Csongvai2-3/+5
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
2020-07-24remote-python-executor was missing timeout inputsOleg Mitsura1-0/+12
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
2020-07-23Fix NullpointerException in ErrorCatalogLoadPropertyServiceJozsef Csongvai1-1/+1
Issue-ID: CCSDK-2585 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I77864c7bd82033b7155572fd3a60c6cf88739f96
2020-07-23Disable jython testsJozsef Csongvai1-1/+3
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
2020-07-19fix empty tag - bugAhmedeldeeb501-0/+1
Issue-ID: CCSDK-1992 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I65f62f2c6f1b8d4b7b3085fa28b03b5b925d0bb8
2020-07-16Add Help link and User profile menuSarah Abouzainah11-510/+638
Issue-ID: CCSDK-2567 Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com> Change-Id: I55d6cd47910ef72a2015c60cc20d8a19bf5cc10b
2020-07-16Merge "starting manual enrichment functionality"KAPIL SINGAL6-72/+132
2020-07-16starting manual enrichment functionalityShaabanEltanany6-72/+132
Issue-ID: CCSDK-2542 Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com> Change-Id: I3ce3e7aa5deb131b958cef0ca424e4d92fd7913c
2020-07-15support XML for "Upload Attributes List" button for mappingAhmedEldeeb505-10/+85
Issue-ID: CCSDK-2571 Signed-off-by: AhmedEldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I4164fdef145e92faa2cf2550a036d50273127c6a
2020-07-15Merge "Manual Enrichment."KAPIL SINGAL14-72/+152
2020-07-14cmd-exec payload should be payload, not err msg.Oleg Mitsura1-67/+50
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
2020-07-14Manual Enrichment.Sarah Abouzainah14-72/+152
Issue-ID: CCSDK-2542 Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com> Change-Id: I44cc4266324d5722364c8643cdc75cff49391a63
2020-07-09single /enrichandupload endpoint.Oleg Mitsura2-0/+37
Issue-ID: CCSDK-2540 rev1. initial commit rev2. spacing Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I14c8ffa42214faf064d8697b00190dee80f5da1c
2020-07-09Set EventType for GRPC response in designer APIJozsef Csongvai2-0/+10
Issue-ID: CCSDK-2539 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Iaaf64e4b6683c564c1022b609496fec55ad0df6d
2020-07-08cmd-exec server-side timeout.Oleg Mitsura3-30/+54
Issue-ID: CCSDK-2535 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I897678a5a8a23503a878f2d3eb836ba4597a6e6e
2020-07-06Merge "Fix misleading errormessages in script exeutors"KAPIL SINGAL2-2/+2
2020-07-06Merge "Fix merge conflict"KAPIL SINGAL3-46/+79
2020-07-06Fix misleading errormessages in script exeutorsJozsef Csongvai2-2/+2
Issue-ID: CCSDK-2528 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I1a8dfc14b1fbddced4a3c2a06f8a35df34303976
2020-07-05Fix merge conflictSarah Abouzainah3-46/+79
Issue-ID: CCSDK-2477 Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com> Change-Id: I86cdfdf56ae7e7dce00b17184117c94263cda250
2020-07-03Add error handling for CDS Kafka Producer callbackJulien Fontaine1-1/+2
Issue-ID: CCSDK-2522 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: Ia7aabaa6d978a13fbf657ea6b406e0b37bc02222
2020-07-02Command Executor : Invalid response_data when executed script failsJulien Fontaine5-67/+54
* 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
2020-07-02Merge "Fix incorrect error handling for resolveWorkflowOutputs"KAPIL SINGAL2-2/+62
2020-07-02fixing build failureSingh, Rupinderjeet (rs830d)1-1/+1
Issue-ID: CCSDK-2283 Change-Id: I065194bf92c2d0c3098c4e0430e8bfe2e1638e96 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-06-30Merge "RemoteAnsibleExecutor delay vs Thread.sleep bug"KAPIL SINGAL1-2/+3
2020-06-30Merge "added navbar in source-view component"KAPIL SINGAL2-13/+52
2020-06-30RemoteAnsibleExecutor delay vs Thread.sleep bugOleg Mitsura1-2/+3
Issue-ID: CCSDK-2505 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I0115a484c61169f2cc031553ecd664796aff6bf8
2020-06-30Fix incorrect error handling for resolveWorkflowOutputsJozsef Csongvai2-2/+62
Issue-ID: CCSDK-2504 Change-Id: Ie910e47bb97be2db4f4a4e94653e5ae474a78c0d Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-06-29Merge "Add package deletion button"KAPIL SINGAL7-120/+192
2020-06-28Add package deletion buttonAhmedEldeeb507-120/+192
Issue-ID: CCSDK-2483 Signed-off-by: AhmedEldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I7e1c0f80eb9e6073a1eb472bd6f042e8545c5ab7
2020-06-28fixing required inputs for save functionShaabanEltanany4-67/+72
Issue-ID: CCSDK-2014 Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com> Change-Id: Iec03932293f0c566333828fac24a071e3e719dfa
2020-06-27Fix template&mapping in view/createAhmedEldeeb502-9/+14
Issue-ID: CCSDK-2450 Signed-off-by: AhmedEldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: If7f08f4638b5574bb5d79caa062cb12b4141be10
2020-06-26added navbar in source-view componentRupinder2-13/+52
Issue-ID: CCSDK-2283 Change-Id: I4903ddf8c29727dadf6eaf303f68537aa6f793b8 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-06-26cmdexec should return status=FAILURE on errorsOleg Mitsura1-40/+47
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
2020-06-26Explicit error message in command-executor when script is failingJulien Fontaine1-1/+6
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
2020-06-26Merge "change the budget size for maximumWarning and maximumError"KAPIL SINGAL2-5/+5
2020-06-26Merge "Fix tags view in metadata tab"KAPIL SINGAL1-4/+3
2020-06-24change the budget size for maximumWarning and maximumErrorAhmedEldeeb502-5/+5
Issue-ID: CCSDK-2474 Signed-off-by: AhmedEldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: If61d9083168e1bf7c85e55580e507b02423b26bf
2020-06-24Fix tags view in metadata tabAhmedEldeeb501-4/+3
Issue-ID: CCSDK-2014 Signed-off-by: AhmedEldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: Ie91d37c8d415f2aa98dde7bf99bb7aee4c93640e
2020-06-24Remove service annotation for ImperativeBluePrintWorkflowServiceJozsef Csongvai2-12/+4
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
2020-06-23Merge "Fix "npm run build" errors"KAPIL SINGAL15-279/+310
2020-06-23Merge "Fix template&mapping in view/create"KAPIL SINGAL7-40/+43
2020-06-23Fix "npm run build" errorsAhmedEldeeb5016-281/+312
Issue-ID: CCSDK-2474 Signed-off-by: AhmedEldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I1577ea0f576f4000c77f94d52d22d4c2212525b2
2020-06-23Fix template&mapping in view/createAhmedEldeeb507-40/+43
Issue-ID: CCSDK-2450 Signed-off-by: AhmedEldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: If84fba1cb7835cd3338767f9546bce0544d3dd1c
2020-06-23Fix hazelcast issuesJozsef Csongvai6-51/+63
- 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