summaryrefslogtreecommitdiffstats
path: root/sli/common
AgeCommit message (Collapse)AuthorFilesLines
2018-05-30Use version 1.0.4 of parentv0.2.42.0.0-ONAPbeijing2.0.0-ONAPTimoney, Dan (dt5972)1-1/+1
Use released version of parent pom Change-Id: Iaf783c89e2afc6e974ba4ea2b286f380a6b84fd8 Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-30Roll version to 0.2.4Timoney, Dan (dt5972)1-2/+2
Roll version to 0.2.4-SNAPSHOT and version 1.0.4-SNAPSHOT of parent Change-Id: I7dda7fc4a25756e129d75e0a79b4d82f5622144f 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)1-1/+1
Update parent version to remove -SNAPSHOT (1.0.3) Change-Id: Ie9680134a643c7cfec3fd774422d8c62637bdbc3 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-23Roll to the next snapshot and use new parent pomStilwell, David (stilwelld)1-2/+2
Updated version to 0.2.3-SNAPSHOT and 1.0.3-SNAPSHOT parent pom Change-Id: I2ac80137aa409d0d13b4bec12beb2b7e74bdfa40 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-17Update sli/core to use release 1.0.2 parentsTimoney, Dan (dt5972)1-1/+1
Updated pom.xmls to use released version of parent pom. Change-Id: Ib3d1c856691556cbd4c5f51852888f4bfc791a9f Issue-ID: CCSDK-286 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-03TestSvcLogicLoader for windowsSmokowski, Kevin (ks6305)1-4/+4
TestSvcLogicLoader fails when run against a machine running windows Change-Id: I3687ac21c50cde10b1e8a0ed816b67d48c5e77f9 Issue-ID: CCSDK-266 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-04-29Roll versions step 2 : sli/core pomsTimoney, Dan (dt5972)1-2/+2
Roll to next version for next release candidate. Change-Id: I0a76316934afd79f4ecf3588453ed4d6e34fb615 Issue-ID: CCSDK-257 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-18Fix release versionTimoney, Dan (dt5972)1-1/+1
Fix release version in version.properties Change-Id: I4d354ac42260a4dcd17f516a413c036b85086db3 Issue-ID: CCSDK-242 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-06Fix EELF versionTimoney, Dan (dt5972)1-1/+0
Load version 1.0.0 of EELF, based on parent property setting Change-Id: I5e936b651f07ad9af8e4b41c80bbfed98bb67faa Issue-ID: CCSDK-235 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-04URGENT : Install logbackTimoney, Dan (dt5972)1-0/+1
Install logback packages needed by EELF as part of sli common package. This is urgently needed, since CCSDK is not coming up clean without this fix. Change-Id: I4f47e6146e45e36752454100186851af3eba7491 Issue-ID: CCSDK-235 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-27Add unit tests for sliTimoney, Dan (dt5972)16-28/+613
Added unit tests for ccsdk/sli/core/sli Change-Id: I0d2408c43b9e56a78f3e01e87985aedb6cad5953 Issue-ID: CCSDK-213 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-21Add unit tests for sli/providerTimoney, Dan (dt5972)1-0/+5
Add additional unit testing for configure node Change-Id: I867fd1aae54e956bdbe8a2f2fd406b46304b4a91 Issue-ID: CCSDK-213 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-07re-use parser instanceSmokowski, Kevin (ks6305)2-38/+50
add an additional logging statement and save memory Change-Id: Idc8bdefb00ac61317cc38848dce670d76b6d89f7 Issue-ID: CCSDK-204 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-03-02Merge "Favor interfaces"Dan Timoney1-108/+104
2018-03-02Favor interfacesKevin Smokowski2-109/+105
Favor using interfaces over concrete implementations Change-Id: Ie7541eeefa69671cc7ed39fba37fdd2e24380770 Issue-ID: CCSDK-189 Signed-off-by: Kevin Smokowski <ks6305@att.com> Favor interfaces Favor using interfaces over concrete implementations Change-Id: Ie3b71833c0f31f67288430c25ca31ca07c0449e0 Issue-ID: CCSDK-189 Signed-off-by: Kevin Smokowski <ks6305@att.com>
2018-03-02Fix broken mergeTimoney, Dan (dt5972)2-125/+127
Fix antlr compile error. Change-Id: Ibe7c897e4de2d6d34f842fb89fc27d210f6c8c27 Issue-ID: CCSDK-175 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-02-26Fixed antlr dependenciesDan Timoney1-3/+1
Should depend on antlr4-runtime instead of antlr4 to avoid unnecessary compile-time-only dependencies Change-Id: I720628786676dfc81b4aadd4f3da752af2d92451 Issue-ID: CCSDK-175 Signed-off-by: Dan Timoney <dtimoney@att.com>
2018-02-09Reset MDC after invoking nodeKevin Smokowski1-0/+9
collapse get node into a common metho, reset MDC right before getting next node for certain executor Change-Id: I85b1cf0dfd595deee42dc93f4095ecbc6c831998 Issue-ID: CCSDK-187 Signed-off-by: Kevin Smokowski <ks6305@att.com>
2018-02-09Upgrade sli/core to NitrogenDan Timoney2-172/+159
Use Apache derby for dblib SingleFeatureTest Change-Id: I6b41f7ede1a98b33824fceea9100e75c1ce8dda4 Issue-ID: CCSDK-175 Signed-off-by: Dan Timoney <dtimoney@att.com> Generalization of CCSDK core/utils framework Changes made: * Created generalized version of core/utils/dblib as core/utils/common * Deprecated core/utils/dblib package Change-Id: I0992c43910278fbe254674d1e39d7e4fcad0a592 Issue-ID: CCSDK-168 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com> Use Apache derby for dblib test Use Apache derby for dblib SingleFeatureTest Change-Id: Ie497557f162e203fa5c5c82c17ddc55ba0c11b38 Issue-ID: CCSDK-175 Signed-off-by: Dan Timoney <dtimoney@att.com>
2018-02-09Iso8601 format fixKevin Smokowski1-1/+1
fix format in method asIso8601 in metric logger Change-Id: I50de2397231ff8b298e3a75b3220315c255c26db Issue-ID: CCSDK-186 Signed-off-by: Kevin Smokowski <ks6305@att.com>
2017-12-18Service logic logging fixesDan Timoney2-7/+2
Update MetricLogger class to properly escape characters within body of response. Also, used SvcLogicGraph.toString method to simplify logging call. Change-Id: I6bcaaf3c67032df041c6d37372016990ff0199d3 Issue-ID: CCSDK-152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-12-05SLI parser improvementsDan Timoney11-1128/+1167
Update SLI parser to remove validation based on NODE_TYPE table, which is no longer needed (was introduced prior to use of XSD schema validation). Also, use checksums to avoid needless recompilation if version being loaded already exists in database. Change-Id: Idfcba94de8fb71b17d5e0c5e69e04dee266988b1 Issue-ID: CCSDK-152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-20Bump minor versionJessica Wagantall1-1/+1
Bump minor version in preparation for Amsterdam branching. (part 2) Change-Id: Ib9f7cf7f98feb159ce1b136a3cd792820c99e659 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-08Roll version to 0.1.3-SNAPSHOTDan Timoney1-1/+1
Roll to next snapshot version to prepare for release cut Change-Id: I2a4c8395630b461314291bc8e0f83bf114a21f61 Issue-ID: CCSDK-141 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-25Add unit test case for PrintYangToPropDan Timoney2-0/+75
Add junit testing for PrintYangToProp Change-Id: I8c377bb51c812ea9ead32d8e9d5ef871157162a8 Issue-ID: CCSDK-129 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-18added code to convert yang to propertiesSheshi Chinthakayala1-0/+1367
this code is used by dgbuilder to convert the yang to context property names Change-Id: Ib53f57df6e8bd32a3a1b7ba6fa7854497c1f5c6c Issue-ID: SDNC-81 Signed-off-by: Sheshi Chinthakayala <sc2914@att.com>
2017-09-28Added @Override annotationshashikanth1-2/+2
Fix major sonar issues in ccsdk/sli/core module https://sonar.onap.org/component_issues?id=org.onap.ccsdk.sli.core%3Accsdk-sli-core#resolved=false|severities=MAJOR|rules=squid%3AS1161 Add the "@Override" annotation above this method signature Issue-Id:CCSDK-67 Change-Id: I233be3f88547049a5f78c438e87f2f8c0129df78 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-27Refinements to coreGaurav Agrawal1-113/+78
Changes includes: 1. Simplifying the test cases. 2. Critical Sonar issue fix for MdsalHelper 3. Critical sonar issue fix for SvcLogicServiceImpl 4. Use logger in-built formatting. https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.core%3Accsdk-sli-core#resolved=false|severities=CRITICAL Change-Id: Ib85637fcd2351970f8d96bf6b855db05cf7d9834 Issue-Id: CCSDK-67 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-27Merge "Use Long.toString instead"Dan Timoney1-1/+1
2017-09-27Use Long.toString insteadsurya-huawei1-1/+1
Major sonar issue in sli/core module *Using static method to reduce memory and cycles Issue-Id: CCSDK-87 Change-Id: Iaf255892a4bd698934f865a707e54f8e740370ab Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-25Some minor refinements in CCSDK SLI Core moduleramu.n2-2/+9
*Remove useless braces while logging exception stack trace *Register all DG nodes in SvcLogicParser Test file Change-Id: I7916bec20e36e1def15c24806da2f7e01e79bf4b Issue-Id: CCSDK-106 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-21Remove unnecessary parenthesessurya-huawei1-18/+18
*Useless parentheses can sometimes be misleading and hence removed Issue-Id: CCSDK-87 Change-Id: I018d791500a42356296d07d04de45517d061bb7f Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-20Fix few Major sonar issuesramu.n1-45/+44
Fix few Major sonar issues in CCSDK SLI Core module * Remove useless assignment to local variable * Use built-in logger method string formatting instead of string concatination * code indentation Change-Id: I20fc9d8f4c510f6169e6f989c6f5595371e5f2dd Issue-Id: CCSDK-67 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-19Merge "Use Junit4 instead of Junit3 in sli/common"Dan Timoney2-54/+85
2017-09-19Remove mysql dependencies in sli/coreDan Timoney1-1/+1
Remove lingering mysql dependencies in sli/core, which prevented odlsli container from starting up clean. Note: tested this using bareodl container and verified that these changes install clean AFTER changing incorrect driver property name in dblib.properties. This patch is fine, but a second patch to ccsdk/distribution is needed to fix that property file. Change-Id: I6a900d1c29998867bfbae29d5e113c4e392a8bb9 Issue-ID: CCSDK-95 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-20Use Junit4 instead of Junit3 in sli/commonramu.n2-54/+85
Modified sli/common pom.xml file to take Junit version from parent pom file and modified one Testfile as per Junit4 Change-Id: Iee4397125d9873def60c77ba8be5d541e0df62fa Issue-Id: CCSDK-98 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-19Merge "Fix few Major sonar issues"Dan Timoney1-297/+314
2017-09-19Merge "Fix few Major sonar issues"Dan Timoney3-56/+56
2017-09-18Update sli/core to use Mariadb connectoriDan Timoney1-3/+3
Update sli/core (including dblib, notably) to use mariadb-connector for any jUnit tests. Update Import-Package in dblib provider pom.xml to import org.mariadb.jdbc so that org.mariadb.jdbc.Driver will be resolved Change-Id: I39dfe2cafb955ba1bf05b0ecdb0212d766fcc96c Issue-ID: CCSDK-95 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-18Fix few Major sonar issuesramu.n1-297/+314
Fix few Major sonar issues in CCSDK SLI Core module * Use logger method's built-in string formatting instead of string concatination * code formatting * Use Integer.toString() instead of concatenating empty string "" to a primitive Change-Id: I5a15c9b0049b71d7b0fa06c6791abe766a035c46 Issue-Id: CCSDK-67 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-18Fix few Major sonar issuesramu.n3-56/+56
Fix few Major sonar issues in CCSDK SLI Core module * Remove useless parentheses * Remove useless assignment to local variable * Use logger method instead of string formatting Change-Id: Ie9958d0bc4e754c36c127d465a1953160c2c3e2b Issue-Id: CCSDK-67 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-18Fix few Major sonar issuesramu.n2-181/+128
Fix few Major sonar issues in CCSDK SLI Core module * Remove useless parentheses * Either log or rethrow the exception * Add the "@Override" annotation * Change "try" to a try-with-resources * Replace duplicate string literals with constants Change-Id: If52163220d7231ae42ef42b0313d56435f6745e1 Issue-Id: CCSDK-67 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-16Merge "Fix few Major sonar issues"Dan Timoney1-94/+41
2017-09-15Merge "Fix Blocker/Critical sonar issues"Dan Timoney1-13/+12
2017-09-15Fix few Major sonar issuesramu.n1-94/+41
Fix few Major sonar issues in CCSDK SLI Core module * Remove useless parentheses * Either log or rethrow the exception * Remove unused variables * Add the "@Override" annotation * Change "try" to a try-with-resources Change-Id: I64c4bd3c746bb2f226f4f58c39f28a8b2d178953 Issue-Id: CCSDK-67 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-14Merge "Fix few sonar issues"Dan Timoney2-66/+93
2017-09-14Fix few sonar issuesramu.n2-66/+93
Fix few sonar issues in CCSDK SLI Core module Change-Id: I0e2454f7e23e73087ac42880c5e0b1e4c089dde8 Issue-Id: CCSDK-67 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-14Fix Blocker/Critical sonar issuesshashikanth1-13/+12
Fix Blocker/Critical sonar issues in vnfapi module https://sonar.onap.org/component_issues?id=org.openecomp.sdnc.core%3Asdnc-core#resolved=false|severities=BLOCKER Issue-Id: CCSDK-67 Change-Id: Ie2ace1bc30bbb50d2b6f25a56e716c7a952e7ea0 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-13Use oparent-odlparent in sli/coreDan Timoney3-178/+209
Update sli/core to use oparent-odlparent. To prevent verify builds from failing due to unit test errors, also changed unit tests that require database access to use MariaDB4j to start up a local MariaDB database. Change-Id: I928b7e1e83bdb328ca9e0785c8b81f67f982eeda Issue-ID: CCSDK-43 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-13Remove unused imports in java filesRyan Goulding8-30/+5
Code sanitation-- remove unused imports. Issue-Id: SDNC-79 Change-Id: I5306a9b90f302086459fcac98d04f541ba7c79a4 Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>