Age | Commit message (Collapse) | Author | Files | Lines |
|
Update transformation code based on Min's requirement. This includes all
Measurement transformations.
Issue-ID: DCAEGEN2-600
Change-Id: I082df846e159a4f158619e700a6dfed6de43cd95
Signed-off-by: PATRACHARI <gp2421@att.com>
|
|
Remove potential race condition coming from
shared 'version' veriable in singleton instance of
RestController.
Move the logic behind reading the json schemas out
of a on-request phase to application startup.
Minor refactoring done that will bump up test coverage.
Change-Id: I2ad1ba91dafafd785ede61591a4dc146abf6a1eb
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
Issue-ID: DCAEGEN2-526
|
|
Initial commit to include the support for below
- VES 7.1 API
- updated spec and data-format
- Response code update per new spec
- springfox for swagger doc
- New topic defaults
Todo
- Swagger instrumention to include necessary annotation
- Event Transformation 7.x to 5.x
- VES7.x response header
- AAF cert integration
Change-Id: I9bc2223fa362b35ae8a7105acd651fe524a403c5
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-600
|
|
VESCollector app can now fetch CBS configuration and
rebuilt the part regarding sending events dynamically,
without restarting application.
Application will still be restarted by a .sh script,
if there were changes regarding collector.properties file.
The decision of whether dynamic configuration should be
triggered is now based on existence of env vars
CONSUL_HOST, CONFIG_BINDING_SERVICE, HOSTNAME,
not as previously on CBSPOLLTIME.
Frequency at which the config check should happen is
now exposed via property from collector.properties
Change-Id: I98ff160fa51d08d84a23c716d90ceaacbe17ada6
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
Issue-ID: DCAEGEN2-519
|
|
Change-Id: I2227939a67a2cbba2d392136d49ef4419600d186
Issue-ID: DCAEGEN2-602
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
|
|
|
|
Extract application settings to diferent class
First step to remove nsaServerLibrary
Change-Id: Ib4fb236ac4683d241c7841ba66f1afbcfb10c92a
Signed-off-by: ZlatkoMurgoski <zlatko.murgoski@nokia.com>
Issue-ID: DCAEGEN2-566
|
|
Removed .sh scripts that are not needed.
Fill readme with a description of some of the things
that might be not visible at first glance
Refactor .sh scripts, remove not used or not needed parts
Fix a bug where pidof <package> does not work.
Change logging of the scripts and they way that app is run so
that the logs are in one place -> collector.logs
Fixed a bug where tomcat startup problems are not logged
Added log rotation with logrotate tool
Change-Id: I156328ab23d18a20072177ae8c5420772c3e2c7c
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
Issue-ID: DCAEGEN2-610
|
|
From now on, there is only one single place
where we can create whole app core concerning sending events
and it has a single entry point, based on DMaaP configuration.
It can be used to rebuild part of app that is responsible
for sending events dynamically.
Changes are in scope for the dynamic DMaaP config feature.
+ bumped up code coverage a bit
Change-Id: Iecc8c4e534ae9b781f47e3616409271ba83169c8
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
Issue-ID: DCAEGEN2-517
|
|
Many things there are unused or have inproper modifiers,
spelling etc. I run static analysis tool (Intellij code inspect)
and clear those things up. It will be easier to maintain now.
No actual behavior changes were done.
Issue-ID: DCAEGEN2-526
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
Change-Id: I1a4ad0c896bd32165cba654344ffc5245648c615
|
|
Issue-ID: DCAEGEN2-522
Signed-off-by: KOBLOSZ SANDRA <sandra.koblosz@nokia.com>
Change-Id: I2d9928ff3ffeda0e204480f13e8c8bf91bddf912
|
|
|
|
Remove dead bash code that is being executed during Maven build
phases and reimplement Docker interaction using plain Maven
solution.
This change simplifies build procedure and allows developers to
easily build, run and test their own self-built VES image on
local machine.
Issue-ID: DCAEGEN2-534
Change-Id: I63eb150406b78a71a55fdc728a4fbb4e1a4e6554
Signed-off-by: Piotr Bochenski <piotr.bochenski@nokia.com>
|
|
|
|
The bug was that custom exception config was never actually queried
because of the mismatch between the production code usages and .json config file.
Change-Id: I416ef5f45770f9bb55d5dff143277b6c62fa25ba
Issue-ID: DCAEGEN2-518
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
|
|
While we run unittests, they create files directly
inside the repository, those files are later proposed
as changes to commit.
Change-Id: Iffcb3820959f85099d3fe0ab9db1a198f8f60d78
Issue-ID: DCAEGEN2-524
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
|
|
Testcases were skimming through the code, but actually make no asserts.
Change-Id: Icba8fe890c01fc11a4507ca468ab4d9b6141caf9
Issue-ID: DCAEGEN2-524
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
|
|
|
|
|
|
|
|
Issue-ID: DCAEGEN2-521
Change-Id: I9290f21701945cd1bb5e7a43a671991417f25491
Signed-off-by: Krysiak Adam Gabriel <adam.krysiak@nokia.com>
|
|
|
|
Testcases in this file are written in a way that they
always throw exceptions, information about this is logged
and the assertion is always true.
Change-Id: Icbb0b6d4df9782e3a05f8d31fc71886a12a0105a
Issue-ID: DCAEGEN2-524
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
|
|
Testcases were skimming through the code, but actually make no asserts.
Change-Id: I3cab0a75c885e1e459b18066f13e351970f476b0
Issue-ID: DCAEGEN2-524
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
|
|
DMaaPPropertyReader tests had no meaningful assert statements
Tests for actual topic retrieval were added
Change-Id: Ieb861f02d8484ac4bfd5a49b3c70d296bd2c129b
Issue-ID: DCAEGEN2-524
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
|
|
Testcases in those files were overengineered, plus there were
duplicates so they got simplified.
Obsolete classes that were unneeded were removed
Change-Id: I9fce325aed4f1a3a6073f0c564adac1ec5a6beae
Issue-ID: DCAEGEN2-524
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
|
|
|
|
Change-Id: I1d360fd371520bc34b9c99c667484eb5dad81e81
Issue-ID: DCAEGEN2-460
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
|
|
|
|
Change-Id: I545c2ab0fc46d6667b403e840bec2a1f0dde25d5
Issue-ID: DCAEGEN2-466
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
|
|
Change-Id: I12cd5be15e37b5c0fc93f71b8fbde90026b7aaec
Issue-ID: DCAEGEN2-462
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
|
|
* Remove need for having sendEvent synchronized by means of using
Guava LoadingCache. The only thing that made it synchronized was the
creation of new entries in the map but the synchronization was made
on each incoming event.
* Split the class to smaller classes which conform to SRP. This makes us
able to...
* ... write unit tests for affected classes
* TODO: upgrade to Java8 so lambdas will simplify the code even more
Change-Id: I14cf4cfab0570ce5aecc9a5e5dc9f541c499f9d7
Issue-ID: DCAEGEN2-440
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
|
|
Change-Id: Iae00d76ac70d6fc318d54151f99ec58eb8188aac
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-434
|
|
Change-Id: I3f1bee6b9ff072528246186a73ee5133f9a918aa
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-388
|
|
Change-Id: I7bfd3583b16c5f2b914a9b5f3cca2d3a07614895
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-360
|
|
Change-Id: I73a1fdd0dc0624332fc799761e8681af7f19dd3c
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-360
|
|
Change-Id: I7a3b52c454442d6a9f93331142b78bf671ffcd0a
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-373
|
|
Change-Id: Ibaf0bef19e447162233217b0aa44c04cbe550dce
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-227
|
|
Change-Id: If32e2319c71b947b7e5c68410f32b19ba5ac8125
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-227
|
|
The changes are for the purpose of allowing DMAAPHOST environmental
variable to accept either hostname and IP address. If it is IP
address, the resolution for default dmaap hostname is written to
/etc/hosts; if hostname,an alias is created in /etc/host.aliases
for the default dmaap hostname.
(for the hostname aliasing to work, chnage default dmaap hostname
to onap-dmaap, no domain).
Change-Id: I58583cc5b678a29b54d8baecbd0b7bec621f7c8f
Signed-off-by: Lusheng Ji <lji@research.att.com>
Issue-ID: DCAEGEN2-235
|
|
Change-Id: I47b2c429abc2a8c795f9faa7739d8d75f67ed287
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-227
|
|
Change-Id: Ib4fcdf3754c43f4d1996ea50b888d976e728705a
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-227
|
|
Change-Id: I8e0349f411dc05625b14536afc0acb1fac9a55c2
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-227
|
|
Change-Id: I2c6da3d590caed0b847a3dca90e5013951689788
Signed-off-by: Lusheng Ji <lji@research.att.com>
Issue-ID: DCAEGEN2-325
|
|
Change-Id: I6d5fb2ad45257831e8e0ff62812df1fd1401464d
Issue-ID: DCAEGEN2-281
Signed-off-by: Vijay VK <vv770d@att.com>
|
|
Removed toString() method for string datatypes
Issue-ID: DCAEGEN2-207
Change-Id: I24d45fa312808333df7c42b85c277baa708bfa35
Signed-off-by: libujacob <libu.jacob@huawei.com>
|
|
Issue-ID: DCAEGEN2-212
Change-Id: Ie6c946a96de276574d9e2d6b20af38661f84130a
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
|
|
Issue-ID: DCAEGEN2-212
Change-Id: Id72d2b1851ff4457295088609c355e19d19e3d73
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
|
|
Issue-ID: DCAEGEN2-212
Change-Id: Id388f26be57d2a12250a6845ed5678d0cebceed6
Signed-off-by: Vijay Venkatesh Kumar<vv770d@att.com>
|
|
Issue-ID: DCAEGEN2-198
Change-Id: I09296ae4d13a0ad442bc139e69c13d19e4be0916
Signed-off-by: Vijay <vv770d@att.com>
|