dcaegen2/collectors/hv-ves.git
4 years agorelease 1.3.0 hv-ves 28/95428/1 elalto 5.0.1-ONAP 5.0.2-ONAP
Vijay Venkatesh Kumar [Tue, 10 Sep 2019 11:53:57 +0000 (11:53 +0000)]
release 1.3.0 hv-ves

Change-Id: Iacc2a85513a6de9e1ea32a98acf31c42568f1654
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1669

4 years agoAdd Prometheus deployment for HV-VES performance tests - cloud 45/92245/6
kjaniak [Tue, 30 Jul 2019 07:32:56 +0000 (09:32 +0200)]
Add Prometheus deployment for HV-VES performance tests - cloud

Script for cloud is updated with proper prometheus config and deployment.

Change-Id: Icf2527e76bc2028807653313c8ec978d779c6ec9
Issue-ID: DCAEGEN2-1692
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
4 years agoMerge "Setup grafana for local performance tests"
Piotr Wielebski [Tue, 6 Aug 2019 08:04:16 +0000 (08:04 +0000)]
Merge "Setup grafana for local performance tests"

4 years agofix hv-ves build issue 95/92595/2
Vijay Venkatesh Kumar [Thu, 1 Aug 2019 22:01:51 +0000 (22:01 +0000)]
fix hv-ves build issue

Change-Id: I549bcb1ab068a4983dfcbf8e49a0d4efed46f9cb
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1578

4 years agoremove docker binding to mvn 15/92315/1
Vijay Venkatesh Kumar [Sun, 21 Jul 2019 07:02:01 +0000 (07:02 +0000)]
remove docker binding to mvn

Change-Id: Idd3472fd3c9fb40c6f0312b2ab440126e33f3517
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1578

4 years agoFix build failure in coverage module 19/92019/1
Izabela Zawadzka [Thu, 25 Jul 2019 15:36:42 +0000 (17:36 +0200)]
Fix build failure in coverage module

xpath command had to be replaced as the versions available for CentOs 7 dont support used options

Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
Issue-ID: DCAEGEN2-1687
Change-Id: I0b9ee73982fa9a348a7822d040ca90435fbc264c

4 years agoFix of hv-ves dns configuration 31/91731/1
kjaniak [Fri, 19 Jul 2019 09:46:03 +0000 (11:46 +0200)]
Fix of hv-ves dns configuration

Change-Id: I2f859c5a683fb9de0efd2ba93dcd853d8f70df1d
Issue-ID: DCAEGEN2-1664
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
4 years agoAdding script for Performance tests of HV-VES on cloud 61/91361/4
kjaniak [Fri, 12 Jul 2019 12:29:25 +0000 (14:29 +0200)]
Adding script for Performance tests of HV-VES on cloud

Change-Id: If71b0e8b04ce23a5daafef632788667ccd50c1a1
Issue-ID: DCAEGEN2-1664
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
4 years agoSetup grafana for local performance tests 89/91489/3
Izabela Zawadzka [Tue, 16 Jul 2019 06:12:32 +0000 (08:12 +0200)]
Setup grafana for local performance tests

Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
Issue-ID: DCAEGEN2-1666
Change-Id: I49bfccd30e4089a30a235957d3f1a404bfba5e76

4 years agoUse consumers in main 33/91133/4
Izabela Zawadzka [Wed, 10 Jul 2019 07:29:51 +0000 (09:29 +0200)]
Use consumers in main

It includes --disable-processing flag.
Also fixed some issues with script for local performance test.
Also added KafkaConsumer::poll in OffsetKafka Consumer - without it KafkaConsumer::assignment returns empty set

Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
Issue-ID: DCAEGEN2-1657
Change-Id: I95fadb45f321398346094dfa0c4a6e9da954c186

4 years agoMerge "Measure message travel time"
Piotr Jaszczyk [Mon, 8 Jul 2019 09:10:38 +0000 (09:10 +0000)]
Merge "Measure message travel time"

4 years agoIncrease coverage in new consumer 33/90933/3
Filip Krzywka [Fri, 5 Jul 2019 09:26:24 +0000 (11:26 +0200)]
Increase coverage in new consumer

Change-Id: I58e88182e84a7d807d481e8cbd7196d8b82309ac
Issue-ID: DCAEGEN2-1619
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
4 years agoMerge "Add performance test producer deployment yaml"
Piotr Jaszczyk [Fri, 5 Jul 2019 09:00:13 +0000 (09:00 +0000)]
Merge "Add performance test producer deployment yaml"

