dcaegen2/collectors/hv-ves.git
5 years agoImplemented simple tcp client 59/58359/1
Jakub Dudycz [Tue, 29 May 2018 12:46:27 +0000 (14:46 +0200)]
Implemented simple tcp client

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

5 years agoMerge "Fix wire protocol decoder refCnt issue"
Przemyslaw Wasala [Wed, 1 Aug 2018 07:15:12 +0000 (07:15 +0000)]
Merge "Fix wire protocol decoder refCnt issue"

5 years agoMerge "Docker image metadata"
Przemyslaw Wasala [Wed, 1 Aug 2018 07:13:06 +0000 (07:13 +0000)]
Merge "Docker image metadata"

5 years agoFix wire protocol decoder refCnt issue 55/58355/1
Piotr Jaszczyk [Mon, 4 Jun 2018 11:51:29 +0000 (13:51 +0200)]
Fix wire protocol decoder refCnt issue

We should use retain + slice because every reactor-netty operator
automatically releases the buffer.

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

5 years agoDocker image metadata 53/58353/1
fkrzywka [Fri, 1 Jun 2018 12:49:42 +0000 (14:49 +0200)]
Docker image metadata

Change-Id: I6769b8c9bb9c5f5f2b839ab43d1cd347f43cd32a
Signed-off-by: fkrzywka <filip.krzywka@nokia.com>
Issue-ID: DCAEGEN2-601

5 years agoDocker compose for kafka and zookeeper 51/58351/1
kjaniak [Fri, 1 Jun 2018 12:26:28 +0000 (14:26 +0200)]
Docker compose for kafka and zookeeper

Change-Id: I40622783a49b6ab24e0761229f6f875b3ce05813
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Issue-ID: DCAEGEN2-601

5 years agoDocker image creation 37/58337/2
fkrzywka [Fri, 1 Jun 2018 10:45:22 +0000 (12:45 +0200)]
Docker image creation

Maven integration with docker build

Closes ONAP-226

Change-Id: I115ff9c13e1bf06a7594a174c7703bfea42f3641
Signed-off-by: fkrzywka <filip.krzywka@nokia.com>
Issue-ID: DCAEGEN2-601

5 years agoSimulator module addition 33/58333/1
kjaniak [Tue, 29 May 2018 11:32:14 +0000 (13:32 +0200)]
Simulator module addition

Change-Id: I8f6e9737954a8769a25450ed22a0285cadfcf164
Issue-ID: DCAEGEN2-601
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
5 years agoHV VES Collector seed code 43/57643/3
Piotr Jaszczyk [Thu, 26 Apr 2018 07:17:09 +0000 (09:17 +0200)]
HV VES Collector seed code

Contains squashed commits up to 11fe6b63 (2018-05-30). The whole
contains a basic project structure. We are trying to put rest of the
commits one by one so we do not loose the history.

Bellow there are messages of the single commits in this squashed bulk:

Basic project setup
Create base maven project with Gitlab CI configuration.
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Merging guildeline
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Add remote branch delete command
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Sample runtime in Kotlin - PoC
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Setup project internal architecture
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Message routing
Determine target topic and partition by VES Common Header.
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Parse GPB message header
fkrzywka <filip.krzywka@nokia.com>

Set listen port based on command line args
Use Apache Commons CLI to parse cmd line args.
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Drop invalid GPB messages
Instead of propagating error and closing stream just drop the message
and proceed. Final handling logic may include closing the connection or
sending some message depending on the specification.
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Add Apache license file
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Convert to maven multi-module project
fkrzywka <filip.krzywka@nokia.com>

Component tests with current GPB schema
* Using v5 draft protobuf definition
* Code reorganized to so component boundaries are more visible
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Thin logging facade over slf4j
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Introduce code analysis tools
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Implemented reading configuration from consul

Ves Common Header validation added (required parameters existance check)

Micro benchmark for direct vs on-heap NIO buffers
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Decode wire protocol and fix (most?) memory leaks
Proposed wire protocol is just a suggestion and will (should) change
in the future.
Netty's ByteBuf is a reference-counted wrapper over a memory chunk. It
is crucial to free unused buffers by means of release() method.
The general rule regarding memory management was suggested. Let's put
all memory-cleanup logic in main VesHvCollector class so other classes
could focus on their job.
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Minor cleanup
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Add license info in files
Piotr Jaszczyk <piotr.jaszczyk@nokia.com>

Change-Id: Ic484aa107eba48ad48f8ab222799e1795dffa865
Issue-ID: DCAEGEN2-601
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
5 years agoInitial empty repository
Jessica Wagantall [Wed, 11 Jul 2018 18:40:07 +0000 (18:40 +0000)]
Initial empty repository