aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2020-05-29Add JUnit code coverage for InstanceResourceList:Krzysztof Gajewski1-29/+86
Issue-ID: SO-1576 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Change-Id: I51496fce24acdb8a9fc1b9fedde20b9cbbb8af68
2020-05-20Allowing user-params to be emptyjananib2-3/+59
Ignore empty user-params Change-Id: Ia57c94424db69bbd2d207e5df2549ab452724ded Issue-ID: SO-2896 Signed-off-by: jananib <janani.b@huawei.com>
2020-05-07uri params now available in info objectBenjamin, Max1-7/+8
uri params now available in info object make sure uri keys are retrieved via constants Issue-ID: SO-2908 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ieb701c2705ecdb2365d557bc51e4f604d92ec680
2020-04-29rename package for external useBenjamin, Max7-21/+21
rename package for external use Issue-ID: SO-2852 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id883f0c847c24a260dbf8c63ce5e1330c045d6de
2020-04-28Adding Generic VNF information in ControllerExeuctionBB flowSunil1-1/+3
Solving BlueprintName and BlueprintVersion issue Changing vf-module to vfmodule Updating AAI with Orchestration status Issue-ID: SO-2806 Signed-off-by: sunilb <sb00577584@techmahindra.com> Change-Id: I91aa653b946bae3940000f724710de87af3ce7df
2020-04-16Adding Generic VNF information in ControllerExeuctionBB flowsunilb1-0/+112
Issue-ID: SO-2806 Signed-off-by: sunilb <sb00577584@techmahindra.com> Change-Id: I3d34159004f398cd3d44a67468be26668dd67e17
2020-04-08run get vf module cust by id if vf module cust isKalkere Ramesh, Sharan1-2/+1
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-0/+26
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-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, Max1-230/+100
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 Smokowski1-4/+9
2020-03-05update bbinputsetup to handle volume group replaceKalkere Ramesh, Sharan1-4/+9
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 BBInputSetupUtilsTestmharazin1-403/+251
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-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, Max1-1/+50
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 ExecuteBuildingBlockkjaniak8-466/+962
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
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-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-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, Brittany2-18/+19
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-23Add the check Fabric Config inBonkur, Venkat1-0/+1
Add the check Fabric Config in configuration-subtype after format file run and commit Issue-ID: SO-2256 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If47f81a985e6321cd84ccfc8d35c51f3ee79e1c2