summaryrefslogtreecommitdiffstats
path: root/dmaap-listener/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-12-01Migrate sli-northbound repoJessica Wagantall30-2937/+0
Migrate sli-northbound repo files into new directory "northbound". Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-09-02DMAAP Listener for ranSlice Feature supportSandeep Shah1-0/+92
DMAAP listener for ranSlide related DMAAP messages from Policy and other ONAP components Issue-ID: CCSDK-2722 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: I14267bc5247a383039ab11ada82d67b0f3f3c13c
2020-06-04Aiign requestID, subrequestID for DMAAP msgsSandeep Shah1-4/+61
Updated DMAAP listener to keep track of requestID and subRequestID for DMAAP message publication. These values are sent to DG as part of SLI parms Issue-ID: CCSDK-2413 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: I207a7d1223416475de0b44ba80944ed2f4f57305
2020-05-26Path-/opt/app/dmaap-listener/lib does not existFranklin Dsilva1-1/+1
in sdnc-dmaap-listener pod Change-Id: I21a1f00adef418d29e68cf7cdd1939761b87750f Issue-ID: CCSDK-2388 Signed-off-by: Franklin Dsilva <franklin.dsilva@us.fujitsu.com>
2020-05-22Bug fix in DMAAP message parsing for CMNotifySandeep Shah1-5/+1
Minor bug fix in the DMAAP message for CMNotify Issue-ID: CCSDK-2383 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: Ia080adafecf6d6b3a12682aaab3f244a33a16de5
2020-05-18Change log4j2 configurationDan Timoney2-37/+26
Changed log4j2 configuration from using properties files to using XML, which corrected the issue we were seeing with log files being created but empty. Also updated sdc.client.version to use released version 1.4.2 instead of 1.4.2-SNAPSHOT, which no longer exists - causing a compile error. Change-Id: I7040453ccbc3b3fd246a07fa3287c7d4d331fb34 Issue-ID: SDNC-1167 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-03-03DMAAP Listener for ORAN CMNotify VES eventsSandeep Shah1-0/+112
DMAAP listener for VES events originating from ORAN. Will invoke RPC/DG for updating RuntimeDB Issue-ID: CCSDK-2133 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: Ia17a7b2da1c58f5624c1d331aac56ce566d097bf
2019-12-17Bug fix in DMAAP listener for A1 AdapterSandeep Shah1-2/+18
Modification to use the payload node to be sent as an RPC message to stay in alignment with YANG model for A1 adapter Issue-ID: CCSDK-2001 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: I023cf27ec9ac0305f1bc23bc9762603192c09e27
2019-11-22DMAAP Listener for ORAN A1 Adapter Policy MgmtSandeep Shah1-0/+92
Support DMAAP listener for A1 Adapter related DMAAP messages for policy management. Also included are JUNIT test files. DMAAP topic is A1-P. Issue-ID: CCSDK-1964 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: Ied78e8c14538136fede0f420804232770bcbdf3b
2019-08-19Bug fix to address DMAAPLISTENERROOTSandeep Shah1-1/+1
Modified rootDir to /opt/onap/sdnc/...where map and vt template files are transferred in the docker Issue-ID: CCSDK-1400 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: Ie634ff60cf439be5f5136275f2ea19abf40949de
2019-08-01OOFPCIPPOC DMAAP listener bug fixSandeep Shah1-54/+54
DMAAP listener code change to refer to the correct YANG RPC leaf node Issue-ID: CCSDK-1565 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: Id8afb807bf281125e522f86079a877184271ca51
2019-06-13Bug fixes/mods to dmaap-listener for SDNR OOF PCISandeep Shah3-13/+16
Bug fixes to support payload with escape characters and modifications to velocity template map files to point to correct SDNC end point Issue-ID: CCSDK-1399 Signed-off-by: SandeepLinux <sandeeplinux1068@gmail.com> Change-Id: I38a0a3f19379ea20b7055e9581318f54b93dca6d
2019-05-26Fix bug with DMAAP listener for SDNR OOFPCIPOCSandeep Shah2-359/+206
Replaced 2 dmaap consumers with one consumer for DMAAP topic SDNR-CL. Also updated corresponding JUNIT file. Issue-ID: CCSDK-1364 Signed-off-by: SandeepLinux <sandeep.shah2@techmahindra.com> Change-Id: I840a38d04423954102865a68b0e216c745ed161b
2019-04-14JUNIT tests for SDNR OOF PCI Dmaap ListenerSandeep Shah1-2/+2
JUNIT test JAVA files and name change for .vt file Change-Id: I513b9abd72d4c230f57ae3f89a8fafc5f72e7cfa Issue-ID: CCSDK-1226 Signed-off-by: SandeepLinux <sandeep.shah2@techmahindra.com>
2019-04-10DMAAP Listener support for SDNR OOF PCISandeep Shah5-0/+675
DMAAP Consumer JAVA files and resources (.map, .vt) Change-Id: I0027d3f092afc4b89aed1cc756a62d5eb169f5c3 Issue-ID: CCSDK-1216 Signed-off-by: SandeepLinux <sandeep.shah2@techmahindra.com>
2019-03-26Updated edgeRouterStatusChange.mapStilwell, David (stilwelld)1-1/+22
Changes-made: Added additional entries to edgeRouterStatusChange.map Change-Id: I7e7c42d6a4b292b76758fd8cfccf7a091daa016e Issue-ID: CCSDK-1179 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-12-18Sonar fix: SdncLcmDmaapConsumer.javaArundathi Patil1-2/+1
Fixed sonar issues/code-smells across this file. Issue-ID: CCSDK-854 Change-Id: I9b25a464b41ce142b6217ff0f7e40beda86eae3a Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-17Merge "Sonar fix: SdncDmaapConsumerImpl.java"Dan Timoney1-1/+2
2018-12-18Sonar fix: SdncDmaapConsumerImpl.javaArundathi Patil1-1/+2
Fixed sonar issues/code-smells acoss this file Issue-ID: CCSDK-851 Change-Id: Iff1156e2cafc198d00daf546699f0ff4ab34ff43 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-18Sonar Fix: SdncAaiDmaapConsumer.javaArundathi Patil1-4/+5
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-850 Change-Id: I4f1bb7109bddfed04ffa85df174fecdaaf9a6798 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-10-10update handling of dmaap errorsSmokowski, Kevin (ks6305)2-40/+55
Update handling of dmaap errors in MessageRouterHttpClient. Instead of calling processMessage just log the error body message because the downstream client can't handle these type of exceptions. Change-Id: I3cee7f81ecbc316226a38908fb4f07ab04c1b64e Issue-ID: CCSDK-618 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2018-09-20integration test issues fix for sdwan and sotnshashikanth.vh1-2/+4
On topology discovery, ESR will be updated with pnf relationship resulting in update ESR event causing topology discovery to run in loop. Change-Id: I80d98d5b11f05d395e342479352656364fe071d4 Issue-ID: SDNC-357 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2018-09-07Update network topology to aai issue fixshashikanth.vh1-13/+16
Change-Id: I72d25c8df8726430a087613544a274ca724713cb Issue-ID: SDNC-387 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2018-08-07update configuration for onapSmokowski, Kevin (ks6305)3-6/+6
look for properties in common folder, use java 8 Change-Id: I8a04126d8ac1db0781af9b6a015477e0fc3608dd Issue-ID: CCSDK-448 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-07-20Added dmaap consumer for esr-thirdparty AAI eventsshashikanth.vh3-43/+216
Modified SdncAaiDmaapConsumer.java to handle AAI EVENT for esr-thirdparty-sdnc and template Change-Id: I8aaa2e649a722d8d51f0b3329c94541396fde96b Issue-ID: CCSDK-389 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2018-07-10Sonar issue fix blocker, criticalArindam Mondal2-0/+2
Issue-ID: CCSDK-332 Change-Id: I8741cb5bf68d71f0376105d2b1683ac05534a001 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2018-07-02Increase code coverage for MR clientsSmokowski, Kevin (ks6305)2-250/+270
Increase code coverage for MR clients Change-Id: I4493b13070f967bc6b20e6770fa16c4df97c2b8c Issue-ID: CCSDK-328 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-06-28additional mr clientSmokowski, Kevin (ks6305)1-0/+211
additional mr client, fewer dependencies Change-Id: I36168fd6e82846a889cd9a01aadf2462bb767723 Issue-ID: CCSDK-327 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-06-22check for null usernamd and passwordSmokowski, Kevin (ks6305)1-3/+6
only populate auth header if credentials are provided, this support was requested by a client Change-Id: I2fb60995260506a29482d340a031dfad72348b8c Issue-ID: CCSDK-310 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-06-05Introduce new dmaapClient for use with ccsdkSmokowski, Kevin (ks6305)8-144/+370
Create an interface and turn existing class into impl file. Write new client which implements the new interface Change-Id: I127bef09bd7f07556a18b753e428e3cd75f5f498 Issue-ID: CCSDK-294 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-05-30LCMConsumer fixRuchira Agarwal1-10/+0
Remove partition edit Change-Id: Id4861a7c4bb46775b770d3511b7cf50f8c49637f Issue-ID: CCSDK-292 Signed-off-by: Ruchira Agarwal <ra1926@att.com>
2018-05-03LCM Comsumer for DmaapClientRuchira Agarwal1-0/+104
Add LCM Consumer to DmaapCient for Software-Upgrade Change-Id: I0bda76bcd324dda92a6ccb225fd5a059414661f0 Issue-ID: CCSDK-263 Signed-off-by: Ruchira Agarwal <ra1926@att.com>
2018-03-28Add Aai event listenerSerban Popescu3-11/+6
Add support for Aai and Pserver incoming messages from Dmaap Change-Id: Ie799cb57f5c00eed70c9f6fd30825f907962a094 Issue-ID: CCSDK-226 Signed-off-by: Serban Popescu <sp5226@att.com>
2018-03-28Add Aai event listenerSerban Popescu3-0/+24
Add support for Aai and Pserver incoming messages from Dmaap Change-Id: I6ace2395476a1410ea3b7ffe0bebc1766d19e474 Issue-ID: CCSDK-223 Signed-off-by: Serban Popescu <sp5226@att.com>
2018-03-26Add Aai event listenerSerban Popescu3-0/+221
Add support for Aai and Pserver incoming messages from Dmaap Change-Id: I57fedcaf6668d09189f0246571e8aaf515fc3fa0 Issue-ID: CCSDK-223 Signed-off-by: Serban Popescu <sp5226@att.com>
2018-01-18Fixed DmaapListener multiple consumer thread issueshashikanth.vh1-2/+2
DmaapListener handleSubscriptions method returns after creating consumer thread for first subscription string, issue is fixed by removing return. https://jira.onap.org/browse/CCSDK-173 Issue-ID: CCSDK-173 Change-Id: I796b000b22762cda0a4f4fa929d5e2aabdcc7e8b Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-12-21Merge "Fixed as per Java Code Conventions"Dan Timoney1-9/+8
2017-12-21Merge "Removal of useless parenthesis"Dan Timoney1-3/+3
2017-12-21Removal of unused private fieldprakash.e2-6/+5
Change-Id: Ie2d33f7f9dba20a4d0fdf6a33f8574e953633a69 Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2017-12-21Fixed as per Java Code Conventionsroot11-10/+9
Change-Id: Ib17c601ad6a2999e4396f84e18831b5f907557eb Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
2017-12-21Removal of useless parenthesisroot11-3/+3
Change-Id: I6ef27a2795e91948b996055decffc051373d6113 Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
2017-11-13Handle duplicate DHCP eventDan Timoney1-2/+1
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 Freeman1-2/+8
Issue-ID: CCSDK-142 Change-Id: I5a3cd0626c71eadd414ab9939774d159638b99a6 Signed-off-by: Brian Freeman <bf1936@att.com>
2017-11-09Add dhcp event handlerDan Timoney1-0/+136
Add event handler for DHCP event Change-Id: I2e23ace8ae481bf100f236a4e2723d721eec3470 Issue-ID: CCSDK-142 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-03Add unit test for dmaap-listenerDan Timoney1-4/+4
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