aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/test/java/org
AgeCommit message (Collapse)AuthorFilesLines
2022-09-07Update nf_type for PNF in AAIaleem.raja@t-systems.com2-0/+47
Update nf_type for PNF in AAI to distinguish different PNFs nf_type value will come from SDC properties Issue-ID: SO-3967 Signed-off-by: aleem.raja@t-systems.com <aleem.raja@t-systems.com> Change-Id: I9dd039ac098a60f7cf4d4a9c456c7681f64d9987
2022-08-10Multiple PNFs with same ModelInfo but different instance name not able to be ↵Aleem Raja1-0/+3
instantiated When instantiating a service with multiple PNFs, SO differentiates them using ModelCustomizationId. This causes issues when creating multiple instances of same model resource, and each lookup would return the same object. With this patch, Instead of using ModelCustomizationId, we enable SO to use instanceName parameter to differentiate the PNFs. Issue-ID: SO-3948 Signed-off-by: Aleem Raja <aleem.raja@t-systems.com> Change-Id: I9dd039ac786a60f7cf4d4a9c456c7681f64d6786
2022-08-05Merge branch 'recursive-orch'Lukasz Rajewski1-0/+6
Issue-ID: SO-3980 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ie0cd0f973800196d5cb1e038db4a49208a6c4a3b
2022-03-17AAI Relationship for Parent - Child Services with Composed Resource Nodesanket123451-0/+6
-Code to add Relation between Parent & it's Child Services -Node used to connect parent and child in AAI is ComposedResource -Parent Service can be related with multiple Child Services via composedResource Node. Issue-ID: SO-3832 Change-ID: I73f97f986a817d423f92f8d922dcd9647b8a6adc Signed-off-by: sanket12345 <SX00562924@techmahindra.com> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2022-01-27Use cloud configuration from Vnfkuldipr1-39/+0
Vnfs can be part of different clouds and thus cloud configuration is fetched from vnf itself and passed along the flow to create vnf in the correct region. Issue-ID: SO-3423 Change-Id: I1a91486a0bbc6a13aaa292905caeb0c72c4b4885 Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
2021-08-13Merge "Add new endpoint and macro for service upgrade"Seshu Kumar M1-0/+26
2021-08-04Add new endpoint and macro for service upgradeJozsef Csongvai1-0/+26
This enables upgrading an existing service instance by updating its model UUID's in AAI and md-sal. Issue-ID: SO-3636 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ic5f067a1267053a61f46e2d9563ca4e4ac869bdf
2021-08-04Enable ControllerExecutionBB for service scopeJozsef Csongvai5-8/+38
Also make userParams.service optional to support usecases where it is not being passed. Issue-ID: SO-3627 Change-Id: I7e0abfffe54e11935b32f6c6829400de88fb4bd0 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-07-30Support instantiation of same model vnfs/vf-modulesMichael Pruss6-74/+240
When instantiating a service with multiple vnfs and/or vfmodules SO would differentiate using ModelCustomizationId. This would cause issues when creating multiple instances of same model resource, and each lookup would return the same object. Instead of using ModelCustomizationId, this patch enables SO to use instanceName parameter to differentiate the resources. Validation was added to ensure that instanceNames are provided if there are multiple resources of the same model. If there are no duplicate resources and instanceName is not set, SO will default to previous logic using ModelCustomizationId. In order to properly associate vfmodules with their parent vnfs, the Resource class was augmented with a parent reference which maintains the relationship in further processing. Id generation logic was corrected to ensure that multiple resources of the same model are assigned unique instance ids and references to parent instanceId. Issue-ID: SO-3677 Change-Id: If39a0138f501177e12262f8e911137012e287fca Signed-off-by: Michael Pruss <michael.pruss@bell.ca>
2020-12-04Fix healthcheck preloadk.kedron1-2/+3
Issue-ID: SO-3410 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I7a345ebd23a8a9bb9cb0834b3be50f7987f44b42
2020-11-30changed cloud region query to A&AI to depth 1Benjamin, Max1-1/+1
changed cloud region query to A&AI to depth 1 nodes only Issue-ID: SO-3407 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I08b3de3de2a0308b623fa52756c8fb42c767e011
2020-10-17Methods with same name get mixed upElena Kuleshov1-2/+2
Methods with the same name and number of arguments but operating on different execution types get sometimes mixed up in Camunda. Issue-ID: SO-3270 Signed-off-by: Kuleshov, Elena (ek1439) <evn@att.com> Change-Id: I40319a185644c93c86a7883765a615129ee19f1e
2020-10-07add work step option for failuresKuleshov, Elena2-0/+44
Introduce new Policy and workStep to handle failures Reapply changes using correct camunda modeler version. Issue-ID: SO-3287 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7e0a36305322c255f6678529f0a27c023fd983ef
2020-09-26Merge "Changed the object mapper to ignore unknown fields"Seshu Kumar M1-0/+2
2020-09-23removed references to AAIObjectTypeBenjamin, Max4-50/+63
removed references to AAIObjectType and AAIObjectPlurals additional corrections for removal of aai object type corrected additional java files updated groovy files to match aai fluent builder style Issue-ID: SO-3259 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifdf12fcacb34cc648548eb18b638afd06dad67a9
2020-09-23Changed the object mapper to ignore unknown fieldsParthasarathy, Ramesh1-0/+2
Changed the object mapper to ignore unknown fields Changed to use instance object mapper switched to use method level object mapper Issue-ID: SO-3263 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Iae713978393a04313abec215e8ea330a93db9c24
2020-09-21Merge "Heatbridge Updates"Steve Smokowski2-11/+14
2020-09-20Heatbridge UpdatesSmokowski, Steven2-11/+14
Updated heatbridge to work with upcoming A&AI changes Issue-ID: SO-3257 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6b58c8e2a920e715d303aeda5137952f667c3133
2020-09-20added changes for replace related to configurationKalkere Ramesh, Sharan1-3/+63
added changes for replace related to configuration added in some changes to the unit test in bbinputsetup Issue-ID: SO-3249 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia45b9ba621f9806771944d800c14ee69c3bdff71
2020-08-19Cleaned up appc-orchestratorKuleshov, Elena1-132/+0
Removed unused files Add building of original jar to so-appc-orchestrator ApplicationControllerClient can now be sub-classed Issue-ID: SO-3187 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I99dc4e53dbec1879a76ae184fe4b94afe1a673db
2020-07-31Create DeactivatePnfBB and include it into Service-Macro-Delete flow.Mateusz Gołuchowski2-1/+36
- created DeactivatePnfBB which changes orchestration status to inventoried when invoked - included BB into flow in R_MacroData script which initializes database - added support for mapping of service relations to PNFs - changed version of logging-analytics to 1.6.7 Issue-ID: SO-3111 Change-Id: I375db2014887f1f634adac31d4d1af3675f5911c Signed-off-by: Mateusz Goluchowski <mateusz.goluchowski@nokia.com>
2020-07-06BBInputSetup, getServiceInstanceHelper, mapCollection refactoringmarcinrzepeckiwroc1-0/+20
Deleted negation of if statements from void methods Issue-ID: SO-2634 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: I0bb46be8b2d648d721c58008ee133b63b77894d5
2020-06-26AssignPnfBB - store model related PNF parameters in AAIMateusz Gołuchowski1-0/+15
Issue-ID: SO-2640 Change-Id: I375db2004687f1f634adac31d4d1af3875f5981c Signed-off-by: Mateusz Goluchowski <mateusz.goluchowski@nokia.com>
2020-06-26Workflow refactoring - revert changesMateusz Gołuchowski3-44/+22
Reverted changes concerning: - extracting base class for ConfigBuildingBlocksDataObject and ExecuteBuildingBlock - removing fluent setters The reason for revert is that new hierarchy forced ConfigBuildingBlocksDataObject to implement serializable. Issue-ID: SO-2634 Change-Id: I375db2004687f1f634adac31d4d1af3675f5981c Signed-off-by: Mateusz Goluchowski <mateusz.goluchowski@nokia.com>
2020-06-22[WIP] WorkflowAction refactoringMateusz Gołuchowski3-22/+44
Extracted superclass for ExecuteBuildingBlock and ConfigBuildingBlocksDataObject Changed setters to return void instead of 'this'. Adjusted all code which was using setters chaining Issue-ID: SO-2634 Change-Id: I375db2004687f1f634adac31d4d1af3635f5981c Signed-off-by: Mateusz Goluchowski <mateusz.goluchowski@nokia.com>
2020-06-03Merge "added assert statements in JUnits in 4 files"Steve Smokowski1-0/+1
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-26added assert statements in JUnits in 4 filesRupinder1-0/+1
Issue-ID: SO-2804 Change-Id: I63c5ff0fd23d0d30beaf32658115b7403f0dcfbf Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
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