summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers
AgeCommit message (Collapse)AuthorFilesLines
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-22Port SO artifacts to ONAP folder structureArthur Martella4-13/+13
Change-Id: Ib7aea4df7e6a31cf5e1e6513b89bed6f878537af Issue-ID: SO-372 Signed-off-by: Arthur Martella <amartell@research.att.com>
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-02-11Merge "Fix some Sonar Blocker issues in apihandler/common"Seshu Kumar M9-59/+38
2018-02-09Imporve test coverage for RequestDatabasesubhash kumar singh2-0/+295
Import test coverate for requestDatabase. Change-Id: Idc25f9758ca4c4e03460642e9e2460f0b126726e Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-02-08Fix some Sonar Blocker issues in apihandler/commonShashank Kumar Shankar9-59/+38
Some sonar code fixes are done in this patch. https://sonar.onap.org/issues/search#issues=AV3BntKO5bp_wwmIVCLv https://sonar.onap.org/issues/search#issues=AV5mhwQk32hFUzlqebFJ https://sonar.onap.org/issues/search#issues=AV3BntKc5bp_wwmIVCMJ https://sonar.onap.org/issues/search#issues=AV3BntKi5bp_wwmIVCMK https://sonar.onap.org/issues/search#issues=AV3BntKu5bp_wwmIVCMQ https://sonar.onap.org/issues/search#issues=AV3BntK35bp_wwmIVCMX https://sonar.onap.org/issues/search#issues=AV5mhwRN32hFUzlqebFQ https://sonar.onap.org/issues/search#issues=AV3BntLG5bp_wwmIVCMc https://sonar.onap.org/issues/search#issues=AV3BntLR5bp_wwmIVCMh Change-Id: I3ba77adec1951fb7153ed640eb1ea0a4a3ed3e6b Issue-ID: SO-165 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
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-12-01Bump minor versionJessica Wagantall4-4/+4
Bump minor version in preparation for Amsterdam branching. Change-Id: Ib72ca9cab2782a4fee15fff8f0653f0c53ad9f71 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-16changed artifact versionseshukm4-4/+4
IssueId: SO-346 Change-Id: I4bd910032baa26c2aa154d3860bf4d34ecf7d9dd Signed-off-by: seshukm <seshu.kumar.m@huawei.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-10Changed hibernate config fileseshukm1-19/+19
IssueId : SO-331 Change-Id: If4ce90732d60a2bdea8afd723eb49db0e72d2043 Signed-off-by: seshukm <seshu.kumar.m@huawei.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>
2017-11-06create service instance with source as emptyseshukm2-0/+8
IssueId: SO-272 Change-Id: Icd7888fbfececd799751febc7e3d7edbcffc3a0a Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-11-02Add test cases for GET E2E svcseshukm4-651/+913
IssueId: SO-260 Change-Id: Ie57b57b98472f6d8b012137562713de02d6a516c Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-27correction for the delete flowseshukm1-6/+14
IssueId: SO-259 Change-Id: Ibb7a78bc13628ffd2c9d2569dd40542adb9f299d 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-26Merge "Correct the improper package"Seshu Kumar M2-832/+6
2017-10-26Correct the improper packageseshukm2-832/+6
IssueId:SO-270 Change-Id: Ib0dffb240ae905a6c190fbab1ebcac379e8f7319 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-26Fix voLTE Create workflow issuec001491072-0/+21
Fix voLTE Create workflow issue Change-Id: I3b615ee87e6cf5779376ee6bf7a3b5fa2be3e62c Issue-ID:SO-269 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-26fix update operation Statusseshukm1-0/+831
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-25fix Get E2E serviceseshukm2-79/+3
IssueId: SO-263 Change-Id: I965a34906c9b22345452000bf26dcfe5d5773429 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-25update operation status for E2Edeleteseshukm2-8/+155
IssueId: SO-258 Change-Id: I7699b44d5e72fdcec96f86b0c493b969f9c91598 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-23fix for delete e2e serviceseshukm3-7/+179
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-M2-51/+59
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 M7-106/+349
2017-10-23Fix Issues about voLTE Createc001491077-106/+349
Fix Issues about voLTE Create Change-Id: I811dc05c8f9a7caecddb279e025772d5d02c2548 Issue-ID:SO-254 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-23Merge "Add a private constructor"Seshu Kumar M2-2/+5
2017-10-19Merge "Deal With Error Response from Vfc"Chuanyu Chen6-10/+125
2017-10-19Deal With Error Response from Vfcc001491076-10/+125
Deal With Error Response from Vfc Change-Id: Id5ce999d561099581b49524969c901ac6dac3f90 Issue-ID:SO-233 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-19Add a private constructorRamanjaneya-Huawei2-2/+5
Change-Id: Ic826c93db7933a9a1a25c7ee09f8bc156dabadb1 Issue-id: SO-224 Signed-off-by: Ramanjaneya-Huawei <ramanjaneya.palleti@huawei.com>
2017-10-18fix for the E2EServiceInstances progress updateSeshu-Kumar-M2-264/+342
IssueId : SO-205 Change-Id: I5650400729ab89b5b3ae1e8adb0e892390281489 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-17Merge "Replace type specification with operator ("<>")"Seshu Kumar M1-5/+4
2017-10-17Merge "fix for including the operation ID in response"Seshu Kumar M2-9/+9
2017-10-17Replace type specification with operator ("<>")Ramanjaneya-Huawei1-5/+4
Change-Id: I1e4ef70fbce846b9f5ea3527d534fc413fbda272 Issue-id: SO-224 Signed-off-by: Ramanjaneya-Huawei <ramanjaneya.palleti@huawei.com>
2017-10-17fix for including the operation ID in responseSeshu-Kumar-M2-9/+9
IssueId: SO-226 Change-Id: Ifd515c16b876cc006703a9ae87e5daaff0b34a14 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-16alaCarteSet unrecognized fieldRob Daugherty4-14/+10
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-12Update hibernate files to initialize timestampJim Hahn3-3/+7
Updated the hibernate hbm.xml files to correct the following issues: 1) Timestamps had generated="insert" but hibernate was not auto-populating the timestamp value thus the DB was generating an exception. Modified the definition of this field to cause hibernate to provide the default value of CURRENT_TIMESTAMP. This impacted most of the hbm.xml files. 2) While running junit tests, the following message appeared in the log underneath most of the hbm.xml files: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide! Updated most of the hbm.xml files, changing the namespace per the guide. Note: a couple of the files were already correctly configured. Change-Id: Id96775b7bd7a42da0c00e208e33aed6fa96ab996 Issue-Id: SO-215 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-10-11Correct E2E svc to update RequestDbseshukm2-6/+21
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
2017-10-06Merge "MSO API Handler Test cases"Seshu Kumar M14-59/+1510
2017-10-06MSO API Handler Test cases licenseArthur Martella2-2/+2
Correcting license information for two classes. Change-Id: Ibab17104bf1d1a2bb305cdb7e35a7181e2cc0871 Issue-ID: SO-171 Signed-off-by: Arthur Martella <amartell@research.att.com>
2017-10-06MSO API Handler Test casesArthur Martella14-59/+1510
Adding test cases for MSO API Handler coverage. Change-Id: Ie4a3fc86395b9010357fb7027178933ff73150cc Issue-ID: SO-171 Signed-off-by: Arthur Martella <amartell@research.att.com>
2017-10-06UT for MSOinfraSeshu-Kumar-M4-3/+335
SO-171 Change-Id: Id3af1d70eb603b1f4fd54226a0f602e9fde78b6a Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-06Merge "Adding UT for SO"Seshu Kumar M1-0/+391