4 years agoAdd performance test producer deployment yaml 89/90889/3
Jakub Dudycz [Wed, 3 Jul 2019 13:17:16 +0000 (15:17 +0200)]
Add performance test producer deployment yaml

- create cloud performance test directory structure
- move consumer deployment file to "tools/performence/cloud" directory

Change-Id: Ia5c6d8ed15a2188ff9306cf788052f432dae1e33
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-1652

4 years agoMeasure message travel time 80/90880/4
Izabela Zawadzka [Thu, 4 Jul 2019 06:59:04 +0000 (08:59 +0200)]
Measure message travel time

Issue-ID: DCAEGEN2-1654
Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
Change-Id: Ifd6597209c5be51d5b4ff5faf7b3b1b1a2871403

4 years agoMerge "Change handling of offset metric for consumer app"
Piotr Jaszczyk [Thu, 4 Jul 2019 05:21:20 +0000 (05:21 +0000)]
Merge "Change handling of offset metric for consumer app"

4 years agoMerge "Add K8S deployment for kafka-consumer"
Piotr Jaszczyk [Wed, 3 Jul 2019 13:11:11 +0000 (13:11 +0000)]
Merge "Add K8S deployment for kafka-consumer"

4 years agoMerge "Create script to run performance test locally"
Piotr Jaszczyk [Wed, 3 Jul 2019 12:39:12 +0000 (12:39 +0000)]
Merge "Create script to run performance test locally"

4 years agoChange handling of offset metric for consumer app 36/90836/1
kjaniak [Wed, 3 Jul 2019 11:31:31 +0000 (13:31 +0200)]
Change handling of offset metric for consumer app

Change-Id: Ia83469783d64d0174624489df671006e72bc8948
Issue-ID: DCAEGEN2-1635
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
4 years agoCreate script to run performance test locally 15/90315/9
Jakub Dudycz [Fri, 21 Jun 2019 15:19:49 +0000 (17:19 +0200)]
Create script to run performance test locally

Change-Id: I6bbf0e9b029aef1558008286f0fbec83b76be44c
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-1641

4 years agoReorganize kafka module 24/90524/11
kjaniak [Wed, 26 Jun 2019 13:57:29 +0000 (15:57 +0200)]
Reorganize kafka module

Change-Id: I2eb7a8a6e92c9d89586b877f4cae438497b62ae2
Issue-ID: DCAEGEN2-1635
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
4 years agoAdd K8S deployment for kafka-consumer 98/90298/2
Filip Krzywka [Fri, 21 Jun 2019 08:37:51 +0000 (10:37 +0200)]
Add K8S deployment for kafka-consumer

Change-Id: Idba5c738dc2062b30c32bb928d701614743f0828
Issue-ID: DCAEGEN2-1619
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
4 years agoJJB alignment across DCAE components - DCAE HV-VES 79/90579/4
rajendrajaiswal [Thu, 27 Jun 2019 09:58:07 +0000 (10:58 +0100)]
JJB alignment across DCAE components - DCAE HV-VES

Change-Id: I815c32a91a3e710d9076495dbafcba420bde4da5
Issue-ID: DCAEGEN2-1578
Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
4 years agoImplement kafka consumer metrics 49/90449/5
Filip Krzywka [Tue, 25 Jun 2019 12:39:07 +0000 (14:39 +0200)]
Implement kafka consumer metrics

- bump Micrometer version 1.0.8 -> 1.1.5

Change-Id: I7a00fbf252df0f31f12f8743e8719701bd282ce2
Issue-ID: DCAEGEN2-1626
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
4 years agoAdd environment configuration to kafka consumer 27/90427/6
Filip Krzywka [Tue, 25 Jun 2019 09:32:36 +0000 (11:32 +0200)]
Add environment configuration to kafka consumer

- HV-VES-specific environment prefix moved inside HvVes modules to
allow simpler no-prefix API for other modules
- created OptionDSL for brevity

Change-Id: I2fabbda1280cc0f913f8a0a04b4a055f39ed1fae
Issue-ID: DCAEGEN2-1626
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
4 years agoImplement message counting in consumer 56/90156/8
kjaniak [Wed, 19 Jun 2019 06:39:33 +0000 (08:39 +0200)]
Implement message counting in consumer

Issue-ID: DCAEGEN2-1635
Change-Id: I2666de7bad27052d9cefa0f687ad0772d4c9a95d
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
4 years agoMerge "Expose Prometheus metrics in Kafka Consumer"
Piotr Jaszczyk [Tue, 25 Jun 2019 09:33:07 +0000 (09:33 +0000)]
Merge "Expose Prometheus metrics in Kafka Consumer"

