aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN/src/main/groovy
AgeCommit message (Collapse)AuthorFilesLines
2018-03-09Simplify boolean expressions in groovyMunir Ahmad12-34/+34
Change-Id: I8dc254337f5975c2af6a2de74f20eff919993cf2 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-09Merge "Update resource recipe parameter prepare logic"Rob Daugherty1-47/+97
2018-03-09Update resource recipe parameter prepare logicc001491071-47/+97
Update resource recipe parameter prepare logic Change-Id: Iefb4964f059a92e3df4000627b8b404174bfb804 Issue-ID: SO-452 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-03-06Store NB Create req. userParam - Customer_LocationMarcus G K Williams1-752/+834
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-05Update generic create service workflowc001491071-0/+40
Update generic create service workflow Change-Id: Ia13b7acd107ca9df96f05f239e8ca156c554eb40 Issue-ID: SO-370 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-02-23Merge "Support more Generic workflow for voLTE"Seshu Kumar M2-10/+166
2018-02-22Support more Generic workflow for voLTEc001491072-10/+166
Support more Generic workflow for voLTE Change-Id: I0005fffdb420709b597739173fa894981ac9c74e Issue-ID: SO-438 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-01-29Refactor of DecomposeJsonUtils class.biniek1-2/+1
Change-Id: I72b779eb17ffb901266de605eb2eda49f13bd03e Issue-ID: SO-374 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-01-16Add Generic Workflow for E2E ServiceInstancec001491072-0/+2269
Add Generic Workflow for E2E ServiceInstance Change-Id: I078d7b74b16c670927ca4aebba2fbe4aa1c0d542 Issue-ID: SO-379 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-12-15Fix Unexpected service create issuec001491071-1/+5
Fix Unexpected service create issue.Reset the variable before update it. Change-Id: I4e21cecc51ee441727600315f059f7c341c2cc11 Issue-ID: SO-358 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-12-14Fix Json Serialize failed issuec001491071-1/+1
Fix Json Serialize failed issue for delete service, Get json String value of the object. Change-Id: Id2375beede73581029fc5c048a26a6c7f17eb606 Issue-ID: SO-357 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-12-05Correct Service Type valuec001491071-2/+2
Correct Service Type value for E2E service Issue-ID: SO-354 Change-Id: I4265dfac3793117dc83a6ae97a0dddb1d532d58c Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-11-15Modified create-vcpe to filter out "bad" VNFsJim Hahn1-0/+21
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-15fix updateProgressv1.1.0Zhuoyao Huang1-2/+2
Change-Id: I91d63cacc0d1a55c3b07703890adecd95ba9410d Issue-ID:SO-181 Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>
2017-11-13Added global customer id to sdnc delete requestJim Hahn2-6/+16
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-60/+76
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-11Changed parsing code in DoDeleteVfModuleFromVnfJim Hahn1-41/+24
Modified code to use MsoUtils to parse the xml rather than walking the nodes generated by documentBuilder. Added check for missing vfModuleOutputs. Added MsoUtils.getMultNodeObjects() to return real Node objects instead of lazy nodes. Change-Id: I0266502f1e0353c778dce982fa55cf7ce944d91e Issue-Id: SO-333 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-11-10Merge "Fix AAI Service Delete failed issue."Seshu Kumar M2-10/+5
2017-11-10Fix AAI Service Delete failed issue.c001491072-10/+5
Fix AAI Service Delete failed issue. Change-Id: Ief3eae52d119fcf488a562916d1322641078983f Issue-ID:SO-329 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-11-10Merge changes I4e542ffd,Ibb86da2dSeshu Kumar M2-22/+34
* changes: Fix Null Point Exception Fix Delete workflow sent msg to vfc adatper failed
2017-11-10Merge "Now passing cloudConfig to subflows"Seshu Kumar M1-2/+5
2017-11-10Fix Delete workflow sent msg to vfc adatper failedc001491072-22/+34
Fix Delete workflow sent msg to vfc adatper failed Change-Id: Ibb86da2d9e03e0004854035b21daaae09d3f19e6 Issue-ID:SO-327 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-11-09Now passing cloudConfig to subflowsJim Hahn1-2/+5
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-09Added authentication info to DoDeleteVnfAndModulesJim Hahn1-11/+2
Modified code to use AaiUtil.executeAAIGetCall() to make the the call to AAI, thus shortening the code while gaining the benefits of the common module (e.g., setting authentication info). Change-Id: Ic0e671c0301c78b14a2234efec3cc7064162d4ad Issue-Id: SO-326 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-11-08Added input params to service-information sectionShailendra Borale2-6/+14
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-08Merge changes I47e5be10,Ieb31f208Seshu Kumar M3-163/+158
* changes: Fix issue of Class name wrong Fix AAI Relationship read failed in delete flow
2017-11-07Fix issue of Class name wrongc001491073-4/+5
Fix issue of Class name wrong Change-Id: I47e5be10aed7f991088c99ec7baf3135783c40e2 Issue-ID:SO-312 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-11-07Fix AAI Relationship read failed in delete flowc001491073-159/+153
Fix AAI Relationship read failed in delete flow Change-Id: Ieb31f2088aba3d4bb2d4ad5c72aec061cf833069 Issue-ID:SO-311 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-11-06Updated xml tags and moved sleep to bpmnJim Hahn3-30/+31
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-06Merge "Add Relationship between e2eservice and ns"Seshu Kumar M1-3/+2
2017-11-06Add Relationship between e2eservice and nsc001491071-3/+2
Add Relationship between e2eservice and ns Change-Id: Ib79fe952560789b2a1113e93eea1179b6c5088e7 Issue-ID:SO-307 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-11-06Merge "Changed debug variable name to be consistent"Seshu Kumar M1-40/+40
2017-11-05Moved sleep to macro flowJim Hahn2-12/+19
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-05Changed debug variable name to be consistentJim Hahn1-40/+40
The debug variable name was inconsistent which resulted in null being passed to the debug logger. Change-Id: Ia431b12a950113d27cb84c54eb54579995ae17de Issue-Id: SO-306 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-11-05Merge "Added sleep before GET call"Seshu Kumar M2-5/+20
2017-11-04Added sleep before GET callShailendra Borale2-5/+20
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-03fix issues in e2e delete groovy flowseshukm2-21/+39
IssueId: SO-281 Change-Id: I470dd7a2f3882f94f7d1fc9b93322327079e379b Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-11-02Fix Bad request to Sdncc001491072-1/+8
Fix Bad request to Sdnc Change-Id: I88c109fc64808870e8ac5514cf0d199ae38ba3e8 Issue-ID:SO-299 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-31Merge "Fix Result Code Check Error"Seshu Kumar M2-5/+5
2017-10-31Fix Result Code Check Errorc001491072-5/+5
Fix Result Code Check Error Change-Id: I21f6a2c73e4846944e82c315aab380378b6c6be9 Issue-ID:SO-291 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-30Changed files ecomp-model to onap-modelShailendra Borale7-18/+18
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-27Fix for inappropriate function mapping in BPMNseshukm1-5/+12
IssueId : SO-259 Change-Id: I2d458c361ea4a01515abdc2e8ebcf177e8d5ad4c Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-27Add Relationship for e2e service and NSc001491071-7/+70
Add Relationship for e2e service and NS Change-Id: Id1bf6862b9d2325297e466d417dc1b169e157ff6 Issue-ID:SO-275 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-26Fix voLTE Create workflow issuec001491073-468/+188
Fix voLTE Create workflow issue Change-Id: I3b615ee87e6cf5779376ee6bf7a3b5fa2be3e62c Issue-ID:SO-269 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-26fix update operation Statusseshukm2-83/+92
fixing update of operation status for del e2e svc IssueId: SO-263 Change-Id: I797f36c54d4fd90f697b22d576666197b311713f Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-25update operation status for E2Edeleteseshukm2-80/+80
IssueId: SO-258 Change-Id: I7699b44d5e72fdcec96f86b0c493b969f9c91598 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-24Fixed bug to parse json userParams arrayShailendra Borale1-22/+26
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-23fix for delete e2e serviceseshukm1-60/+9
IssueId: SO-258 Change-Id: Ib038f1a40d3a1a8604b3ba1da6b7bc7de33a074e Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-23Quick fix to unblock the issue of VoLTE creationSeshu-Kumar-M1-3/+1
IssueId : SO-253 Change-Id: Id7422ce88965c82c20eea5071db4992bee349279 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-23Merge "Fix Issues about voLTE Create"Seshu Kumar M1-1/+1