aboutsummaryrefslogtreecommitdiffstats
path: root/UniversalVesAdapter/src
AgeCommit message (Collapse)AuthorFilesLines
2019-09-06Fix sonar issues in UniversalVesAdapterParshad Patel6-1152/+1127
Fix Either log or rethrow this exception Use try-with-resources or close this "FileWriter" in a "finally" clause Use a logger to log this exception Rename CollectorConfigPropertyRetrival.java to CollectorConfigPropertyRetrieval Issue-ID: DCAEGEN2-1384 Change-Id: If38042bd192da2ca30b5d6eaf3288e4e83ef4682 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-27Consul update (via SDK library) to support periodic pollingaleemraja2-378/+336
Issue-ID: DCAEGEN2-1735 Change-Id: I0aeae0569aa94cec336688e1e70e1498a29473b4 Signed-off-by: aleemraja <ar00500721@techmahindra.com>
2019-05-06Fixing Sonar Blocker issueAR005007211-1/+2
Fixing Sonar blocker issue on class FetchDynamicConfig.java 1.FileWriter stream closing at Line157 2.Handling Null pointer Exception at Line179 Sonar Link:https://sonar.onap.org/project/issues?fileUuids=AWkprNOu4d1SZrzfYLdQ&id=org.onap.dcaegen2.services.mapper%3Amapper&open=AWomAhrY4d1SZrzfe8ua&resolved=false&severities=BLOCKER&types=BUG Issue-ID: DCAEGEN2-1477 Change-Id: Ie016d4811a0e98dc1100079990681b6c55545991 Signed-off-by: AR00500721 <AR00500721@techmahindra.com>
2019-04-19Fixing mapping file and formatting issuesPooja034-626/+584
Fixing mapping file issue by adding &amp; and formatting issues mention in comments of https://gerrit.onap.org/r/#/c/85334/ Change-Id: If474fda9205fc66dcc0f5caa77d7f35ba14328a0 Issue-ID: DCAEGEN2-1445 Signed-off-by: Pooja03 <pm00501616@techmahindra.com>
2019-04-15Cloudify blueprint for VES mapperPooja0315-2015/+2183
Adding Cloudify blueprint for VES mapper and some updates on code Change-Id: Idcbd9ec080717a80d04263a4baa6e4de9ce143c9 Issue-ID: DCAEGEN2-1176 Signed-off-by: Pooja03 <pm00501616@techmahindra.com>
2019-04-09Fix sonar issues in universalvesadapter/configsParshad Patel2-56/+35
Fix Constructor has 10 parameters, which is greater than 7 authorized. Fix Constructor has 14 parameters, which is greater than 7 authorized. Issue-ID: DCAEGEN2-1384 Change-Id: I33d32a9c85fa942b2e17a1dd3d4b45a2b0643cec Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-03-27Continue VES 5.4 support as well in VES MapperPooja0367-68/+21795
Adding Support for 5.4 ves version along with ves 7.0 Change-Id: I44b15ff5017a968b1df6b57be0a2af1759e740d4 Issue-ID: DCAEGEN2-1326 Signed-off-by: Pooja03 <pm00501616@techmahindra.com>
2019-03-22Resolving warning reported in build - VES MapperPooja03156-14202/+14350
Changes made to resolve warnings in the build. Change-Id: I03dee6780941881afc65c4b907ade078febb5e39 Issue-ID: DCAEGEN2-604 Signed-off-by: Pooja03 <pm00501616@techmahindra.com>
2019-03-15Merge "Increase test coverage for services/mapper"Vijay Venkatesh Kumar2-6/+90
2019-03-15Fixed License Issue in the Test CasesPooja0348-805/+942
Updated Test Cases by fixing License in proper Format. Issue-ID: DCAEGEN2-1265 Change-Id: Ie6540bcdf4adc5c7af4ae69c0ff4fd6e48231e98 Signed-off-by: Pooja03 <pm00501616@techmahindra.com>
2019-03-14Increase test coverage for services/mapperParshad Patel2-6/+90
Add JUnit test case in UniversalVesAdapter Issue-ID: DCAEGEN2-1331 Change-Id: I7b0e2bdb0a50801e5ebef3a10d816410ad4bdbd3 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-03-13Test coverage for Mapper MSPooja0350-351/+13158
Adding Some TestCases in Universal Adapter in Mapper to increase test coverage Change-Id: I71a3addea83ea71a9b4e89def9b1aa4d31c0a461 Issue-ID: DCAEGEN2-1265 Signed-off-by: Pooja03 <pm00501616@techmahindra.com>
2019-03-07Upgraded to Support VES 7.0Pooja03124-14919/+17372
Upgraded Universal VES Adapter to support VES Version 7.0 Issue-ID: DCAEGEN2-1005 Change-Id: Ib52f71957be8bb16ea84b19c9264d6fa042f2db0 Signed-off-by: Pooja03 <pm00501616@techmahindra.com>
2019-02-25starts threads each for every supported collectoramshegokar21-1002/+596
Make code changes so that mapper starts one thread each for every supported collector as per configuration Change-Id: I90d3b9d27d0d64107b1b33c6752dc2f0c49344de Issue-ID: DCAEGEN2-1174 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-11-29Logging Compliance as per ONAPPooja0320-290/+211
Logging compliance done as per ONAP Issue-ID: DCAEGEN2-997 Change-Id: Ida19d8ed69d4e662ae632bf4456348a229c7e2e5 Signed-off-by: Pooja03 <pm00501616@techmahindra.com>
2018-11-15Fix sonar issues in dcaegen2/services/mapperParshad Patel4-9/+19
Fix blocker and critical sonar issues Issue-ID: DCAEGEN2-938 Change-Id: I0e8220100c67abeed9fe8db1d220cc06081c60f5 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-11-08Fix sonar issue in dcaegen2/services/mapperParshad Patel1-92/+94
Fix use try-with-resources sonar issue and remove printStackTrace Issue-ID: DCAEGEN2-938 Change-Id: Ibbb6bb8bb9b099f33617368b3a4cbcf98032c983 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-10-26Fix sonar issue: try with resourcesArindam Mondal1-3/+1
Issue-ID: DCAEGEN2-818 Change-Id: I419e7db32e39dc4a52a3d33b074b0a289a66ab21 Signed-off-by: arindamm <arind.mondal@samsung.com>
2018-10-15Address critical vulnerability for Mapperamshegokar1-1/+1
added Recommended version and readme file correction Change-Id: I675637ef0d0b1515e0d7783abb94c120ffb029a2 Issue-ID: DCAEGEN2-871 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-10-10Readme file and Docker env changesamshegokar3-11/+11
added readme file and change 1 docker env and also added healthcheck endpoint Change-Id: I7f737c036f44d749d885cdb49fc63710ae0aefc7 Issue-ID: DCAEGEN2-335 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-09-26Config from Docker ENV parametersamshegokar15-260/+377
Taking Adapter Config from Docker ENV parameters if CONSUL_HOST flag is present Change-Id: Id097e433112fbdcc0d403ca3f87abee123e76693 Issue-ID: DCAEGEN2-335 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-09-20Fix try-with-resourcesArindam Mondal1-3/+2
Issue-ID: DCAEGEN2-818 Change-Id: I7d8afc8bb78c9534671602ed37db7f6d14f5de81 Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2018-09-11Security vulnerabilities identified in CLM scanamshegokar2-9/+38
Mapper: security vulnerabilities identified in CLM scan Change-Id: I2b977e99e4ad6d1aae24e0d441da6002c28ab0ac Issue-ID: DCAEGEN2-769 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-08-09Integratation of DMaaP, Mapping FilePooja0374-1807/+3596
DMaaP integratation, Mapping File, Initialization of Adapter Change-Id: I826aa2e64fa7c155f088a7519c24887ce88e2ec4 Issue-ID: DCAEGEN2-335 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-04-25Security issue and FileNotFound ExceptionPooja032-5/+5
Security issue to be addressed for fasterxml.jackson and FileNotFound Exception for MapperConfig.json Issue-ID: DCAEGEN2-467 Change-Id: Iba56ee61f9b8768a80ec88e423f7cb3e80961306 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-04-03Adding new Files in Universal Adapater in MapperPooja0311-0/+4887
Adding more TestCases in Universal Adapater in Mapper Issue-ID: DCAEGEN2-335 Change-Id: Id84e940a6e6065860cf3adb7c6452f7ac5245e9f Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-03-30Adding Some Files and TestCases in MapperPooja0358-31/+8781
Adding Some Files and TestCases in Universal Adapter in Mapper Issue-ID: DCAEGEN2-335 Change-Id: Iecb5500b1b856b9f1f8558334219adb59b293e10 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-03-28Added UniversalVesAdapter TestCases in the MapperPooja0317-39/+475
Adding remaining UniversalVesAdapter TestCases in Mapper Change-Id: Ic49bbbe2b4c4e242b1e91edfe565c7918e4b24e5 Issue-ID: DCAEGEN2-335 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-03-27Added UniversalVesAdapter TestCases in the MapperPooja0331-225/+1764
Adding UniversalVesAdapter TestCases in Mapper Change-Id: I68023d84ada0104ecf46a74e129e104a398543ea Issue-ID: DCAEGEN2-335 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-03-23Added UniversalVesAdapter in the MapperPooja0352-0/+3865
Adding full UniversalVesAdapter Module in Mapper Change-Id: I7edece763546b91700983554ffcf38f8ab945ae2 Issue-ID: DCAEGEN2-335 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>