aboutsummaryrefslogtreecommitdiffstats
path: root/appc-config/appc-data-services/provider/src
AgeCommit message (Collapse)AuthorFilesLines
2020-06-15replace the type specification in the constructorRupinder1-1/+1
Issue-ID: APPC-1859 Change-Id: I27984aa94a3107f5cfa7ed5b7efd1ea1ee785e64 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-18added assert statements in 4 jUnitsRupinder3-0/+8
Issue-ID: APPC-1859 Change-Id: I82620e573e99fab83870da8402947989d3497895 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-06lowered code smellsRupinder1-4/+4
Issue-ID: APPC-1859 Change-Id: I72ead8caf7c34efbd62d215e7d55a688c5cfe5e5 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-04-08Lowered code smellsRupinder3-5/+0
Removed unused imports Issue-ID: APPC-1859 Change-Id: Idcd49f4b9c0ee28ec46ccbb298d957c656900ad8 Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2019-07-24Prepared statements for DG servicesPatrick Brady6-105/+584
Convert sql queries to prepared statements in other parts of appc. Change-Id: If29225394de2ab286e4f2f7bdd17f6af6b286576 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: OJSI-25
2019-03-08added test case to TestDGGeneralDBService.javaSandeep J1-0/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: Idfc3aa674b566f5e4e04e29396dd9c08607854b6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-27Test coverage in ConfigResourceNodeJoss Armstrong4-70/+508
Add >100 lines of coverage and increase from 71% to 99% Increase branch coverage to fix Sonar major issue Extract repeated strings to constants Issue-ID: APPC-1504 Change-Id: Ib3b1e83d39f02befaede035b84a0ebef96b36cfd Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-22Seperated assignment statement from expressionJegadeesh Babu1-1/+4
Sonar bug fix Issue-ID: APPC-1468 Change-Id: I2ff7e01516cf7328357d2a48643947c782ce4fd9 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-15Added Test case for General Data ServiceLathishbabu Ganesan1-0/+75
Increased the coverage from 0% to 92% Issue-ID: APPC-1427 Change-Id: I868993463f162da3ea81d9681db109afafb6c90c Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-14Junit for AppcDataServiceActivatorDriptaroop Das1-0/+77
Junit for AppcDataServiceActivator Issue-ID: APPC-1411 Change-Id: Iddccff7afd8960d82e2dec8217d385810a4b80c3 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-02-06added test case to ConfigResourceNodeTestSandeep J1-0/+21
to increase code coverage Issue-ID: APPC-1086 Change-Id: I69a92c10c3c2543a45ebf333e708286ffb6ac454 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-06added test case to TestDGGeneralDBService.javaSandeep J1-0/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: I5c88e11546158129ff0e97ced38ebd23635535e2 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-29added test case to TestDGGeneralDBServiceSandeep J1-0/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: I1e1d12fd230ea45b3618e41a7416a35cbf64fe0c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-24added test case to TestDGGeneralDBService.javaSandeep J1-0/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: Icc459b97d2b15e204c3002a237752af9fe34cb20 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-18added test case to TestDGGeneralDBServiceSandeep J1-0/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: I2e5908c7f4728ff9cd33d11ddf6b398c0a472bdd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-16added test case to ConfigResourceNode.javaSandeep J1-1/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: I3d49e11a910b42a9e0ec17768a79c43dfc018c34 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-16added test cases to TestDGGeneralDBServiceSandeep J1-2/+37
to increase code coverage Issue-ID: APPC-1086 Change-Id: I5c765135fad3720818d76a87b7ebe1691dc39155 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11added test case to TestDGGeneralDBServiceSandeep J1-2/+14
to increase code coverage Issue-ID: APPC-1086 Change-Id: I034a158efa5d3d274b0ee92cc7d91ae918f7e744 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-10added test case to ConfigResourceNodeTestSandeep J1-1/+16
to increase code coverage Issue-ID: APPC-1086 Change-Id: I1e8948ed3009704bf4f118b2ac6a6b94aa96178c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-08added test cases to TestDGGeneralDBService.javaSandeep J1-1/+25
to increase code coverage Issue-ID: APPC-1086 Change-Id: I309985d0b7d9cbfa60d3e1082afd84aaf9631ef1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-07Added test cases to ConfigResourceNodeTest.javaSandeep J1-0/+25
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iebffd1a614c286f50fca9b3159107d6e08a06670 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-06added test case to ConfigResourceNodeTest.javaSandeep J1-1/+33
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie87a796113a818a2454f8f2e339563ac062ee627 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-24added few test cases to TestSQLSaveQuery.javaSandeep J1-1/+34
added few test cases to increase code coverage Issue-ID: APPC-1086 Change-Id: Id895923e0df4b55c7705534e971d67b972514e50 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-16Junit for appc-config/Data-servicesDilip kumar Pampana1-0/+13
Junit Test to GetConfigFileReferenceByVnfType in appc-config/Data-services Issue-ID: APPC-1080 Change-Id: I351cd7acc1ef6310d230d22bd7a0035d35722290 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-06-20Changes in config upload for vmnameGeorge, Lina (lg941u)1-1/+1
Issue-ID: APPC-1010 Change-Id: Idae8533e7e9498e173ed942fa3581982a9119651 Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2018-06-11Update license header in misc appc filesJohn McClung4-8/+4
More license header updates to miscellaneous appc files to reflect 2018 changes. Change-Id: I1d1d020792942ffe2d3bbda6eae05c43831ffce1 Issue-ID: APPC-994 Signed-off-by: John McClung <jm1364@att.com>
2018-06-06More license header updates to appc-config filesJohn McClung7-9/+2
Modify license header in various appc-config java files to reflect 2018 changes. Change-Id: I488f281f8305f993d18d98e8f34ee1ffe85c5d87 Issue-ID: APPC-972 Signed-off-by: John McClung <jm1364@att.com>
2018-03-02ConfigScaleOut flow changesBalaji, Ramya (rb111y)5-99/+319
Code changes and unit test cases to include template id when retrieving vnfc reference data and artifacts from tables. Cleaned up Unit Tests. Issue-ID: APPC-619,APPC-620 Change-Id: I8db08be19b9fa094a07e5c5597c45327824cfb01 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-02-09Add coverage for ConfigResourceNode-6kurczews1-87/+148
Issue-ID: APPC-441 Change-Id: I8a284c51851731a7fe7bb8c8eb9e10b97ba76d25 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-08Add coverage for ConfigResourceNode-5kurczews3-1/+100
Change-Id: If1f1ad7608563031c5f397a225a5576fdbcf59bd Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-07ConfigResourceNode fixesJakub Dudycz3-182/+216
Resolved conflicts Change-Id: I7999ba22792edf1ffa9e0666ed48ddea304635f9 Issue-ID: APPC-530 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07Add coverage for ConfigResourceNode-4kurczews3-11/+103
Change-Id: I14f4afe16cb8b475f39927c1ee8d79594a01d5bc Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-06Add coverage for ConfigResourceNode-3kurczews3-11/+109
Change-Id: I10fd36f64a773b3a0b424ab89d2de5a5cedfb0ec Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-02Add coverage for ConfigResourceNode-2kurczews3-17/+251
Change-Id: I064bbd34f5d8b1a12eb9019e295279fd61b57d99 Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-01-31Add coverage for ConfigResourceNodekurczews4-132/+294
Change-Id: Ida31164383c01340d47b85d59034882c9206b9a2 Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-01-25Fixes in AppcDataServiceConstantburdziak1-12/+10
Change-Id: I0ac4d0d1eef972e081e26aa612818fb247346f1f Issue-ID: APPC-504 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-17Add/update license text part 3Skip Wonnell6-78/+96
Convert some file formats from dos to unix Change-Id: Iab31d84016c84bf03df7fdc8cf0c163c23091a88 Issue-ID: APPC-398 Issue-ID: APPC-305 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-17Improved logging,error handling-VM capabilitiesRamya Balaji1-2/+14
Code corrections for graceful failure, added info log statements Issue-ID: APPC-409 Change-Id: Ibae80a4392508d1de5e68933beed048ff6ae016d Signed-off-by: Ramya Balaji <rb111y@att.com>
2018-01-11Sonar blocker issue resolutionSkip Wonnell1-148/+89
Resolve this Sonar blocker issue: https://sonar.onap.org/issues/search#issues=AWDAtKDw-08if2a6wtv- Change-Id: I723651c5f2ab64d79dce4e9a609d4d59e245515d Issue-ID: APPC-388 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-03Updates to config data services bundleGeorge, Lina (lg941u)4-22/+137
Issue-ID: APPC-350 Change-Id: Id5738986a40f8c094c0ce2fc0033d378796733cf Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2017-12-19Update bundle names from openecomp to onapTakamune Cho1-12/+12
Change-Id: Ib0cf4edbab87a32c9d83cc9473412feb77b27a0e Issue-ID: APPC-13 Signed-off-by: Takamune Cho <tc012c@att.com>
2017-12-13Second part of onap renamePatrick Brady9-0/+0
This is the second commit of the rename. The folder structure is renamed for appc-adapters and appc-config in this commit. Change-Id: Iaa2b8c937ff1ca1b5d1178128961fb115ee65d9b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13First part of onap renamePatrick Brady9-18/+18
This is the first commit of the rename. This commit changes refereces to org.openecomp.appc > org.onap.appc that occur within files. The package folder structure is not changed in this commit. Change-Id: Ic95d749eb99d8a6f4f2b9ee9b06eb41c5cfa7e1c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-04Correcting or skipping testsPatrick Brady1-2/+11
These tests seem to be designed to timeout and fail. The resulting exception is either caught or put as an expectation of the test. The tests do not actually test anything and are causing 30 minutes of build delay. Change-Id: I177839c0f08f2c4bd8895e0626f49476b4ed7e85 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-276
2017-10-17Changes for capability artifact checkRamya Balaji3-19/+59
Ignore capability check for non VM level Start, Stop,Restart Issue-ID: APPC-281 Change-Id: I0bc888a9fbfede5923ba8b130f8ab4850559abcb Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-10-12Changes to capability check processingRamya Balaji2-877/+849
Code changes to ensure processing continues if capability artifact is not available Issue-ID:APPC-269 Change-Id: I27663622e56f54f721d40705d842ab30a173519d Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-10-03Changes in pom and features.xml filesDilip kumar Pampana1-2/+2
Issue-ID : APPC-240 Change-Id: I42d2277d73163041ccfebe69897f05ac0314e6a1 Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
2017-09-18Fix Blocker/Critical sonar issuesshashikanth1-1/+1
Fix Blocker/Critical sonar issues in appc module https://sonar.onap.org/component_issues?id=org.openecomp.appc%3Aappc#resolved=false|severities=BLOCKER Redundent if condition removed from DGGeneralDBService.java Issue-Id: APPC-92 Change-Id: I9b963759e562dc0744b3742a70905a417c3c444a Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady6-20/+20
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-08-31Update ASDC References to SDC 1/2mojahidi3-5/+5
This patch changes ASDC to SDC in APPC code, bundle names and other pertinent places. This change sanitizes SDC for Open Source. It is the first in a two part change, the first updates code mentions and artifacts. The second will update database references. Change-Id: Iffd73480cc325172b5d8969fe839728f1c88ef78 Issue-ID:APPC-179 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>