summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN/src/main/groovy
AgeCommit message (Collapse)AuthorFilesLines
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
2017-10-23Fix Issues about voLTE Createc001491071-1/+1
Fix Issues about voLTE Create Change-Id: I811dc05c8f9a7caecddb279e025772d5d02c2548 Issue-ID:SO-254 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-23Merge "Update license in a couple of groovy scripts"Seshu Kumar M1-1/+17
2017-10-20Merge "Flows fail to update status in requests DB"Rob Daugherty4-5/+5
2017-10-20Flows fail to update status in requests DBRob Daugherty4-5/+5
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>
2017-10-19Fix the wrong XML Requestc001491071-1/+1
Fix the wrong XML Request Change-Id: Iab821a54984f8f63fa8d06ffaa0060251b6b33ff Issue-ID:SO-241 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-19Add MSB Config For Restful Callc001491071-1/+1
Add MSB Config For Restful Call Change-Id: I03e17ce9085d6991ecfa5a2f0a9e17e2dc2fe033 Issue-ID:SO-240 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-19Merge "Omit service-type and service-role if empty"Rob Daugherty1-2/+4
2017-10-18Omit service-type and service-role if emptyRob Daugherty1-2/+4
The CreateGenericALaCarteServiceInstance flow does not use the decomposition building block, and hence there is no service-type or service-role for the service instance. SO should not put empty values into AAI; it should omit the elements completely. Issue: SO-237 Change-Id: Ic9504cd5d5c3a4e4cbe67ef5de0c56f51f3c6938 Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-10-18productFamilyId not found error catchingArthur Martella1-1/+7
Properly catch JsonException in case when productFamilyId is not present to let if block handle case where it's missing. Change-Id: Id6eb2aaf10bc8636470ced3fe96c1149bb7e905e Issue-id: SO-236 Signed-off-by: Arthur Martella <amartell@research.att.com>
2017-10-18Update license in a couple of groovy scriptsJim Hahn1-1/+17
Replaced the license in several groovy scripts with reference to the Apache license, as is standard for ONAP. Change-Id: I2be9aef096a95fe70b82579d0a2f6ee88b3caf03 Issue-Id: SO-238 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-10-17Merge "fix for including the operation ID in response"Seshu Kumar M1-2/+2
2017-10-17fix for including the operation ID in responseSeshu-Kumar-M1-2/+2
IssueId: SO-226 Change-Id: Ifd515c16b876cc006703a9ae87e5daaff0b34a14 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-17Removed unWanted methodseshukm1-10/+0
IssueId: SO-222 Change-Id: I03b66e901b57ce68c0685c054c4744a2726c1c42 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-17fix method name mismatch create E2E svcseshukm1-0/+11
IssueId: SO-222 Change-Id: Ibcdf8c95dfa789619214745edd54393e8340d5ee Signed-off-by: seshukm <seshu.kumar.m@huawei.com>