4 years agoExpose Prometheus metrics in Kafka Consumer 98/89898/8
Jakub Dudycz [Fri, 14 Jun 2019 13:48:32 +0000 (15:48 +0200)]
Expose Prometheus metrics in Kafka Consumer

Change-Id: I9d0568a5fc296604d7ac7a45b8bbd0289b845938
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-1626

4 years agoFix request interval 05/90005/2
Filip Krzywka [Mon, 17 Jun 2019 11:52:06 +0000 (13:52 +0200)]
Fix request interval

In previous implementation DistinctUntilChangedSubscriber always
requested from upstream 256 events, which resulted in immediate
256 requests to CBS.

Request amount is not configurable in other way than hard-limiting
using `limitRequest`, which limits request amount for single subscriber.
(At least in our pipeline)

To avoid multiple manual subscribes, this commit changed CbsClientAdapter
to use Mono instead of Flux for CbsRequests and repeat this Mono
conditionally. Flux inside of repeatWhen is emitting event after each
onComplete received from upstream Mono and resubscribes to it if condition
is met. This seemed like good place to put our interval mechanism, which
is always-pass condition, but condition resolving blocks for variable
duration.

Change-Id: I04d1e657ec4d82185f6f07422c25c2d2ff23e60d
Issue-ID: DCAEGEN2-1557
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
4 years agoMerge "Update docker-maven-plugin to latest version"
Piotr Jaszczyk [Fri, 14 Jun 2019 11:03:23 +0000 (11:03 +0000)]
Merge "Update docker-maven-plugin to latest version"

4 years agoCreate Kafka Consumer project stub 17/89817/2
Jakub Dudycz [Thu, 13 Jun 2019 14:51:43 +0000 (16:51 +0200)]
Create Kafka Consumer project stub

Change-Id: Ib45ca6a9ab282dab509e34f9a3d3682373d794d3
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-1619

4 years agoUpdate docker-maven-plugin to latest version 99/89799/1
Jakub Dudycz [Thu, 13 Jun 2019 11:44:31 +0000 (13:44 +0200)]
Update docker-maven-plugin to latest version

Update fabric8io/docker-maven-plugin to version 0.30.0

Change-Id: I528405896443b77e521a783511898298bfd91d2e
Issue-ID: DCAEGEN2-1617
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
4 years agoRetry infinitely 38/89738/2
Filip Krzywka [Mon, 10 Jun 2019 07:02:43 +0000 (09:02 +0200)]
Retry infinitely

- changed specification to retry infinitely
- moved MDC to cbsAdapter constructor as in whole module it contains
only local context (instanceID etc.). Also permuted constructor params
to match ConfigurationProviders order
- refactored module tests as ground for future enhancements

Change-Id: Ic074b9c421b60662e5512c55c7b1dfb90ab0d2ea
Issue-ID: DCAEGEN2-1557
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
4 years agoRun container commands as non-root 01/89501/2
Filip Krzywka [Thu, 6 Jun 2019 09:24:36 +0000 (11:24 +0200)]
Run container commands as non-root

- 1410 uig/gid is arbitrary, note however that any volume mounted into
container should limit permissions to this number
- also reduced firstRequestDelay in configuration provided through
local docker-compose

Change-Id: I77eeebeec5931db5c04f8f6f24d7c6fe7a121015
Issue-ID: DCAEGEN2-1557
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
4 years agoMerge "Support CBS request interval reconfiguration"
Piotr Jaszczyk [Thu, 6 Jun 2019 05:33:46 +0000 (05:33 +0000)]
Merge "Support CBS request interval reconfiguration"

4 years agoSupport CBS request interval reconfiguration 06/88306/18
kjaniak [Wed, 22 May 2019 20:19:49 +0000 (22:19 +0200)]
Support CBS request interval reconfiguration

Change-Id: Ie8892e33b2f6a58d6076f66e6cc6a2df830dfa48
Issue-ID: DCAEGEN2-1525
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
4 years agoBump Kotlin and Reactor versions 42/88842/2
Piotr Jaszczyk [Thu, 30 May 2019 08:47:53 +0000 (10:47 +0200)]
Bump Kotlin and Reactor versions

Issue-ID: DCAEGEN2-1542
Change-Id: I1b14b29a780deedc9c64bdfbded4b3b05e990279
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoEnable Kafka consumer offset committing 38/87438/1
Filip Krzywka [Fri, 10 May 2019 09:53:21 +0000 (11:53 +0200)]
Enable Kafka consumer offset committing

