summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-04-02Add junit HeaderUtil.javaFelix Sangalang1-1/+1
package org.openecomp.mso.bpmn.infrastructure. workflow.serviceTask.client Issue-ID: SO-556 Change-Id: If24593bb424f6faa3340d0b8fb88e49d37e796c3 Change-Id: If24593bb424f6faa3340d0b8fb88e49d37e796c3 Signed-off-by: Felix Sangalang <fs7692@us.att.com>
2018-04-02Add junit HeaderUtil.javaFelix Sangalang1-1/+0
package org.openecomp.mso.bpmn.infrastructure. workflow.serviceTask.client Issue-ID: SO-556 Change-Id: I34ba4d37eec42164c8e8cfa2c0fb747a625e77d2 Change-Id: I34ba4d37eec42164c8e8cfa2c0fb747a625e77d2 Signed-off-by: Felix Sangalang <fs7692@us.att.com>
2018-04-02Add junit for HeaderUtil javaSangalang, Felix (fs7692)1-1/+1
Add junit for HeaderUtil java Issue-ID: SO-556 Change-Id: Ia6ff8fde5a3689dd8fa46a13fcebc5a01d57d0d7 Change-Id: Ia6ff8fde5a3689dd8fa46a13fcebc5a01d57d0d7 Signed-off-by: Sangalang, Felix (fs7692) <fs7692@att.com>
2018-04-02Add junit for HeaderUtil.javaSangalang, Felix (fs7692)1-0/+35
package: org.openecomp.mso.bpmn.infrastructure. workflow.serviceTask.client Issue-ID: SO-556 Change-Id: I15194cf16262e4e333dfb689930d094495bcf68b Signed-off-by: Sangalang, Felix (fs7692) <fs7692@att.com>
2018-03-30Re-remove appc.service=ueb in infra bpmnArthur Martella1-1/+1
Change-Id: I1b06be26246c8421e7a778330e42b0bb77fd9b34 Issue-ID: SO-546 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-03-29Restore appc.service=ueb in infra bpmnArthur Martella1-1/+1
Undo change made in https://gerrit.onap.org/r/#/c/39927/ Change-Id: I32a88681fba132ad31cf40707444f3fe1dc87098 Issue-ID: SO-546 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-03-28Remove appc.service=ueb in infra bpmnArthur Martella1-1/+1
Change-Id: I39809ed7365b96bc225cb290ff0e6cca8cc80594 Issue-ID: SO-546 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-03-28Merge "ControllerType update for CM flows"Rob Daugherty5-1/+7
2018-03-28Merge "Added subworkflow for Pnf pnp"Rob Daugherty6-0/+447
2018-03-28ControllerType update for CM flowsElena Kuleshov5-1/+7
Change-Id: I42c60ba45baaf29fa5fe54a8bb7ffc0aab5622c7 Signed-off-by: Elena Kuleshov <ek1439@att.com> Issue-ID: SO-526
2018-03-28mannul NS scale unit testguanwenyao3-0/+324
Issue-ID: SO-423 Change-Id: I28d462cba73feb56b90d9d15619149d809fe1780 Signed-off-by: guanwenyao <guanwenyao@chinamobile.com>
2018-03-28Added subworkflow for Pnf pnpbiniek6-0/+447
Change-Id: Ifeba2e74a03ce8c5a13b80f673809c3ef60bfe3f Issue-ID: SO-506 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-03-27Refactor homing flows for OOF/HPAMarcus G K Williams6-6/+21
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-22Added OpenPojo Validations to beansSmokowski, Steve (ss835w)1-0/+72
Change-Id: I34d8922a55b1ba35610ad0856dcd3363fa016785 Issue-ID: SO-516 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-03-21UT CoverageSindhu A1-0/+114
UT Coverage for SO Change-Id: Ib9517c25b22c37c85b2af84259911b01ddb4bbe5 Issue-ID: SO-369 Signed-off-by: Sindhu A <arcot.sindhuri@huawei.com>
2018-03-20Add UT for AAICreateOwningEntityTestsubhash kumar singh1-0/+35
Add UT for AAICreateOwningEntityTest. Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Change-Id: I240bd5b7b1677e9fb88a815f67757ea8e9756e32
2018-03-20Add UT for AbstractBuildersubhash kumar singh1-0/+358
Add UT for AbstractBuilder class. Change-Id: Icd337e51c49d24015c1401ecaf36c26e710d4606 Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-14AT&T 1712 and 1802 release codeRob Daugherty93-1311/+4040
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-09Revert Reduce log noise/warningsRob Daugherty42-8337/+8346
This reverts commit 327b17ab250b4c17cf3f91f5e4cd9bffd89f3d1e. It is seriously impeding our ability complete the promised merge of AT&T 1802 code. While I'm all for coding standards, if we are serious about using spaces instead of tabs, then I think we need to (1) agree with the community when this will happen, (2) do consistently in all files, and (3) enforce it. Change-Id: Ib9b996f6b6c7d81ac9ac95d58b0c7d8cc39675ff Issue-ID: SO-368 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-08Reduce log noise/warnings format to conventionsMarcus G K Williams42-8346/+8337
Reduce build log warnings by formatting tests to ONAP code conventions (removing tabs etc.) Issue-ID: SO-368 Change-Id: I48c6d359b83617aebeb79db4e30c1d72d31f7eec Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-03-07Merge "Swap indexOf with contains"Rob Daugherty2-12/+12
2018-03-07Swap indexOf with containsMunir Ahmad2-12/+12
Change-Id: I609d307acf504ea7ff25ed3327a3d4e0e4686755 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-06Store NB Create req. userParam - Customer_LocationMarcus G K Williams4-22/+46
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>
2018-03-06Replace explicit type with dimond typeMunir Ahmad32-78/+78
Change-Id: I1dedb9ef1ca7b734e3cfc0a3a594d733dbd298d4 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-01-24Same Service names under two different CustomersChittaranjan Sardar1-2/+2
SO is not allowing to create services with same name with in different customers. Change-Id: I2ce83f3d6c8d999f88154a1ac50330a8b6d50118 Issue-ID: SO-382 Signed-off-by: Chittaranjan Sardar <chittaranjan.sardar@amdocs.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 Hahn3-61/+115
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 Hahn8-117/+118
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 Hahn3-95/+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-05Merge "Added sleep before GET call"Seshu Kumar M2-3/+7
2017-11-04Added sleep before GET callShailendra Borale2-3/+7
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-11-03supporting files for e2e svc UTseshukm4-0/+261
IssueId: SO-281 Change-Id: Ice16b1a1bf94658d7b97d5f9a665297deb14a148 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-30Changed files ecomp-model to onap-modelShailendra Borale19-82/+82
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-24Fixed bug to parse json userParams arrayShailendra Borale4-15/+27
BPMN request - userParams is an array of maps, rather than a map. Each map has name and value elements. Changed code to parse the array correctly. Change-Id: Ie06ba22b03fa5c5ceb103c42daa3bbf7e6e252db Issue-Id: SO-262 Signed-off-by: Shailendra Borale <sb8915@att.com>
2017-10-20Flows fail to update status in requests DBRob Daugherty1-1/+1
The fallout and completion handlers are not updating the request status in the mso_requests database. The cause is a missing URN mapping that defines the service endpoint for these updates. Issue: SO-230 Change-Id: I5b4ff6e9ca2cde6605b3ed7cb7b086041111d31c Signed-off-by: Rob Daugherty <rd472p@att.com>