summaryrefslogtreecommitdiffstats
path: root/dblib
AgeCommit message (Collapse)AuthorFilesLines
2020-01-23Use released parent pomDan Timoney3-3/+3
Use released version of ccsdk/parent poms Change-Id: Ice9f18ee402e42f8e26c46640aeb0ae79343d105 Issue-ID: CCSDK-1963 Signed-off-by: Dan Timoney <dtimoney@att.com>
2019-12-13Refactor features to separate installerTimoney, Dan (dt5972)6-144/+0
Refactor karaf feature.xml files to separate installer Change-Id: I2afade9862227175853d9fe36c5bc9b113e3d582 Issue-ID: CCSDK-1754 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-12-04Clean up installersTimoney, Dan (dt5972)1-10/+2
Clean up installers to install only ONAP code, not third party dependencies. Third party dependencies should be installed in ccsdk/distribution/dependencies only. Change-Id: I3459d2d5a82899ad21b1b25daae6f6d182d972af Issue-ID: CCSDK-1979 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-12-02Use 1.5.1-SNAPSHOT version of parent pomTimoney, Dan (dt5972)6-6/+6
Fixed version of parent pom to use snapshot version Change-Id: I128d3b55d0ae3adb4a1255a9b00fc129a9c9bc44 Issue-ID: CCSDK-1935 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-13Use 1.5.0 parent pomTimoney, Dan (dt5972)6-6/+6
Use released 1.5.0 version of parent pom Change-Id: I92e2f71000a7d651f6a20167dd3861942ea27ced Issue-ID: CCSDK-1920 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-05minor updates to clean up codeAgarwal, Ruchira (ra1926)2-7/+21
clean up code to sync with internal Issue-ID: CCSDK-1873 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com> Change-Id: I1043e3f34176aebf2531bf0581b207694264d6f2
2019-10-30remove EncShellCommandSmokowski, Kevin (ks6305)5-162/+0
remove EncShellCommand to separate dblib from karaf and odl Issue-ID: CCSDK-1848 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: If43abeceb556b4075d2866a18b8c9e92765e14a2
2019-09-10Roll version for Frankfurt releaseTimoney, Dan (dt5972)6-12/+12
Roll version in master branch to Frankfurt version (1.5.0-SNAPSHOT) Change-Id: Ic2b3afb65d780360a056d50a1cfd0b32555ae32a Issue-ID: CCSDK-1701 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
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 parent0.4.2Timoney, 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.10.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"0.4.0Dan 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>