aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN/src/main
AgeCommit message (Collapse)AuthorFilesLines
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-08Clean up Process Engine selection logicRob Daugherty3-54/+4
Several failed attempts to split the BPMN application into multiple applications with separate camunda process engines have left a mess of confusing classes and process engine definitions. In the Amsterdam release, there should be only one BPMN application war. This is MSOInfrastructureBPMN. MSOCommonBPMN should not be deployed as a separate application. Its classes are compiled into a jar and this is included inside MSOInfrastructureBPMN. The MSOInfrastructureBPMN application should use the "default" process engine. WorkflowAsyncInfrastructureResource and MSOCommonApplication classes are not needed. Issue: SO-322 Change-Id: Ifdb3b33541346b561a16361d1aa791e8342a34fa Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-11-08Added input params to service-information sectionShailendra Borale3-6/+18
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 M5-167/+166
* changes: Fix issue of Class name wrong Fix AAI Relationship read failed in delete flow
2017-11-07Fix issue of Class name wrongc001491075-6/+8
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 flowc001491075-161/+158
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 Hahn6-76/+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-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 Hahn3-55/+82
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-03Merge "for paras missing of network-topology"Seshu Kumar M1-0/+1
2017-11-03for paras missing of network-topologyZhuoyao Huang1-0/+1
Change-Id: I7038ff42ab1790429daa82b681320d55baf17ef1 Issue-ID:SO-181 Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>
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 Sdncc001491077-48/+168
Fix Bad request to Sdnc Change-Id: I88c109fc64808870e8ac5514cf0d199ae38ba3e8 Issue-ID:SO-299 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-11-02Merge "Auth and prefix for GENERIC-RESOURCE-API"Chuanyu Chen27-102/+271
2017-11-01removed unnecessary file from repoBenjamin, Max (mb388a)1-45/+0
Issue-Id: SO-297 Change-Id: I39609c3173e0ad70af4924afe0ef4d0fe45c86bc Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2017-11-01Auth and prefix for GENERIC-RESOURCE-APIZhuoyao Huang27-102/+271
Change-Id: I48e861937fa72a379fb350bcfb70520484f06432 Issue-ID:SO-181 Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>
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-28Merge "update progress by http request"Chuanyu Chen4-26/+240
2017-10-28update progress by http requestZhuoyao Huang4-26/+240
Change-Id: I0706639eb4d4638fbccf790d67df594b504808b2 Issue-ID:SO-181 Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>
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-27fix for missing groovy callseshukm1-125/+56
IssueId: SO-259 Change-Id: Id77cd1d3aa11e3d75346517061cbd792cefba419 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-27Add Relationship for e2e service and NSc001491072-9/+72
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 issuec001491076-597/+230
Fix voLTE Create workflow issue Change-Id: I3b615ee87e6cf5779376ee6bf7a3b5fa2be3e62c Issue-ID:SO-269 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-26fix update operation Statusseshukm4-158/+198
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 E2Edeleteseshukm4-195/+160
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-23Get msb ip from ONAP_IPZhuoyao Huang1-3/+10
which is an envirment parameter come from open_ip Change-Id: I3a314f65d92556bc1f9054ab837cbe15154c11d8 Issue-ID:SO-181 Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>
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 M3-3/+3
2017-10-23Fix Issues about voLTE Createc001491073-3/+3
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 Daugherty15-16/+16
2017-10-20Flows fail to update status in requests DBRob Daugherty15-16/+16
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 Callc001491073-3/+3
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 methodseshukm2-47/+19
IssueId: SO-222 Change-Id: I03b66e901b57ce68c0685c054c4744a2726c1c42 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>