dcaegen2/collectors/datafile.git
6 years agouse sdk-cbs 35/75435/1
micdzied [Tue, 8 Jan 2019 08:38:12 +0000 (09:38 +0100)]
use sdk-cbs

Change-Id: I615d57927c163d022683ad3cae2703adda48cf88
Issue-ID: DCAEGEN2-1064
Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
6 years agoMerge "Add missing INFO.yaml"
Vijay Venkatesh Kumar [Mon, 10 Dec 2018 01:39:27 +0000 (01:39 +0000)]
Merge "Add missing INFO.yaml"

6 years agoMerge "Version update 1.1.1"
Vijay Venkatesh Kumar [Mon, 10 Dec 2018 01:39:03 +0000 (01:39 +0000)]
Merge "Version update 1.1.1"

6 years agoMerge "Make DFC handle multiple messages from MR"
Vijay Venkatesh Kumar [Mon, 10 Dec 2018 01:38:41 +0000 (01:38 +0000)]
Merge "Make DFC handle multiple messages from MR"

6 years agoAdd missing INFO.yaml 69/74369/1
Jessica Wagantall [Thu, 6 Dec 2018 23:23:13 +0000 (15:23 -0800)]
Add missing INFO.yaml

Change-Id: I75e1e5cb4f84f86f2aada99268e68573b382b259
Issue-ID: CIMAN-33
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoVersion update 1.1.1 41/74141/1
maximesson [Mon, 3 Dec 2018 15:03:45 +0000 (16:03 +0100)]
Version update 1.1.1

Change-Id: I6bef1a99747ab2127808bd2ac65372f7537a1441
Issue-ID: DCAEGEN2-1001
Signed-off-by: maximesson <maxime.bonneau@est.tech>
6 years agofix bugs in jira DCAEGEN2-940 and DCAEGEN2-941 29/73429/6
Chengkai Yan [Fri, 23 Nov 2018 15:23:56 +0000 (16:23 +0100)]
fix bugs in jira DCAEGEN2-940 and DCAEGEN2-941

Change-Id: Id0b3e295cab0e085746b034caccbf82aca2e0d7b
Signed-off-by: Chengkai Yan <martin.c.yan@est.tech>
Issue-ID: DCAEGEN2-940
Issue-ID: DCAEGEN2-941

6 years agoMake DFC handle multiple messages from MR 36/74136/1
elinuxhenrik [Fri, 30 Nov 2018 09:06:54 +0000 (10:06 +0100)]
Make DFC handle multiple messages from MR

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>
6 years agoFix sonar issues 92/73792/1
elinuxhenrik [Tue, 27 Nov 2018 08:01:19 +0000 (09:01 +0100)]
Fix sonar issues

Change-Id: I4aff14b6afc5faaf95f28286dc6f2f741191e403
Issue-ID: DCAEGEN2-991
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoUpdate meta-data 66/71866/10
Chengkai Yan [Mon, 5 Nov 2018 16:02:36 +0000 (17:02 +0100)]
Update meta-data

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

6 years agoClean up for Sonar 07/70807/6
elinuxhenrik [Fri, 19 Oct 2018 11:04:36 +0000 (13:04 +0200)]
Clean up for Sonar

Change-Id: I5daa606cd974e43c899b7e35b14d268a255c7102
Issue-ID: DCAEGEN2-835
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoMerge "Add test for redirect"
Vijay Venkatesh Kumar [Thu, 15 Nov 2018 04:04:47 +0000 (04:04 +0000)]
Merge "Add test for redirect"

6 years agoMerge "add test"
Vijay Venkatesh Kumar [Thu, 15 Nov 2018 04:04:39 +0000 (04:04 +0000)]
Merge "add test"

6 years agoMerge "Add test for FtpsClient, Improve code coverage."
Vijay Venkatesh Kumar [Thu, 15 Nov 2018 03:56:50 +0000 (03:56 +0000)]
Merge "Add test for FtpsClient, Improve code coverage."

6 years agoMerge "Add code to validate changeType & changeIdentifier"
Vijay Venkatesh Kumar [Thu, 15 Nov 2018 03:51:54 +0000 (03:51 +0000)]
Merge "Add code to validate changeType & changeIdentifier"

