aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp
AgeCommit message (Collapse)AuthorFilesLines
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)57-9001/+0
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-05-28CorrelationId implementation correctionLukasz Muszkieta2-140/+40
service instance id is now correctly passed in case of delete instance operation Change-Id: Ifb5c27194d6a588852051df0aa391b559b484ac0 Issue-ID: SO-640 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-05-24Revert correlationId implLukasz Muszkieta2-40/+140
This reverts commit c40b51651eff7997eb1bc823644a059b5406868c. Change-Id: I99e03cf9be05110ca7b4609a35ce7106f3c30b3b Issue-ID: SO-640 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-05-22Merge "Add correlationId to ServiceInstancesRequest"Seshu Kumar M2-140/+40
2018-05-15WorkflowResponse json issuesRob Daugherty2-17/+17
This commit adds some robustness to the interface between the API-H and BPMN, specifically, in how the response is handled. I don't have proof, but there appears to be some randomness to the json provider behavior when used with the jax-rs. Sometimes, the serializer is adding the root element, and sometimes it is not. Maybe there's something wrong with the configuration. Maybe we have competing json providers. I couldn't pin this down. I'm almost certain it is the presence of the root element in the content that causes the API-H code to fail parsing of the BPMN response. This doesn't kill the request, as you might expect, but rather, the API-H passes the BPMN response through to the client (VID, or policy, or whatever). The original problem (SO-586) was "fixed" by "removing the wrapper". This "wrapper" is a needed feature of the interface between BPMN and the API-H. We shouldn't have removed it. The fact that the "fix" appeared to work is due to the behavior I described in the previous paragraph. The API-H chokes on the message, and it passes it through unchanged. Not really what we want. So, I don't know why the jackson/json behavior is flaky and different now, but I can (and did) modify the API-H so it can parse a json message whether or not it has a root element. Note that WorkflowResponse.java (in BPMN) and CamundaResponse.java (in the API-H) are basically the same bean representing the message format. Seems less than ideal to have two different classes. Also note that I changed the name of the "response" attribute of the WorkflowResponse and CamundaResponse classes to "content". Got tired of seeing this nonsense everywhere in the code: response.getResponse() Change-Id: Icaf70f8457de99e493cf882170fe778c620308c9 Issue-ID: SO-586 Issue-ID: SO-618 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-05-14Unwrap root value of request bodyArthur Martella1-0/+2
Change-Id: I04144bbd22773dfda08d7b13f16080930b7edb3a Issue-ID: SO-621 Signed-off-by: Arthur Martella <am153x@att.com>
2018-05-08Add correlationId to ServiceInstancesRequestLukasz Muszkieta2-140/+40
Change-Id: Ia38fa1234f7b89c0574c74efe62d7b270c8ff987 Issue-ID: SO-596 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-04-26Remove operation status set in api-handlerc001491071-132/+9
Remove operation status set in api-handler Change-Id: I579d25044130b0701231c0a2d42534e8c63e3ebd Issue-ID: SO-587 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-04-20updateE2EServiceInstance error staus conflictYulian Han1-1/+1
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064305 Issue-ID: SO-578 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-03-29Merge "Add additional junits"Rob Daugherty1-0/+1
2018-03-29Add additional junitsSmokowski, Steve (ss835w)1-0/+1
Change-Id: Ifd792d5739394c29555c9b2a3447d7088d865a07 Issue-ID: SO-549 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-03-29Merge "removed unused api-handler code"Rob Daugherty17-1760/+0
2018-03-28removed unused api-handler codeBenjamin, Max (mb388a)17-1760/+0
Change-Id: I4fc23794cc96092ca4144bd847de91cff4bdb02b Issue-ID: SO-548 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-28improve E2EServiceInstances coverageBenjamin, Max (mb388a)1-26/+623
Change-Id: I2c983c233ad71379e412de0b75356aec9f38492d Issue-ID: SO-547 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-28Merge "MSO API Handler Infra test repair"Seshu Kumar M1-13/+4
2018-03-28MSO API Handler Infra test repairArthur Martella1-13/+4
Repairing a number of tests in ServiceInstancesTest. Change-Id: Ic74015fb092433a0aa26d22ea726321d1c98efe3 Issue-ID: SO-489 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-03-28UT Coverage for API HandlerAbhishek Shekhar1-925/+925
1. E2EServiceInstances Change-Id: I2516352a237a2b1dbec152d6886c9974a1b10054 Issue-ID: SO-369 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-28Junit for apihandlerinfra.volumebeansSumapriya6-0/+266
Junit for: 1.ObjectFactory.java 2.RequestInfo.java 3.VolumeInputs.java 4.VolumeOutputs.java 5.VolumeRequests.java 6.VolumeRequest.java Sonar Link: https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so%3Amso-api-handler-infra%3Asrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fmso%2Fapihandlerinfra%2Fvolumebeans Change-Id: Id2eea3ba913651d30bd8d5535c48d09dbea0d892 Issue-ID: SO-539 Signed-off-by: Sumapriya <SS00493505@techmahindra.com>
2018-03-28UT Coverage for API HandlerAbhishek Shekhar4-44/+78
1. VnfMsoInfraRequest 2. MsoRequest 3. NetworkRequestHandler 4. OrchestrationRequests Change-Id: Id85e5bd157bb491287ffb229f7b87c501554ca0f Issue-ID: SO-369 Signed-off-by: Abhishek Shekhar <abhishek.shekhar1@amdocs.com>
2018-03-28Merge "checkE2ESvcInstStatus using status_result"Chuanyu Chen1-0/+2
2018-03-28checkE2ESvcInstStatus using status_resultYulian Han1-0/+2
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f0641f8 Issue-ID: SO-419 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-03-28UT Coverage for API HandlerAbhishek Shekhar2-8/+206
1. NetworkRequestHandler 2. VolumeInfoHandler Change-Id: I2b04effcdc9cd8e5ff0af5a73c2fcbfba580f645 Issue-ID: SO-369 Signed-off-by: Abhishek Shekhar <abhishek.shekhar1@amdocs.com>
2018-03-27Remove forbidden dependenciesArthur Martella1-1/+1
Upgrade org.codehaus.jackson : jackson-mapper-asl : 1.9.13 to com.fasterxml.jackson.core : jackson-databind : 2.8.7 Change Jackson error message in test to new error message. Change-Id: I719166bcf71d171c2e2ba721790eb87fcda8f305 Issue-ID: SO-537 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-03-27UT Coverage for API HandlerAbhishek Shekhar4-58/+589
Change-Id: I7bde5bf105ecda5404875edd8de953e3d1f9d1ff Issue-ID: SO-369 Signed-off-by: Abhishek Shekhar <abhishek.shekhar1@amdocs.com>
2018-03-23UT coverage for mso api handler moduleSindhu A1-1/+1
UT coverage for pojo classes in api handler module. Change-Id: I73b0ef63b2758d45902c62c7362f54086b31b4fc Issue-ID: SO-369 Signed-off-by: Sindhu A <arcot.sindhuri@huawei.com>
2018-03-22Add OpenPojo Tests to APIHSmokowski, Steve (ss835w)1-1/+2
Change-Id: Ib1774a23282da8b45465235cd362002fbfd13b78 Issue-ID: SO-523 Change-Id: Ib1774a23282da8b45465235cd362002fbfd13b78 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-03-22Added openpojo validationsSmokowski, Steve (ss835w)1-0/+74
Issue-ID: SO-522 Change-Id: Id984d3834a822d8b6de8ee4771009dad3eee4689 Change-Id: Id984d3834a822d8b6de8ee4771009dad3eee4689 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-03-22UT CoverageSindhu A7-0/+304
UT Coverage for SO Issue-ID: SO-369 Change-Id: I1708ed331d07386ce85bf1f448085acdc2915fea Signed-off-by: Sindhu A <arcot.sindhuri@huawei.com>
2018-03-22UT Coverage for SOSindhu A11-0/+1040
Changed folder name from taskbean to tasksbean Issue-ID: SO-369 Change-Id: I2e0d81b2ec4714e8f499bf1ba4639b4c9be1d5e8 Signed-off-by: Sindhu A <arcot.sindhuri@huawei.com>
2018-03-15Merge "Update e2e models"Chuanyu Chen1-13/+91
2018-03-14Update e2e modelssubhash kumar singh1-13/+91
Update e2e models. Change-Id: Ifc64a394670a7edcd01d2e4ec78f96a113913bbc Issue-ID: SO-368 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-14AT&T 1712 and 1802 release codeRob Daugherty28-306/+3454
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 Daugherty30-3350/+3316
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 Williams30-3316/+3350
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-08Make use of contains instead of indexOfMunir Ahmad1-2/+2
Change-Id: Ia695d6aed572c611ed8ead494a86c78558e848e3 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-07Merge "Swap indexOf with contains"Rob Daugherty2-52/+55
2018-03-07Swap indexOf with containsMunir Ahmad2-52/+55
Change-Id: I609d307acf504ea7ff25ed3327a3d4e0e4686755 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-07modify bug for UT caseYulian Han1-0/+143
Issue-ID: SO-419 Change-Id: Ibef5e8e617dcfb1d4f9b4087f20d6058a47bd740 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-03-06Replace explicit type with dimond typeMunir Ahmad6-17/+17
Change-Id: I1dedb9ef1ca7b734e3cfc0a3a594d733dbd298d4 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-27Add recipe params for bpmn callc001491072-8/+8
Add recipe params for bpmn call, to improve recipe enhancement. Change-Id: If9f2bff3f27ced62e814afcb918c863a527363e6 Issue-ID: SO-449 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-02-25Add the correct literal ending for longMunir Ahmad3-8/+8
Change-Id: I23744d6110c92aed98613aa5febb27abab033a34 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2017-11-02Add test cases for GET E2E svcseshukm1-395/+499
IssueId: SO-260 Change-Id: Ie57b57b98472f6d8b012137562713de02d6a516c Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-27Quickfix for the changes of mocking issueseshukm1-40/+72
IssueId:SO-272 Change-Id: Id8dd70260c7ba6ed79a0aaa3b377b701f0e3d47d Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-23fix for delete e2e serviceseshukm1-1/+1
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-9/+13
IssueId : SO-253 Change-Id: Id7422ce88965c82c20eea5071db4992bee349279 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-23Fix Issues about voLTE Createc001491071-9/+9
Fix Issues about voLTE Create Change-Id: I811dc05c8f9a7caecddb279e025772d5d02c2548 Issue-ID:SO-254 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-18fix for the E2EServiceInstances progress updateSeshu-Kumar-M1-11/+11
IssueId : SO-205 Change-Id: I5650400729ab89b5b3ae1e8adb0e892390281489 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-16alaCarteSet unrecognized fieldRob Daugherty1-3/+3
The aLaCarte and aLaCarteSet fields in RequestParameters class and their corresponsding methods are not consistently named, and thus they are not serialized/deserialized correctly by the Jackson JSON utilities. We were seeing this sort of thing in the requests database: "requestParameters": { "subscriptionServiceType": "vFW", "aLaCarte": true, "autoBuildVfModules": false, "cascadeDelete": false, "usePreload": true, "rebuildVolumeGroups": false, "alaCarteSet": true, "alaCarte": true } We obviously shouldn't have "alaCarte" as well as "aLaCarte". And I don't think we want "alaCarteSet" to be persisted in the DB at all (it should be ignored by the JSON mapper). Issue: SO-219 Change-Id: Ia943d2970cb7db153f3af73289f426a154917f7e Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-10-11Correct E2E svc to update RequestDbseshukm1-6/+7
IssueId: SO-205 Change-Id: Ib5f634c13c09c9f5df04d3973dd6c95684520d0b Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-06Merge "MSO API Handler Test cases license"Seshu Kumar M2-2/+2