summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-22Code Smells in emsdriver confajay priyadarshi8-70/+61
configmgr/ConfigurationManager.java file name:ConfigurationImp.java Change-Id: I03caeff75fb1d32086034545c20213f479772e0f Issue-ID: VFC-837 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-22Fix stream closed bug and improve test codeyangyan9-92/+143
Issue-ID: VFC-836 Change-Id: Ia3e4dac565b68205b4c59d6af01b217ff915f260 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
2018-03-21Add unit testyangyan7-22/+200
Issue-ID: VFC-836 Change-Id: I02e1c0aae643b16fdb88981d6973e72021e0125c Signed-off-by: yangyan <yangyanyj@chinamobile.com>
2018-03-21Merge "Code improvements in Common Utils"Yan Yang8-66/+43
2018-03-20Code improvements in Common Utilsajay priyadarshi8-66/+43
commons/utils/VarExprParser.java file name: StringUtil.java,DriverThread.java Change-Id: I53dfffa4584b0c99705645bdb2ec9cc3cbc59ecc Issue-ID: VFC-837 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-20Add unit testyangyan4-4/+57
Issue-ID: VFC-836 Change-Id: Ie893da7ce8c6c85459644b4e5251460e6439b420 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
2018-03-20sonar fix:Code smells in Date Utilsajay priyadarshi2-14/+19
commons/utils/DateUtil.java file name: DateUtil.java Change-Id: Iae0a465734bb52017ee97a0aab0b113a080825c1 Issue-ID: VFC-835 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-20sonar fix:Code smells in emsdriver modelajay priyadarshi8-28/+27
commons/model/EMSInfo.java file name: CollectVo.java,CrontabVo.java Change-Id: I975e5f14b487067c98c9984604ecc746d1208ca6 Issue-ID: VFC-834 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-20sonar fix:Code smells in emsdriver ftpajay priyadarshi1-4/+2
commons/ftp/FTPSrv.java file name: FTPSrv.java Change-Id: Ie1fdcaa994aead1e0cfcd1945f9ce54599da5315 Issue-ID: VFC-832 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-20sonar fix:Naming Convention Alarm Msgajay priyadarshi4-52/+52
collector/alarm/MessageUtil.java file name: Msg.java, MsgType.java Change-Id: I4dfb70ac7dc7ccd889c1784d7550b5f37369ff81 Issue-ID: VFC-830 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-20sonar fix:Exception handling in emsdriverajay priyadarshi2-5/+5
collector/TaskThread.java file name: MessageUtil.java Change-Id: I6f5700f731f62ef34fb33f9107564293a0e91d54 Issue-ID: VFC-829 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-19Improve emsdriver codeyangyan15-42/+77
Issue-ID: VFC-826 Change-Id: I9017cd912cd7869d3f6a3ea302e259aa17ed3ba6 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
2018-03-19sonar fix:Ems critical & blocker bug fixajay priyadarshi7-93/+29
TaskThread.java,FTPSrv.java,StringUtil.java file name: UnZip.java,ConfigurationManager.java ... Change-Id: I4cb12569434c77ff22ccc6d81b0451df0b7aab4d Issue-ID: VFC-825 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-19Merge "sonar fix:Collector Message & Alarm"Yan Yang4-70/+42
2018-03-16sonar fix:Collector Message & Alarmajay priyadarshi4-70/+42
collector/alarm/MsgType.java file name: HeartBeat.java,MsgType.java Change-Id: I6761e520337d58dcb98d378fbbedc8a96493bf0e Issue-ID: VFC-823 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-16Merge "liangxuning"Yan Yang1-12/+19
2018-03-16liangxuningliangxuning1-12/+19
Change-Id: I693ee8a9dd5b8bdd94b47a0eefbe59dd33e3e465 Issue-ID: VFC-742 Signed-off-by: liangxuning <liangxuning@boco.com.cn> modified: ems/boco/pom.xml
2018-03-15Upgrade to latest oparentGildas Lanilis1-1/+1
Update pom.xml file to latest version release of oparent, 1.1.0 Change-Id: I58eaa350228e532b164e819e949311d112d34ffc Issue-ID: INT-443 Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
2018-03-16Merge "sonar fix:Collector Alarm Tasks bugs"Yan Yang2-97/+98
2018-03-15sonar fix:Collector Alarm Tasks bugsajay priyadarshi2-97/+98
collector/alarm/AlarmManager.java file name: AlarmTaskThread.java Change-Id: I1c7717772920384e3b22bc7bef10d5436facd490 Issue-ID: VFC-822 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-15Merge "sonar fix:Collector Task services bugs"Yan Yang2-90/+50
2018-03-15sonar fix:Collector Task services bugsajay priyadarshi2-90/+50
collector/TaskThreadService.java file name: TaskThread.java Change-Id: Ic5bb7c2630dc5a0b1cde86e31712cd679e6dea1b Issue-ID: VFC-821 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-15Merge "sonar fix:NorthBound httpClient bugs"Yan Yang1-72/+28
2018-03-151liangxuning1-21/+15
Change-Id: I3dfe019e23571c1effe5b49a26d75be00e20111f Issue-ID: VFC-742 Signed-off-by: liangxuning <liangxuning@boco.com.cn> modified: ems/boco/pom.xml
2018-03-15sonar fix:NorthBound httpClient bugsajay priyadarshi1-72/+28
northbound/client/HttpClientUtil.java file name: HttpClientUtil.java Change-Id: Iaca35d938f4dbfda3cdd546b8f27fe23461d3f64 Issue-ID: VFC-820 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-12Merge "sonar fix: Multiple duplicate issues"Yan Yang8-12/+14
2018-03-12sonar fix: Multiple duplicate issuesajay priyadarshi8-12/+14
boco/src/main/java/org/onap/vfc/nfvo/emsdriver file name: TaskThread.java,TaskThreadService.java ... Change-Id: I2e0a0bca52874636f3a619c4cc78b08720e883fc Issue-ID: VFC-798 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-12liangxuningliangxuning1-5/+131
Change-Id: I8f183c86e030152b51f6668cf4e5cfff3db1ee85 Issue-ID: VFC-742 Signed-off-by: liangxuning <liangxuning@boco.com.cn> modified: ems/boco/pom.xml
2018-03-09liangxuningliangxuning1-3/+63
Change-Id: Icda6a27058ae82ac75447bc2fa10b25465c135d0 Issue-ID: VFC-742 Signed-off-by: liangxuning <liangxuning@boco.com.cn> modified: ems/boco/pom.xml
2018-03-08sonar fix:Bug fixing in TaskThreadajay priyadarshi1-169/+123
collector/TaskThread.java file name: TaskThread.java Change-Id: I134f3bd1af4504d992dd1babc9eaed54d3a932c4 Issue-ID: VFC-794 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-03-08sonar fix:Resources handling in Gunzipajay priyadarshi1-11/+4
emsdriver/commons/utils/Gunzip.java file name: Gunzip.java Change-Id: Ia3606507c284cb37417a5da68cc4e9947816b33c Issue-ID: VFC-772 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-02-26Merge "add the test to 50%"Yan Yang1-6/+13
2018-02-26add the test to 50%chanfansang1-6/+13
Change-Id: Ifaa8e61df04e9ca19975b1cd354412c979743e24 Issue-ID: VFC-742 Signed-off-by: chanfansang <x1280435692@163.com>
2018-02-23Variable updated in src and test filesajay priyadarshi2-12/+12
file name: CollectMsgReceiverThread.java, CollectMsgReceiverThreadTest.java Change-Id: Ic2b6679e254e469a3f25024a9b6b9bdeb6b19af8 Issue-ID: VFC-777 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-02-19sonar fix: resources handling in Gunzip.javaajay priyadarshi1-12/+10
emsdriver/commons/utils/Gunzip.java file name: Gunzip.java Change-Id: I6a1e41bd2bee91bf87b06691f05f7cbc50b67973 Issue-ID: VFC-772 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-02-19sonar fix: resources handling in Zip.javaajay priyadarshi1-9/+15
emsdriver/commons/utils/Zip.java file name: Zip.java Change-Id: Iccd2ea69581b519b18016ed761ffb4811d9fe19e Issue-ID: VFC-771 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-02-19sonar: Exception handling in ConfigurationManagerajay priyadarshi1-1/+2
emsdriver/configmgr/ConfigurationManager.java file name: ConfigurationManager.java Change-Id: I47e4426c250c83e77c1dc7ae4b49b5b45ff73878 Issue-ID: VFC-770 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-02-19sonar fix: Exception handling in NorthMessageMgrajay priyadarshi1-7/+9
5 sonar issues have been handled file name: NorthMessageMgr.java Change-Id: I11dddc33a0fbde4bf9e6efe6ae79d586dc67c8cb Issue-ID: VFC-769 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-02-19sonar fix: Exception handling in FTPInterface.javaajay priyadarshi2-2/+2
emsdriver/commons/ftp/FTPInterface.java file name: FTPInterface.java Change-Id: I11acabbab327387b207d57f5d4058ff66321ea0f Issue-ID: VFC-768 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-02-19Exception handlingajay priyadarshi1-2/+3
emsdriver/commons/ftp/FTPSrv.java file name: FTPSrv.java Change-Id: I976357082528cf52c27b55111d46f56074db8a07 Issue-ID: VFC-767 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-02-19Exception handlingajay priyadarshi1-1/+2
emsdriver/commons/utils/DriverThread.java file name: DriverThread.java Change-Id: Iec2747e48c75b4c03b17449b163c19771d158b52 Issue-ID: VFC-766 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-02-15variables made static final.ajay priyadarshi2-3/+3
emsdriver/collector/alarm/MessageUtil.java file name: MessageUtil.java Change-Id: I6003cd55f871c33d432135ac42f6447cac87566d Issue-ID: VFC-763 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-02-15variable assignment modified.ajay priyadarshi1-1/+2
emsdriver/commons/utils/UnZip.java file name: UnZip.java Change-Id: I7052a33b498e51216667f820123fb173582b506e Issue-ID: VFC-761 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-02-15Specified the throwable exception.ajay priyadarshi1-2/+3
emsdriver/northbound/client/HttpClientFactory.java file name: HttpClientFactory.java Change-Id: I0446258abc20e630c820cc7a9117076ae9dd26da Issue-ID: VFC-760 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
2018-02-13Merge "add some junittest"Yan Yang18-7/+706
2018-02-11add some junittestchanfansang18-7/+706
Change-Id: I365e32a019c892610db538abfb0ee15dd3370c98 Issue-ID: VFC-742 Signed-off-by: chanfansang <x1280435692@163.com>
2018-02-08close inputFileStreamSantosh Yadav1-21/+3
used try catch resource line no:367 Change-Id: I6c064ff34cba3a59a2924d25fa9ad58d97927a24 Issue-ID: VFC-698 Signed-off-by: Santosh Yadav <santosh.k.yadav@ril.com>
2018-02-08sonar bug: condition always trueSantosh Yadav1-1/+1
removed the condition, it will always be true. line no: 57 Change-Id: I1cf07fe959dc66d70af64548004c0f431cbbdf46 Issue-ID: VFC-695 Signed-off-by: Santosh Yadav <santosh.k.yadav@ril.com>
2018-02-08sonar bug: check actual bytes skippedSantosh Yadav1-65/+60
checked no of byted skipped in skipped var line no: 65 Issue-ID: VFC-697 Change-Id: I65cf97067a715cd014fb04cbd163bf62f091b69c Signed-off-by: Santosh Yadav <santosh.k.yadav@ril.com>
2018-02-08sonar bug : exception unhandeledSantosh Yadav1-1004/+987
changed generic exception to dedicated exception line no:735 Change-Id: I4068cfb24081dce474dd69d826d0f2d5928c0f32 Issue-ID: VFC-713 Signed-off-by: Santosh Yadav <santosh.k.yadav@ril.com>