aboutsummaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/modules/services/workflow-service/src/test
AgeCommit message (Collapse)AuthorFilesLines
2021-10-20Add missing code for Metrics and PV/PVC eliminationJozsef Csongvai5-2/+19
Earlier patch introducing MeterRegistry to AbstractComponentFunction was not initializing the lateinit property and causing NPE. Also add additional code to handle compatibility issues after the introduction of PV/PVC elminiation for CommandExecutor. This allows blueprintsprocessor to communicate with earlier versions of command- executor which still use the shared pvc. Issue-ID: CCSDK-3471 Change-Id: I84a04601c4fe09c5f3a06664ce877800a30531f1 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-07-28Revert "Renaming Files having BluePrint to have Blueprint"Jozsef Csongvai6-76/+76
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>
2021-03-17Refactoring to enable on_failure for imperative workflowJozsef Csongvai2-2/+4
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>
2021-01-22Renaming Files having BluePrint to have BlueprintKAPIL SINGAL6-76/+76
Replacing BluePrint with Blueprint throughout Issue-ID: CCSDK-3098 Signed-off-by: KAPIL SINGAL <ks220y@att.com> Change-Id: Ibee8bad07ae7d9287073db2d4f2f2cd730fa8b96
2020-09-22Enabling Code FormatterSingal, Kapil (ks220y)2-3/+5
Code Formatter was turned off due to java 11 migation Issue-ID: CCSDK-2852 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I3d02ed3cc7a93d7551fe25356512cfe8db1517d8
2020-06-30Fix incorrect error handling for resolveWorkflowOutputsJozsef Csongvai1-0/+50
Issue-ID: CCSDK-2504 Change-Id: Ie910e47bb97be2db4f4a4e94653e5ae474a78c0d Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-06-24Remove service annotation for ImperativeBluePrintWorkflowServiceJozsef Csongvai1-2/+1
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-19Implement nodetemplate locking featureJozsef Csongvai5-2/+23
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>
2019-11-26Formatting Code base with ktlintSingal, Kapil (ks220y)6-78/+129
No Business logic change, just the code format. Competible with IntelliJ: https://github.com/pinterest/ktlint#option-3 To format run: mvn process-sources -P format Issue-ID: CCSDK-1947 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ic9e9209fb7023d77f434693ad5a01229f8d09331
2019-11-07Fix missing status event type workflow response.Brinda Santh1-1/+7
Issue-ID: CCSDK-1896 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: Iffb4c5e9d4e5788895bda6c7ee4197ee9e0bd60e
2019-09-18Optimizing Imports and Formatting codeSingal, Kapil (ks220y)2-3/+1
No Business logic change, no code change.. just optimizing imports and reformatting code Issue-ID: CCSDK-1744 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I1fb2ed10525a6f392f3c0d963c2ed03cfe8dec7e
2019-09-16Changing line separator type to LFSINGAL, KAPIL (ks220y)1-35/+35
Changed Line Separator for all files using find . -type f -not -name .* -exec dos2unix {} \; Issue-ID: CCSDK-1733 Signed-off-by: SINGAL, KAPIL (ks220y) <ks220y@att.com> Change-Id: I2efa3276c35c0a0159c6d4debe21c0bd0b4a7b85
2019-08-22CCSDK-1637: Fix DGWorkflowExecutionServiceTest fail if run 1stebo1-0/+12
The failure depends on the ordering of the test classes, which in turn depends on the file system ordering (Surefire plugin's default. See https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#runOrder) This class is sharing the same SB context configuration of the BlueprintServiceLogicTest, but the later manually changes the global BluePrintDependencyService. It was fixed by repeating the same change on the DGWorkflowExecutionServiceTest. Change-Id: I6f76948a766f8d56446a987cb61a781dc0d3f501 Issue-ID: CCSDK-1637 Signed-off-by: ebo <eliezio.oliveira@est.tech>
2019-08-16Modify workflow execution service options.Brinda Santh3-39/+70
Change-Id: I629b30f9ff2b8e84d6ae952946608d9bb3437d4c Issue-ID: CCSDK-1619 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-16Add Imperative workflow execution service.Brinda Santh6-4/+165
Workflow implementation based on multiple steps in blueprint model. Change-Id: I21eaf5d08621ae6eac2fa0a5db2aca0291928d52 Issue-ID: CCSDK-1619 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-15better errMsg for request block missingOleg Mitsura2-5/+45
Issue-Id: CCSDK-1486 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I44881a149a1cb5fd6dda2cf682352f92fba45e0d
2019-04-01Complementary Junit test coverageSteve Siani1-0/+61
Change-Id: I5eec76918c63d1fa248a9fc353f8dc02ae925364 Issue-ID: CCSDK-1187 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-01Improve function interfacesMuthuramalingam, Brinda Santh1-6/+7
Change-Id: I24f45d39ac05491a4217101e00bcbf8d122e4e1a Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-25Add workflow output processingMuthuramalingam, Brinda Santh3-30/+63
Change-Id: Ie1ff465e7fba07bc5280166275a9109fbdded379 Issue-ID: CCSDK-1175 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-25Migrate ccsdk/apps to ccsdk/cdsAlexis de Talhouët5-23/+23
Issue-ID: CCSDK-1177 Issue-ID: CCSDK-1178 Change-Id: I0c02702fbec52211ca367abbba72aebecee8cbaa Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-13Add node template workflow service.Muthuramalingam, Brinda Santh3-6/+70
Change-Id: I3a9167fe58b697f8fb9c7f5fd09768950afe1ff4 Issue-ID: CCSDK-1154 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-02-12Fixes: manual integration test of CDSAlexis de Talhouët1-1/+1
- support to overwrite cba - fix map to json - finish meshing - fix python context not having the bluePrintRuntimeService injected - load all properties in the properties store Issue-ID: CCSDK-414 Change-Id: I6b65201529d0ffd9c3e18023a33e0081236b01de Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-08Refactor test blueprint catalogMuthuramalingam, Brinda Santh2-3/+3
Change-Id: I948067b25787c7a79f769ac4055c34ffdd2f172d Issue-ID: CCSDK-1047 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2018-12-17Change to base sli provider interfaces.Muthuramalingam, Brinda Santh(bs2796)2-5/+5
Change-Id: Icf16aa602ba107e2b2095f756f0c3af6f38891f5 Issue-ID: CCSDK-672 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-12-04Add Netconf Executor Function moduleMuthuramalingam, Brinda Santh(bs2796)2-0/+62
Change-Id: If264e63d4fc4305bc26dc6b249a462afefcbfe1e Issue-ID: CCSDK-790 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-12-04Add Blueprint Runtime Input/Output logicMuthuramalingam, Brinda Santh(bs2796)8-114/+68
Change-Id: I0355e78862096b7b4074faa882d66ce27d6e1844 Issue-ID: CCSDK-670 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-11-30Add directed graph reterive and execution service.Muthuramalingam, Brinda Santh(bs2796)4-34/+81
Change-Id: Ia31af4d14e38e6229166cda0f39fa090764ef1cb Issue-ID: CCSDK-672 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-11-30Add Jython Component model and validation logics.Muthuramalingam, Brinda Santh(bs2796)1-1/+1
Change-Id: I2bdba0016a41e16198d60be68dff68d1ce7ad13a Issue-ID: CCSDK-696 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-11-28Implement Base Jython Executor function.Muthuramalingam, Brinda Santh(bs2796)1-2/+29
Change-Id: I3fb066a021de4a7b3aa1fce7f6c191bc3944fb51 Issue-ID: CCSDK-696 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-11-15Blueprints Processor MicroserviceMuthuramalingam, Brinda Santh(bs2796)1-2/+2
Implement Resource Resolution Processor Interface definitions. Change-Id: Ic2eb7915d48b9473639494ee9d159003bf56e81e Issue-ID: CCSDK-724 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-11-15Blueprints Processor MicroserviceMuthuramalingam, Brinda Santh(bs2796)1-0/+35
Refactor functon module as seperate module project. Change-Id: I392fc62e6dfb6c5f38f478c00e46460d5084f85c Issue-ID: CCSDK-688 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-11-13Blueprints Processor MicroserviceMuthuramalingam, Brinda Santh(bs2796)4-0/+184
Implement basic blueprint service logic workflow execution engine. Change-Id: Ifbbad70f2bdc4ba879b07d972083a411c7cc02f1 Issue-ID: CCSDK-672 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>