aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/dcae/common
AgeCommit message (Collapse)AuthorFilesLines
2023-12-22[DCAEGEN2] Remove DMaaP dependency in VES-Collector1.12.4sushant532-6/+18
Removed DMaaP dependency in VES-Collector by using new sdk library, which uses Kafka API directly. Issue-ID: DCAEGEN2-3401 Change-Id: Ia64eac12d05f71194111b82a7987283013c8a7f0 Signed-off-by: sushant53 <sushant.jadhav@t-systems.com>
2023-02-14Test updates1.12.3Vijay Venkatesh Kumar3-1/+98
Test updates for ConfigProcessor, DMaaPConfigurationParser & DMaaPEventPublisher Change-Id: I340b3591ca47172dc90f8dafabdc1a0bf34ffb7c Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-3345 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2023-02-03VESCollector test additionsVijay Venkatesh Kumar2-21/+161
Add additional tests for ConfigProcessor and ApiAuthInterceptor Change-Id: Ic8a3debe9bb11997b8aef3dc752017d2b2804b14 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-3345 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2023-01-28VESCollector Test optimizationVijay Venkatesh Kumar6-29/+67
Fix test failure in win Add check for docker\linux dependency on related test Change-Id: I5be1fa860a69fc6479d9c0b202eabbb0336ea0c4 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-3334 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2021-06-17Replace cambria with DmaaP clientMaciej Malewski9-318/+528
- remove cambria, add DmaaP client - sending event for many topics at once is no longer supported - add backward compatibility status codes - add additional validation for batchEvent Issue-ID: DCAEGEN2-1483 Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com> Change-Id: I945c38b4ab04b697ecfabd5ce38502f83fa70d1a
2021-02-24 Use updated CommonEventSchema in VES Collector1.8.0Edyta Krukowska1-37/+78
Issue-ID: DCAEGEN2-2477 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I8c5fbbd17ebb3a5e1b96b5ac4f4ab3632fd2c484
2020-09-18Fix an unexpected error in testsBogumil Zebek1-60/+94
- Fix an error reported by DMaapEventPublisher test when pk is not available. Issue-ID: DCAEGEN2-2374 Change-Id: I69c0f89b292c8454f3eebaffe4884928d241f235 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2020-09-15Fix bug throwing exception when first event is collectedMichal Banka1-4/+6
- Problem: When running app from jar (e.g. in docker env) ClassLoader badly interprete classpath as root of app jar, while resources are located in jar under BOOT-INF/classes/ in Spring Boot apps. - Solution: Moved file from resources to etc directory so ClassLoader isn't needed. Filepath of api_version_description.json which previously was badly resolved now is configured in collector.properties. Change-Id: I690394cc59e16c95f5902045efc3fdaf13bf9112 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: DCAEGEN2-2426
2020-08-26Config fetch for VESCollector through DCAE-SDK (CBS Client)Pawel2-5/+5
Issue-ID: DCAEGEN2-2212 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: I25072b340b5c9f2f538d39e5befb1331804b7bba Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
2020-08-19Add implementation of stndDefined fields validation1.7.3Michal Banka3-0/+411
Added implementation of stndDefined fields from incoming events. Validation is performed using external-schema-manager tool from DCAE SDK. StndDefined fields schemas are stored in etc/externalRepo directory. Additional stndDefined related properties has been added to collector.properties. VES version has been set to 1.7.3. Issue-ID: DCAEGEN2-2254 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: Iedaa3622b1d527f6794822c8867b9dfd1860bb8f
2020-08-06StndDefined event routingBogumil Zebek3-32/+239
Route stndDefined events to streams defined in namespace event field. Change-Id: I3963e220095665f8ca3fd1b21c5c20b44057cf76 Issue-ID: DCAEGEN2-1771 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2020-07-14Dynamic partition-key supportVijay Venkatesh Kumar1-5/+8
Change-Id: I6c5faf4a610813e1382da55f62b5a0f9da6db506 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1484
2020-06-01Add unit test to few classesBogumil Zebek1-0/+79
Increase code coverage: - HeaderUtil - EnvProps - WebMvcConfig Change-Id: I880a4ff02d436cf153d41c795d8e95dfc67fd61b Issue-ID: DCAEGEN2-2245 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-06-14VES Collector - Event OrderingZlatko Murgoski1-3/+9
https://jira.onap.org/browse/DCAEGEN2-1483 Change-Id: I28b0e871ce570a3cf4c0d2e08d040b66eb6db3aa Issue-ID: DCAEGEN2-1483 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2018-12-31Fix sonar violationZlatko Murgoski6-0/+524
Fix sonar violation' Change-Id: Ia5718d2bcbf9f5efea40d8250b7ad57f6d2eb2f3 Issue-ID: DCAEGEN2-1016 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>