aboutsummaryrefslogtreecommitdiffstats
path: root/appc-config/appc-data-services/provider/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-07-24Prepared statements for DG servicesPatrick Brady3-17/+65
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 Armstrong2-56/+493
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-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-06More license header updates to appc-config filesJohn McClung5-7/+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)3-59/+170
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-5kurczews2-0/+97
Change-Id: If1f1ad7608563031c5f397a225a5576fdbcf59bd Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-07Add coverage for ConfigResourceNode-4kurczews2-6/+95
Change-Id: I14f4afe16cb8b475f39927c1ee8d79594a01d5bc Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-06Add coverage for ConfigResourceNode-3kurczews2-0/+89
Change-Id: I10fd36f64a773b3a0b424ab89d2de5a5cedfb0ec Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-02Add coverage for ConfigResourceNode-2kurczews2-12/+242
Change-Id: I064bbd34f5d8b1a12eb9019e295279fd61b57d99 Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-01-31Add coverage for ConfigResourceNodekurczews3-56/+259
Change-Id: Ida31164383c01340d47b85d59034882c9206b9a2 Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-01-03Updates to config data services bundleGeorge, Lina (lg941u)1-0/+27
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 Brady3-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 Brady3-6/+6
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 Balaji1-0/+10
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-09-07Change to CCSDK and ODL CarbonPatrick Brady3-6/+6
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-08-25Junit for APPC for Network ClientAnand Chaturvedi2-4/+12
Issue-ID: APPC-168 Change-Id: I0654a0d6123b5827458cd3e15e12a1b5b254f918 Signed-off-by: Anand Chaturvedi <ac204h@att.com>
2017-08-25Junit Cases for APPC dataServicesAnand Chaturvedi3-258/+429
Issue-ID: APPC-168 Change-Id: Ia5ae825f1c7919d93afb460cde7ae0fa2bcd0c6c Author: Anand Chaturvedi <ac204h@att.com> Date: Fri Aug 25 15:41:42 2017 -0400 Signed-off-by: Anand Chaturvedi <ac204h@att.com>
2017-08-24Added New Junit Cases for APPC Design ServicesAnand Chaturvedi1-0/+115
Issue-ID: APPC-168 Change-Id: Ib321bb77af3cb47abfce80d96f50a6b75b34b34e Signed-off-by: Anand Chaturvedi <ac204h@att.com>
2017-08-17Initial commit for appc-data-services bundleSkip Wonnell5-0/+240
This bundle contains the generic execute nodes that interact with the database. Issue-ID: APPC-58 Change-Id: Ib1447443ed259f4133cd33d554a5ac43f2c3dd1b Signed-off-by: Skip Wonnell <kw5258@att.com>