6 years agoUpdate version for DFC 1.1.0 28/72128/2
Chengkai Yan [Wed, 7 Nov 2018 22:22:59 +0000 (23:22 +0100)]
Update version for DFC  1.1.0

Change-Id: I48c0e16c38fef06c0c6455238ba891d84d7efa4c
Signed-off-by: Chengkai Yan <martin.c.yan@est.tech>
Issue-ID: DCAEGEN2-964

6 years agoAdd cloud config of mutual authentication 16/71916/3 1.0.4 3.0.0-ONAP
elinuxhenrik [Tue, 6 Nov 2018 08:14:45 +0000 (09:14 +0100)]
Add cloud config of mutual authentication

Change-Id: I8e51c07f750192e1aa03f13c98d3a3a8f0db0f3c
Issue-ID: DCAEGEN2-946
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoAdd test for FtpsClient, Improve code coverage. 90/71390/4
Chengkai Yan [Mon, 29 Oct 2018 11:57:47 +0000 (12:57 +0100)]
Add test for FtpsClient, Improve code coverage.

Fix a security vulnerability risk

Change-Id: I71560dfd9977a7e96ac4441e468602b616c7e7a6
Issue-ID: DCAEGEN2-889
Signed-off-by: Chengkai Yan <martin.c.yan@est.tech>
6 years agoAdd code to validate changeType & changeIdentifier 85/71385/5
Chengkai Yan [Mon, 29 Oct 2018 10:04:12 +0000 (11:04 +0100)]
Add code to validate changeType & changeIdentifier

Change-Id: Ib6731a7529ebb06588e17f91a986764f042b26b7
Signed-off-by: Chengkai Yan <martin.c.yan@est.tech>
Issue-ID: DCAEGEN2-923

6 years agoAdd test for redirect 41/71141/1
elinuxhenrik [Wed, 24 Oct 2018 12:02:10 +0000 (14:02 +0200)]
Add test for redirect

Change-Id: Ic8cc9c6ba63267498c24ba05267301a6b499c9dc
Issue-ID: DCAEGEN2-835
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoadd test 53/71053/3
micdzied [Tue, 23 Oct 2018 12:58:43 +0000 (14:58 +0200)]
add test

Change-Id: I696421423fe0b6d9634bb2ef90829b53ac64a7b0
Issue-ID: DCAEGEN2-889
Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
6 years agoMerge "Fixing Sonar issues & Test classes added" 1.0.3
Vijay Venkatesh Kumar [Fri, 19 Oct 2018 02:08:41 +0000 (02:08 +0000)]
Merge "Fixing Sonar issues & Test classes added"

6 years agoFixing Sonar issues & Test classes added 67/70567/2
pwielebs [Tue, 16 Oct 2018 13:17:51 +0000 (15:17 +0200)]
Fixing Sonar issues & Test classes added

Change-Id: I88ace2333d9f52fcd81eb4d1b883a04dd329c4cc
Issue-ID: DCAEGEN2-835
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoMerge "Address critical vulnerability for DFC"
Vijay Venkatesh Kumar [Tue, 16 Oct 2018 21:11:53 +0000 (21:11 +0000)]
Merge "Address critical vulnerability for DFC"

6 years agoAddress critical vulnerability for DFC 34/70534/3
elinuxhenrik [Tue, 16 Oct 2018 07:20:31 +0000 (09:20 +0200)]
Address critical vulnerability for DFC

Change-Id: I243567c62e25b5e5e99b570fc798c8477a16ee09
Issue-ID: DCAEGEN2-869
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoImprove setKeyManager & setTrustManager 71/70471/5
Chengkai Yan [Mon, 15 Oct 2018 11:55:55 +0000 (13:55 +0200)]
Improve setKeyManager & setTrustManager

Change-Id: I14b1bd6872e40496ce233ec4974ad9e5fd92d949
Signed-off-by: Chengkai Yan <martin.c.yan@est.tech>
Issue-ID: DCAEGEN2-867