It appears that reactor-kafka is setting auto.commit property to false,
which makes our CSITs fail nondeterministically due to automatic reset of
consumer offset.

By acknowledging manually, we will mark every message for committing,
which will be performed according to ConsumerConfiguration.
This way, Kafka broker should persist consumer offset.

Change-Id: I0c5156ff8df9bb3341e733e50a3c6866fdd94976
Issue-ID: DCAEGEN2-1495
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoUpdate versions for El Alto release 12/87012/3
Piotr Jaszczyk [Mon, 6 May 2019 09:29:45 +0000 (11:29 +0200)]
Update versions for El Alto release

Change-Id: If86dcbf8695cc50a540fe892a4f70b3ad24ac5d1
Issue-ID: DCAEGEN2-1474
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoChange of KAFKA_ADVERTISED_LISTENERS 89/86389/1 1.1.0 4.0.0-ONAP
kjaniak [Fri, 26 Apr 2019 11:51:17 +0000 (13:51 +0200)]
Change of KAFKA_ADVERTISED_LISTENERS

Fix for DMaaP app bug

Change-Id: I05312a6b5d1acc1f7894f17d89922c508bbbd41d
Issue-ID: DCAEGEN2-1448
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
5 years agoUse AAF credentials from stream definition 33/86033/7
Piotr Jaszczyk [Tue, 23 Apr 2019 09:11:45 +0000 (11:11 +0200)]
Use AAF credentials from stream definition

Change-Id: I4fc20c116c60f6e7d46215a32c33884cd957e93b
Issue-ID: DCAEGEN2-1448
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoUse SASL auth in kafka connections 84/85684/2
Filip Krzywka [Thu, 18 Apr 2019 12:27:05 +0000 (14:27 +0200)]
Use SASL auth in kafka connections

Change-Id: I55a9289901a6a44f3d07a3cf4e5a028399a5d0dc
Issue-ID: DCAEGEN2-1448
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoAdd internal modifiers to comply with new HvVesCustomRule 05/85305/4
Izabela Zawadzka [Mon, 15 Apr 2019 11:03:45 +0000 (13:03 +0200)]
Add internal modifiers to comply with new HvVesCustomRule

Change-Id: I33ad24179d05ded58f6784544be9bbdd56210720
Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
Issue-ID: DCAEGEN2-1438

5 years agoMerge "Create custom rule to report public modifiers in impl"
Piotr Jaszczyk [Mon, 15 Apr 2019 10:53:53 +0000 (10:53 +0000)]
Merge "Create custom rule to report public modifiers in impl"

5 years agoCreate custom rule to report public modifiers in impl 51/85051/5
Izabela Zawadzka [Thu, 11 Apr 2019 12:27:21 +0000 (14:27 +0200)]
Create custom rule to report public modifiers in impl

Change-Id: I383ca27a835943bd2dc2508425264ad7f64c7725
Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
Issue-ID: DCAEGEN2-1430

5 years agoMove cmd ssl logic to xnf-simulator 72/84872/7
Jakub Dudycz [Wed, 10 Apr 2019 13:02:01 +0000 (15:02 +0200)]
Move cmd ssl logic to xnf-simulator

Change-Id: I562acbb0b7522e6cefea2a2dc1a9e292c1227b41
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-565

5 years agoCreation of server module 99/84199/9
kjaniak [Wed, 3 Apr 2019 13:48:28 +0000 (15:48 +0200)]
Creation of server module

Issue-ID: DCAEGEN2-1390
Change-Id: I07410b16ed6566b933d5f1efa35bddb965225794
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoMerge "Extract transforming logic from validator"
Piotr Jaszczyk [Fri, 12 Apr 2019 06:38:04 +0000 (06:38 +0000)]
Merge "Extract transforming logic from validator"

5 years agoMerge "Fix xnf-simulator message sending bug"
Piotr Jaszczyk [Fri, 12 Apr 2019 06:20:23 +0000 (06:20 +0000)]
Merge "Fix xnf-simulator message sending bug"

5 years agoExtract transforming logic from validator 69/84869/11
Filip Krzywka [Wed, 10 Apr 2019 09:36:48 +0000 (11:36 +0200)]
Extract transforming logic from validator

Change-Id: Ic019b1796e17d24f14f41a817af6e5ecd8c7244b
Issue-ID: DCAEGEN2-1416
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoFix xnf-simulator message sending bug 50/84850/2
Jakub Dudycz [Wed, 10 Apr 2019 10:51:14 +0000 (12:51 +0200)]
Fix xnf-simulator message sending bug

