aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common/src/test/groovy
AgeCommit message (Collapse)AuthorFilesLines
2020-12-185G core nssmf - Allocate apialeemraja2-24/+30
Code changes to fix issues observed during testing for share/non-shared nssmf Allocate api Issue-ID: SO-3418 Signed-off-by: aleemraja <ar00500721@techmahindra.com> Change-Id: I37ce7d21eaba8ea51a91a7034502323b2cf3a615
2020-11-06BH endpoint update in AAI for 5G Core.aleemraja1-1/+6
Issue-ID: SO-3354 Signed-off-by: aleemraja <ar00500721@techmahindra.com> Change-Id: I99dc4e53dbec1231a76ae184fe4b57afe1a696db
2020-10-01Use Allotted Resources in Deallocate and Modify flowsalexanb3-88/+140
Issue-ID: SO-3280 Change-Id: I5c325cb45e3230fc7d7e2190233c6ee91b7175b6 Signed-off-by: alexanb <alexander.borovitzky@guest.telecomitalia.it>
2020-09-27Enrich Deallocate and Modify Core NSSI sub-processesalexanb3-78/+235
Issue-ID: SO-3267 Change-Id: Iffcc8f0d12ed75683d8a1e2e80e5608b1271f7d6 Signed-off-by: alexanb <alexander.borovitzky@guest.telecomitalia.it>
2020-09-23removed references to AAIObjectTypeBenjamin, Max30-239/+247
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-23Develop common logic for Core NSSI flowsalexanb3-572/+832
Issue-ID: SO-3260 Change-Id: Iaebcca2a137198aebba42f0d5667eeecaca3c12e Signed-off-by: alexanb <alexander.borovitzky@guest.telecomitalia.it>
2020-09-21Merge "Adding more unit tests in Deallocate Core NSSMF workflow"Byung-Woo Jun1-0/+829
2020-09-21Adding more unit tests in Deallocate Core NSSMF workflowalexanb1-0/+829
Issue-ID: SO-3247 Change-Id: I5514e1fe70bead988ea884bc312374e0d51d9dd8 Signed-off-by: alexanb <alexander.borovitzky@guest.telecomitalia.it>
2020-09-18Merge "Update NSMF workflow to for the E2E Network Slicing requirements"Chuanyu Chen1-39/+0
2020-09-18Update NSMF workflow to for the E2E Network Slicing requirementshetengjiao1-39/+0
Issue-ID: SO-2963 Signed-off-by: hetengjiao <hetengjiao@chinamobile.com> Change-Id: Ic792896cc3e7b23f02fd7f8b8305402271eb0d78
2020-09-17Merge "Implement Allocate Core NSSMF workflow"Byung-Woo Jun3-0/+867
2020-09-17Implement Allocate Core NSSMF workflowaleemraja3-0/+867
Issue-ID: SO-3234 Signed-off-by: aleemraja <ar00500721@techmahindra.com> Change-Id: I37ce7d21eaba8ea60a91a7034509696b2cf3a987
2020-09-17Implement Activate and Deactivate Core NSSMF workflowaleemraja1-0/+631
Issue-ID: SO-3235 Signed-off-by: aleemraja <ar00500721@techmahindra.com> Change-Id: I37ce7d21eaba8ea60a91a7034508965b2cf3a987
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, Max27-97/+97
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, Max5-10/+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-28Add unit test for CheckServiceProcessStatus workflowhetengjiao1-0/+344
Issue-ID: SO-2368 Change-Id: Ice0609357a03ddb1d8bc6afd370b0be2cad41bfc Signed-off-by: hetengjiao <hetengjiao@chinamobile.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-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski1-7/+10
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 Multanen1-7/+10
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.iakovidis1-0/+67
Change-Id: Ie4a63dd06279713c9f13062a09b44eb0e7f2e6bc Issue-ID: SO-1815 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com>
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>
2019-04-03Fix runtime bugs in bpmn groovyk.kazak3-1745/+690
DoDeleteVfModuleV2: non-existing variable uri (was renamed to resourceUri) DoUpdateNetworkInstance: queryIdResponse type is expected to be L3Network UpdateVfModuleVolumeInfraV1: non-existing variable cloudOwner Include tests for those fixes to build Change-Id: Icaea91260fbf6603f134df893a64ec1ca5ac40ab Issue-ID: SO-1649 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-04-01replace all fixed wiremock portsBenjamin, Max (mb388a)22-108/+61
trying to get the tests that can be threaded to pass started to remove fixed port references Change-Id: I7bfe067a8f36c908039700646571681321e9a6f5 Issue-ID: SO-1676 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-19Add cloudOwner to VNF adapter callEric Multanen3-0/+5
The BPMN layer has the CloudRegion which includes the CloudOwner attribute, but this is not passed to the VNF adapter layer. Calls to the Multicloud infrastructure workload need the CloudOwner as well. This patch adds CloudOwner to the VNF adapter API. While the intended usage is primarily for the multicloud adapter, it touches a log of other files - though those do not make use of it at this point. Change-Id: I88028096fbd84fc3fe5d53786c70b3c8806bb711 Issue-ID: SO-1447 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-03-13Run groovy bpmn/vcpe testsk.kazak11-6286/+5674
Fixed groovy tests in bpmn/vcpe/scripts to be runnable Added them to build Reformatted the code and removed unnecessary imports Change-Id: Id85c88bee666fc7f513042e0a4e83f337ab2765c Issue-ID: SO-1649 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-01-28Merge 'origin/casablanca' into masterBenjamin, Max (mb388a)3-11/+458
Issue-ID: SO-1435 Change-Id: If065ef5c91e769452fd6701fa6c28a23b4bdf2b2 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-01-24Removed deprecated Matcher importsBenjamin, Max (mb388a)6-6/+6
replaced org.mockito.Matchers with ArgumentMatchers Change-Id: I2feb4d4fb314cd14aca0719c4cc29b1a0510cbf7 Issue-ID: SO-1413 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-14Add missing license headersBenjamin, Max (mb388a)1-0/+20
add headers to files which were missing them Issue-ID: SO-1390 Change-Id: I6c754f72c5d1ef6485d6343aae4b994120901d08 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-11explicitly type defs and strings for templatesBenjamin, Max (mb388a)6-14/+14
explicitly type defs and strings for templates Change-Id: If4af5b0cdf086cd0d30277d1e835e2aa7c8e7f9c Issue-ID: SO-1386 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-04Bugfixes for December 2018Benjamin, Max (mb388a)1-22/+23
Changed the way that the cidr is constructed in network utils. added in the if statement to check if selflink already exists removed execution line that was not needed in pull added service instance id to workflowResourceIds for virtualLinkKey network flows wrote test for updating request to complete in db workflow action directly updates db instead of using mso complete process Increase max timeout for SDNO Health Checks dmaap. Added execution variable and corrected type and way data is retrieved to fix defect fixed retry status message in request db for #/5 updated workflowActionBBTasks for flow status message updated flow status to failed on a workflowaction fail Removed slashes and fixed rollbackStatusMessage Updated requestStatus logic for adding status messages Added junit test to validate casue of a defect and cleaned up code and logging added end timestamp to request db on complete request fixed l3Network update of orchestation status in DoUpdateNetworkInstance groovy as well fixed update of l3network orchestration status Add explicit resetting of heatStackId in A&AI to DeleteVfModule and DeleteVolumeGroup BBs. Preserve heatStackId setting in the copiedVfModule when updating the VF Module in A&AI. added functionality to skip rollback based on flag Update snapshot version for logging, add headers fixed optional of error in retrieveErrorMessage method Set heatStackId to null if we want to remove it in A&AI. added in a warn logger statement to keep track of field map network technology from l3network instead of model info for network adapter object mapper Force heatStackId value to empty on an attempt to set it to null on update updated common pom to use aai schema version 1.4.1 removed handle sync error from SDNCHandler bpmn flow Change-Id: I1bd7aa55b06d4e439000b216165c9daafeacc9a4 Issue-ID: SO-1361 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-12-17Merge "Bug fix for getInstnaceId"Steve Smokowski1-0/+118