summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-09-12Update Cloudify types file versionJoeOLeary1-2/+2
Issue-ID: DCAEGEN2-1686 Change-Id: Id7f5bd56bb8e0f80e8006d84b03ce7323e509a87 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-09-10update Dockerfile & copyrigt statementecaiyanlinux2-2/+3
Issue-ID: DCAEGEN2-1702 Change-Id: If990e180b96f943dd7381a758c11d10e4733706c Signed-off-by: Martin Yan <martin.c.yan@est.tech>
2019-09-06TLS init container usageecaiyanlinux22-122/+86
Change-Id: Iec51c722f6a3a519fd7eb0f37f8b801eebbc039b Issue-ID: DCAEGEN2-1702 Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
2019-08-26Align spec and blueprint with bp-generator toolRehanRaza2-139/+109
Change-Id: Ifbafe8be8bcb34417873af3e6bb1c7323f891fe0 Issue-ID: DCAEGEN2-1580 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-08-14Merge "change mr default port to https:3905"Tony Hansen1-2/+2
2019-08-12DFC HousekeepingPatrikBuhr22-233/+100
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>
2019-08-03dcae-ED rls 1.2.2 dfc5.0.1-ONAPVijay Venkatesh Kumar1-0/+4
Change-Id: I3fc37cba2b3fcb11a23ca3a9e598241eb0b9e59f Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1669
2019-08-03bump dfc version to 1.2.2Vijay Venkatesh Kumar3-3/+3
Change-Id: I080c26db2639eff2174d4aac334990af67019f46 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1669
2019-08-02release dfc 1.2.1Vijay Venkatesh Kumar1-0/+4
Change-Id: I5143dd5de0c734c4772bef425b3748194621751d Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1669
2019-07-31Fix dfc gerrit mvn job5.0.0-ONAPVijay Venkatesh Kumar1-3/+0
Change-Id: Ia160651fd8ab0aead0aa43fd993f8e5dbff94ddc Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1578
2019-07-31change mr default port to https:3905yanhuanwang1-2/+2
Change-Id: I3fada4907601e999490d73bbc85e792c538547b2 Issue-ID: DCAEGEN2-1595 Signed-off-by: yanhuanwang <martin.c.yan@est.tech>
2019-07-20remove docker bind from mvnVijay Venkatesh Kumar1-2/+7
Change-Id: I5787075e559bcfb56373de5cfa7e09365f16f8b8 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1690 Issue-ID: DCAEGEN2-1578
2019-07-12Cbs Client integrationYongchaoWu28-369/+446
Cbs Client is integrated to read configurations from consul Issue-ID: DCAEGEN2-1595 Change-Id: Idb0ebd34eba077f9c1cb584abab4d8722b56f6c5 Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
2019-07-11JJB alignment across DCAE components - DCAE Datafile Collectorelinuxhenrik3-4/+4
Change-Id: I27dd76a8f1b84a8ab26080381321c509c1117a9b Issue-ID: DCAEGEN2-1578 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2019-07-02DFC - housekeepingelinuxhenrik22-150/+655
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>
2019-06-14Code formatting with mavenPatrikBuhr50-1081/+1104
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>
2019-06-14Bugfix, improved behaviour for large filesPatrikBuhr14-97/+300
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>
2019-06-05Datafile - Improve JUnit testselinuxhenrik24-274/+519
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>
2019-06-04Blueprint alignmentYongchaoWu7-146/+94
Blueprint is aligned with the dmaap topic configuration Change-Id: I4303724eed21047b87a8b7438970625b08811d22 Issue-ID: DCAEGEN2-1145 Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
2019-06-04Merge "Fix a small bug for swagger-ui"Henrik Andersson1-0/+8
2019-06-04Merge "Bugfixes, Generalizing Data File Collection to handle any type of file"Henrik Andersson1-9/+7
2019-06-04Merge "DFC, Purging the cache of published files occasionally fails"Henrik Andersson1-5/+5
2019-06-04Merge "Code formatting with maven"Henrik Andersson2-0/+322
2019-06-03Bugfixes, Generalizing Data File Collection to handle any type of filePatrikBuhr1-9/+7
- 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>
2019-06-03DFC, Purging the cache of published files occasionally failsPatrikBuhr1-5/+5
Solved a threading issue. Change-Id: I1272cadd5d8bc8bb8ffc4c3d33c9b5c706470864 Issue-ID: DCAEGEN2-1588 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2019-05-29Generalizing Data File Collection to handle any type of filePatrikBuhr43-955/+1097
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>
2019-05-29Code formatting with mavenPatrikBuhr2-0/+322
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>
2019-05-28Fix a small bug for swagger-uiyanhuanwang1-0/+8
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>
2019-05-22Merge "Fix for robustness"Henrik Andersson3-9/+16
2019-05-17Fix, skip FTP retry in certain casesPatrikBuhr7-13/+77
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>
2019-05-17Fix for robustnessPatrikBuhr3-9/+16
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>
2019-05-13Bugfix: add MDC context to http redirect logsRehanRaza4-9/+32
Change-Id: Icdf00480eed43536a8b4693cbb208560f0881c95 Issue-ID: DCAEGEN2-1462 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-05-10Merge "Clean up pom files"Vijay Venkatesh Kumar2-301/+183
2019-05-08Code improvement, FilePublishInformation serializingPatrikBuhr5-94/+36
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>
2019-05-08Clean up pom fileselinuxhenrik2-301/+183
Change-Id: Ifede82e15ebc38af92ade8259a6e1f641946b815 Issue-ID: DCAEGEN2-1487 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2019-05-07Merge "Bugfix, trace context"Henrik Andersson1-4/+2
2019-05-05Ownership fix in config directoryTamasBakai5-6/+6
Change-Id: Iec3ca75c42642da27c52bccd6d60811c434f778a Issue-ID: DCAEGEN2-1466 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-05-02Bugfix, trace contextPatrikBuhr1-4/+2
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>
2019-04-25Extend Swagger for actuator end-points also1.1.21.1.1TamasBakai1-10/+12
Change-Id: Ia036f7d79d25ceb2f1e465d79f17db1acbabbfbf Issue-ID: DCAEGEN2-1443 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-04-16Bugfix, serializing in DataRouterPublisherPatrikBuhr2-1/+8
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>
2019-04-12Improved loggingPatrikBuhr12-102/+169
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>
2019-04-12Fixed build problemsPatrikBuhr3-31/+15
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>
2019-04-11Merge "Robustness issue"Vijay Venkatesh Kumar2-19/+40
2019-04-11Merge "Enabling Spring boot actuator"Vijay Venkatesh Kumar2-4/+65
2019-04-11Robustness issuePatrikBuhr3-20/+41
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>
2019-04-11Enabling Spring boot actuatorPatrikBuhr2-4/+65
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>
2019-04-11Extend heartbeat to also include som health statuselinuxhenrik6-11/+146
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>
2019-04-11Housekeepingelinuxhenrik74-1213/+1003
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>
2019-04-10Updating certificatesTamasBakai12-22/+72
Issue-ID: DCAEGEN2-1300 Change-Id: I9ce457b69e5866e77a465fb040d196b8905ca274 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-04-04Improved loggingPatrikBuhr22-298/+299
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>