summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-08-17Merge "disable GRPC bydefault"KAPIL SINGAL1-1/+1
2020-08-17disable GRPC bydefaultShaabanEltanany1-1/+1
Issue-ID: CCSDK-2070 Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com> Change-Id: Ica011b6084c9c916e62a7f95f33e038378a8e3ff
2020-08-17Fixing and Refactoring PomSingal, Kapil (ks220y)3-35/+51
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
2020-08-12Merge "Add functions/endpoints to fetch all config snapshots for a given ↵KAPIL SINGAL4-0/+274
resource type or Id - configs-snapshot rest API"
2020-08-12Append input param true in workflow-specjananib2-5/+34
Workflow spec Change-Id: Iac833abcc3d1079fbe8d12a354fd7ceff1aa758e Issue-ID: CCSDK-422 Signed-off-by: jananib <janani.b@huawei.com>
2020-08-12Merge "Add test-blueprint-kotlin-parent"KAPIL SINGAL8-92/+469
2020-08-12Add code-block language for CBA structureJakobKrieg1-1/+3
Issue-ID: CCSDK-2615 Change-Id: I82eabcec215c1313b3fce418978678d8a0306dfa Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
2020-08-11Add test-blueprint-kotlin-parentJozsef Csongvai8-92/+469
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
2020-08-11Add functions/endpoints to fetch all config snapshots for a given resource ↵Serge Simard4-0/+274
type or Id - configs-snapshot rest API Issue-ID: CCSDK-2641 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: I392fa72bcbe39fd5306d4d2fdf7f49d62ec441b5
2020-08-10Merge "Adding Modeling Concepts documentation from COnfluence to RDT"Dan Timoney19-0/+2521
2020-08-10Merge "Make use of Kafka Key for Audit service and Kafka listener"KAPIL SINGAL11-56/+48
2020-08-07Kafka Audit Service: Error during sensitive data hidingJulien Fontaine2-54/+120
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
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-08-04Adding Modeling Concepts documentation from COnfluence to RDTJakobKrieg19-0/+2521
Issue-ID: CCSDK-2615 Change-Id: Ib5dfaecc96e8fac1dda07aa6c13aba5ded81efee Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
2020-08-04cds-exec shouldn't return "N/A" as outputOleg Mitsura1-8/+8
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
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