Fix bug where xnf-simulator was failing to send messages with invalid wire frame.
Generated events couldn't pass HV-VES client validatation, because they had empty payload.

Change-Id: I20fb6254e432de096acfcfb8f0a0a5f912ca08c0
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-1413

5 years agoMerge "Read passwords from files"
Piotr Wielebski [Wed, 10 Apr 2019 11:59:26 +0000 (11:59 +0000)]
Merge "Read passwords from files"

5 years agoRead passwords from files 25/84825/4
Piotr Jaszczyk [Wed, 10 Apr 2019 08:32:00 +0000 (10:32 +0200)]
Read passwords from files

Key- and trust-store passwords should be read from files in order to
work with DCAE tls-init-container.

Change-Id: Ibe454663328268f33f8be25ef9ec129f1ce1d396
Issue-ID: DCAEGEN2-1412
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoUpdate development scripts 04/84504/3
Filip Krzywka [Mon, 8 Apr 2019 10:40:26 +0000 (12:40 +0200)]
Update development scripts

Change-Id: I51c6f834ea6d47d055baab81d08eb7484eebef20
Issue-ID: DCAEGEN2-1399
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoMerge "Move maxPayloadSizeBytes to CollectorConfiguration"
Piotr Jaszczyk [Wed, 10 Apr 2019 09:31:15 +0000 (09:31 +0000)]
Merge "Move maxPayloadSizeBytes to CollectorConfiguration"

5 years agoMove maxPayloadSizeBytes to CollectorConfiguration 20/84120/8
Jakub Dudycz [Mon, 8 Apr 2019 12:09:16 +0000 (14:09 +0200)]
Move maxPayloadSizeBytes to CollectorConfiguration

Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-1387
Change-Id: I37151a58f5244841243dc531912af2ef50ea5d3c

5 years agoAllow retrieving multiple kafka topics status 31/84331/4
Filip Krzywka [Fri, 5 Apr 2019 06:44:52 +0000 (08:44 +0200)]
Allow retrieving multiple kafka topics status

Change-Id: I5e8433873e5d594e6df9da8c4893b0f54614efae
Issue-ID: DCAEGEN2-1399
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoMerge "Parse whole dynamic configuration"
Piotr Jaszczyk [Wed, 10 Apr 2019 06:23:20 +0000 (06:23 +0000)]
Merge "Parse whole dynamic configuration"

5 years agoParse whole dynamic configuration 07/84107/10
Jakub Dudycz [Mon, 8 Apr 2019 11:48:42 +0000 (13:48 +0200)]
Parse whole dynamic configuration

Change-Id: I96e4cf3ac75920ed909da9063ba0b788b55474e4
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-1386

5 years agoMerge "Update SDK version to 1.1.4 release"
Piotr Wielebski [Tue, 9 Apr 2019 12:39:51 +0000 (12:39 +0000)]
Merge "Update SDK version to 1.1.4 release"

5 years agoUpdate SDK version to 1.1.4 release 14/84614/1
Piotr Jaszczyk [Tue, 9 Apr 2019 06:57:16 +0000 (08:57 +0200)]
Update SDK version to 1.1.4 release

Change-Id: I3d335f503bf3deff4b779060398478c35bcde93e
Issue-ID: DCAEGEN2-1021
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoProvide enhanced component description 07/84307/9
Piotr Jaszczyk [Fri, 5 Apr 2019 06:45:26 +0000 (08:45 +0200)]
Provide enhanced component description

Change-Id: Iaed53f9acc9cdc830b2069de6d96d5f2965d9466
Issue-ID: DCAEGEN2-1394
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoFlatten configuration structure 14/84314/6
Filip Krzywka [Fri, 5 Apr 2019 09:10:46 +0000 (11:10 +0200)]
Flatten configuration structure

Change-Id: I9a5a53f3c4cf0973d071f2bc6962016b5613972d
Issue-ID: DCAEGEN2-710
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoProvide very basic component description 09/84309/3
Piotr Jaszczyk [Fri, 5 Apr 2019 06:45:26 +0000 (08:45 +0200)]
Provide very basic component description

Change-Id: If09dd6a3be5c045be6aaa6b62f259f3dce13aa9b
Issue-ID: DCAEGEN2-1394
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoGet rid of arrow-effects usage 11/84211/2
Piotr Jaszczyk [Wed, 3 Apr 2019 13:07:22 +0000 (15:07 +0200)]
Get rid of arrow-effects usage

