summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src
AgeCommit message (Collapse)AuthorFilesLines
2018-03-28Merge "support manual scale for NS"Chuanyu Chen7-1/+431
2018-03-28Merge "checkE2ESvcInstStatus using status_result"Chuanyu Chen2-1/+3
2018-03-28support manual scale for NSguanwenyao7-1/+431
Issue-ID: SO-423 Change-Id: I752e096806ec513250a8fb1bf51a2ed57fb05f6e Signed-off-by: guanwenyao <guanwenyao@chinamobile.com>
2018-03-28checkE2ESvcInstStatus using status_resultYulian Han2-1/+3
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 Martella6-6/+6
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 Shekhar5-59/+590
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-23add compareModelofE2EServiceInstance processYulian Han2-3/+124
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f0641e6 Issue-ID: SO-419 Signed-off-by: Yulian Han <elaine.hanyulian@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)4-0/+94
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-22add CompareModelsRequest.javaYulian Han1-0/+68
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f0641e5 Issue-ID: SO-419 Signed-off-by: Yulian Han <elaine.hanyulian@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 "Sonar Critical"Seshu Kumar M1-0/+3
2018-03-15Sonar CriticalSP005016381-0/+3
Either log or rethrow this exception ServiceInstances.java:512,522,727 Sonar Link: https://sonar.onap.org/project/issues?assignees=swapnalipode&id=org.onap.so%3Aso&open=AWIklWkKRGy6eclHDh4e&resolved=false Location: /mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/ServiceInstances.java Change-Id: I4697022be8de7a746d2b7d868badc919545a353b Issue-ID: SO-486 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-15Merge "Sonar Critical"Seshu Kumar M1-0/+1
2018-03-15Sonar CriticalSP005016381-0/+1
Either log or rethrow this exception E2EServiceInstances.java:513 Sonar Link: https://sonar.onap.org/issues?myIssues=true&open=AWIA0508RGy6eclHC5SJ&resolved=false Location: mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java Change-Id: Ie38f89f41ea58ab5911c5213e7c39da68ded9209 Issue-ID: SO-483 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-15Merge "Update e2e models"Chuanyu Chen7-161/+209
2018-03-14Update e2e modelssubhash kumar singh7-161/+209
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 Daugherty280-2518/+16045
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-08Merge "Make use of contains instead of indexOf"Seshu Kumar M1-2/+2
2018-03-08Merge "Swap if statement with switch"Seshu Kumar M9-270/+291
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-07Swap if statement with switchMunir Ahmad9-270/+291
Change-Id: Ifc4011741849569b04160d6a009b8149102f6c33 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-07Merge "add update action for e2e svcinst"Chuanyu Chen1-939/+1154
2018-03-06Replace explicit type with dimond typeMunir Ahmad19-32/+32
Change-Id: I1dedb9ef1ca7b734e3cfc0a3a594d733dbd298d4 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-06Merge "Simplify if statements where it makes sense"Seshu Kumar M1-9/+6
2018-03-06add update action for e2e svcinstYulian Han1-939/+1154
Issue-ID: SO-419 Change-Id: Ibef5e8e617dcfb1d4f9b4087f20d6058a47bd741 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-02-27Add recipe params for bpmn callc001491075-12/+38
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-26Simplify if statements where it makes senseMunir Ahmad1-9/+6
Change-Id: Id04ede6b8aa8fa3ca8c02b8c32ad5f4745ef47f4 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-26Merge "Add the correct literal ending for long"Seshu Kumar M3-8/+8
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>
2018-02-24Remove wrapping of primitive values in objectsMunir Ahmad1-1/+1
Change-Id: I67b1229c7c8d0d82b94857f64a6547d9f57d16b8 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-24Swap for loop in favor of foreachMunir Ahmad9-35/+35
Change-Id: I04b3691abd958a1455f55b8b295a7f08998b8692 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-22Merge "Remove redundant toString"Seshu Kumar M2-12/+12
2018-02-22Merge "Select recipe for create service"Seshu Kumar M1-16/+30
2018-02-22Select recipe for create servicec001491071-16/+30
Select recipe for create service Change-Id: I4109c775aef14d2621777bef3a6891b8a6cb8a05 Issue-ID: SO-438 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-02-21Remove redundant toStringMunir Ahmad2-12/+12
Change-Id: If039248f233e3aa53733aa1a888b571836ca9406 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-01-31Sonar:MajorSumapriya Sarvepalli1-1/+1
The diamond operator (<>) should be used OrchestrationRequests.java:L163 Sonar Link: https://sonar.onap.org/issues/search#resolved=false|severities=MAJOR|rules=squid%3AS2293|assignees=__me__ Location:OrchestrationRequests.java:L163 Change-Id: I2b3241d46d72b9ad52f2009dc7746cf4a3f456ea Issue-ID: SO-397 Signed-off-by: Sumapriya Sarvepalli <SS00493505@TechMahindra.com>
2018-01-23Default Recipe Mapping for ServiceAbhishek Shekhar1-5/+13
Change-Id: Ib01f46eae63963496a809e255dc71c977e79c759 Issue-ID: SO-384 Signed-off-by: Abhishek Shekhar <abhishek.shekhar1@amdocs.com>
2017-12-13Reduce complexity of HealthCheckUtilskurczews3-3/+3
* Split bulk conditionals * Split health checks to separate methods * Fix minor issues Issue-ID: SO-353 Change-Id: Ib6298bc488a94aa4fbb253e3894532708547533d Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2017-11-14Force source to always be included in JSONJim Hahn1-0/+1
Modified RequestInfo to pass source to JSON, even when it has the default value. Ordinarily, this is unnecessary when the default value is null, but in this case, the default value is not null, thus other code to which the JSON is passed expects it to be populated. Change-Id: I53fde35b8d46f69234fb51f1cceedb31cedc3335 Issue-Id: SO-340 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-11-10Merge changes I4e542ffd,Ibb86da2dSeshu Kumar M1-8/+1
* changes: Fix Null Point Exception Fix Delete workflow sent msg to vfc adatper failed
2017-11-10Fix Null Point Exceptionc001491071-8/+1
Fix Null Point Exception Change-Id: I4e542ffd1369140b21d6252a5f90db66651df181 Issue-ID:SO-328 Signed-off-by: c00149107 <chenchuanyu@huawei.com>