summaryrefslogtreecommitdiffstats
path: root/sql-resource/provider/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-11-05minor updates to clean up codeAgarwal, Ruchira (ra1926)1-12/+17
clean up code to sync with internal Issue-ID: CCSDK-1873 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com> Change-Id: Idcc7186d5aaa783c527de3986e7a1ecd9bfcf651
2019-08-15Code changes for OpenDaylight NeonTimoney, Dan (dt5972)1-0/+41
Updated code for OpenDaylight Neon, using conversion script in ccsdk/parent/tools. Change-Id: Ic91cff9ee50102b8af1a73f829908de82995b2ef Issue-ID: CCSDK-1389 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-07-16Fix sonar issue in SqlResource.javaParshad Patel1-4/+5
Add finally clause to close ResultSet Issue-ID: CCSDK-332 Change-Id: I1b856123caf56fad08064c63013cfe0859c2ae53 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-04-18Remove unnecessary castTimoney, Dan (dt5972)1-1/+1
Remove case in decryptColumn(), which (a) is no longer necessary and (b) throws a ClassNotFoundException when loaded via Aries Blueprint Change-Id: Ie5e748e0d53875bd9f912572e24763bdeb9cb82f Issue-ID: CCSDK-244 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-21Add default SqlResource constructorTimoney, Dan (dt5972)1-1/+5
Add default constructor for SqlResource class. Change-Id: Id23dc1c391fac66fae7c2bb2b6170f049efe5940 Issue-ID: CCSDK-220 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-16Convert sql-resource provider to blueprintRich Tabedzki7-518/+720
Changes made: * Updated SqlResource class to include data members referenced in blueprint.xml * Added SqlResourceProvider class to resolve properties file * Added sql-resource-blueprint.xml * Removed SqlResource Activator * Added unit test for SqlResourceProvider Change-Id: Ia2bcc241c3c063176ac2b986f603a1915ba105b2 Issue-ID: CCSDK-206 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2017-10-25Use dblib.properties for dblib serviceDan Timoney1-1/+27
If dblib service cannot be resolved via OSGi, the fallback logic that creates a new instance of DBResourceManager should pass the contents of /opt/sdnc/data/properties/dblib.properties as properties to the DBResourceManager constructor instead of just passing System.getProperties(). Change-Id: Ia6ac8a4bb229026cabdf07463ca25619f923e3f3 Issue-ID: CCSDK-126 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-24DBLIB_SERVICE variable change to interface nameSudhakarReddy1-1/+1
Variable changed to get the reference of DBResourceManager dblib-blueprint shows the interface as a service reference Change-Id: Ia65d07cadaac798f60ff307afb962d1b161109fb Issue-ID: CCSDK-126 Signed-off-by: SudhakarReddy <Sudhakar.reddy@amdocs.com>
2017-09-21Fix Blocker/Critical sonar issuesshashikanth1-66/+35
Fix Blocker/Critical sonar issues in ccsdk/sli/adaptors module https://sonar.onap.org/component_issues?id=org.onap.ccsdk.sli.adaptors%3Accsdk-sli-adaptors#resolved=false|severities=BLOCKER Fixed Close "PreparedStatement". Issue-Id: CCSDK-67 Change-Id: I2d4b42067f3286806f7bca8821ce17328d72091f Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-07Fix sql-resource-provider compilation failureramu.n1-3/+3
Fixed unresolved method DBResourceManager.create() in SqlResource.java Change-Id: Idb1c151e9929e5e9be5848b52c464e09c5ba835f Issue-Id: CCSDK-82 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-08-17Update sli-adaptor/sql-resource package namesMarcus G K Williams3-15/+15
Update package names from org.openecomp.sdnc.adaptors.* -> onap.ccsdk.sli.adaptors.* Update groupIds from org.openecomp.sdnc.adaptors -> onap.ccsdk.sli.adaptors Issue-Id: CCSDK-19 Change-Id: Ie588e46c0c9035ec343437f58bd329f7d6c220ce Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-08-15Fix license headersDan Timoney3-6/+6
Licence headers were accidentally updated incorrectly by previous update. This commit restores the license headers for seed code to the wording from the original seed code Change-Id: If4623dd02a37660a7d7e746363dd83cf9cdb718a Issue-ID: CCSDK-31 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-01[CCSDK-6] Populate seed codeDan Timoney3-0/+646
Add seed code for sli/adaptors repository Update code to use org.onap.ccsdk.sli.core Change-Id: I477c7a24f2cc1fed8fb0975fe9f33733411c27f9 Signed-off-by: Dan Timoney <dtimoney@att.com>