Remigiusz Janeczek [Thu, 23 Jul 2020 11:00:25 +0000 (13:00 +0200)]
Add log when file is skipped because it was already published
Issue-ID: DCAEGEN2-2366
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: I913b887833e412dd9c0093936a9231d37f63e7d1
JoeOLeary [Fri, 6 Mar 2020 11:52:44 +0000 (11:52 +0000)]
Release Datafile 1.3.0
Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
Issue-ID: DCAEGEN2-2127
Change-Id: I2f176ee2fe8e25a9c93dfe32bb36615b076d78ec
Hansen, Tony (th1395) [Tue, 11 Feb 2020 22:05:48 +0000 (22:05 +0000)]
fix sonarcloud issues
Change-Id: I91ca1c35aac746a176c9ab3aab520728edc01bb7
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2065
JoeOLeary [Tue, 3 Dec 2019 21:05:01 +0000 (21:05 +0000)]
Update DCAE Committer in INFO.yaml
Issue-ID: DCAEGEN2-1891
Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
Change-Id: Iaf1391e62f3c56f6a401d4ec8217bd63bc8f9cc8
Tony Hansen [Tue, 12 Nov 2019 04:07:18 +0000 (04:07 +0000)]
Merge "DataFileCollector use wrong KeyManagerFactory"
Vijay Venkatesh Kumar [Wed, 23 Oct 2019 14:01:27 +0000 (14:01 +0000)]
Revert "Fix security vulnerabilities"
This reverts commit
23b56c6b8fc256e5a070cfefe31c90b1fbe46bce.
Issue-ID: DCAEGEN2-1810
Change-Id: I5d883b17ea7e4de0570a10a5a20971f3a221cb88
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
burdziak [Wed, 16 Oct 2019 13:21:59 +0000 (15:21 +0200)]
DataFileCollector use wrong KeyManagerFactory
Issue-ID: DCAEGEN2-1854
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
Change-Id: I71c7526097014e10d0ef091e38a929b81ba1f627
elinuxhenrik [Wed, 9 Oct 2019 14:08:34 +0000 (16:08 +0200)]
Fix security vulnerabilities
Change-Id: Ie9c575a6fe0b8b9eca62a2fdccd49e056b4353b1
Issue-ID: DCAEGEN2-1810
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
JoeOLeary [Wed, 2 Oct 2019 14:45:27 +0000 (15:45 +0100)]
Update blueprint
* Make topic name, consumer group and consumer id configurable
* Add use existing to DR feed
Issue-ID: DCAEGEN2-1793
Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
Change-Id: I454acf3390c112be16c1604d8d62098b7f3c45e6
burdziak [Mon, 16 Sep 2019 10:56:44 +0000 (12:56 +0200)]
Personalized client certificate authentication via FTPes in 5G Bulk PM usecase doesn't work
Issue-ID: DCAEGEN2-1754
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
Change-Id: Idec3efce8412dd175ecf75f55790a24cec651104
ecaiyanlinux [Thu, 12 Sep 2019 12:23:43 +0000 (14:23 +0200)]
Update keyPasswordPath
Change-Id: I126c018444d235a1972b4b9cecc93dfd2f5cb4c1
Signed-off-by: Martin Yan <martin.c.yan@est.tech>
Issue-ID: DCAEGEN2-1702
JoeOLeary [Thu, 12 Sep 2019 07:28:22 +0000 (08:28 +0100)]
Update Cloudify types file version
Issue-ID: DCAEGEN2-1686
Change-Id: Id7f5bd56bb8e0f80e8006d84b03ce7323e509a87
Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
ecaiyanlinux [Tue, 10 Sep 2019 13:14:09 +0000 (15:14 +0200)]
update Dockerfile & copyrigt statement
Issue-ID: DCAEGEN2-1702
Change-Id: If990e180b96f943dd7381a758c11d10e4733706c
Signed-off-by: Martin Yan <martin.c.yan@est.tech>
ecaiyanlinux [Fri, 6 Sep 2019 15:24:59 +0000 (15:24 +0000)]
TLS init container usage
Change-Id: Iec51c722f6a3a519fd7eb0f37f8b801eebbc039b
Issue-ID: DCAEGEN2-1702
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
RehanRaza [Mon, 26 Aug 2019 09:15:24 +0000 (09:15 +0000)]
Align spec and blueprint with bp-generator tool
Change-Id: Ifbafe8be8bcb34417873af3e6bb1c7323f891fe0
Issue-ID: DCAEGEN2-1580
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
Tony Hansen [Wed, 14 Aug 2019 18:23:10 +0000 (18:23 +0000)]
Merge "change mr default port to https:3905"
PatrikBuhr [Mon, 12 Aug 2019 12:28:01 +0000 (12:28 +0000)]
DFC Housekeeping
Removed warnings.
Improved code formatting
Removed unused files
Removed datafile_endpoints.json from the container
Change-Id: I7334775be793cd9cb709ca1e031c620c2c1c2b3f
Issue-ID: DCAEGEN2-1645
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Vijay Venkatesh Kumar [Sat, 3 Aug 2019 14:54:30 +0000 (14:54 +0000)]
dcae-ED rls 1.2.2 dfc
Change-Id: I3fc37cba2b3fcb11a23ca3a9e598241eb0b9e59f
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1669
Vijay Venkatesh Kumar [Sat, 3 Aug 2019 09:29:27 +0000 (09:29 +0000)]
bump dfc version to 1.2.2
Change-Id: I080c26db2639eff2174d4aac334990af67019f46
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1669
Vijay Venkatesh Kumar [Fri, 2 Aug 2019 00:49:34 +0000 (00:49 +0000)]
release dfc 1.2.1
Change-Id: I5143dd5de0c734c4772bef425b3748194621751d
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1669
Vijay Venkatesh Kumar [Wed, 31 Jul 2019 22:48:13 +0000 (22:48 +0000)]
Fix dfc gerrit mvn job
Change-Id: Ia160651fd8ab0aead0aa43fd993f8e5dbff94ddc
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1578
yanhuanwang [Wed, 31 Jul 2019 12:01:10 +0000 (12:01 +0000)]
change mr default port to https:3905
Change-Id: I3fada4907601e999490d73bbc85e792c538547b2
Issue-ID: DCAEGEN2-1595
Signed-off-by: yanhuanwang <martin.c.yan@est.tech>
Vijay Venkatesh Kumar [Sat, 20 Jul 2019 05:46:14 +0000 (05:46 +0000)]
remove docker bind from mvn
Change-Id: I5787075e559bcfb56373de5cfa7e09365f16f8b8
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1690
Issue-ID: DCAEGEN2-1578
YongchaoWu [Fri, 12 Jul 2019 09:01:01 +0000 (09:01 +0000)]
Cbs Client integration
Cbs Client is integrated to read configurations from consul
Issue-ID: DCAEGEN2-1595
Change-Id: Idb0ebd34eba077f9c1cb584abab4d8722b56f6c5
Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
elinuxhenrik [Fri, 28 Jun 2019 12:18:16 +0000 (12:18 +0000)]
JJB alignment across DCAE components - DCAE Datafile Collector
Change-Id: I27dd76a8f1b84a8ab26080381321c509c1117a9b
Issue-ID: DCAEGEN2-1578
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
elinuxhenrik [Tue, 2 Jul 2019 13:53:56 +0000 (13:53 +0000)]
DFC - housekeeping
Removed Sonar warnings.
Improved code coverage.
Improved code formatting
Change-Id: I0e8287cecb18a8976635427697dfaeb823da204b
Issue-ID: DCAEGEN2-1645
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
PatrikBuhr [Fri, 14 Jun 2019 11:42:38 +0000 (11:42 +0000)]
Code formatting with maven
This commit only contains code formastting changes done by command:
mvn formatter:format spotless:apply process-sources
Change-Id: I0fb9d166ad5d9171cdeee9f26b6d353bca74069c
Issue-ID: DCAEGEN2-1538
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
PatrikBuhr [Fri, 14 Jun 2019 06:38:21 +0000 (06:38 +0000)]
Bugfix, improved behaviour for large files
Previously files was read into a buffer for publishing.
This does not work when files are bigger than the available memory.
After the fix , files are streamed instead.
Implemented a new REST primitive for exposing status and
statistics. To be used for test and trouble shooting.
Change-Id: Iab5a1ee9ffcbf6836fcf709d115bf25ab0391732
Issue-ID: DCAEGEN2-1532
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
elinuxhenrik [Wed, 5 Jun 2019 08:54:17 +0000 (08:54 +0000)]
Datafile - Improve JUnit tests
Improve JUnit tests for the Datafile Collector.
Add tests of logging.
Remove dependency to old JUnit version.
Improve some log messages.
Improve code coverage.
Change-Id: Ie8204619ab7fe4294c4ac0dd8f030973653ef4a3
Issue-ID: DCAEGEN2-1490
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
YongchaoWu [Tue, 4 Jun 2019 08:34:39 +0000 (08:34 +0000)]
Blueprint alignment
Blueprint is aligned with the dmaap topic configuration
Change-Id: I4303724eed21047b87a8b7438970625b08811d22
Issue-ID: DCAEGEN2-1145
Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
Henrik Andersson [Tue, 4 Jun 2019 06:59:40 +0000 (06:59 +0000)]
Merge "Fix a small bug for swagger-ui"
Henrik Andersson [Tue, 4 Jun 2019 06:58:01 +0000 (06:58 +0000)]
Merge "Bugfixes, Generalizing Data File Collection to handle any type of file"
Henrik Andersson [Tue, 4 Jun 2019 06:57:26 +0000 (06:57 +0000)]
Merge "DFC, Purging the cache of published files occasionally fails"
Henrik Andersson [Tue, 4 Jun 2019 06:56:42 +0000 (06:56 +0000)]
Merge "Code formatting with maven"
PatrikBuhr [Mon, 3 Jun 2019 08:38:10 +0000 (08:38 +0000)]
Bugfixes, Generalizing Data File Collection to handle any type of file
- When a change ID was not configured, the task counter was not decreased.
The result was that the DFC stopped polling,
- When the check if a file is a already published fails
(most likely to a problem is the DR), the DFC will try
to publish it (instead of just ingnoring it).
Change-Id: If9f5b962210f809d5d2ae0aa60d3a7f99099c058
Issue-ID: DCAEGEN2-1532
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
PatrikBuhr [Mon, 3 Jun 2019 06:59:50 +0000 (06:59 +0000)]
DFC, Purging the cache of published files occasionally fails
Solved a threading issue.
Change-Id: I1272cadd5d8bc8bb8ffc4c3d33c9b5c706470864
Issue-ID: DCAEGEN2-1588
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
PatrikBuhr [Wed, 29 May 2019 09:39:53 +0000 (09:39 +0000)]
Generalizing Data File Collection to handle any type of file
Extension of the DFC to be able to handle any file types types, which are published on different DR feeds.
This association between file type and DR feed is defined by configuration.
The file type is defined by the changeIdentifier in the fileReady VES message reported from the PNF.
The creation of DR feeds and configuration will be done by the DMAAP plugin, but that is
not tested yet.
Change-Id: I13b36acd926a6941ee733e6b37922049fb54a5d9
Issue-ID: DCAEGEN2-1532
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
PatrikBuhr [Wed, 29 May 2019 08:31:52 +0000 (08:31 +0000)]
Code formatting with maven
mvn formatter:format spotless:apply process-sources
The follwowing settings are updated from the onap origin:
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="120"/>
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="120"/>
Change-Id: If9c368edc36399e8662aea20c4fbff53756d367a
Issue-ID: DCAEGEN2-1538
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
yanhuanwang [Tue, 28 May 2019 08:15:18 +0000 (08:15 +0000)]
Fix a small bug for swagger-ui
swagger-ui and actuator-ui are missing.
This commit is to fix this bug.
Change-Id: I237ad1739dd23b7316a3efecb40a9bd78247ff33
Issue-ID: DCAEGEN2-1535
Signed-off-by: yanhuanwang <martin.yan.seu@gmail.com>
Henrik Andersson [Wed, 22 May 2019 10:15:51 +0000 (10:15 +0000)]
Merge "Fix for robustness"
PatrikBuhr [Fri, 17 May 2019 06:38:19 +0000 (06:38 +0000)]
Fix, skip FTP retry in certain cases
In certain conditions there is no reason to retry fetching files.
For instance when the file is removed in the PNF or when
the password/certificate is wrong.
When the DFC is started there are always
queued VES events that referes to removed files which in turn results
in that the DFC will retry fetching these files in vain.
The DFC house keeps its number of concurrents tasks to not exeed quotas
for memory,open file descriptors etc.
As more threads are occupied with retrying, the fewer threads can do
their intended work, which decreases the throughput.
Testing has showed that already when the number of PNFs are 10, the throughput
is radically decreased (and the problem is then escalating).
Change-Id: I4833724a3ef3509025f4a0a438c6c8025932b0f4
Issue-ID: DCAEGEN2-1508
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
PatrikBuhr [Fri, 17 May 2019 06:19:25 +0000 (06:19 +0000)]
Fix for robustness
In the long time stability test it has showed that when there are an exessive amount of FileReady events, the DFC will fetch these from the MR and build up an internal queue.
This has the effect that the DFC will consume too much memory. Itmight also affect load balancing (in case of several DFC instances) so that one might consume all events and the others get nothing.
The DFC should not fetch new FileReady events when it fully loaded with work.
Change-Id: I58665edd678d2f1c8a32d0e56455228b522aab40
Issue-ID: DCAEGEN2-1509
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
RehanRaza [Mon, 13 May 2019 14:02:39 +0000 (14:02 +0000)]
Bugfix: add MDC context to http redirect logs
Change-Id: Icdf00480eed43536a8b4693cbb208560f0881c95
Issue-ID: DCAEGEN2-1462
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
Vijay Venkatesh Kumar [Fri, 10 May 2019 16:37:40 +0000 (16:37 +0000)]
Merge "Clean up pom files"
PatrikBuhr [Wed, 8 May 2019 07:18:24 +0000 (07:18 +0000)]
Code improvement, FilePublishInformation serializing
Updated serializer of FilePublishInformation so that only elements that
should be part of publishing is included.
Change-Id: If5632af8bf9fd26f8bc96b25d8bfbccf63dfec2f
Issue-ID: DCAEGEN2-1488
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
elinuxhenrik [Wed, 17 Apr 2019 09:07:48 +0000 (11:07 +0200)]
Clean up pom files
Change-Id: Ifede82e15ebc38af92ade8259a6e1f641946b815
Issue-ID: DCAEGEN2-1487
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Henrik Andersson [Tue, 7 May 2019 11:27:11 +0000 (11:27 +0000)]
Merge "Bugfix, trace context"
TamasBakai [Sun, 5 May 2019 08:32:53 +0000 (08:32 +0000)]
Ownership fix in config directory
Change-Id: Iec3ca75c42642da27c52bccd6d60811c434f778a
Issue-ID: DCAEGEN2-1466
Signed-off-by: TamasBakai <tamas.bakai@est.tech>
PatrikBuhr [Thu, 2 May 2019 07:17:11 +0000 (07:17 +0000)]
Bugfix, trace context
When retrying of file publish, the RequestID in the trace
context is incorect. The context must be expicitly updated
since retrying is executed in a separate thread.
Change-Id: I1c5dc0ba0e53c1219e23f93d8c5b420996a16c93
Issue-ID: DCAEGEN2-1462
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
TamasBakai [Thu, 25 Apr 2019 08:47:13 +0000 (08:47 +0000)]
Extend Swagger for actuator end-points also
Change-Id: Ia036f7d79d25ceb2f1e465d79f17db1acbabbfbf
Issue-ID: DCAEGEN2-1443
Signed-off-by: TamasBakai <tamas.bakai@est.tech>
PatrikBuhr [Tue, 16 Apr 2019 14:15:12 +0000 (14:15 +0000)]
Bugfix, serializing in DataRouterPublisher
This fixes a bug introduced in
c7b0c7014688c447d411f791a094440403e65228.
The new property must be removed before publishing to data router.
The consequense of the bug is that the DR rejects the publishing.
Change-Id: Ib42cbed4decdba4c13678cea47dff35ca77679a5
Issue-ID: DCAEGEN2-1305
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
PatrikBuhr [Fri, 12 Apr 2019 11:57:47 +0000 (11:57 +0000)]
Improved logging
File name is used in Requext_ID to make it
more easy to trouble shoot.
Change-Id: Ied98766f1a177a9bda35ec5892a60d06619ff3a7
Issue-ID: DCAEGEN2-1305
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
PatrikBuhr [Fri, 12 Apr 2019 08:24:36 +0000 (08:24 +0000)]
Fixed build problems
Fixed a build problem cause by a merge
error from previous commits.
Fixes warnings from maven compile
Change-Id: I1ce88b2686b3be5ecd17113cbfde3e65297c27c6
Issue-ID: DCAEGEN2-1118
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Vijay Venkatesh Kumar [Thu, 11 Apr 2019 20:53:30 +0000 (20:53 +0000)]
Merge "Robustness issue"
Vijay Venkatesh Kumar [Thu, 11 Apr 2019 15:47:00 +0000 (15:47 +0000)]
Merge "Enabling Spring boot actuator"
PatrikBuhr [Thu, 11 Apr 2019 15:36:48 +0000 (15:36 +0000)]
Robustness issue
Limiting the number of paralell threads when
retying of ftp or publish.
Previously there was no upper limit on how many paralel
threads that could be started by retry attempts.
For instance, a worker thread with 100 new files
would start 100 new threads when the ftt server
was unavailable.
Change-Id: Ia8792f03ea55c0c467ef248ddc9d59187c06a946
Issue-ID: DCAEGEN2-1118
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
PatrikBuhr [Thu, 11 Apr 2019 15:27:07 +0000 (15:27 +0000)]
Enabling Spring boot actuator
This makes it possible by a REST API:
- change logging levels
- get the application log
- get build info for the DFC
- get various metrixes for the execution
such as heap consumption, number of threads etc.
Change-Id: I570bc0db6a9b9977ecfd83389b463fe652e4ba16
Issue-ID: DCAEGEN2-1428
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
elinuxhenrik [Thu, 11 Apr 2019 07:04:31 +0000 (07:04 +0000)]
Extend heartbeat to also include som health status
Add info about the internal status of DFC to the healtCheck message.
Change-Id: Ic2ad3e5b97c42d6affe1ac4e1d7cf2274027f881
Issue-ID: DCAEGEN2-1403
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
elinuxhenrik [Tue, 26 Mar 2019 09:22:23 +0000 (10:22 +0100)]
Housekeeping
No functional changes made in this commit.
Removed CheckStyle and Sonar warnings.
Formatted code.
Renamed methods and classes for better understanding.
Removed unnecessary classes.
Moved all code to single project.
Change-Id: Ie3feb6c6a985e94a382812aa083dcf57bc46c7b3
Issue-ID: DCAEGEN2-1367
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
TamasBakai [Wed, 10 Apr 2019 10:02:21 +0000 (10:02 +0000)]
Updating certificates
Issue-ID: DCAEGEN2-1300
Change-Id: I9ce457b69e5866e77a465fb040d196b8905ca274
Signed-off-by: TamasBakai <tamas.bakai@est.tech>
PatrikBuhr [Thu, 4 Apr 2019 14:41:34 +0000 (14:41 +0000)]
Improved logging
Fixed problem with startup which lead
to that the REST API was not working running
locally.
Fixed problem with DmaapProducerHttpClient which would use
no timeout, which can lead to infinitly haninging threads.
A long timeout is used instead.
Change-Id: I28469b1b3aaad0dab4cf247bb8af968e71a60133
Issue-ID: DCAEGEN2-1305
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
elinuxhenrik [Fri, 29 Mar 2019 09:05:28 +0000 (09:05 +0000)]
Change file name sent to DataRouter
In the previous commit for this issue, the file name sent to DataRouter
was changed. This turned out to be wrong, so in this commit it is
changed back again.
Change-Id: I9b0d726f406758846fd256626e73edf59d710c8b
Issue-ID: DCAEGEN2-1256
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Vijay Venkatesh Kumar [Thu, 28 Mar 2019 02:58:11 +0000 (02:58 +0000)]
Merge "Fix DataFile - Align Dmaap Topic configuration"
Vijay Venkatesh Kumar [Tue, 26 Mar 2019 13:14:54 +0000 (13:14 +0000)]
update INFO.yaml
Change-Id: I147b698c40bb80a09c885c16d08137dcb4a0cf69
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1270
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
PatrikBuhr [Fri, 22 Mar 2019 14:29:29 +0000 (14:29 +0000)]
Local filename updated, stability issues
The local filename is changed so it contains PNF name
instead of the PNF IP address.
The paralellism is restricted to 100 worker threads in order to
solve problems with too many open file descriptors and out of memory.
Logging is improved.
Change-Id: I24ce2e23020cc253a3c7bebac1ab5cf703b5b144
Issue-ID: DCAEGEN2-1118
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
maximesson [Thu, 21 Mar 2019 15:58:55 +0000 (15:58 +0000)]
Add check to DataRouter if file has been published
For each file in the FileReady message that DFC does not know if it has been
published yet, it should ask DataRouter if it has been published already to
avoid downloading and publishing a file more than once.
Change-Id: I18117a6e968ec929aa255052a4c44f890a8ed39d
Issue-ID: DCAEGEN2-1256
Signed-off-by: maximesson <maxime.bonneau@est.tech>
YongchaoWu [Mon, 18 Mar 2019 14:17:02 +0000 (14:17 +0000)]
Fix DataFile - Align Dmaap Topic configuration
Remove additional configuration in Blueprints
Remove additional configruation in component
specs
Change-Id: I0d546227af0be485f2ffed27a93c701a7654ff8e
Issue-ID: DCAEGEN2-1145
Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
Tony Hansen [Mon, 18 Mar 2019 13:45:01 +0000 (13:45 +0000)]
Merge "Thread safety issues"
YongchaoWu [Thu, 14 Mar 2019 15:14:55 +0000 (15:14 +0000)]
DataFile - Align Dmaap Topic configuration
Blueprints alignment
Configbinding service support
Modify the policy model complaint to R4 model expected by Policy
Change-Id: Ic53f4ab2a5867e5cdf0fc735be180715077154ee
Issue-ID: DCAEGEN2-1145
Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
PatrikBuhr [Thu, 14 Mar 2019 14:27:30 +0000 (14:27 +0000)]
Thread safety issues
The TrustManager is now loaded and initialized once
in a thread safe way (instead of each time it is used).
Removed some unneeded wrappers.
Using AutoCloseable for FTP clients to make
sure they are closed in case of exceptions.
Made AppConfig thread safe.
Change-Id: Ia6a2c8a76bf960013180fdd7c53ae0ff17b26505
Issue-ID: DCAEGEN2-1118
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Vijay Venkatesh Kumar [Tue, 12 Mar 2019 14:57:26 +0000 (14:57 +0000)]
Merge "DFC logging according to ONAP specification"
Vijay Venkatesh Kumar [Mon, 11 Mar 2019 14:29:12 +0000 (14:29 +0000)]
Merge "Update Readme.md"
RehanRaza [Fri, 8 Mar 2019 20:16:04 +0000 (20:16 +0000)]
DFC logging according to ONAP specification
Change-Id: I6fe18ce3bdbc6d0b1cf5c5e65534cab694cfb898
Issue-ID: DCAEGEN2-1305
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
Tony Hansen [Fri, 8 Mar 2019 19:23:43 +0000 (19:23 +0000)]
Merge "Improvement of the parallelism"
RehanRaza [Thu, 7 Mar 2019 15:42:51 +0000 (15:42 +0000)]
Change to docker-maven-plugin
Change-Id: I5dc3c5b69b2ef764992e2db76eb9cc154ff5adf7
Issue-ID: DCAEGEN2-1269
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
PatrikBuhr [Wed, 20 Feb 2019 07:35:16 +0000 (08:35 +0100)]
Improvement of the parallelism
The reactive framework Scedulers uses to few threads.
(the same number as the number of processors).
That is too few for an io-intense application like this
where CPU is not the limiting factor.
Change-Id: Ia5f41e75716d309f47dce5f5273b739f7e6d136a
Issue-ID: DCAEGEN2-1118
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
RehanRaza [Wed, 6 Mar 2019 07:42:15 +0000 (07:42 +0000)]
Fix dockerfile-maven-plugin in pom.xml
Change-Id: Id0389e1011fdce9dee4fc0d330973ef34bc2ed6a
Issue-ID: DCAEGEN2-1269
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
Tony Hansen [Wed, 6 Mar 2019 03:26:18 +0000 (03:26 +0000)]
Merge "DFC DCAE design artifact support"
RehanRaza [Tue, 5 Mar 2019 09:05:32 +0000 (09:05 +0000)]
Fix Docker image
Change-Id: Icf8a37ea63e78d70256571d1bce424e629a04b55
Issue-ID: DCAEGEN2-1269
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
YongchaoWu [Mon, 4 Mar 2019 11:10:53 +0000 (11:10 +0000)]
DFC DCAE design artifact support
Add blueprints, dataformat, component specs,
policy and tosca models.
Issue-ID: DCAEGEN2-1156
Change-Id: Id1b6573c3cd72a90ab2feca2180ce1d04ecf98c4
Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
PatrikBuhr [Wed, 27 Feb 2019 14:22:51 +0000 (14:22 +0000)]
Purging of cached information
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>
Tony Hansen [Wed, 27 Feb 2019 13:57:18 +0000 (13:57 +0000)]
Merge "Fixed some sonar issues"
PatrikBuhr [Fri, 22 Feb 2019 13:51:34 +0000 (13:51 +0000)]
Fixed some sonar issues
Changed some Flux to Mono.
Removed some obfuscating wrappers.
Issue-ID: DCAEGEN2-1118
Change-Id: I76dcaea7c69608cf404389fad93f7539f735aad2
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
RehanRaza [Fri, 22 Feb 2019 10:04:34 +0000 (10:04 +0000)]
Run DFC docker container as a non-root user
Change-Id: I82504ebebc8ddf48f6ee6b1c1dfbe433c60ab1aa
Issue-ID: DCAEGEN2-1269
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
YongchaoWu [Tue, 19 Feb 2019 08:17:24 +0000 (08:17 +0000)]
Refactor: fix over engineering in Configuration
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>
yanhuanwang [Mon, 18 Feb 2019 10:51:38 +0000 (11:51 +0100)]
Update Readme.md
Update DFC description
Change-Id: I778014f3e0ec215c5ce761d087e28bcf06b7296c
Signed-off-by: yanhuanwang <martin.yan.seu@gmail.com>
Issue-ID: DCAEGEN2-1039
Vijay Venkatesh Kumar [Fri, 15 Feb 2019 23:02:53 +0000 (23:02 +0000)]
Merge "Fix security vulnerabilities"
Tony Hansen [Fri, 15 Feb 2019 22:23:37 +0000 (22:23 +0000)]
Merge "Add Readme.md"
PatrikBuhr [Fri, 15 Feb 2019 16:19:27 +0000 (16:19 +0000)]
Running of file collection in paralell
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>
elinuxhenrik [Wed, 13 Feb 2019 09:47:44 +0000 (09:47 +0000)]
Fix security vulnerabilities
Change-Id: I1ffb840a18b0c75cffe21229db743f6570073148
Issue-ID: DCAEGEN2-1210
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
yanhuanwang [Fri, 1 Feb 2019 14:23:35 +0000 (15:23 +0100)]
Add Readme.md
Format code
Change-Id: Iba56718868043d3b19c71892f363fbb838f4988a
Signed-off-by: Chengkai Yan <martin.c.yan@est.tech>
Issue-ID: DCAEGEN2-1039
Vijay Venkatesh Kumar [Tue, 12 Feb 2019 03:33:01 +0000 (03:33 +0000)]
Merge "Change ATT Meta Header for generic alternative"
egernug [Thu, 31 Jan 2019 10:08:35 +0000 (10:08 +0000)]
Change ATT Meta Header for generic alternative
Change-Id: Ie4ba3d8afebf7cda3dc0a841c5c5fa5d4cd95046
Issue-ID: DMAAP-999
Signed-off-by: egernug <gerard.nugent@est.tech>
pwielebs [Wed, 30 Jan 2019 10:00:19 +0000 (11:00 +0100)]
Fix for integration with SDK
Change-Id: I9947531e2cad813ac8936769147bee710db5a335
Issue-ID: DCAEGEN2-1096
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
pwielebs [Mon, 7 Jan 2019 12:48:18 +0000 (13:48 +0100)]
Integration with SDK
* 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>
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>
Vijay Venkatesh Kumar [Mon, 10 Dec 2018 01:39:27 +0000 (01:39 +0000)]
Merge "Add missing INFO.yaml"
Vijay Venkatesh Kumar [Mon, 10 Dec 2018 01:39:03 +0000 (01:39 +0000)]
Merge "Version update 1.1.1"
Vijay Venkatesh Kumar [Mon, 10 Dec 2018 01:38:41 +0000 (01:38 +0000)]
Merge "Make DFC handle multiple messages from MR"
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>