aboutsummaryrefslogtreecommitdiffstats
path: root/ueb-listener
AgeCommit message (Collapse)AuthorFilesLines
2018-02-26Nitrogen port: sli/northboundDan Timoney1-11/+14
Update sli/northbound to compile for ODL Nitrogen Change-Id: Ib14fea5dd3922175bd183afb9f3c85edaa7a2f0c Issue-ID: CCSDK-177 Signed-off-by: Dan Timoney <dtimoney@att.com>
2018-01-09Removed of unused parameterprakash.e1-6/+2
*unused parameter and unused function is removed Change-Id: Ibf0f72d2948ad27313967ecadfb54f2a2bf0060b Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2018-01-09Removal of unused variablesprakash.e1-4/+2
*Romoved unused variables and code changes for performance improvement Change-Id: Ibe1993b750653d24379ffcc3638b71f6cefcaa6b Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2018-01-08Merge "Exception issue"Dan Timoney1-22/+21
2018-01-08Exception issueprakash.e1-22/+21
*deployList is used before initialization which results in NullPointer Exception. Change-Id: I53d43d7656577368ac35db78ba27c015a2c8ac52 Issue-ID: CCSDK-170 Signed-off-by: prakash.e <prakash.e@huawei.com>
2018-01-06Fixed as per Java Code ConventionsSRINIVAS V1-2/+0
*Removed the commented code of addParameter function *Code optimized Change-Id: Ibd711561d1f94854df464d6e94de6ef2fc8b6cd6 Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
2018-01-04Removed unused codeSRINIVAS V1-11/+7
*Deleted commented code Change-Id: I03ebfab9d66f2a9e51233ec6312698af7ed91584 Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
2018-01-04Fixed as per Java Code ConventionsSRINIVAS V1-1/+1
Change-Id: I0b2315c4a48b5c1c267dec10ce22ded559c98192 Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
2018-01-02Exception issue fixprakash.e1-18/+17
Change-Id: I75eafe5267909dc1102287ef9bc8dffdb1d5dcba Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2018-01-02Removal of unused variableprakash.e1-12/+10
Change-Id: Idaf07c98ef0fef3923ddd7a9e185b727cb93b16f Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2017-12-28Removal of useless parenthesisSRINIVAS V1-6/+6
Change-Id: I27289de2837414d45efcdd3f617d2b399a8f8ac6 Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
2017-12-21Merge "typeCasting issue and useless assignment fix"Dan Timoney2-2/+2
2017-12-21Impact on performance fixprakash.e1-2/+2
Change-Id: I36e82265087ebce69c7f01c8e75b7c932a969d0e Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2017-12-21typeCasting issue and useless assignment fixprakash.e2-2/+2
Change-Id: Iab98bdec347fc9b15afc78de1b99eab8fbff5ad1 Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2017-12-18Merge "Removal of useless parenthesis"Dan Timoney2-7/+4
2017-12-18Merge "Removal of unused variables"Dan Timoney2-6/+0
2017-12-18Removal of useless parenthesisprakash.e2-7/+4
Change-Id: Ida52e0fab68d33ef446378024441ca3af0762f70 Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2017-12-18Removal of unused variablesprakash.e2-6/+0
Change-Id: I73dff3b51f1895fc0282e4d3d662bc9019a87e31 Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2017-12-18Removal of unused parenthesisprakash.e2-6/+3
Change-Id: I5050503d1993e880851fb56f6b7c3ef8ece192b6 Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2017-11-21Bump minor versionJessica Wagantall1-2/+2
Bump minor version in preparation for Amsterdam branching. (part 2) Change-Id: If8259634fe96f9a78cf59a9346dd051cc674e6c3 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-14Update CCSDK northbound ueb-listenerlalena.aria1-4/+4
Changes made: Corrected extraction locations for role, type, ecomp_generated_naming and naming_policy in ALLOTTED_RESOURCE_MODEL. Change-Id: I59d1625ee226e194ecba81c84ead964df6307676 Issue-ID: SDNC-194 Signed-off-by: lalena.aria <lalena.aria@att.com>
2017-11-09Roll to version 0.1.1-SNAPSHOTDan Timoney1-2/+2
Roll to next release version Change-Id: I7df5f5c516db6b4459a6f6063bf754e058a4048d Issue-ID: CCSDK-141 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-08Abstractv0.1.01.0.0-ONAP1.0.0-AmsterdamLalena Aria1-9/+24
Changes made: update AAI Service path list from the latest version published by AAI Team Change-Id: Ie6d5451777cfd45b528acdfe098e31f26ab3714c Issue-ID: SDC-564 Signed-off-by: lalena.aria <lalena.aria@att.com>
2017-11-06Ignore TOSCA YMLDan Timoney1-9/+9
TOSCA is passed in 2 formats : YML and CSAR. The SDC TOSCA parser only handles CSAR, so YML artifact cannot be passed to it. Since CSAR artifact all data needed (that is, there is nothing in YML that SDNC needs that is not in the CSAR), it can be safely ignored. Change-Id: I54aa2ae49e3ba0aa23b280fa106ada3d588897a0 Issue-ID: SDNC-169 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-01Update SDC versionDan Timoney1-2/+2
Per SDC PTL, we should be using version 1.1.32 of both the distribution client and Tosca parser. Change-Id: Ib1a059db9e71fc98ff0c6b961577c1fa1cdaa67b Issue-ID: SDNC-144 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-16Fix ueb-listener client nameDan Timoney1-1/+1
Fix package name of ueb listener client in jar manifest Change-Id: I1db2acd8b269ffbf88d41f827c3baaa22b253bd7 Issue-ID: SDNC-129 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-09Add retry to ueb-listenerDan Timoney4-7/+48
Added retry mechanism to ueb-listener to handle case where ueb-listener comes up before DMaap or SDC. Change-Id: I0d96bd1fe4d3d0fdb5e01d9f42304b54bea0a550 Issue-ID: CCSDK-112 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-04Test TOSCA table insertionDan Timoney6-4/+141
Add code to create TOSCA tables in test driver to test TOSCA table insertion in ueb-listener TOSCA parser test. Change-Id: Ib8c3fcdb25fbdba39b4700553d8c01b684efa384 Issue-ID: CCSDK-102 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-03Improve ueb-listener testsDan Timoney4-2/+87
Use Maria4JDB to improve test coverage of ueb-listener. Change-Id: Ifb88916434bb1b293b4bbd6fae069cd1e88c9d8d Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-03Add ueb-listener test caseDan Timoney1-0/+1
Add test case for license-model parsing in ueb-listener. Change-Id: I279e269f7ba3c6f37c09f71b99b20d4e9e661e23 Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-03Add ueb-listener unit testDan Timoney11-86/+150
Enhance ueb-listener unit test to verify TOSCA parse Change-Id: Iedc675ead3ef69e4fa7151c8c4c500990c0ee6a7 Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-03Add unit test for ueb-listenerDan Timoney5-6/+81
Add unit test case for ueb-listener. Change-Id: Ia61f8e5bc0e817aa0f4a042d8e05b02ec9e2013b Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-28Merge "Deleted redundant try catch block"Dan Timoney1-12/+5
2017-09-26Deleted redundant try catch blockshashikanth1-12/+5
Extract this nested try block into a separate method. https://sonar.onap.org/component_issues?id=org.onap.ccsdk.sli.northbound%3Accsdk-sli-northbound#resolved=false|severities=MAJOR|rules=squid%3AS1141 Issue-Id: CCSDK-87 Change-Id: I989791d876b5a199f75983ba5137770f80995ef1 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-25Fix some sonar issues in sli/northboundsurya-huawei1-6/+6
*Replace type specification with diamond operator This is done to reduce the verbosity of generics code *Replace ("") with ('') in String.lastIndexOf() This is more efficient for single character *Remove temp variable which is immediately returned New variable is not necessary as the caller cannot see this Issue-Id: CCSDK-87 Change-Id: I353652de723a624935d819b2bc817b4907af98ed Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-22Remove unnecessary constructssurya-huawei1-5/+4
*Remove unused imports *Remove useless paranthesis This is done as sometimes they can be misleading *Replace type specification with diamond operator(<>) This is done to reduce verbosity of generics code Issue-Id: CCSDK-87 Change-Id: Ic356859939fe40cecec2e65c96d79cd6a655787e Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-20Merge "Some minor refinements in CCSDK SLI Northbound"Dan Timoney3-111/+88
2017-09-20Some minor refinements in CCSDK SLI Northboundramu.n3-113/+90
Fix few Critical/Major sonar issues in CCSDK SLI Northbound module * Remove useless parentheses * Remove useless assignment to local variable * Use built-in logger method string formatting instead of string concatination * code indentation * Replace for loop with foreach Change-Id: I9a2e3345f23feb2d96045ac714d8acc528de464b Issue-Id: CCSDK-67 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-20Remove useless assigment to local variablessurya-huawei2-4/+3
*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-19Fix critical sonar issuesGaurav Agrawal2-3/+3
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-14Fix Sonar issuessurya-huawei1-7/+7
few major issues in sli/northbound module Issue-Id: CCSDK-87 Change-Id: I2c1a8b41266aae6941c5f2fdbb8b08ea91dde6ec Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-08Fix few Blocker sonar issuesGaurav Agrawal1-14/+4
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: I7229c7e2a0dabc0ff789b91ae413b9a15ef3cbad Issue-Id: CCSDK-67 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-08Fix few Blocker sonar issuesGaurav Agrawal1-12/+1
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-09-07Fix SDNC service registrationRyan Goulding1-1/+1
This change converts AsdcApiProvider and AsdcApiSliClient to utilize Aries Blueprint for service instantiation instead of the ODL Config Subsystem. Change-Id: I5eaebe4c6e5b33fc8beb20b2cfe9acb6e8b6d808 Issue-Id: SDNC-54 Signed-off-by: Ryan Goulding <ryandgoulding@gmail.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-15Port sli/northbound to CarbonDan Timoney19-38/+39
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 Timoney12-36/+36
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 Timoney24-0/+3064
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>