summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-27Purging of cached informationPatrikBuhr5-25/+157
The datafile collector has a cache will all previously published files. The cache is on regular intevals purged so that non used entries are removed so that it does not grow infinitely. Added a unit test. Change-Id: I8897fee4522c97031f735b1d6774803dcb73926b Issue-ID: DCAEGEN2-1118 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2019-02-27Merge "Fixed some sonar issues"Tony Hansen17-435/+109
2019-02-22Fixed some sonar issuesPatrikBuhr17-435/+109
Changed some Flux to Mono. Removed some obfuscating wrappers. Issue-ID: DCAEGEN2-1118 Change-Id: I76dcaea7c69608cf404389fad93f7539f735aad2 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2019-02-22Run DFC docker container as a non-root userRehanRaza3-27/+54
Change-Id: I82504ebebc8ddf48f6ee6b1c1dfbe433c60ab1aa Issue-ID: DCAEGEN2-1269 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-02-19Refactor: fix over engineering in ConfigurationYongchaoWu10-433/+153
Remove the duplicated function, move the over engineering code. Make the code simple and understandable. Issue-ID: DCAEGEN2-1222 Change-Id: Iab1737c084421d038b724d2fb41c9d17ebe4dbeb Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
2019-02-15Merge "Fix security vulnerabilities"Vijay Venkatesh Kumar1-1/+1
2019-02-15Merge "Add Readme.md"Tony Hansen3-16/+84
2019-02-15Running of file collection in paralellPatrikBuhr61-1619/+1419
Each FileReady message is run in a separate thread to increase the thoughput. Fetching of files from PNFs is retryed by using the reactive framework. Robustness to temporary failures is increased by retrying to publish fetched files. Fixed so that well known ports (FTPS/SFTP) are used if omitted in the FileReady message URL. Change-Id: I5dfc75a08da0e870fafa3ee1bc83574aca16aabd Issue-ID: DCAEGEN2-1118 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2019-02-13Fix security vulnerabilitieselinuxhenrik1-3/+3
Change-Id: I1ffb840a18b0c75cffe21229db743f6570073148 Issue-ID: DCAEGEN2-1210 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2019-02-13Add Readme.mdyanhuanwang3-16/+84
Format code Change-Id: Iba56718868043d3b19c71892f363fbb838f4988a Signed-off-by: Chengkai Yan <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1039
2019-02-12Merge "Change ATT Meta Header for generic alternative"Vijay Venkatesh Kumar2-4/+4
2019-01-31Change ATT Meta Header for generic alternativeegernug2-4/+4
Change-Id: Ie4ba3d8afebf7cda3dc0a841c5c5fa5d4cd95046 Issue-ID: DMAAP-999 Signed-off-by: egernug <gerard.nugent@est.tech>
2019-01-30Fix for integration with SDKpwielebs7-9/+9
Change-Id: I9947531e2cad813ac8936769147bee710db5a335 Issue-ID: DCAEGEN2-1096 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2019-01-25Integration with SDKpwielebs33-630/+307
* New fields added to DmaapPublisherConfiguraion * New fields added to DmaapConsumerConfiguration * Dmaap Consumer web client replaced by SDK's consumer web client * UTs aligned * Disable enforcer plugin in DFC * Update oparent to 1.2.1 Change-Id: I3569180c15227bc2c8df74fd070571b0aa56fa04 Issue-ID: DCAEGEN2-1096 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2019-01-08use sdk-cbsmicdzied10-412/+21
Change-Id: I615d57927c163d022683ad3cae2703adda48cf88 Issue-ID: DCAEGEN2-1064 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-12-10Merge "Add missing INFO.yaml"Vijay Venkatesh Kumar1-0/+90
2018-12-10Merge "Version update 1.1.1"Vijay Venkatesh Kumar5-5/+5
2018-12-10Merge "Make DFC handle multiple messages from MR"Vijay Venkatesh Kumar2-42/+154
2018-12-06Add missing INFO.yamlJessica Wagantall1-0/+90
Change-Id: I75e1e5cb4f84f86f2aada99268e68573b382b259 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-12-03Version update 1.1.1maximesson5-5/+5
Change-Id: I6bef1a99747ab2127808bd2ac65372f7537a1441 Issue-ID: DCAEGEN2-1001 Signed-off-by: maximesson <maxime.bonneau@est.tech>
2018-12-03fix bugs in jira DCAEGEN2-940 and DCAEGEN2-941Chengkai Yan17-372/+330
Change-Id: Id0b3e295cab0e085746b034caccbf82aca2e0d7b Signed-off-by: Chengkai Yan <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-940 Issue-ID: DCAEGEN2-941
2018-12-03Make DFC handle multiple messages from MRelinuxhenrik2-42/+154
DMaaP MessageRouter might send multiple messages in the same respons when DFC polls. This was not handled by DFC. Change-Id: I78c2fc7f4512a07fadf61c2cf1f6399d466fc873 Issue-ID: DCAEGEN2-1001 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2018-11-28Fix sonar issueselinuxhenrik8-206/+250
Change-Id: I4aff14b6afc5faaf95f28286dc6f2f741191e403 Issue-ID: DCAEGEN2-991 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2018-11-16Update meta-dataChengkai Yan13-211/+738
Add commonEventHeader to X-ATT-DR-META Format code with formatter:off/on Change-Id: I490620af127a03face48bf7b2ad3abf0bb80d4fa Signed-off-by: Chengkai Yan <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-935
2018-11-15Clean up for Sonarelinuxhenrik30-541/+183
Change-Id: I5daa606cd974e43c899b7e35b14d268a255c7102 Issue-ID: DCAEGEN2-835 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2018-11-15Merge "Add test for redirect"Vijay Venkatesh Kumar1-0/+33
2018-11-15Merge "add test"Vijay Venkatesh Kumar3-0/+125
2018-11-15Merge "Add test for FtpsClient, Improve code coverage."Vijay Venkatesh Kumar4-3/+82
2018-11-15Merge "Add code to validate changeType & changeIdentifier"Vijay Venkatesh Kumar2-29/+92
2018-11-08Update version for DFC 1.1.0Chengkai Yan5-6/+6
Change-Id: I48c0e16c38fef06c0c6455238ba891d84d7efa4c Signed-off-by: Chengkai Yan <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-964
2018-11-06Add cloud config of mutual authentication3.0.0-ONAP1.0.4elinuxhenrik7-23/+32
Change-Id: I8e51c07f750192e1aa03f13c98d3a3a8f0db0f3c Issue-ID: DCAEGEN2-946 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2018-11-01Add test for FtpsClient, Improve code coverage.Chengkai Yan4-3/+82
Fix a security vulnerability risk Change-Id: I71560dfd9977a7e96ac4441e468602b616c7e7a6 Issue-ID: DCAEGEN2-889 Signed-off-by: Chengkai Yan <martin.c.yan@est.tech>
2018-10-30Add code to validate changeType & changeIdentifierChengkai Yan2-29/+92
Change-Id: Ib6731a7529ebb06588e17f91a986764f042b26b7 Signed-off-by: Chengkai Yan <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-923
2018-10-24Add test for redirectelinuxhenrik1-0/+33
Change-Id: Ic8cc9c6ba63267498c24ba05267301a6b499c9dc Issue-ID: DCAEGEN2-835 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2018-10-24add testmicdzied3-0/+125
Change-Id: I696421423fe0b6d9634bb2ef90829b53ac64a7b0 Issue-ID: DCAEGEN2-889 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-10-19Merge "Fixing Sonar issues & Test classes added"1.0.3Vijay Venkatesh Kumar7-0/+135
2018-10-18Fixing Sonar issues & Test classes addedpwielebs7-0/+135
Change-Id: I88ace2333d9f52fcd81eb4d1b883a04dd329c4cc Issue-ID: DCAEGEN2-835 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-10-16Merge "Address critical vulnerability for DFC"Vijay Venkatesh Kumar1-2/+2
2018-10-16Address critical vulnerability for DFCelinuxhenrik5-7/+7
Change-Id: I243567c62e25b5e5e99b570fc798c8477a16ee09 Issue-ID: DCAEGEN2-869 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2018-10-15Improve setKeyManager & setTrustManagerChengkai Yan13-23/+60
Change-Id: I14b1bd6872e40496ce233ec4974ad9e5fd92d949 Signed-off-by: Chengkai Yan <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-867
2018-10-09Fix retry when file download fails1.0.2elinuxhenrik16-91/+368
When the Datafile collector is unable to download the file from an xNF it now retries to collect the file. Change-Id: I61f68f9cf7af1a7fab160b0e936daafd1a23aaf8 Issue-ID: DCAEGEN2-864 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2018-10-03Fix mutual authenticationVijay Venkatesh Kumar55-373/+1776
Last version from demo. Change-Id: Ib41581bf6f9eb92a03edf8434261d3674b6e3e39 Issue-ID: DCAEGEN2-860 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech> Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2018-10-03Merge "Fixing the build for master"Vijay Venkatesh Kumar3-16/+0
2018-10-03Merge "Fix bug in DataRouter file body"Vijay Venkatesh Kumar2-10/+38
2018-10-03Fixing the build for masterPaul Dennehy3-16/+0
Change-Id: I056d935f9185d2509f80d0746ab56847d641c710 Signed-off-by: Paul Dennehy <paul.p.dennehy@ericsson.com> Issue-ID: DCAEGEN2-846
2018-10-03Fix bug in DataRouter file bodyelinuxhenrik2-10/+38
Change-Id: Ia3f868c272ebc426b6a694074dbd2a4a2cb7ae32 Issue-ID: DCAEGEN2-850 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2018-10-02Fixing the yaml for docker-composePaul Dennehy1-2/+2
Change-Id: I626284db05af061935da8238306d412911ebd7c2 Signed-off-by: Paul Dennehy <paul.p.dennehy@ericsson.com> Issue-ID: DCAEGEN2-846
2018-10-02Handle redirect from DataRouter properlyelinuxhenrik17-140/+442
Change-Id: I1eae8b45a2437b97bccedcb0f5cc02ac29f5044f Issue-ID: DCAEGEN2-850 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2018-10-01Merge "Docker-compose for DFC"Vijay Venkatesh Kumar3-0/+49
2018-10-01Docker-compose for DFCMarcin Migdal3-0/+49
Change-Id: I2d680ebc6b9841fc929ce9d7e19f38d6cb856bda Issue-ID: DCAEGEN2-833 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>