Also clean-up dependencies + use Kotlin BOM to force single
kotlin-stdlib on classpath.

Issue-ID: DCAEGEN2-1392
Change-Id: I447c4686707de81f35f7734255ce0b13c997c4a4
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoSimplify factory/provider logic 78/84078/1
Piotr Jaszczyk [Wed, 3 Apr 2019 10:12:17 +0000 (12:12 +0200)]
Simplify factory/provider logic

Change-Id: I59467c41e1de63ead7c190a7c8fd688e3216237a
Issue-ID: DCAEGEN2-1385
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoFix shutting down when new config received bug 77/83977/5
Piotr Jaszczyk [Tue, 2 Apr 2019 13:40:46 +0000 (15:40 +0200)]
Fix shutting down when new config received bug

When new configuration has been received and at least one client
connection has been active the collector used to shut down.

Also got rid of some more IO monad usage.

Change-Id: I7981ff388ff1264a79d722727ef3005cf39e9f0d
Issue-ID: DCAEGEN2-1382
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoAllow reuse of security passwords 56/83956/1
Filip Krzywka [Tue, 2 Apr 2019 11:01:07 +0000 (13:01 +0200)]
Allow reuse of security passwords

- moved logic of creating passwords into Validator

Change-Id: Ieabab24734250bfacea96eff2b7102465ff8ed57
Issue-ID: DCAEGEN2-1380
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoMerge configurations 33/83733/12
Filip Krzywka [Fri, 29 Mar 2019 13:52:25 +0000 (14:52 +0100)]
Merge configurations

- changed temporarily HV-VES default log level to DEBUG as in current
implementation we are applying LogLevel defined in configuration file only
if we successfully retrieve one from configuration-module, which means
that inside of this module we are logging on default level (from logback
file). This should be fixed in future work
- reduced log level on SDK's CbsClientImpl as it's logging frequency was
too high

Change-Id: If50df18df099c34bfc36d39b045140f9b9ad87f6
Issue-ID: DCAEGEN2-1347
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoMerge "Move ConfigurationProvider to config module"
Piotr Wielebski [Mon, 1 Apr 2019 13:11:13 +0000 (13:11 +0000)]
Merge "Move ConfigurationProvider to config module"

5 years agoMove ConfigurationProvider to config module 98/83698/8
Piotr Jaszczyk [Fri, 29 Mar 2019 10:22:24 +0000 (11:22 +0100)]
Move ConfigurationProvider to config module

Change-Id: Ic6f955f4e777e06e7c7eed6e08c0cac470e9a51d
Issue-ID: DCAEGEN2-1347
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoFix subscription error in DcaeAppSimulator 30/83730/1
Izabela Zawadzka [Fri, 29 Mar 2019 13:10:07 +0000 (14:10 +0100)]
Fix subscription error in DcaeAppSimulator

Change-Id: I6548d7e6c676498988ddcdde4331385e87ee746d
Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
Issue-ID: DCAEGEN2-1372

5 years agoRead HV-VES healthcheck api port from cmd line 77/83377/10
kjaniak [Thu, 28 Mar 2019 09:43:59 +0000 (10:43 +0100)]
Read HV-VES healthcheck api port from cmd line

Change-Id: I6b4680a62512ef6ba15a0454e109b19619a997a6
Issue-ID: DCAEGEN2-1364
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
5 years agoMerge "Remove IO monad usage from simulators"
Piotr Jaszczyk [Fri, 29 Mar 2019 07:03:19 +0000 (07:03 +0000)]
Merge "Remove IO monad usage from simulators"

5 years agoRedefine Routing 31/82631/14
Filip Krzywka [Tue, 26 Mar 2019 13:21:02 +0000 (14:21 +0100)]
Redefine Routing

As all needed information to route messege is contained inside of
KafkaSink message, we can simply put this object as part of single Route.

Change-Id: I2e7df2e0193eb2af5283980d4d5c8df03ac94df9
Issue-ID: DCAEGEN2-1347
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoRemove IO monad usage from simulators 40/83440/4
Izabela Zawadzka [Wed, 20 Mar 2019 13:59:24 +0000 (14:59 +0100)]
Remove IO monad usage from simulators

Change-Id: I1c470777b91230f4a44a4960ca534e4b20c1ac43
Issue-ID: DCAEGEN2-1372
Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
5 years agoAdded partial config merger and updated config file format 81/83381/8
pbiniek [Fri, 15 Mar 2019 15:11:00 +0000 (16:11 +0100)]
Added partial config merger and updated config file format