6 years agoFix retry when file download fails 72/70072/2 1.0.2
elinuxhenrik [Tue, 9 Oct 2018 14:28:29 +0000 (16:28 +0200)]
Fix retry when file download fails

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>
6 years agoFix mutual authentication 10/69910/11
Vijay Venkatesh Kumar [Fri, 5 Oct 2018 12:14:00 +0000 (14:14 +0200)]
Fix mutual authentication

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>
6 years agoMerge "Fixing the build for master"
Vijay Venkatesh Kumar [Wed, 3 Oct 2018 14:09:33 +0000 (14:09 +0000)]
Merge "Fixing the build for master"

6 years agoMerge "Fix bug in DataRouter file body"
Vijay Venkatesh Kumar [Wed, 3 Oct 2018 14:09:07 +0000 (14:09 +0000)]
Merge "Fix bug in DataRouter file body"

6 years agoFixing the build for master 32/69732/1
Paul Dennehy [Wed, 3 Oct 2018 10:37:27 +0000 (11:37 +0100)]
Fixing the build for master

Change-Id: I056d935f9185d2509f80d0746ab56847d641c710
Signed-off-by: Paul Dennehy <paul.p.dennehy@ericsson.com>
Issue-ID: DCAEGEN2-846

6 years agoFix bug in DataRouter file body 76/69676/2
elinuxhenrik [Tue, 2 Oct 2018 15:31:50 +0000 (17:31 +0200)]
Fix bug in DataRouter file body

Change-Id: Ia3f868c272ebc426b6a694074dbd2a4a2cb7ae32
Issue-ID: DCAEGEN2-850
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoFixing the yaml for docker-compose 93/69693/2
Paul Dennehy [Tue, 2 Oct 2018 21:44:55 +0000 (22:44 +0100)]
Fixing the yaml for docker-compose

Change-Id: I626284db05af061935da8238306d412911ebd7c2
Signed-off-by: Paul Dennehy <paul.p.dennehy@ericsson.com>
Issue-ID: DCAEGEN2-846

6 years agoHandle redirect from DataRouter properly 89/69589/5
elinuxhenrik [Mon, 1 Oct 2018 14:51:05 +0000 (16:51 +0200)]
Handle redirect from DataRouter properly

Change-Id: I1eae8b45a2437b97bccedcb0f5cc02ac29f5044f
Issue-ID: DCAEGEN2-850
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoMerge "Docker-compose for DFC"
Vijay Venkatesh Kumar [Mon, 1 Oct 2018 13:34:53 +0000 (13:34 +0000)]
Merge "Docker-compose for DFC"

6 years agoDocker-compose for DFC 67/68667/9
Marcin Migdal [Mon, 24 Sep 2018 13:30:27 +0000 (15:30 +0200)]
Docker-compose for DFC

Change-Id: I2d680ebc6b9841fc929ce9d7e19f38d6cb856bda
Issue-ID: DCAEGEN2-833
Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
6 years agoFixing Sonar issues 63/68863/2
pwielebs [Tue, 25 Sep 2018 13:16:23 +0000 (15:16 +0200)]
Fixing Sonar issues

Change-Id: I67360cd501630adad8166c9278e9955c6be7758f
Issue-ID: DCAEGEN2-835
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoFix delivery to DataRouter 23/69123/5
elinuxhenrik [Wed, 26 Sep 2018 14:03:45 +0000 (16:03 +0200)]
Fix delivery to DataRouter

The messages to the DataRouter was not actually sent.

Change-Id: I5748ee0cc19a5049ca4d965caefb5cdf2204419f
Issue-ID: DCAEGEN2-841
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoMerge "Add Http configuration"
Vijay Venkatesh Kumar [Mon, 24 Sep 2018 14:49:24 +0000 (14:49 +0000)]
Merge "Add Http configuration"

6 years agoMerge "Use correct Content Type from DMaaP"
Vijay Venkatesh Kumar [Mon, 24 Sep 2018 14:48:30 +0000 (14:48 +0000)]
Merge "Use correct Content Type from DMaaP"

6 years agoAdd Http configuration 47/68447/1
elinuxhenrik [Thu, 20 Sep 2018 12:33:14 +0000 (14:33 +0200)]
Add Http configuration

Add Http configuration needed for setting up the Rest server.

