summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-04-04updates to groovy testsBoslet, Cory2-7/+8
small updates to groovy tests Issue-ID: SO-2789 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id7f809166b73c4643f06bde44b79ac407d4e148d
2020-04-03Removing model related parameters when creating PNF object in AAIlgrech1-15/+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-17Merge "Update parameter parsing of SDNC LCM client"Chuanyu Chen1-1/+1
2020-03-16split single and plural graph inventory urisBenjamin, Max2-234/+105
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 Wang1-1/+1
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-5/+13
2020-03-10Add test for scritp utilzm3301-0/+78
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I1102a6ca9ba4d22b2ab58b45111e401ac67ac2e7
2020-03-05update bbinputsetup to handle volume group replaceKalkere Ramesh, Sharan2-5/+13
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-05Support PNF software upgrade workflow using SDNC LCM APIEnbo Wang6-1/+289
Issue-ID: SO-2589 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Change-Id: I4b6940c21b70eeeaf96e8781762cb7029572e7ae
2020-03-01Support SDNC LCM ClientEnbo Wang10-0/+756
Issue-ID: SO-2588 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Change-Id: I631d0d6030acc5c6c3d63e3c77a37ea8730ffc8f
2020-02-27SW UP building block and workflowEricMoore2-3/+3
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-20SO-CDS PNF BBtragait2-19/+213
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.tragait7-2/+890
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 Muszkieta1-0/+73
2020-02-11AssignPnfBB - store model related PNF parameters in AAIJoanna Jeremicz1-0/+73
Issue-ID: SO-2640 Change-Id: Ie30c928e730ab858e9fe4ac5a4b14cebf6c0f806 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2020-02-10Merge "modifications to create network to add lob"Steve Smokowski1-3/+18
2020-02-04Refactoring tests in BBInputSetupUtilsTestmharazin2-403/+543
Issue-ID: SO-2613 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: I277277b0b5ca1c76afb9a466b20479c97d033401
2020-02-03modifications to create network to add lobSmokowski, Steven1-3/+18
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-24add manual handling to rainy day handling for bbsKuleshov, Elena1-9/+3
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, Brittany3-222/+196
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-23removed extra set line and added a testBenjamin, Max2-1/+59
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-23Merge "Add some new tests in BBInputSetupUtilsTest"Lukasz Muszkieta1-1/+104
2020-01-22Add some new tests in BBInputSetupUtilsTestmharazin1-1/+104
To increase the coverage of BBInputSetupUtils class Issue-ID: SO-2600 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: I9aa36344d7390d502476d9604ef194455a39f204
2020-01-22Add fluent setters for BuildingBlocks and ExecuteBuildingBlockkjaniak12-466/+1110
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, Sharan1-26/+97
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-16update bb input setup to handle replace forKalkere Ramesh, Sharan1-11/+83
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-13Merge "move population of instance names in requestdb"Steve Smokowski1-130/+114
2020-01-10Align AssignPnfBB with Service Macro CreateRemigiusz Janeczek1-55/+36
-move and align logic of BB delegates with tests -remove unnecessary classes -add tests cases for Pnfs in ExtractPojosForBBTests Issue-ID: SO-2568 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ic48e2c1c6ab852c33837091da3e7916b71c26466
2020-01-09move population of instance names in requestdbPlummer, Brittany1-130/+114
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-06Merge "Remove references to AIC"Steve Smokowski3-4/+4
2020-01-03Remove references to AICBhatt, Prema3-4/+4
Removed AIC prefix from java files, wherever column AIC_CLOUD_REGION was referenced. Removed AIC prefix from test data files, wherever column AIC_CLOUD_REGION was referenced. Issue-ID: SO-2572 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib380bc39eedf61fff27daa74132d1df20a3ae4b7
2019-12-20Add pnfs resources handling in service macro createpwielebs1-0/+3
Issue-ID: SO-2568 Signed-off-by: Piotr Wielebski <piotr.wielebski@nokia.com> Change-Id: If6c6ad5469c9637af119c811e6f87ea00a282f18
2019-12-18Support for volume groups on replace VF Module.Kuleshov, Elena2-0/+58
Support for volume groups on replace VF Module. [MSO-8375 R2002} Add full JUnit coverage for replaceVFModule scenarios, add replace changes to general macro data. Fix a JUnit to pass correct parameters to a method. Add back setting volume group id for new volume group on replace action. Issue-ID: SO-2577 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I73289da21e0c7de7451b63e99e184692e800aaf0
2019-12-13Refactor WorkflowAction.valiadteResourceIdInAAI -Gamboa, Gilbert1-24/+66
Refactor WorkflowAction.valiadteResourceIdInAAI - break up the method into smaller pieces to handle different resouce type separately. Include aai object id info in MultipleObjectsException. Do not throw DuplicateNameException when MultipleObjectsFoundException is caught. Handle BAU and let MOFException be thrown as illegal state exception. Issue-ID: SO-2564 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib78fbbe9fbea3e4815a7b19071ea2ce30dce6c25
2019-12-13Merge "add application id support to so"Steve Smokowski1-18/+24
2019-12-13Merge "Need to globally check object name duplicates in"Steve Smokowski1-0/+31
2019-12-11add application id support to soBonkur, Venkat1-18/+24
add application id support to so api Issue-ID: SO-2561 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifc8c4dd5e178b68347a7df01ab1942a59baca9b0
2019-12-11Include service-instance-id andGamboa, Gilbert2-1/+100
Include service-instance-id and service-model-version-id in the exception message if service-instance or service model is not found. Issue-ID: SO-2565 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia088d241374af4422cb76d16e86ddd7ecc45593a
2019-12-11Need to globally check object name duplicates inGamboa, Gilbert1-0/+31
Need to globally check object name duplicates in AAI for vf-module, volumegroup and configuration. Issue-ID: SO-2563 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I88a89a4a3ba02d5d9d586593d259580bf4546c96
2019-12-10Merge "update bb input setup to use request info for"Steve Smokowski1-12/+83
2019-12-09refactor fallouthandlerBoslet, Cory2-396/+151
Created a new update method to allow accessibility from groovy Ignore test that do not function in groovy. Fixed typo and bug in request db client class Fixed failing junits for falloouthandler Add the request factory to the rest template so that patch works updated check payload keyword to check response Issue-ID: SO-2555 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Iebfea31b659a02069bd6c59c09f025fdc6a99843
2019-12-05update bb input setup to use request info forKalkere Ramesh, Sharan1-12/+83
update bb input setup to use request info for replace fixed unit tests that were failing from code change Update robot and format test file to pass formatting Updated formatting so that verify job will pass removed the change made to robot test for replace update test that is failing in verify for replace Issue-ID: SO-2554 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ic6bb24282b024159dff024d5ff9d848854ca3081
2019-11-07remove unused columns infra active requestsChan, Mercy3-18/+0
Removed unused columns in db across codebase Issue-ID: SO-2516 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ieedb61ed371bc3626ef94df0bf88b7a9cf139c82
2019-10-21Merge "Removed unused SerializableChecker class; updated imports in ↵Lukasz Muszkieta2-166/+1
SerializationTest class"
2019-10-21Merge "Cleanup - removed unused variables and methods, redundant ↵Lukasz Muszkieta1-147/+2
initializers in several places"
2019-10-15Removed unused SerializableChecker class; updatedOleksandr Moliavko2-166/+1
imports in SerializationTest class Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ifcbe5352bf5710a3527eeb394e516d3d864537db
2019-10-15Cleanup - removed unused variables and methods,Oleksandr Moliavko1-147/+2
redundant initializers in several places Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I15ae50cf327d3d125f9d86c34281093bef677c71
2019-10-09feature request to mso to save name on deletesPlummer, Brittany1-107/+127
Updated to fix instanceName getting cleared Updated to pass requestId string instead of executebb Updated tests to fix compliation issues Moved log line to right before actual update Updated documentation for invoke delete service instance flow no instance name Issue-ID: SO-2426 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I049120e60e8fe69147375d628fad0cbefd0d9afe
2019-09-10Integrate Logging LibraryPlummer, Brittany4-25/+26
Updated SO to use ONAP provided filters and constants to meet logging standards. Removed redundant classes Updated constant references Issue-ID: SO-2301 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia4e3c2b1a4dcb3881aa34d39885c8b2782880d64
2019-08-26Merge "Add the check Fabric Config in"Steve Smokowski1-0/+1