aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN/src/test/groovy/org
AgeCommit message (Collapse)AuthorFilesLines
2018-05-03ecomp-model-information to onap-model-informationArthur Martella6-42/+42
Change-Id: I05f4648ff898a54e7a00d899d97129746172cdb4 Issue-ID: SO-603 Signed-off-by: Arthur Martella <am153x@att.com>
2018-03-28mannul NS scale unit testguanwenyao2-0/+286
Issue-ID: SO-423 Change-Id: I28d462cba73feb56b90d9d15619149d809fe1780 Signed-off-by: guanwenyao <guanwenyao@chinamobile.com>
2018-03-27Refactor homing flows for OOF/HPAMarcus G K Williams2-1/+4
1. Split Homing into OOF and SNIRO versions 2. Added OOF API interactions 3. Added Unit tests for OOF Homing Code Issue-ID: SO-404 Change-Id: Ifeeeec9ea450d8b330110a565208ed89a1e18cde Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-03-14AT&T 1712 and 1802 release codeRob Daugherty23-815/+1335
This is code from AT&T's 1712 and 1802 releases. Change-Id: Ie1e85851e94bc66c4d9514a0226c221939531a04 Issue-ID: SO-425 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-06Store NB Create req. userParam - Customer_LocationMarcus G K Williams1-0/+3
1. Additional user param Customer_Location needs to be passed and stored for use later in communication to OOF for homing/placement. 2. Added request.json fields to unit test Customer_Location and enabled testing of Customer_Location in CreateVcpeResCustServiceTest.groovy 3. Cleanup of CreateVcpeRestCustService.groovy to match code conventions Issue-ID: SO-402 Change-Id: Id23161c1d63e2f0e7871bf9310468c1b64cbd04e Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-12-12Fix the super keyword misuseByung-Woo Jun9-276/+274
Remove the super keyword misuse, and create a static method for the correct assignment Change-Id: I7048d45c709520788eca53c8275af508d0c4a9a8 Issue-ID: SO-292 Signed-off-by: byungwoojun<byung-woo.jun@ericsson.com>
2017-11-15Modified create-vcpe to filter out "bad" VNFsJim Hahn1-17/+64
Modified create-vcpe to delete the BRG and TXC items from the service VNF list contained within the service decomposition structure. Change-Id: I7624a93b422fa172a2079f70d66a2604ee2229b0 Issue-Id: SO-344 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-11-13Added global customer id to sdnc delete requestJim Hahn2-2/+10
Modified delete-BRG & delete-TXC to add global customer id and several other fields to the SDNC request. Change-Id: I4b85ba634b56a218037f95e1772fe0fcdde1cd91 Issue-Id: SO-336 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-11-11Query AAI for ARs on deleteJim Hahn1-20/+84
Delete-vcpe code expected allotted-resources to be included within the SI response from AAI. That turns out not to be the case. As a result, the code for delete-vcpe was modified to query each AR found in the SI to get it's full info. Change-Id: I893fb2fcf50a32335bbd68d1aaa84c8d747b14f0 Issue-Id: SO-325 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-11-09Now passing cloudConfig to subflowsJim Hahn1-0/+2
Modified DeleteVcpeResCustService to pass cloudConfiguration to the delete-vnf-and-modules subflow, in addition to passing the cloud id and tenant id. Change-Id: Icf7824ed36eef95b8ab943005c5f4495706b5d70 Issue-Id: SO-324 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-11-09editing test cases for e2e delete groovyseshukm1-1/+4
IssueId: SO-281 Change-Id: I9c5de43451dc7af646ed728839a1bb08ae8f4742 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-11-08Added input params to service-information sectionShailendra Borale3-6/+19
Added input params to service-information section to facilitate sdnc assign query subscriptionServiceType and globalCustomerId were added to groovy, bpmn parentServiceInstanceId shd not be part of service-information, serviceInstanceId - corrected Updated junit tests with new service-info fields. Change-Id: I9fbfdf8a97b4e42881e187bec198c977241c0c13 Issue-Id: SO-318 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-11-07fix for delete e2e svc subprocess groovy testseshukm1-0/+137
IssueId : SO-281 Change-Id: I01ec11410b5ee97f28f780ca08a6860f482b88ea Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-11-06Updated xml tags and moved sleep to bpmnJim Hahn3-111/+112
Per issue, changed "_" to "-". Also related to a comment to SO-303, made "sleep" time a property and moved the sleep calls from groovy scripts to bpmn. Fixed a few test resources that still had "_" instead of "-". Changed variable name from sdnReplDelay to sdncReplDelay. Change-Id: I893254c0ab735508732fcf2c3e82934f26c2a05a Issue-Id: SO-308 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-11-06UT for Delete e2e main processseshukm1-0/+160
IssueId: SO-281 Change-Id: I49ec3525703d8a8ec4f86a866fa9799f195f14dc Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-11-05Moved sleep to macro flowJim Hahn2-94/+115
Added new method to "Await AAI Distribution" to macro flow and moved sleep there. Added junit test for new method and updated existing tests. Change-Id: I91c8a787669a0fc8cf2038a4cfb6f6229d3949e2 Issue-Id: SO-303 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-11-04Added sleep before GET callShailendra Borale1-3/+3
Added 30 second sleep to take care of AAI replication issue Changed calls to toJsonString to toJsonStringNoRootName. toJsonString adds additional braces causing parsing error Added code to skip wait in case of unit testing. added debug prints to test cases Change-Id: I25461da8051f96ea2c8f6c5fde386a0ba0b66e43 IssueId: SO-303 Signed-off-by: Shailendra Borale <sb8915@att.com>
2017-10-30Changed files ecomp-model to onap-modelShailendra Borale6-45/+45
SDNC does not recognize ecomp-model-information SDNC recognizes onap-model-information The ecomp-model-information was changed to onap-model-information Change-Id: I60c02ba6cb272703ad3bca17f71d5407d8a507d2 Issue-Id: SO-289 Signed-off-by: Shailendra Borale <sb8915@att.com>
2017-10-28fix for create svc instance of groovyseshukm1-86/+47
IssueId: SO-281 Change-Id: I17e37e7a3def1b36847be31b5854fb28fc446aa3 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-28testcases for delete svc instance groovyseshukm1-0/+105
IssueId: SO-281 Change-Id: Ic34984ab0881219014946d1481a8dcf13548f2a9 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-28fix for incoming jsonreq in groovy testseshukm1-88/+64
IssueId: SO-281 Change-Id: Ie7a82e78b5a3eca2bf751598a83a370dfe2e7f86 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-28Add sendSyncError to groovy testseshukm1-0/+22
IssueId: SO-281 Change-Id: I22ff6b3bafc8d76a635ed4bd03e0088fbace5a1f Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-28add sendSyncResponse to groovy testseshukm1-1/+47
IssueId: SO-281 Change-Id: I71c168162ce98be9592c50c35814c521fc325312 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-28Adding msoCompletionReq to groovy testseshukm1-3/+16
IssueId: SO-281 Change-Id: I8da2d6c1a331f9052c8785d54ded38a0e1a8a8ca Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-28fix for groovy test caseseshukm1-1/+30
IssueId: SO-281 Change-Id: I3cdd5d56d375944dc11011e6399a6e12a8f4ff43 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-28add groovy test case for svc instanceseshukm1-0/+168
IssueId: SO-281 Change-Id: I3c1b17e8e82c333f0a493845135fadee51ddf4e0 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-11Add junit test coverage and fix bugs in VCPEJim Hahn11-1042/+6485
Added additional junit tests for VCPE and fixed bugs that were found while testing. Change-Id: Icb6a0c936a16b775ff553c11cb07a4348bd9ebfc Issue-ID: SO-210 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-09-21Initial commit of vCPE flowsRob Daugherty1-0/+1131
Note: vCpeResCust isn't done yet. Waiting for Homing BB integration. Change-Id: I9c6bcbd13eb1857085cb44d9aabe96ffb600b9a1 Issue-id: SO-147 Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-09-11Groovy scripts header correctionSeshu-Kumar-M3-3/+3
IssueId: SO-120 Change-Id: I58aaff6213fcc91388f1cabf3ca37838a25c1c73 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-09-081710 Rebase - Second AttemptArthur Martella12-222/+10665
This commit rebases changes from openecomp-mso/internal-staging-1710 up to and including this codecloud commit: 54483fc6606ddb1591a2e9da61bff8712325f924 Wed Sep 6 18:12:56 2017 -0400 Rebasing was done on a branch on top of this commit in so/master in ONAP: 93fbdfbe46104f8859d4754040f979cb7997c157 Thu Sep 7 16:42:59 2017 +0000 Change-Id: I4ad9abf40da32bf5bdca43e868b8fa2dbcd9dc59 Issue-id: SO-107 Signed-off-by: Arthur Martella <amartell@research.att.com>
2017-05-09[MSO-8] Additional fixes for the second rebaseDeterme, Sebastien (sd378r)1-3055/+0
DB fixes + BPMN flows and groovy fixes + Fix issue with CloudConfig file not reloaded properly when it's wrong (JSON error or model hierarchy mistake) at MSO startup Change-Id: I2853030b78499e2a761706b643ea210955e72de3 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com> [MSO-8] Restore files removed in patch set 2 Those groovy files must be there Change-Id: I9a47ac3d9c8fc06774a1b8f518491b1b0b00af04 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-05-02[MSO-8] Second step of the rebase for MSODeterme, Sebastien (sd378r)3-3405/+3366
Second rebase containing additional features for MSO + total reworking of the BPMN structure + Notification flow can now be added at the end of some BPMN flows Change-Id: I7e937c7a0ba1593ca85e164a093f79c7e38b6ce0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-04-11[MSO-8] Update the maven dependencyxg353y5-0/+3780
Update the maven depenency for sdc-distribution-client to cooperate with the sdc changes. Change-Id: I2da936e5c40cb68c7181bb78307192dd5655b5dc Signed-off-by: xg353y <xg353y@intl.att.com>