Change-Id: Id66cd9700e5f0a849a70cb9a91f36385194e8144
Issue-ID: DCAEGEN2-826
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoUse correct Content Type from DMaaP 41/68441/2
elinuxhenrik [Wed, 19 Sep 2018 06:49:28 +0000 (08:49 +0200)]
Use correct Content Type from DMaaP

Add the Content Type to the header the DMaaP consumer uses to get the fileReady event from DMAaaP to prevent formatting problems.

Change-Id: Iedf38b7542e5709a78f383d31c75e7b95aa56cfe
Issue-ID: DCAEGEN2-825
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoCorrect URL for DataRouter publication 35/68435/1
elinuxhenrik [Thu, 20 Sep 2018 11:27:02 +0000 (13:27 +0200)]
Correct URL for DataRouter publication

Make the URL for the DataRouter publication follow the format:

https://dmaap-dr-prov:8443/publish/1/<unique identifier>

As unique identifier the file name will be used to start with.

Change-Id: I8060b8d25484201441654d88a1788d538ad3e002
Issue-ID: DCAEGEN2-824
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoLoading configuration from consul/cbs 81/67681/6
wasala [Wed, 19 Sep 2018 10:55:18 +0000 (12:55 +0200)]
Loading configuration from consul/cbs

*Registered task which calling cbs/consul
for configuration - fixedRate 5 minutes
*Added workflow for loading config from cloud

Change-Id: Iba36d18b4ee0dca082612fa4c92c877f71c9b1fe
Issue-ID: DCAEGEN2-784
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoMerge "Fix Sonar build problems"
Vijay Venkatesh Kumar [Wed, 19 Sep 2018 14:19:05 +0000 (14:19 +0000)]
Merge "Fix Sonar build problems"

6 years agoMerge "Adapt to new VES specification for notifications"
Vijay Venkatesh Kumar [Wed, 19 Sep 2018 13:48:47 +0000 (13:48 +0000)]
Merge "Adapt to new VES specification for notifications"

6 years agoFix Sonar build problems 45/67345/2
elinuxhenrik [Tue, 18 Sep 2018 12:39:34 +0000 (14:39 +0200)]
Fix Sonar build problems

Change-Id: I92896b289e3a3cd0387b4b864dceacdf5c8c0403
Issue-ID: DCAEGEN2-792
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoAdapt to new VES specification for notifications 69/67269/2
elinuxhenrik [Tue, 18 Sep 2018 11:18:03 +0000 (13:18 +0200)]
Adapt to new VES specification for notifications

Change-Id: I0ba8e67714679dc02fb08ce94787b1f98034a6c4
Issue-ID: DCAEGEN2-782
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoSecurity vulnerabilities corrections 83/67283/1
wasala [Tue, 18 Sep 2018 12:17:19 +0000 (14:17 +0200)]
Security vulnerabilities corrections

*Improved imported libraries
*Fixed imported libraries in connection
of risk security

Change-Id: I28e6b22f8088f70cae431e6e99936cdb67e4cc0d
Issue-ID: DCAEGEN2-764
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoDeliver first version of Datafile 09/62009/8
elinuxhenrik [Fri, 14 Sep 2018 13:49:10 +0000 (15:49 +0200)]
Deliver first version of Datafile

Change-Id: Iadd1455d7fe45b4c022dd7fde2f8a506d1b7cd57
Issue-ID: DCAEGEN2-640
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
6 years agoUse managed guava version 71/62571/2
Gary Wu [Fri, 24 Aug 2018 22:20:31 +0000 (15:20 -0700)]
Use managed guava version

Use centrally managed guava version specified in
oparent.  Includes upgrade to oparent 1.2.0.

This change was submitted by script and may include
additional whitespace or formatting changes.

Change-Id: I7f31e35cf9c332d5fe02919e9cb9ad14ffc94294
Issue-ID: INT-619
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoAdd seed code. 79/61079/5
elinuxhenrik [Fri, 17 Aug 2018 10:34:58 +0000 (12:34 +0200)]
Add seed code.

First version based on PRH micro service.

Change-Id: Iea1673a8a1961006b1ea98ef245e213e3652eb82
Issue-ID: DCAEGEN2-638
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
7 years agoInitial empty repository
Jessica Wagantall [Wed, 11 Jul 2018 18:39:41 +0000 (18:39 +0000)]
Initial empty repository