aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2023-02-14Test updates1.12.3Vijay Venkatesh Kumar2-12/+18
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-10/+14
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 Kumar1-2/+3
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>
2022-12-05Updating Log4j console to comply with Logging GRBert Sloan1-2/+31
Issue-ID: DCAEGEN2-3257 Change-Id: Ic9c4c2e6eb3312fe02a8a9ed003e4326747813bd Signed-off-by: Bert Sloan <rs833t@att.com>
2022-10-27Revise SDK version for CBSClient updatesVijay Venkatesh Kumar1-14/+8
SDK 1.9.x removes CBS/Consul parameters Change-Id: I527cafdbe5a9b2aca1a15df8edd19f9e03dff5de Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-3295 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2021-08-24Update DCAE SDK libraryPiotr Marcinkiewicz3-24/+24
Issue-ID: DCAEGEN2-2719 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: If4086ddf60747b4d87c5067a68df748a7dc2c689
2021-06-17Replace cambria with DmaaP clientMaciej Malewski21-448/+623
- 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-03-21[DCAEGEN2] vescollector upgrade versions:Maciej Malewski1-1/+2
crypt-password from 1.3.5 to 1.8.0 micrometer-registry-prometheus from 1.4.2 to 1.6.5 spring-boot-dependencies from 2.2.2.RELEASE to 2.4.3 json-schema-validator from 1.0.29 to 1.0.49 gson from 3.8.5 to 3.8.6 json from 20160810 to 20210307 vavr from 0.9.2 to 0.10.3 spring-boot-starter-log4j2 from 2.1.5.RELEASE to 2.4.3 mockito-junit-jupiter from 2.23.0 to 3.8.0 assertj-core from 3.8.0 to 3.19.0 jimfs from 1.1 to 1.2 wiremock-standalone 2.17.0 to 2.27.2 spring-security-test from 5.1.1.RELEASE to 5.4.5 api-custom-header from 1.1.4 to 1.8.0 functionaljava from 4.8.1 to 4.9 dcaegen2-services-sdk-services-external-schema-manager from 1.4.3 to 1.8.0 cbs-client from 1.4.2 to 1.8.0 Issue-ID: DCAEGEN2-2682 Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com> Change-Id: I043ef1a8eb2a068d63c0248afe3bdf140d2570f5
2020-11-06CBS configuration fetchingBogumil Zebek5-29/+83
- Fix deadlock problem which occurs during starting application Change-Id: I9103f0efd7caa105727f4814532934881335190f Issue-ID: DCAEGEN2-2495 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2020-11-02Fetch configuration from CBSBogumil Zebek10-146/+299
- Fix memory leak. - Add reactive configuration fetching from Consul. Now configuration is updated when any change in VES configuration has been done in Consul. Change-Id: I9cd42e04844c9e99d4d03951185523b569dc9483 Issue-ID: DCAEGEN2-2495 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2020-10-16Add logs from external-repo-manager libEdyta Krukowska3-4/+16
Issue-ID: DCAEGEN2-2478 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: If6f4ab2c8fd9a4bf14e2391acc54eb7b25689e21
2020-09-24Fix VES problem with subsequent fetching from CBS1.7.6Adam Wudzinski3-9/+5
Issue-ID: DCAEGEN2-2453 Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Change-Id: If6aa6bc79b460d06908022fb4eb6cfbf096a8eb8
2020-09-18Fix an unexpected error in testsBogumil Zebek3-73/+95
- 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 Banka4-31/+22
- 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)Pawel15-516/+340
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 Banka12-166/+399
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-13StndDefined event routingBogumil Zebek1-2/+14
- Update WS error response - Update DPO configuration Change-Id: Id4eb5ea50af6d55c839047c4f39b9f99487e95de Issue-ID: DCAEGEN2-1771 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2020-08-06StndDefined event routingBogumil Zebek12-98/+336
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-2/+7
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-10/+19
Increase code coverage: - HeaderUtil - EnvProps - WebMvcConfig Change-Id: I880a4ff02d436cf153d41c795d8e95dfc67fd61b Issue-ID: DCAEGEN2-2245 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2020-05-13Activate prometheus metrics for perf tests - pom.xml fixedyta1-0/+4
Issue-ID: DCAEGEN2-608 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Iaa0f32e99ab46e8e4646109d15c63513b8a269f4
2020-03-11Fix VES Collector loggingPawel1-2/+12
Issue-ID: DCAEGEN2-2107 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ib13784a5e2d80dd468955c3a0cd69d8debe67218
2020-01-17Changed EventTransformation schema to be loaded only onceawudzins6-52/+67
Issue-ID: DCAEGEN2-1774 Signed-off-by: adamwudzinski <adam.wudzinski@nokia.com> Change-Id: I50f3da2c11201a40be948ab199aaca89bbbb38db
2020-01-15updated jackson-databind and changed json schema validator libraryPawel4-66/+129
Issue-ID: DCAEGEN2-1825 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ia4c9c6286adcf84631a58f9d5bfef124fed1cee6
2019-11-08Remove certOnly and basicAuth from authentication methodspawel8-132/+34
Issue-ID: DCAEGEN2-1776 Signed-off-by: pawel <pawel.kasperkiewicz@nokia.com> Change-Id: I475dcce9de8c7c05d2a05cf51dc862b5bf920164
2019-11-04Fix security issue in api interceptorRemigiusz Janeczek1-2/+12
Issue-ID: DCAEGEN2-1880 Change-Id: I5b93dd8405ef9a0a364c6e1224afcfacc9df1fba Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
2019-09-11Not Secured healtcheckZlatko Murgoski8-34/+128
https://jira.onap.org/browse/DCAEGEN2-1539 Issue-ID: DCAEGEN2-1539 Change-Id: I55c9387e64a5a6b710785ecbfa695683d821599a Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2019-06-27valid api versionluna4-12/+97
Issue-ID: DCAEGEN2-897 Change-Id: I77f015dadb03159a1c2cf43cf6a8a782d7a2e27a Signed-off-by: luna <nil@vmware.com>
2019-06-21Merge "No available docker logs"Vijay Venkatesh Kumar3-14/+153
2019-06-20No available docker logsZlatko Murgoski3-14/+153
https://jira.onap.org/browse/DCAEGEN2-1618 Issue-ID: DCAEGEN2-1618 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com> Change-Id: If44392a5d5654952cbf1f8f048d9c6deb6ced832
2019-06-14VES Collector - Event OrderingZlatko Murgoski10-340/+336
https://jira.onap.org/browse/DCAEGEN2-1483 Change-Id: I28b0e871ce570a3cf4c0d2e08d040b66eb6db3aa Issue-ID: DCAEGEN2-1483 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2019-06-07Merge "Basic auth not working"5.0.1-ONAPVijay Venkatesh Kumar2-59/+23
2019-06-07Basic auth not workingZlatko Murgoski2-59/+23
https://jira.onap.org/browse/DCAEGEN2-1541 Issue-ID: DCAEGEN2-1541 Change-Id: I61211b7a4693fea60b6da4bc460c2be47a41efa7 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2019-05-30Remove unnecessary logawudzins1-1/+0
Remove info about cert matching Change-Id: I07f2803062d0ccd763efd94275158b011426e302 Issue-ID: DCAEGEN2-1016 Signed-off-by: awudzins <adam.wudzinski@nokia.com>
2019-04-18VES Collector - certBasicAuth1.4.4Zlatko Murgoski4-104/+65
https://jira.onap.org/browse/DCAEGEN2-1440 Issue-ID: DCAEGEN2-1440 Change-Id: I7976d03c65e261930533a49a6716fd6161124ad9 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2019-04-15Merge "Collector authentication enhancement"Vijay Venkatesh Kumar5-4/+147
2019-04-15Collector authentication enhancementZlatko Murgoski5-4/+147
Add cert subject verifier Change-Id: If2c3c0984e9eec63e2884ca17db953fff2719888 Issue-ID: DCAEGEN2-1101 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2019-04-12Collector log isuueZlatko Murgoski1-1/+1
Collector log issue, after stop/start using appControler.sh logs was not added to collector.log Issue-ID: DCAEGEN2-1287 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com> Change-Id: Ia669fb53d179125323abe9db45e0158b06ff0024
2019-04-05Fix sonar violationawudzins3-11/+9
Fix sonar violation Change-Id: I72d7c4a7ac127b9ec89e8a144d934aa96884fc6a Issue-ID: DCAEGEN2-1016 Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
2019-03-19Merge "Remove unused code"Tony Hansen1-49/+1
2019-03-15Collector authentication enhancementZlatko Murgoski11-113/+447
Collector authentication enhancement Change-Id: I03a05cb83dd8c498fb218e82e9b3958348fbb4ac Issue-ID: DCAEGEN2-1101 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2019-03-14Remove unused codeBogumil Zebek1-49/+1
Change-Id: I6c84baf1d50f26b8ba49be671384257d2b34ab8f Issue-ID: DCAEGEN2-1016 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-04Remove alias propertyZlatko Murgoski1-1/+0
Remove unused alias property Issue-ID: DCAEGEN2-1104 Change-Id: Ib843a624e36b99057bf66f5b1ec72d4b498e4481 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2019-03-01Restart IssueZlatko Murgoski10-193/+158
Restart Issue Issue-ID: DCAEGEN2-1104 Change-Id: Iac1ee2f79be00084f5c0cd963503d54d7d6e6cb9 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2019-01-29Fix sonar violationZlatko Murgoski10-27/+67
Fix sonar violation Issue-ID: DCAEGEN2-1016 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com> Change-Id: I0db722972aeeb57ebb4b61b11f1e302f613890d5
2018-12-31Fix sonar violationZlatko Murgoski26-51/+44
Fix sonar violation' Change-Id: Ia5718d2bcbf9f5efea40d8250b7ad57f6d2eb2f3 Issue-ID: DCAEGEN2-1016 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2018-12-27Merge "Fix bug with processing event list"Vijay Venkatesh Kumar4-127/+187
2018-12-21Fix bug with processing event listZlatko Murgoski4-127/+187
DMaapEventPublisher processing of eventList Issue-ID: DCAEGEN2-1035 Change-Id: If62ec51d1dc1f0e501fda624dae23c7a83d3727b Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2018-12-19Merge "Remove clear text password"Michael Hwang1-3/+3
2018-12-14Merge "Simplify cli parser logic"Vijay Venkatesh Kumar1-18/+19