aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-09-17Merge "Implement Workflows to handle NSSMF Common functionalities"Byung-Woo Jun4-0/+347
2020-09-16Implement Workflows to handle NSSMF Common functionalitiesPriyadharshini4-0/+347
Issue-ID: SO-3190 Signed-off-by: Priyadharshini <priyadharshini.b96@wipro.com> Change-Id: I38ce91415fc5ced083e017ed4306873d17d5fa24
2020-09-15Implementation of TN NSSMF WF on SOhyu20104-0/+654
(1) Workflow of Allocate TN NSSI (2) Workflow of Deallocate TN NSSI (3) Workflow of Activate and Deactivate TN NSSI (4) Workflow of Modify TN NSSI NOTE: 1. The full implementation of TN NSSMF consists of two layers: (1) The TN Sice definition layer, which is an orchestration layer that provides the NBI of TN NSSMF to its consumers (i.e., it concerns the "what" question), and (2) the TN slice realization layer, which is responsible for the actual network configurations of TN slicing (i.e., the "how" question). The first layer is done on the SO (i.e., this changeset), while the 2nd layer is implemented on the SDNC. That's why this changeset is relatively simple, since the "real work" is done by the SDNC. 2. This changeset depends on the common NSSMF WF (https://gerrit.onap.org/r/c/so/+/111477) Issue-ID: SO-2959 Signed-off-by: hyu2010 <henry.yu1@huawei.com> Change-Id: I9d4e77b7706d28fb4133ddca0ff1d6e307be613d Signed-off-by: hyu2010 <henry.yu1@huawei.com>
2020-04-29rename package for external useBenjamin, Max29-104/+104
rename package for external use Issue-ID: SO-2852 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id883f0c847c24a260dbf8c63ce5e1330c045d6de
2020-04-16move network adapter to an external client taskBoslet, Cory2-672/+0
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-03-28Merge "Add test for CreateSliceService flow"Chuanyu Chen1-0/+75
2020-03-16split single and plural graph inventory urisBenjamin, Max6-12/+15
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-13Add test for CreateSliceService flowHarry Huang1-0/+75
Issue-ID: SO-2368 Cover prepareDecomposeService, processDecomposition, prepareCreateOrchestrationTask, sendSyncResponse Change-Id: I9f36c8055b708f0c04acbf1d575dfcc2da5ed55d Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-03-12Merge "Add test for CreateSliceService flow"Seshu Kumar M1-0/+162
2020-03-12Add ut for ActivateSliceService and update ut for ActivateCommunicationServicehetengjiao2-2/+120
Issue-ID: SO-2368 Change-Id: I0ec9db116fae10c63e0de9582491e80600a9b145 Signed-off-by: hetengjiao <hetengjiao@chinamobile.com>
2020-03-10Update test for deleting communication servicezm3301-4/+48
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Ib762da956041cab73082cdd355d59c3cf6dd29ee
2020-03-10Add test for scritp utilzm3301-0/+19
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I1102a6ca9ba4d22b2ab58b45111e401ac67ac2e7
2020-03-10Add sub-process test for deleting slice servicezm3301-0/+258
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I15e479b9dd6670d3576ef3446e8902aca699f7fd
2020-03-07Add sub-process test for deleting slice servicezm3301-0/+441
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I3c3bfd64db1173c188d047b47bd26b2cc5439d1d
2020-03-07Add test for deleting slice servicezm3302-5/+176
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Icd892109aeea94d544c4d0efdc108ffb4d7991cb
2020-03-06Add test for deleting communication servicezm3301-0/+264
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I08bff207969470cc86d7d90356dfd8313814b1a4
2020-03-06Add test for CreateSliceService flowHarry Huang1-0/+162
Issue-ID: SO-2368 Cover preprocess Change-Id: I03466580bc688f6dc6ab0d5660eb96de395205cf Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-03-05Add Unit test for ActivateCommunicationService bpmnhetengjiao1-0/+224
Issue-ID: SO-2368 Change-Id: If5d595728fab8fb223317e078066272f145b09c6 Signed-off-by: hetengjiao <hetengjiao@chinamobile.com>
2020-03-04Merge "Add unit test for DoCreateCommunicationService workflow"Seshu Kumar M1-0/+196
2020-03-04Add Unit Test for Create Communication Service workflowhetengjiao1-0/+456
Issue-ID: SO-2368 Change-Id: Id08ea8dc494488aeac58597f6db6ffc684652e59 Signed-off-by: hetengjiao <hetengjiao@chinamobile.com>
2020-03-04Add unit test for DoCreateCommunicationService workflowhetengjiao1-0/+196
Issue-ID: SO-2368 Change-Id: Ibaf868c2e7c0dc281da14cafe8dacf03330da951 Signed-off-by: hetengjiao <hetengjiao@chinamobile.com>
2020-02-28Merge "SW UP building block and workflow"Seshu Kumar M4-0/+283
2020-02-28Add unit test for CheckServiceProcessStatus workflowhetengjiao1-0/+344
Issue-ID: SO-2368 Change-Id: Ice0609357a03ddb1d8bc6afd370b0be2cad41bfc Signed-off-by: hetengjiao <hetengjiao@chinamobile.com>
2020-02-27SW UP building block and workflowEricMoore4-0/+283
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-01-30WaitForPnfReadyBB message fixLukasz Muszkieta1-4/+5
fix problem with sending message to camunda process Issue-ID: SO-2606 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: Iace8d283702968e0f3917feb498927eeacfed421
2020-01-29Merge "Create WaitForPnfReadyBB"Seshu Kumar M1-0/+125
2020-01-29AssignPnfBB connects PNF and service instance in AAIJoanna Jeremicz3-196/+0
Change-Id: I92ab4b45acb120d647ea3de7a455e2e873c12a72 Issue-ID: SO-2605 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2020-01-28Create WaitForPnfReadyBBLukasz Muszkieta1-0/+125
Issue-ID: SO-2606 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I55281130c8ce0fde68d7a0554dd9023e44b9f2b0 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2020-01-10Merge "Align AssignPnfBB with Service Macro Create -move and align logic of ↵Lukasz Muszkieta5-98/+196
BB delegates with tests -remove unnecessary classes -add tests cases for Pnfs in ExtractPojosForBBTests"
2020-01-10Align AssignPnfBB with Service Macro CreateRemigiusz Janeczek5-98/+196
-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-07consolidated security configurationBenjamin, Max1-69/+0
consolidated security configuration into common package Issue-ID: SO-2584 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1e78259ffbf88e792f1f7a5a10cd1fdad8eaea36
2019-12-20Merge "Externalize AssignPnf Building Block and refactor existing code ↵Lukasz Muszkieta2-0/+98
accordingly"
2019-12-20Externalize AssignPnf Building Block and refactor existing code accordinglyRemigiusz Janeczek2-0/+98
Issue-ID: SO-2568 Change-Id: I1eec15862d6f0b5e8ae4c952b290be8d5fc786dd Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
2019-12-20Merge "Added AAF Integration related changes"Seshu Kumar M1-13/+31
2019-11-26restoring the pnf dmaap client functionality to the proper working versionLukasz Muszkieta3-45/+7
Issue-ID: SO-2339 Change-Id: I2a12517fd7b37d3260058be6c5c27865e207b861 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-11-21Added AAF Integration related changesRamesh Parthasarathy1-13/+31
Created two profiles for the application to run. Basic profile will allow the application to run in the current spring security authentication. AAF profile will authenticate and authorize requests with AAF. if no profile is given, it will fallback to basic. Change-Id: I2576f02e7afca3c10e02aaffef66a60fa1c4dd1a Issue-ID: SO-2451 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com>
2019-09-24Update Resume Logic and Add Workflow ListenersSmokowski, Steven1-0/+20
Updated with the error log messages Changed the code to do string compare for eventName update workflowaction to only persist if not resume Issue-ID: SO-2363 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I139f2427ae0f0253a15cc51003318686568cb514
2019-09-18Prevent reading twice from ResponseEntity stream, since this caused IOErrors.grabinsk2-4/+13
Also moving empty response checks to parseJsonToGelAllPnfCorrelationId Issue-ID: SO-2349 Signed-off-by: grabinsk <maciej.grabinski@nokia.com> Change-Id: I316856d56106a1ae715812628695406f4147765d Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-09-11bug fix - avoid npe in pnf flowLukasz Muszkieta1-4/+3
Change-Id: I8e848c2bdcec0822ae08280223297b4825e9b7c2 Issue-ID: SO-2289 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-07-26Enhanced List Level flow with backward supportsarada prasad sahoo1-1/+1
Modified the e2e service instance flow to support both new list types groups along with backward compatibility to support old types alloted resources, network etc. Change-Id: I1cb128e259c54b80009840914b2c1cee8cf8a4df Issue-ID: SO-1393 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-07-12Vulnerability fixes in ServicePluginFactoryr.bogacki1-0/+18
Sonar vulnerability fixes in ServicePluginFactory. -Moved hardcoded IP addresses to the property file. -Added junit test. Issue-ID: SO-2106 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Id33e17f7845c106212bbf4d4a8ca78641cea1396
2019-06-24Sonar fixes and improvementsr.bogacki1-1/+3
General fixes and improvements according to the Sonar analysis. -Fixed imports. -Removed unnecessary code. Issue-ID: SO-1992 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I4299f3efc4444625f70fc36e65b57c500b113596
2019-06-06Accommodate WAN NetworkingGamboa, Gilbert2-4/+4
checked and evaluated naming policy only if infra bonding. Updated workflowAction to include vrf configuration for vpn-binding in resourceIds list. added in linked resource to service proxy cust committing the asdc controller classpath change added some unit tests for vrf validation and updated bbinput setup test update config resource cust foreign key mapping Moved mockbean for AssignVrfConfiguration task class into BaseBpmnTest. added in a check to see if list is empty before access added unit tests for bbinput setup for vrf config Update AssignFlows enum with correct AssignVrfConfiguration flow name Change-Id: Ibf14e36505638b19c1366ecebfce560c02e69e44 Issue-ID: SO-1975 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski2-9/+30
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-05-01build sndc and user directives in groovyEric Multanen2-9/+30
Fill out the sdnc_directives and user_directives used by the multicloud vnf plugin adapter when invoked via the groovy path. Change-Id: Ia11680be682b38756f188c71e3e000bc21c15aa9 Issue-ID: SO-1822 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-04-26 Removed hardcoded values for PNF creation (cvlan, svlan, remoteId)marios.iakovidis4-5/+108
Change-Id: Ie4a63dd06279713c9f13062a09b44eb0e7f2e6bc Issue-ID: SO-1815 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com>
2019-04-11Revert the change to avoid break PNF PnPeeginux3-36/+15
Revert PnfEventReadyDmaapClient PnfEventReadyDmaapClientTest Update the IT CreateVcpeResCustServiceSimplifiedTest Bug SO-1779 raise to fix the issue with Configure Issue-ID: SO-1506 Change-Id: I8f0e474405db7f0c23266208cee89df12ac6c0a2 Signed-off-by: eeginux <henry.xie@est.tech>
2019-04-10Merge "PNF WF post instantiation configuration"Steve Smokowski2-2/+28
2019-04-09PNF WF post instantiation configurationeeginux2-2/+28
Fix the PNF registration issue Use the applicationEvent to notify about PNF ID Issue-ID: SO-1506 Change-Id: I4c5ebfdd4ed319408ef99e1360c37124688fd7f1 Signed-off-by: eeginux <henry.xie@est.tech>
2019-04-09Service instance modificationZhuoyao Huang1-0/+301
extend update interface for service instance modification on CCVPN use case extension Issue-ID: SO-1393 Change-Id: Ib21843be32738de0197185906ba38c61f1095f24 Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>