summaryrefslogtreecommitdiffstats
path: root/sql-resource
AgeCommit message (Collapse)AuthorFilesLines
2019-08-26Proposal to remove OSGi dependencies from the CCSDK projectMatej Perina3-0/+113
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: Ia9eed2f60c71b7fc2e93b738c857d290b28e9420 Signed-off-by: Matej Perina <matej.perina@pantheon.tech> Signed-off-by: Samuel Kontris <samuel.kontris@pantheon.tech>
2019-08-15Code changes for OpenDaylight NeonTimoney, Dan (dt5972)7-12/+53
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>
2019-08-09CCSDK-1556 -Move this constructor to comply with Java Code ConventionsThugutla Sailakshmi6-12/+12
Move this constructor to comply with Java Code Conventions Issue-ID: CCSDK-1556 Change-Id: I6b6c75c07cccdd4b18027f6c4ab3badf9c273c97 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-08-07Roll version to recreate artifactsTimoney, Dan (dt5972)6-12/+12
Roll version to 0.5.1 to recreate El Alto early drop artifacts Change-Id: Icf2a0373baf79ab869b70e7324bcd0bef50e5fb2 Issue-ID: CCSDK-1563 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.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: I492fb0119507d39ca8ba46762375ca14a0065ab8 Issue-ID: CCSDK-1496 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: I9f83adb1a3ce724cc541465a5af60078a615cd31 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: I90b5eebf030d746ff5f6166836d9dc88ad271e6e Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-21Compile against Fluorine SR2Timoney, Dan (dt5972)6-12/+12
Updated to compile against Fluorine SR2 Change-Id: Ie7ccf14c802c92fe8250de307546b79776ed984e 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: I775f4171232f7258118e1ac426cb8d88e3c7ea09 Issue-ID: CCSDK-1156 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-01-11Changes for FluorineTimoney, Dan (dt5972)6-31/+31
Update sli/adaptors to compile against ODL Fluorine Change-Id: I9ec4c89301678e9398dc2c43db4cffff03953806 Issue-ID: CCSDK-870 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-01-08Prepare for release buildTimoney, Dan (dt5972)6-42/+45
Prepare for release of early ODL-Oxygen based CCSDK Dublin Change-Id: I636340b7317348c3f2c68897fc06656e1a917076 Issue-ID: CCSDK-870 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-11-06packaging changesSmokowski, Kevin (ks6305)2-2/+5
don't embed sli provider, sli common or db lib in sql resource or resource assignment Change-Id: I9a8a2a53455287ee60322785da9e4e7ca0614b96 Issue-ID: CCSDK-653 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2018-10-23Roll to initial Dublin snapshotTimoney, Dan (dt5972)6-11/+11
Roll version to initial Dublin snapshot Change-Id: I2b1b5aaa6919c9259d46d2988fb65836f47a3bf9 Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-11Prepare for RC0 release3.0.0-ONAP0.3.1Timoney, Dan (dt5972)6-6/+6
Update to prepare for RC0 release build: remove -STAGING tag from release version and use released parent poms. Change-Id: I5e07d7af8381af1f22b8288965d400f95eb92abf Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-09-26Roll to next snapshotTimoney, Dan (dt5972)6-16/+12
Roll to next snapshot release Change-Id: I635702b1ef321150741607ec4082f50ca1d9eee3 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-25Prepare for release version0.3.0Timoney, Dan (dt5972)6-6/+11
Update to use released parent pom and remove -STAGING from release version. Change-Id: I41fbd91a0ccddf9386ac9985d6272d952c5f80ed Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@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-06-22Add feature aggregatorTimoney, Dan (dt5972)2-3/+3
Add feature aggregator ccsdk-sli-adaptors-all to install all adaptor features. Change-Id: I8e0fa515a18f62a5ca0530d79a1334942c71e5e0 Issue-ID: CCSDK-281 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-18Update sli/adaptors to ODL OxygenTimoney, Dan (dt5972)2-24/+19
Update sli/adaptors to compile against ODL Oxygen parent poms. Change-Id: I112c5aa56dd985ad0e7e361d3839ec7069e5641c Issue-ID: CCSDK-281 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-06Roll version for CasablancaTimoney, Dan (dt5972)6-12/+12
Roll version for Casablanca development start Change-Id: I18e7bbd6dfb2cdcc7bf302411c03ee298ec76be6 Issue-ID: CCSDK-295 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-31Use released parent pomv0.2.42.0.0-ONAPbeijing2.0.0-ONAPTimoney, Dan (dt5972)6-6/+6
Update to use release parent pom version 1.0.4 Change-Id: Ie5aff311743e9b962cfbdd319ba08ae49c3a4380 Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-30Roll version to 0.2.4Timoney, Dan (dt5972)6-12/+12
Roll version to 0.2.4-SNAPSHOT and version 1.0.4-SNAPSHOT of parent Change-Id: I9580fef343410c3bd42caf2a1a05b833fb617541 Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-23Update to release version parent 1.0.3v0.2.3Stilwell, David (stilwelld)6-6/+6
Update parent version to remove -SNAPSHOT (1.0.3) Change-Id: I03d804016c5007cbbdbaca026a0b7006fddc69d8 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-23Roll to next snapshot versionStilwell, David (stilwelld)6-12/+12
Changed to 0.2.3-SNAPSHOT and updated parent to 1.0.3-SNAPSHOT Change-Id: Ie61b39952f6504db8ae2adf0614aefc243294461 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-21Publish mdsal-resource OSGi servicesTimoney, Dan (dt5972)6-6/+6
Added Aries blueprint to advertise OSGi services. Updated to use release 1.0.2 version of CCSDK parent poms. Change-Id: I92fb652b975c4fd59e173c103350934b94d190d3 Issue-ID: CCSDK-289 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-29Roll versions step 3 : sli/adaptors pomsTimoney, Dan (dt5972)6-12/+12
Roll version for next release candidate Change-Id: I8100873602b3a4c4fb9cb19876377d9af32e31ab Issue-ID: CCSDK-257 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-20Fix feature dependency versionsTimoney, Dan (dt5972)1-2/+1
Fix single-feature pom.xmls to use version of sli/core artifactsi specified in parent poms, as opposed to project.version, which is incorrect and causes release build to break. Change-Id: Iec00a73b1b4adf9e8fecdb190385bb35ab1fe1c7 Issue-ID: CCSDK-248 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.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 Tabedzki11-520/+775
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>
2018-03-02Fix POM versionsTimoney, Dan (dt5972)4-0/+5
Fixed versions in pom.xmls and added empty relativePath tag to parents. Change-Id: Ie7be2d4d3d05e769f6e02f35a3a8e9f928bc62cf Issue-ID: CCSDK-176 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-02-21Nitrogen port : mdsal/sqlDan Timoney7-399/+320
Update mdsal-resource and sql-resource to support ODL Nitrogen Change-Id: Id7f7ac2da0de9d034e052ee16ef9c2a765a056bf Issue-ID: CCSDK-176 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-21Bump minor versionDan Timoney4-5/+5
Bump minor version and reset build for Beijing development Change-Id: Ie4e0bc53c1b378d59dc0ec2504cf92a36f8ff04f Issue-ID: CIMAN-120 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-09Roll to version 0.1.1-SNAPSHOTDan Timoney4-5/+5
Roll to next release version Change-Id: I6256aa3e20e6d03edf02ea2f049ca425944dc605 Issue-ID: CCSDK-141 Signed-off-by: Dan Timoney <dtimoney@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-22Merge "Fix Blocker/Critical sonar issues"Dan Timoney1-66/+35
2017-09-22Merge "Fix sli dependency"Dan Timoney1-1/+1
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 Timoney3-18/+38
Remove mysql references from sli/adaptors repository. Change-Id: I19682626fdb954ce8190d61507eabe0152a6a635 Issue-ID: CCSDK-95 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-19Fix sli dependencyBrian Freeman1-1/+1
Issue-ID: SDNC-86 Change-Id: Ic6680636fd451942ab9f91598f1b7c63080843c1 Signed-off-by: Brian Freeman <bf1936@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-29Update artifactId of ccsdk/sli/adaptors pom.xmlDan Timoney1-1/+1
Update artifactId of top level pom.xml of ccsdk/sli/adaptors to match the repo name (ccsdk-sli-adaptors instead of ccsdk-adaptors). This is not strictly speaking necessary, but will be a helpful convention since there are some repos within ccsdk that have similar names, like ccsdk/sli/plugins and ccsdk/platform/plugins. Update parent artifactId in pom.xml for each module in ccsdk/sli/adaptors Change-Id: Idec7772c406754db6f03cf03a1a338793c2ce636 Issue-ID: CCSDK-70 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-18Clean final ecomp references from sli-adaptorsMarcus G K Williams1-1/+1
Issue-Id: CCSDK-19 Change-Id: I40c0287ebdaeb93fc17370a8692fbac5edf32d08 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-08-17Update sli-adaptor/sql-resource package namesMarcus G K Williams7-32/+32
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 Timoney10-20/+20
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-14Update root pom to Carbon SR1Dan Timoney4-5/+5
Update adaptors to compile against Carbon SR1 maven artifacts Change-Id: I74e2710d7206bc3efe403439bb346615de6e3f75 Issue-ID: CCSDK-24 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-01Fix groupIdsDan Timoney4-12/+12
Updated groupId to org.onap.ccsdk.sli.adaptors to allow clean Nexus deploy Issue: CCSDK-14 Change-Id: I228978572b2f574e95caa4ff2f40fdbfdcc330ad Signed-off-by: Dan Timoney <dtimoney@att.com>