aboutsummaryrefslogtreecommitdiffstats
path: root/sql-resource/provider/src
AgeCommit message (Collapse)AuthorFilesLines
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-28coverage SqlResourcePropertiesProviderImplprakash.e1-1/+14
Coverage improvement for SqlResourcePropertiesProviderImpl https://jira.onap.org/browse/CCSDK-213?jql=project%20%3D%20CCSDK%20AND%20text%20~%20coverage Issue-ID: CCSDK-213 Change-Id: I5e9fe5a223918d4111c937463078d5b69609f6c4 Signed-off-by: prakash.e <prakash.e@huawei.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 Tabedzki10-519/+769
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-19Remove mysql references from sli/adaptorsDan Timoney2-18/+32
Remove mysql references from sli/adaptors repository. Change-Id: I19682626fdb954ce8190d61507eabe0152a6a635 Issue-ID: CCSDK-95 Signed-off-by: Dan Timoney <dtimoney@att.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-09-06Enable surefire unit testingMarcus G K Williams1-2/+2
Issue-Id: CCSDK-67 Change-Id: I955938365dd62b2125b73f8a668568e3343db015 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-08-17Update sli-adaptor/sql-resource package namesMarcus G K Williams5-28/+28
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 Timoney6-12/+12
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 Timoney9-0/+940
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>