Change-Id: I470d3a8b2d43f5b45d958320b620205457d1cf23
Issue-ID: DCAEGEN2-1370
Signed-off-by: Pawel Biniek <pawel.biniek@nokia.com>
5 years agoMove routing functionality inside Router 49/83349/6
Filip Krzywka [Tue, 26 Mar 2019 12:57:11 +0000 (13:57 +0100)]
Move routing functionality inside Router

- also removed Routing-DSL as it won't be needed anymore

Change-Id: Ifc7bc7641a60936b5257c0bff7a8c51dddc30687
Issue-ID: DCAEGEN2-1347
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoRemove routing from configuration file 84/83184/5
Filip Krzywka [Mon, 25 Mar 2019 11:11:07 +0000 (12:11 +0100)]
Remove routing from configuration file

Routing should only be available from CBS.

Change-Id: Idfada36dcda4192d84a5b601907d27fe0db942ce
Issue-ID: DCAEGEN2-1347
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoRemove dummyMode configuration option 48/83348/4
Filip Krzywka [Tue, 26 Mar 2019 12:14:09 +0000 (13:14 +0100)]
Remove dummyMode configuration option

As it's not really used by anyone and it's functionality does not bring
much value

Change-Id: I99b07e484a8494a036f1f1b07e21666e044edbdb
Issue-ID: DCAEGEN2-1347
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoUpdate SDK usage to comply with new API 57/83357/2
Filip Krzywka [Tue, 26 Mar 2019 14:01:22 +0000 (15:01 +0100)]
Update SDK usage to comply with new API

Change-Id: Ifa5847617b7cadaadd80a82a3b279ac2beb4b258
Issue-ID: DCAEGEN2-1347
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoMerge "Use DataStream API from CBS client"
Piotr Jaszczyk [Tue, 26 Mar 2019 12:40:13 +0000 (12:40 +0000)]
Merge "Use DataStream API from CBS client"

5 years agoRevert "Read HV-VES healtcheck api port from cmd line" 39/83339/1
Piotr Jaszczyk [Tue, 26 Mar 2019 12:36:10 +0000 (12:36 +0000)]
Revert "Read HV-VES healtcheck api port from cmd line"

This reverts commit f3d3e6745328b9ec8bb68dfbfb3d3d57aa47b36f.

Change-Id: I9d8813484831483812b0f7062d39e3d031dd7083
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Issue-ID: DCAEGEN2-1364

5 years agoUse DataStream API from CBS client 29/82929/6
kjaniak [Thu, 21 Mar 2019 13:03:53 +0000 (14:03 +0100)]
Use DataStream API from CBS client

Change-Id: Ief92f793282288938c6663616e9613c6df2d8ddb
Issue-ID: DCAEGEN2-1346
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
5 years agoRead HV-VES healtcheck api port from cmd line 14/83214/2
kjaniak [Fri, 22 Mar 2019 11:42:11 +0000 (12:42 +0100)]
Read HV-VES healtcheck api port from cmd line

Issue-ID: DCAEGEN2-1364
Change-Id: I17c38d7397174fadc7d382cfa3dd0b3a7f4d97ff
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
5 years agoUse updated CBS Client API 13/83013/1
Piotr Jaszczyk [Fri, 22 Mar 2019 09:16:25 +0000 (10:16 +0100)]
Use updated CBS Client API

Change-Id: I476900dd81d6b23e3b35a3f93c71742efdca7a6e
Issue-ID: DCAEGEN2-1363
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoSimplify consul usage 07/82907/3
Filip Krzywka [Thu, 21 Mar 2019 10:12:17 +0000 (11:12 +0100)]
Simplify consul usage

Change-Id: I707b6c52eb356cab471215b534f1143be3e4cbae
Issue-ID: DCAEGEN2-710
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoMake security keys optional with SSL disabled 05/82805/5
Filip Krzywka [Wed, 20 Mar 2019 13:53:57 +0000 (14:53 +0100)]
Make security keys optional with SSL disabled

Change-Id: I0b0dd63cb3609cddf6aa5e63cf0a0f147a0aca91
Issue-ID: DCAEGEN2-1340
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoInclude basic configuration in Docker image 00/82900/2
Piotr Jaszczyk [Thu, 21 Mar 2019 08:10:11 +0000 (09:10 +0100)]
Include basic configuration in Docker image

Makes the collector start out of the box, even without valid CBS
configuration.

Note: the basic configuration will need to be changed later.

