summaryrefslogtreecommitdiffstats
path: root/dblib
AgeCommit message (Collapse)AuthorFilesLines
2019-08-29Revert "Proposal to remove OSGi dependencies from the CCSDK project"Timoney, Dan (dt5972)5-1259/+0
This reverts commit 85041dd8795b84a48d0b48dd746bfbcb230c8794. This needs to be reverted due to insufficient testing (no jUnit tests provided) Change-Id: I011f3eb7ab27ba9946f04d4d528dd4d91b593685 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-28Roll versionsTimoney, Dan (dt5972)7-14/+14
Roll versions in master branch Change-Id: I15535fec1da460f7227b855a4700e7b93aae93ea Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-16Proposal to remove OSGi dependencies from the CCSDK projectMatej Perina5-0/+1259
Dependencies on the OSGi frameworks and libraries are removed by integrating the CCSDK project with the lighty.io. It's a toolkit that allows to use ODL services (in this case core services and the Restconf) without the dependency on the Karaf framework and the Blueprint DI. In this change are created the lighty.io modules which initialize and expose same services as the Blueprint DI in the blueprint.xml files. More info about the lighty.io - https://lighty.io Change-Id: I38171e83b018a18bfd8eaec95d4dc2fa2e3f5b36 Signed-off-by: Matej Perina <matej.perina@pantheon.tech> Signed-off-by: Samuel Kontris <samuel.kontris@pantheon.tech>
2019-08-14Code changes for OpenDaylight NeonTimoney, Dan (dt5972)7-12/+36
Updated code for OpenDaylight Neon (using ccsdk/parent/tools/fluorine2neon.sh) Change-Id: Ic54b636f691cb2c9dd627dfc3b22b523c0f4f8da Issue-ID: CCSDK-1389 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-09update metric logger name to be consistentSmokowski, Kevin (ks6305)6-12/+12
update metric logger name to be consistent with convention of the other loggers Issue-ID: CCSDK-1601 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I011745376a940822659eb1de5dcd04aea38b692f
2019-08-06Roll version to recreate release artifactsTimoney, Dan (dt5972)6-12/+12
Roll versions to 0.5.1 - need to re-release El Alto early release Change-Id: Id56175e77fe52596059aa072b8a64c35c1ccba06 Issue-ID: CCSDK-1563 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-25JUNIT-ConfigurationException.javaanushadasari1-14/+0
JUNIT for ConfigurationException.java Issue-ID: CCSDK-1520 Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-17Update parent version to 1.3.1Timoney, Dan (dt5972)6-6/+6
Update parent poms to version 1.3.1-SNAPSHOT Change-Id: I822e73287adcf0edca3283264600a2cbcd4f53b6 Issue-ID: CCSDK-1496 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-06-18Remove versions from project pomsTimoney, Dan (dt5972)3-7/+0
Remove versions from dependencies in project poms and rely instead on dependencyManagement in parent pom. Change-Id: I15a8b25281854dfc84e5dafab79ca522b5dc5c0a Issue-ID: CCSDK-1416 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-30Roll master to El AltoTimoney, Dan (dt5972)6-12/+12
Roll master version to El Alto versions Change-Id: If761a69b069ab05a6aa598cd583ac4275665e425 Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-24Update to use released 1.2.2 parentTimoney, Dan (dt5972)6-6/+6
Update to use released 1.2.2 version of parent poms. Change-Id: I2edaa726e871ec3ad3bf1aa1cc3d592c79ca6c92 Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-22Support system variables in property valuesRich Tabedzki3-25/+127
Changes made: * Added code in DBResourceManager to replace with its value * Expanded debug statement by adding processing time Change-Id: I22748daed50063e8e0ac7201e88d69a2609c1788 Issue-ID: CCSDK-1133 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2019-03-19Compile against Fluorine SR2Timoney, Dan (dt5972)6-12/+12
Compile against ODL Fluorine SR2 Change-Id: I9554aaa76d76f7ba7efb961e5ee1cbbb2b1768d5 Issue-ID: CCSDK-1156 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-14Prepare for release 0.4.1Timoney, Dan (dt5972)6-6/+6
Prepare to create release version 0.4.1 by using released version of parent pom Change-Id: If211c26cdbb7caa9033b511a9719851f9edcfcdc Issue-ID: CCSDK-1156 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-21Increase code coverageTimoney, Dan (dt5972)1-0/+95
Added junit test cases, and updated jacoco config in provider/base to include provider tests as well Change-Id: I8f384b3a4dd7362f004eaa959cd0c634edf0ddbe Issue-ID: CCSDK-1096 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-05Merge "Add dummy input"Dan Timoney1-0/+1
2019-02-05Merge "Junit for EncShellCommand.java"Dan Timoney1-0/+41
2019-02-05Add dummy inputTimoney, Dan (dt5972)1-0/+1
Fluorine version of restconf does not handle RPCs with no input correctly. So, need to work around that by defining dummy input for SLI-API vlbcheck and healthcheck APIs Change-Id: I6a78a899937e1bb9bd7674530166a493875ca3bf Issue-ID: CCSDK-1035 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-01Hack to force classloader t find mariadb driverTimoney, Dan (dt5972)1-0/+7
Container is not coming up because dblib is getting ClassNotFoundException for mariadb driver, even though it is installed. To correct this temporarily, updated code to explicitly create a driver object. Change-Id: I210d042be2c71a4392781ad26f858c916dbd7364 Issue-ID: CCSDK-489 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-01Junit for EncShellCommand.javaDriptaroop Das1-0/+41
Junit for EncShellCommand.java Issue-ID: CCSDK-1016 Change-Id: I7cbdb49b6e04ce6a69a48f9a507c7db959698140 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-10Code changes to sli/core for ODL FluorineTimoney, Dan (dt5972)6-147/+138
Code changes needed to support port to ODL Fluorine. Change-Id: I539aeaabeab1056cd109b6bee12046d91d61cab1 Issue-ID: CCSDK-870 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-01-09Merge "Prepare for release build"Dan Timoney6-139/+146
2019-01-08Fix sonar issues in ccsdk-sli-coreRich Tabedzki2-11/+10
Changes made: * Updated message template handling in CachedDataSource Change-Id: I9a082753d80f790b77448a5b3de957b404d737fb Issue-ID: CCSDK-647 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2019-01-08Prepare for release buildTimoney, Dan (dt5972)6-139/+146
Prepare for release of early ODL-Oxygen based CCSDK Dublin Change-Id: Ia1fb4b7211619be726857b0333c1f75985ff1a64 Issue-ID: CCSDK-870 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-01-07fixed sonar issue in JdbcCachedDataSourceRich Tabedzki5-7/+60
Changes made: * updated cleanup code * added TerminatingConfiguration class Change-Id: Iee16116a5fc419065915b9f84488874dd192af7c Issue-ID: CCSDK-913 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2019-01-07Merge "Fixed sonar fix in DbConfigPool.java"Dan Timoney1-5/+4
2019-01-04Fixed sonar fix in DbConfigPool.javaezhil1-5/+4
Fixed major sonar issue Issue-ID: CCSDK-796 Change-Id: Id8a655875c972bb3df1f12f211b6a0068922b21d Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-28Merge "fixed sonar issue in PollingWorker.java"Dan Timoney1-1/+1
2018-12-20fixed sonar issue in PollingWorker.javaSandeep J1-1/+1
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: If242b9995469c0b0a25b1285db1536ff52adce2c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-20fixed sonar issues in DBResourceManager.javaSandeep J1-5/+5
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: I169df48b14e1288271356a972c36e678da1ffa04 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-18fixed sonar issues and formatted codeSandeep J1-49/+78
formatted code and added equals and hashcode method as per sonar standards Issue-ID: CCSDK-525 Change-Id: Idaa0a6a0a82315189a9365064d4f196e4689ee57 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-13fixed sonar issue in JdbcCachedDataSourceRich Tabedzki2-21/+24
Changes made: * fixed sonar issue Change-Id: I2112b202f8b7eb628fc21c3a972e35704dc827f9 Issue-ID: CCSDK-525 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2018-12-11Merge "Fixed sonar issues in PollingWorker.java"Dan Timoney1-13/+16
2018-12-11Merge "fixed sonar issue in DBConfigFactory"Dan Timoney1-1/+3
2018-12-11Merge "fixed sonar issues in DbConfigPool.java"Dan Timoney1-2/+3
2018-12-11Merge "fixed sonar issues in DBResourceManager.java"Dan Timoney1-4/+7
2018-12-05Fixed sonar issues in PollingWorker.javaezhil1-13/+16
Fixed logger issues Issue-ID: CCSDK-791 Change-Id: Ie1759c8778ff896b2cff3e187308e6a10265e966 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-05fixed sonar issue in DBConfigFactorySandeep J1-1/+3
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: I64adc9bc11c7e4fcac2c1caec614745ebe6887be Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-05fixed sonar issues in DbConfigPool.javaSandeep J1-2/+3
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: Ibf082dc71b49b8d657dfbb79ac0ef396eb3f4aa8 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-05fixed sonar issues in DBResourceManager.javaSandeep J1-4/+7
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: I29b85aa6066c6a940818443602e3e0e02fad59ab Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-05fixed sonar issues in CachedDataSourceFactorySandeep J1-1/+3
removed unnecessary cast to object Issue-ID: CCSDK-525 Change-Id: Iccd4430cdbbadfabbdc21820c1f0f962b7635444 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-11-30Fixed Sonar issue in BaseDBConfiguration.javaezhil1-2/+7
Logged exception in Logger Issue-ID: CCSDK-774 Change-Id: I28d10215daafd9f0dcaf7e0d765afbe72c184053 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-11-08fix typosStanislav Chlebec1-1/+1
Change-Id: I3a7a4e5b19ac6a54f637fc459d34f3abe7cf4a69 Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech> Issue-ID: AAF-582
2018-10-22Roll to first Dublin snapshotTimoney, Dan (dt5972)6-12/+12
Roll to first Dublin snapshot Change-Id: I7066b4c4359f6c700c2b8036fd67a1a3bd66cf1e Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-10Prepare sli/core for RC0 releaseTimoney, Dan (dt5972)6-6/+6
Remove -STAGING tag and update parent poms to correct release version (1.1.1) Change-Id: I16d4a5c07fe6e3e2bf997fff417242aa6184f89e Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-02added test cases to CachedDataSourceSandeep J1-0/+24
to increase code coverage Issue-ID: CCSDK-595 Change-Id: I7d5a5ed59538e7d6e1a7d00dfba690eedc7c2e22 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-25Roll to 0.3.1-SNAPSHOTTimoney, Dan (dt5972)6-6/+6
Roll to next snapshot version Change-Id: I58ead1293d517f94bacca69407b22533840b0ee6 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-25Create release versionTimoney, Dan (dt5972)6-6/+6
Update sli/core to create release version Change-Id: I0680e7b4c8bc08f7954b7b87ffc701289acd7893 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-24Merge "added test cases to TestDBResourceManager"Dan Timoney1-24/+39
2018-09-24added test cases to TestDBResourceManagerSandeep J1-24/+39
to increase code coverage Issue-ID: CCSDK-595 Change-Id: I8def1aa2e4108f48bc549e63e533f8a63e7a0377 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>