aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2020-04-16Adding Generic VNF information in ControllerExeuctionBB flowsunilb1-4/+9
Issue-ID: SO-2806 Signed-off-by: sunilb <sb00577584@techmahindra.com> Change-Id: I3d34159004f398cd3d44a67468be26668dd67e17
2020-04-16move network adapter to an external client taskBoslet, Cory1-1/+1
Began impelenting new network external task. Made the vnfAdapterTask subflow an openstack subflow, refactored infra flows and BB to call it for network functions. Fixed bugs discovered through a robot dry run, added unit test, added support for rollback network request Updated junit test files for comparison due to not polling for response Removed the no longer used network adapter rest task from bpmn tasks Removed the unused network adapter async and its beans Removed network async client package from open pojo scan Issue-ID: SO-2813 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4c25892012cc86659ab122448ed1aca5cab91671
2020-04-16Merge "decreased code smells"Steve Smokowski2-3/+0
2020-04-16Merge "lowered code smells"Steve Smokowski9-11/+0
2020-04-14Reduce Cyclomatic ComplexityParshad Patel3-41/+45
The Cyclomatic Complexity of this method "runAppCCommand" is 24 which is greater than 10 authorized The type of the "payloadInfo" object should be an interface such as "Map" rather than the implementation "HashMap" Either log or rethrow this exception Issue-ID: SO-1841 Change-Id: I60a5fa3dea49c33e825cc36419d3b13509f36248 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2020-04-13decreased code smellsRupinder2-3/+0
Removed unused imports Issue-ID: SO-2804 Change-Id: I8ea686dd499578283fdda56ef0fe6c08c557383a Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-04-12lowered code smellsRupinder9-11/+0
removed unused imports Issue-ID: SO-2804 Change-Id: Ibda9e5d4c40b6dea5d7ce6c2ad10b6c645c74358 Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-04-12reduced code smellsRupinder1-1/+0
Removed some unused imports Issue-ID: SO-2804 Change-Id: Ib0a7716585448ade0c9571479ed06effaf25738b Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-04-08run get vf module cust by id if vf module cust isKalkere Ramesh, Sharan1-1/+2
run get vf module cust by id if vf module cust is null Issue-ID: SO-2800 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If4e39535c9b6b6715f8a4169f049bbb1d058e863
2020-04-04updated bbinput setup to pull vf if no vnf foundKalkere Ramesh, Sharan1-5/+8
updated bbinput setup to pull vf if no vnf found updated name of unit test as its a compilation error updated pom to get logging analytics library fix broken test by removing vnf from service fixed test as mock for setup utils was not correct Issue-ID: SO-2783 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1077ef934b19980d3fecd839e5f383555aa72d1d
2020-04-03Removing model related parameters when creating PNF object in AAIlgrech1-4/+0
This will be re-implemented in G release when AAI-2845 is resolved Issue-ID: AAI-2845 Signed-off-by: lgrech <lukasz.grech@nokia.com> Change-Id: I8751095a00a4a28b9aae9ff312383afd50772ae2
2020-03-31simplify fabric into add/delete stepsKuleshov, Elena1-1/+1
Implement AddFabricConfigurationBB and supporting functionality. Add verifications for Add/Delete FabricConfigurationBBs. Implement DeleteFabricConfigurationBB and related functionality Issue-ID: SO-2774 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I58ad9b6155750c73b0c83fed9ca7b35a7e12b617
2020-03-26convert openstack to external tasksBoslet, Cory1-11/+45
Use external tasks to communicate with openstack adapter Will be more resilient to failures Refactored all flows to use external tasks not REST calls Rollback is now an external task Ensured backwards compatibility Issue-ID: SO-2767 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8afdb89c688d756aed0f25f7d9a7fb898142554d
2020-03-24Ingest and Process Service FunctionSmokowski, Steven1-0/+10
Intial commit of writing service function to AAI Update schema.sql table to pass all unit tests Update local sql to setup CI server for test Update schema to work and fix passwords Issue-ID: SO-2763 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8c517a485841574cde849e1c4e86c3bb7b7dcf89
2020-03-17Merge "Update parameter parsing of SDNC LCM client"Chuanyu Chen5-17/+11
2020-03-16split single and plural graph inventory urisBenjamin, Max1-165/+43
split single and plural graph inventory uris updated all object references in MSO using graph inventory plurals corrected unit test stubbings added additional unit tests correct interfaces to return plural after related-to modified the way http aware uris are built reformated interfaces to no longer duplicate methods corrected issues with identity of unbuilt uris removed AAIUri references from groovy files fixed clone behavior on Uri objects Issue-ID: SO-2743 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I37aa2a13dcbf010b6c82ad73af3be5db5d9bd673
2020-03-14Update parameter parsing of SDNC LCM clientEnbo Wang5-17/+11
Issue-ID: SO-2731 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Change-Id: I4cb8b9d4efb7e3e78e7e242c04b316908987d9d7
2020-03-10Merge "update bbinputsetup to handle volume group replace"Steve Smokowski2-7/+42
2020-03-10Merge "create custom spring aop annotation for logging"Steve Smokowski3-3/+3
2020-03-05update bbinputsetup to handle volume group replaceKalkere Ramesh, Sharan2-7/+42
update bbinputsetup to handle volume group replace fixed unit tests and updated related instance check updated fetch of volume group in mapper layer Issue-ID: SO-2682 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I48266f9e7e681a4fc31a8732aa06efb95bfb01b5
2020-03-05create custom spring aop annotation for loggingPlummer, Brittany3-3/+3
Added annotation for setting up scheduled tasks logs Added new annotation to scheduledTasks Moved annotation setup to logging-library Issue-ID: SO-2713 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7080c4bb289e454f14167631e2601c954389c0ef
2020-03-05Support PNF software upgrade workflow using SDNC LCM APIEnbo Wang10-3/+443
Issue-ID: SO-2589 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Change-Id: I4b6940c21b70eeeaf96e8781762cb7029572e7ae
2020-03-01Support SDNC LCM ClientEnbo Wang18-0/+1292
Issue-ID: SO-2588 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Change-Id: I631d0d6030acc5c6c3d63e3c77a37ea8730ffc8f
2020-02-27SW UP building block and workflowEricMoore1-1/+1
This commit creates two bpmn 1. PNFSoftwareUpgrade.bpmn 2. PNFSWUPDownload.bpmn Respective Testcases are also written for both bpmns. Issue-ID: SO-2514 Issue-ID: SO-2515 Change-Id: Icb1706f1974341182f13b9125e09418b61571c52 Signed-off-by: EricMoore <eric.e.moore@est.tech>
2020-02-25Merge "Lower code duplication of AaiClient calls in BBInputSetupUtils"Lukasz Muszkieta1-44/+14
2020-02-25Lower code duplication of AaiClient calls in BBInputSetupUtilsRemigiusz Janeczek1-44/+14
Introduce generic method for retrieving concrete resource of given type from Aai Issue-ID: SO-2634 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I33e247154961ff50fa81845158229413a9d81bfe
2020-02-20SO-CDS PNF BBtragait3-10/+155
This commit implements code for PNF BB for pnf software upgrade usecase. Issue-ID: SO-2090 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I3da3ba965bc92fda0ecc542d42afe694f19e06e1 Signed-off-by: tragait <rahul.tyagi@est.tech>
2020-02-19Generic cds payload for vnf/vf-module/service.tragait11-63/+881
Things done- -Fixed review comments. -Added logic to create payload using scope and action. -Populate instance parameters from SO-request to CDS payload for VNF. -Implementation of setting orchestration status after CDS completes its operation based on SO scope. -Make use of ControllerRunnable interface. -Changed actionname to actionName to action.value as per Oscar's suggestion. -Setting orchestration status after CDS completes its operation for VF-Module. -Populate instance paraneters from SO to CDS for VF-Module. Issue-ID: SO-2312 Signed-off-by: prathamesh <prathamesh_morde@yahoo.ca> Change-Id: I026d9f7909e486c68f274b7e56c8bd7c8fdcd521 Signed-off-by: prathamesh <prathamesh_morde@yahoo.ca> Signed-off-by: tragait <rahul.tyagi@est.tech>
2020-02-11Merge "AssignPnfBB - store model related PNF parameters in AAI"Lukasz Muszkieta4-11/+90
2020-02-11AssignPnfBB - store model related PNF parameters in AAIJoanna Jeremicz4-11/+90
Issue-ID: SO-2640 Change-Id: Ie30c928e730ab858e9fe4ac5a4b14cebf6c0f806 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2020-02-03modifications to create network to add lobSmokowski, Steven2-3/+31
Add platform and line of business to network Update to split out network Issue-ID: SO-2637 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5cbc3bc77986b6d4d420d2158df46924fcd74c0b
2020-01-30Remove Valet from openstack adapterSmokowski, Steven1-0/+2
Remove Valet from openstack adapter Clean up CI, so it passes on dev branch Fixed bad merge regarding correct method name. Added try catch around createIfNotExists methods to avoid failing sim. Fix broken Fabric Tests from merge Update logging jar dependency for CI Issue-ID: SO-2623 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I572276f751b132ec78d7ab5763f1c76bfc8256c5
2020-01-30Increased lock time on add graph data task andBoslet, Cory2-0/+22
Increased lock time on add graph data task and fixed error handling for inventory failure so flow doesnt proceed Changed build workflow exception to return the exception Issue-ID: SO-2621 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib247cd7e5eb0cf17579a9d72d9e8ede8a8c35e17
2020-01-24add manual handling to rainy day handling for bbsKuleshov, Elena1-9/+29
Initial Manual Handling addition to Rainy Day BB handling. Reenable task API, add task variable setup. TaskTimeout will come from the configuration settings. Update the base path for the APIH manual tasks junit. Additional JUNIT tests for manual handling Add Manual as a primary policy for Change Management BBs. Error handling changes and robot tests for manual handling. Correct failure data retrieval when serviceSubscription is unavailable. Correct failure data retrieval when serviceSubscription is unavailable. Keep WorkflowException when manual pause gets invoked; improved error reporting. Issue-ID: SO-2616 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I98a84c1a489bb7b24b68e567f604aeb074fd7bf9
2020-01-24convert bbinputsetup populate methods to usePlummer, Brittany2-206/+736
Setup populate methods to use parameter object Fixed BBInputSetup failing unit tests Fixed formatting in BBInputSEtup changes Updated unit test mocks to include parameter object Added fix for failing macro robot tests Formatted BBInputSetup changes Fixed compilation problems and added new parameters Added serviceModel parameter to bbinputsetupparameter object Fixed compilation error and removed unnecessary mockito stubbings Issue-ID: SO-2615 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I60601e4df96f999506fa4fbfa6d9ffc80b42a8c9
2020-01-24decision point APIeeginux1-1/+1
ControllerRunnable interface: implemented by controller ControllerContext: Controller Context for controller execution ControllerPreparable interface:used to setup execution context ControllerExecutionBB:controller execution for building block ControllerExecutionDE:controller execution for camunda Skeleton implementation for APPC controller Skeleton implementation for SDNC controller Use ControllerExecutionDE for existing PNF configuration. Add integration tests for controllerExecutionBB/DE Add GenericControllerExecution activity for BuildingBlockExecution based Add GenericControllerExecutionDE activity for DelegateExecution based. CDS controller to be implemented by SO-CDS generic buildingBlock Actor seletion based on ingested metadata Issue-ID: SO-2070 Change-Id: I4020c2ce21468939690e2cef78bbadbfff4bd3e4 Signed-off-by: eeginux<henry.xie@est.tech>
2020-01-23removed extra set line and added a testBenjamin, Max1-1/+0
removed extra set line and added a test Issue-ID: SO-2612 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I45022ed722368192823f6cad66e8bd6649cc0719
2020-01-22Add fluent setters for BuildingBlocks and ExecuteBuildingBlockkjaniak4-36/+51
Test which check more than one functionallity were separarted. Minor code improvements around BB and EBB. Issue-ID: SO-2582 Change-Id: I318f8ac299f7204fdd6799108182a29e519724d9 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-01-17updated bbinput setup to handle new and oldKalkere Ramesh, Sharan2-16/+76
updated bbinput setup to handle new and old service Issue-ID: SO-2602 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I57500ddaed7f3ea3fdc455800139a8d8ebc8f435
2020-01-16Merge "update bb input setup to handle replace for"Steve Smokowski1-5/+18
2020-01-16Merge "mso stores vnf application id from macro create"Steve Smokowski1-0/+3
2020-01-16Merge "1911 create appc adapter micro service"Steve Smokowski1-1/+1
2020-01-16update bb input setup to handle replace forKalkere Ramesh, Sharan1-5/+18
update bb input setup to handle replace for service vnf vf modules that are not replace will get correct model data added in a unit test as well as added in check for vnf Issue-ID: SO-2599 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I538f6037791905d1086d6d553d1895abd6f2026e
2020-01-13mso stores vnf application id from macro createBonkur, Venkat1-0/+3
mso stores vnf application id from macro create Issue-ID: SO-2591 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I83aab47ef41b93fa72581823a27c7ae7fa699e52
2020-01-101911 create appc adapter micro serviceKuleshov, Elena1-1/+1
Added new appc adapter micro service. Made required code changes to use the new adapter. Issue-ID: SO-2596 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I880ecace64ec85ca4094a82bc1210798fd3bb85d
2020-01-09move population of instance names in requestdbPlummer, Brittany2-80/+51
Removed saving instanceName in BBInputSetup Removed test for setting instanceName in BBInputSetup Moved saving instanceName to workflowaction Started adding tests for setting instanceName Added unit tests for setting instanceName Updated last modified by from apih to bpmn Updated access modifier for method no longer needed Removed requestId parameter no longer used Updated test to match parameter changes in BBInputSetup Added volumeGroup lookup by vnf and volumeGroup id Issue-ID: SO-2595 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib1bbc53d00ae0257f2678756a1e8f9291d8e7fa2
2020-01-08Merge "Pass error message in the exception when thrown from CDS-Adapter"Lukasz Muszkieta1-55/+77
2020-01-06Pass error message in the exception when thrown from CDS-Adapterprathamesh1-55/+77
Issue-ID: SO-2494 Signed-off-by: prathamesh <prathamesh_morde@yahoo.ca> Change-Id: I1990ba00ab55ed08c7ba8c31e6fe8fbedb428e7e
2019-12-20Add pnfs resources handling in service macro createpwielebs4-21/+42
Issue-ID: SO-2568 Signed-off-by: Piotr Wielebski <piotr.wielebski@nokia.com> Change-Id: If6c6ad5469c9637af119c811e6f87ea00a282f18
2019-12-18Merge "Implementing scope and action values from SO-DB to SO-Backend"Steve Smokowski1-0/+21