summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-16Bump minor versionJessica Wagantall1-1/+1
Bump minor version in preparation for Amsterdam branching. Change-Id: I3d8c31a414a0539e2e59cb103f3395b863e7c18a Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-15Rm docs in repo consolidated w/ ccsdk/distributionRich Bennett9-1176/+0
Change-Id: I6d02b60651b48ff279be7b7207cd422207c5481f Issue-ID: DOC-130 Signed-off-by: Rich Bennett <rb2745@att.com>
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-13Handle duplicate DHCP eventDan Timoney2-2/+10
Handle case where 2 DHCP events received for same mac addr. Should use most recent IP address. Change-Id: I90399ce3c39e07c2472366c78115812a64e9124b Issue-ID: CCSDK-142 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-12Change dmaapClient dependencyBrian Freeman2-6/+24
Issue-ID: CCSDK-142 Change-Id: I5a3cd0626c71eadd414ab9939774d159638b99a6 Signed-off-by: Brian Freeman <bf1936@att.com>
2017-11-09Add dhcp event handlerDan Timoney4-1/+312
Add event handler for DHCP event Change-Id: I2e23ace8ae481bf100f236a4e2723d721eec3470 Issue-ID: CCSDK-142 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-09Roll to version 0.1.1-SNAPSHOTDan Timoney14-21/+21
Roll to next release version Change-Id: I7df5f5c516db6b4459a6f6063bf754e058a4048d Issue-ID: CCSDK-141 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-08AbstractLalena 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-25Use version 0.1.0 of parentDan Timoney1-1/+1
Update to use version 0.1.0 (released version) of parent pom Change-Id: Ie639cffd028efd67d4e91765f25ba6ed29af21bc Issue-ID: CCSDK-80 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-13Fix sli/northbound blueprintDan Timoney2-2/+2
Wrong package name is used for NotificationPublishService in blueprint, resulting in asdcApi and dataChange not being loaded properly. Change-Id: I144f8e4bd48e547e7c7241e9ebaacf744d808022 Issue-ID: CCSDK-119 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-12Merge "Add readthedocs documentation for sli/northbound"Dan Timoney13-156/+4897
2017-10-12Add readthedocs documentation for sli/northboundDan Timoney13-156/+4897
Add readthedocs documentation for sli/northbound. Change-Id: I8ca9d7e839408094ab3754500d71fe7463f0b0e4 Issue-ID: CCSDK-107 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-12Remove IOException in method declarationsurya-huawei1-1/+1
*This is done because IOException cannot be thrown from the method and is hence superflous Issue-Id: CCSDK-117 Change-Id: I0712cfbf610f815e76ed33b0039ecb5e3cc7bbbe Signed-off-by: surya-huawei <a.u.surya@huawei.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-05Add a test for DummyDmaapConsumersurya-huawei1-0/+26
*Add a unit test in sli/northbound module This is to improve code coverage of DummyDmaapConsumer class Issue-Id: CCSDK-106 Change-Id: Iecd4970a0cd82c94a219b1a2e861fcc3da11f23c Signed-off-by: surya-huawei <a.u.surya@huawei.com>
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-04Test TOSCA table insertionDan Timoney7-6/+143
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-03Merge "Improve SDNC coverage"Dan Timoney2-59/+194
2017-10-03Add ueb-listener unit testDan Timoney12-87/+151
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-03Improve SDNC coverageshashikanth2-59/+194
Added initial test cases for dataChange. Issue-Id: SDNC-101 Change-Id: I112a6695f4d4ca92b78884d25fef12f382598b37 Signed-off-by: shashikanth.vh <shashikanth.vh@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-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 "Improve SDNC Sonar coverage"Dan Timoney2-54/+208
2017-09-28Merge "Deleted redundant try catch block"Dan Timoney1-12/+5
2017-09-28Setup ReadTheDocsBrian Freeman1-0/+8
Issue-ID: CCSDK-107 Change-Id: I98bc6f3a3827bb1f4e03eb08474b15e26662705f Signed-off-by: Brian Freeman <bf1936@att.com>
2017-09-27Improve SDNC Sonar coverageshashikanth2-54/+208
Added initial test cases for ASDC-APIs Issue-Id: SDNC-101 Change-Id: Iad8be979e39099e4ece8210dbd5d2c9c64b60990 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
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-22Merge "Fix sli dependency"Dan Timoney2-2/+2
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-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-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-huawei3-6/+5
*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 Timoney5-7/+6
2017-09-19Fix sli dependencyBrian Freeman2-2/+2
Issue-ID: SDNC-86 Change-Id: I91280ab218e2f1f25ab381eaa9f94dce8f2abdc9 Signed-off-by: Brian Freeman <bf1936@att.com>
2017-09-19Fix critical sonar issuesGaurav Agrawal5-7/+6
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-18Merge "Replace deprecated APIs with newer one"Dan Timoney3-6/+11
2017-09-18Replace deprecated API with newer oneGaurav Agrawal2-12/+9
Replace following deprecated API 1) NotificationProviderService replaced with NotificationPublishService 2) InstanceIdentifier<T> toInstance() replace with build() Change-Id: I50195bf123052270edf3fd9f74af00262a01e650 Issue-Id: CCSDK-93 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-18Replace deprecated APIs with newer oneGaurav Agrawal3-6/+11
Replace following deprecated API 1) NotificationProviderService replaced with NotificationPublishService Change-Id: I3d5117e63083ce77553feb3d3f6d6265576da646 Issue-Id: CCSDK-93 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-17Fix Sonar issue in sli/northbound modulesurya-huawei1-1/+1
One major issue * move string literals to left side of string comparison Issue-Id: CCSDK-87 Change-Id: Ibd1146a8a12dccc56fb620fe5830efb545ac39a1 Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-14Use oparent-odlparent in sli/northboundDan Timoney1-1/+1
Update sli/northbound to use oparent-odlparent, used by latest version of ccsdk odlparent-carbon-sr1 parent. Change-Id: I77c4452d4af04d3dc4cd0892a9a0dab6c77016bc Issue-ID: CCSDK-43 Signed-off-by: Dan Timoney <dtimoney@att.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>