Issue-ID: DCAEGEN2-1340
Change-Id: I3c2b502f253677e78a4f4990002e683613b8869e
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoRemove environment variables and program arguments 57/82157/10
Jakub Dudycz [Wed, 13 Mar 2019 17:44:31 +0000 (18:44 +0100)]
Remove environment variables and program arguments

- Move all command line program arguments to json file.
- Reorganize configuration classes and the way they are passed through application
- Implement HV VES configuration stream
- Create concrete configuration from partial one
- Modify main HV-VES server starting pipeline

Change-Id: I6cf874b6904ed768e4820b8132f5f760299c929e
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-1340

5 years agoUse Netty HttpServer in XnfApiServer 95/82395/5
Izabela Zawadzka [Fri, 15 Mar 2019 08:43:56 +0000 (09:43 +0100)]
Use Netty HttpServer in XnfApiServer

Change-Id: I86e06bd540c961098ee11af99735a5b35ce760fd
Issue-ID: DCAEGEN2-1325
Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
5 years agoExtract HV-VES configuration module 19/82019/8
Filip Krzywka [Tue, 12 Mar 2019 10:50:37 +0000 (11:50 +0100)]
Extract HV-VES configuration module

To avoid cyclic dependency between "modules trio"
configuration-core-ssl some classes from core.model were also extracted.

Change-Id: Ie11029ae3500964f67f4d72279ddd68cdb2a1f0c
Issue-ID: DCAEGEN2-1332
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoUse proper Consul version in docker-compose.yml 39/82039/1
Piotr Bocheński [Tue, 12 Mar 2019 15:01:12 +0000 (16:01 +0100)]
Use proper Consul version in docker-compose.yml

Change-Id: I90c430c15832ef85cc6ef4e197cae141f246cf7b
Issue-ID: DCAEGEN2-1302
Signed-off-by: Piotr Bocheński <piotr.bochenski@nokia.com>
5 years agoUse netty HttpServer in DcaeAppApiServer 21/81921/6
Izabela Zawadzka [Fri, 8 Mar 2019 08:14:56 +0000 (09:14 +0100)]
Use netty HttpServer in DcaeAppApiServer

Change-Id: I895ad192babd9cc40266d0bec3830fcd4b0e054b
Issue-ID: DCAEGEN2-1325
Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
5 years agoUse CBS by means of SDK in place of Consul 93/79393/12
Filip Krzywka [Thu, 28 Feb 2019 16:33:02 +0000 (17:33 +0100)]
Use CBS by means of SDK in place of Consul

- changed IO creation in main to fix error with too early calling
changeState method on collector HealthState
- increased coverage a little with few tests
- corrected coverage-report pom file to include new modules
- temporarily changed to 1.1.4-SNAPSHOT version of sdk due to need
of new version of CBSLookup

Change-Id: Ic73b46cf881ab4fabf52bef0327b09082aa90dc6
Issue-ID: DCAEGEN2-1302
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
5 years agoMerge "Assure coverage is checked for all modules"
Piotr Wielebski [Mon, 11 Mar 2019 13:47:27 +0000 (13:47 +0000)]
Merge "Assure coverage is checked for all modules"

5 years agoAssure coverage is checked for all modules 38/81938/3
Piotr Jaszczyk [Mon, 11 Mar 2019 13:16:39 +0000 (14:16 +0100)]
Assure coverage is checked for all modules

Change-Id: Ia9bb6cef9154d64cfa45455e38c9fe7603a64c74
Issue-ID: DCAEGEN2-1328
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoAdded JSON config file format utils 09/79309/10
pbiniek [Wed, 27 Feb 2019 22:31:15 +0000 (23:31 +0100)]
Added JSON config file format utils

Change-Id: I97fdd72324495b4c838e44c306cbcacac6b11bc1
Signed-off-by: Pawel Biniek <pawel.biniek@nokia.com>
Issue-ID: DCAEGEN2-1323

5 years agoRemove Guava 19 dependency via protobuf-java-util 16/79716/4
Jakub Dudycz [Tue, 5 Mar 2019 14:49:04 +0000 (15:49 +0100)]
Remove Guava 19 dependency via protobuf-java-util

Change-Id: Ic11cab5bce064817a954a462b3d2eea463198bd8
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-1311

5 years agoExtract module for ArgBasedConfiguration 58/79258/7
Jakub Dudycz [Wed, 27 Feb 2019 11:23:00 +0000 (12:23 +0100)]
Extract module for ArgBasedConfiguration

Change-Id: Ib11700650583378eb347451950a24c5f238382e4
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-1292