aboutsummaryrefslogtreecommitdiffstats
path: root/dmaap-listener
AgeCommit message (Collapse)AuthorFilesLines
2017-10-05Add a test for SdncJsonDmaapConsumersurya-huawei1-0/+22
*Add a unit test in sli/northbound module This Test checks whether an InvalidMessageException is thrown when null is passed to processMsg method Issue-Id: CCSDK-106 Change-Id: I52327377f4582d8c24cef87f0360b977f2f216fc Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-10-03Add unit test for dmaap-listenerDan Timoney5-4/+93
Add unit test case for dmaap-listener. Change-Id: I501614016c96d8300bc15cdf1819691f95c467f4 Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-21Resolved below sonar issues.Bharat saraswal4-475/+475
Method complextity. Redudant code and varibales. Exception handling. Refacting of code. Issue-Id:CCSDK-87 Change-Id: I757c6a6d3c403f81f725ad97a7759225d0709468 Signed-off-by: Bharat saraswal <bharat.saraswal@huawei.com>
2017-09-21Use Integer.toString for type conversionsurya-huawei1-4/+3
*Used Integer.toString instead of implicit type conversion This is done to make use of static and reduce cycles *Removed one unused import *Removed unnecessary parantheses Sometimes useless parantheses can be misleading hence removed Issue-Id: CCSDK-87 Change-Id: I23f56cb7c5a6dafa79f64d5cd8faa0994f0ff288 Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-20Remove useless assigment to local variablessurya-huawei1-2/+2
*Removed dead stores This is done to avoid waste of resources Issue-Id: CCSDK-87 Change-Id: Ie36255c6583792e2535000ee1bd5b2a3018632ff Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-19Merge "Fix critical sonar issues"Dan Timoney2-2/+2
2017-09-19Fix critical sonar issuesGaurav Agrawal2-2/+2
Fix critical sonar issues in CCSDK SLI Northbound by either logging or rethrowing the exception https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.northbound%3Accsdk-sli-northbound#resolved=false|severities=CRITICAL Change-Id: I718f13b5801ea9d69b5c36f75b5387a0ae59cc6a Issue-Id: CCSDK-67 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-19Fix Sonar Issuessurya-huawei1-17/+5
few major issues in sli/northbound *Remove unused imports *Iterate over the "entrySet" instead of the "keySet" *Replace the type specification with the diamond operator ("<>") Issue-Id: CCSDK-87 Signed-off-by: surya-huawei <a.u.surya@huawei.com> Change-Id: Ib2a6f97d3de759b937c1e2acd2e39312e88ad10b
2017-09-08Fix few Blocker sonar issuesGaurav Agrawal1-3/+2
Fix few Blocker sonar issues in CCSDK SLI Northbound https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.northbound%3Accsdk-sli-northbound#resolved=false|severities=BLOCKER Change-Id: I8a2f2e9f3bc5bc5c007076e42f77fbf5da1304ac Issue-Id: CCSDK-67 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-08-29Cleanup artifactId for ccsdk/sli/northboundDan Timoney1-1/+1
ArtifactId for ccsdk/sli/northbound pom.xml should not be identical to that for sdnc/northbound, otherwise import to Eclipse of both will be confusing. Updated parent artifactId in module pom.xmls under ccsdk/sli/northbound Change-Id: Ie1e1b7a1cd6bb7442a27ca083f37539cbc0497fb Issue-ID: CCSDK-70 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-25Fix to start script and annotation dependencyBrian Freeman2-1/+6
Change-Id: I38d4ffad440ea5866a398b8a6a7244d8bf156138 Signed-off-by: Brian Freeman <bf1936@att.com> Issue-Id: SDNC-67
2017-08-15Port sli/northbound to CarbonDan Timoney13-26/+27
Updated sli/northbound repo to compile against OpenDaylight Carbon SR1 release Change-Id: I6aec68cf436e11f5fd5b7094eb5616536bead44f Issue-ID: CCSDK-25 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-15Refactor rest of sli/northboundDan Timoney6-6/+6
Update remainder of sli/northbound to replace references to openECOMP with references to ONAP Change-Id: I2c321c9ec3f3138f3b7377ce1e0a8ff7e8f29bcc Issue-ID: CCSDK-25 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-01[CCSDK-6] Populate seed codeDan Timoney18-0/+1255
Add seed code for sli/northbound repository Update groupId to org.onap.ccsdk.sli.northbound Update to use CCSDK version of sli core Change-Id: Id3a154a53150a74f4b65060544e76f3e0cad932e Signed-off-by: Dan Timoney <dtimoney@att.com>