aboutsummaryrefslogtreecommitdiffstats
path: root/rest-services/dmaap-client
AgeCommit message (Collapse)AuthorFilesLines
2022-02-08Fix SDK VulnerabilitiesTomasz Wrobel1-1/+14
Issue-ID: DCAEGEN2-3051 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I45891470ee07d6fce2b4dce7efaba6382f62451c
2021-07-29Make CbsClient config and policy paths configurableRemigiusz Janeczek1-1/+1
Issue-ID: DCAEGEN2-2692 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ia9a7f265233fc78ac083180aea30d68407b6d487
2021-06-07Handle 429 error Too Many RequestsPawel6-6/+73
Issue-ID: DCAEGEN2-2827 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Iedfb6572f008876b52a102948aeb640d27e51314
2021-06-03Update CBS-Client to read policy configuration from a file exposed by ↵Niranjana1-1/+1
policy-sidecar container Issue-ID: DCAEGEN2-2752 Signed-off-by: Niranjana <niranjana.y60@wipro.com> Change-Id: Ib00d1b031021c0342b0845b63d65172333ac4158
2021-05-18Add to Java CBS-Client ability to resolve evns in app-config.yaml loaded ↵Tomasz Pietruszkiewicz1-1/+1
from ConfigMap Change-Id: Ic85c1511133594500bdf31b9d491cc70d34ff5d5 Issue-ID: DCAEGEN2-2716 Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
2021-04-29CBS-Client to support config fetch from a configMapTomasz Pietruszkiewicz1-1/+1
Change-Id: I2ad57844d142ece3275ed6d8586d8689b296bbbe Issue-ID: DCAEGEN2-2716 Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com> Signed-off-by: Michal Banka <michal.banka@nokia.com>
2021-03-30Add stndDefinedNamespace field to CommonEventHeaderMichal Banka1-1/+1
- Bumped version to 1.8.2 - Added new field to .proto file Change-Id: Idd8194628244c8610bdb85750fa80cfd46427da0 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: DCAEGEN2-2701
2021-03-25Remove test dependencies(google.guava, apache.commons.lang3) usage from ↵tkogut2-12/+18
runtime code Issue-ID: DCAEGEN2-2670 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: I8ef7a1ea6e61cb1232476e6f82238a3124e52160
2021-03-16Support authorized topics in DMaaP-Client (HTTP Basic-Auth)tkogut8-19/+231
Issue-ID: DCAEGEN2-2670 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: I9f12a16df57c2ddbec457ff017e148f7c19ed20d
2021-02-25Honor the Retry-After HTTP header in case of 413 status code.tkogut2-0/+7
Issue-ID: DCAEGEN2-1483 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: I429474d4a0565f5aa9bd542daa0db814c5504ef6
2021-02-05Add possibility to modify the configuration for persistent connectionPawel6-3/+189
Issue-ID: DCAEGEN2-1483 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ia5c0699359fe2317bea6177fe6dfce5c68579ba9
2021-02-01Improve retry mechanism in dmaap-client.tkogut11-45/+264
Return last exception instead of timeout exception when retry exhausted. Handle no connection exception when sending requests to dmaap-mr. Issue-ID: DCAEGEN2-1483 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: Ibe318fa349b79999a5c8054e04e72e444a42ea78
2021-01-25Fix problem with resource releases when retry more than twicetkogut2-14/+105
Issue-ID: DCAEGEN2-1483 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: I8fc58e035226c7c2d499b23f0f31df7bbdb147d4
2021-01-20Support retry in DCAE-SDK DMaaP-Clienttkogut23-299/+596
Issue-ID: DCAEGEN2-1483 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: Id3f98c0a9367f7c7c2c53ed3eba8805a5a6ab87e
2021-01-07Add timeout for Subscriber(dmaap-client)Pawel6-26/+141
Issue-ID: DCAEGEN2-1483 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ib733af0541a1aad84691a2db97c1e495f0162866
2020-12-30Add timeout for Publisher(dmaap-client)tkogut17-123/+616
Issue-ID: DCAEGEN2-1483 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: Ia5b7320bc3e491548a1fa1dba2d95843a98f01ae
2020-11-27Update Reactor version and upgrade TestContainerstkogut1-1/+1
Issue-ID: DCAEGEN2-2532 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: Ic92bdbb7b82055e7b9ec211d50d04f6843b4ca5e
2020-11-25Fix CbsClientFactory to allow retry on Mono from createCbsClientRemigiusz Janeczek1-1/+1
Issue-ID: DCAEGEN2-2516 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Id6e58625f3c6bd4aa7dcb1bb167839e0ed31ef93
2020-08-31Change parameters of external-schema-manager to JSON notationEdyta Krukowska1-1/+1
Issue-ID: DCAEGEN2-2400 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ib5629b346b232a82a863406c11284e6aba0c0a94
2020-08-18Fix SDK vulnerabilitiesPiotr Marcinkiewicz1-1/+1
- Update spring boot from 2.2.9 to 2.3.3 - Update patch version from 1.4.1 to 1.4.2 Issue-ID: DCAEGEN2-2277 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I7334e09ed8a7d4dc1cf06a180ca7e21de5f2e089
2020-08-06Fix SDK vulnerabilitiesPiotr Marcinkiewicz3-9/+6
- Update spring boot dependencies and fix warnings about deprecations. - Update testcontainers version to 1.14.3 - Top up patch version to 1.4.1 Issue-ID: DCAEGEN2-2277 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I2173e0160728f2d404c7cf65e1869a642db49ece
2020-07-28Change SDK version to 1.4.0 and add empty external-schema-manager submoduleMichal Banka1-1/+1
Change-Id: I5cb477b611059f308e7e3f8e057ed5612e7fbca8 Issue-ID: DCAEGEN2-2254 Signed-off-by: Michal Banka <michal.banka@nokia.com>
2020-04-09Update DMaaP msgrtr version in docker-compose file6.0.0-ONAPfrankfurtpwielebs9-63/+438
Change-Id: Ia44c8630cee8275969cbd1ea1629b2948a263908 Issue-ID: DCAEGEN2-2178 Signed-off-by: Piotr Wielebski <piotr.wielebski@nokia.com>
2020-03-13Snapshot version changed to 1.3.6kjaniak1-1/+1
Verison change after release of 1.3.5 Issue-ID: DCAEGEN2-2107 Change-Id: Ie07fa4d28778dc19cb39fc0b375307cd3d7f92cf Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-03-10Fix project versionPawel1-1/+1
We have changed the sdk version from 1.5.0 to 1.3.5, because versioning guidelines defined for SDK project were broken. Issue-ID: DCAEGEN2-2107 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: I188927204b606306b8d3ebbdaa4cfcedc60912d8
2020-03-05Crete jar without dependenciesPawel1-1/+1
Issue-ID: DCAEGEN2-2107 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ib850353e3cde022922a7a2b22f90d4327c7e2b7d
2020-03-02Improve coverage in SDK (2)pwielebs2-0/+498
Restored test classes: - MessageRouterSubcriberTest - MessageRouterPublisherTest Issue-ID: DCAEGEN2-2087 Signed-off-by: Piotr Wielebski <piotr.wielebski@nokia.com> Change-Id: If1923b58e7b0b706f93fdaa0cfddad5dca28976e
2020-01-14Top up version after releasemharazin1-1/+1
SDK current version is set to 1.4.0 Issue-ID: DCAEGEN2-1984 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: I566c44082297e01b645cc1ee11a460b097384f20
2019-12-10Top up version after releasekjaniak1-1/+1
SDK current version is set to 1.3.4 Change-Id: Ie5cedab539fb01d3ca9bdd55450cb73256c203da Issue-ID: DCAEGEN2-1552 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2019-11-29aaiclient api refactorMichal Kabaj1-6/+0
aai-client logic moved to PRH Issue-ID: DCAEGEN2-1955 Change-Id: I3ff2fe942b29b13d0a2a6c859d98bd11b2c7a6a5 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-11-13Fix DCAE-SDK static code vulnerabilitiespwielebs1-1/+1
- Update patch version of SDK Change-Id: I2896e1bda3e09d27c0e3a9674861dc950ed43741 Issue-ID: DCAEGEN2-1917 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2019-10-11Restructure aai-clientJoanna Jeremicz8-8/+1
and get rid of common-dependency module Issue-ID: DCAEGEN2-1792 Change-Id: Ifcc69a917b2aec02615df93d10979d6c38a25ff2 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-09-25Update project version to 1.3.1-SNAPSHOTJoanna Jeremicz1-1/+1
Issue-ID: INT-1181 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I6ec3ad3435e604d07c80c3ed62ebb8e4375fa448
2019-09-24Update project versionJoanna Jeremicz1-1/+1
Issue-ID: INT-1181 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I5e0d4ce8b88814591f491ff313c33d10f9812143
2019-08-28Update DMaapMR image versionIzabela Zawadzka1-1/+1
Now it is the same as in dmaap/messageservice project Change-Id: Id4c5186261635ea0fb408858df6928a6b02c2240 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1746
2019-08-20Use local docker-compose in testcontainersIzabela Zawadzka1-1/+2
Issue-ID: DCAEGEN2-1726 Change-Id: Icc3ed801909750de5d6ba2f65f042e05e39797e1 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
2019-06-28JJB alignment across DCAE components - DCAE-SDK (fixes)Piotr Jaszczyk1-1/+1
Fixes after https://gerrit.onap.org/r/#/c/dcaegen2/services/sdk/+/89902/ Change-Id: Ibcde065e8b52d7fa90d1772758f3089cfe7a527a Issue-ID: DCAEGEN2-1578 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-06-26Add text/plain content type handling in PublisherIzabela Zawadzka7-125/+522
Change-Id: I51e17d64f813e16b81385abb8aa862ee1f927d35 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1630
2019-06-14Switch from dummy server to testcontainers in DMaapClient integration testsIzabela Zawadzka5-597/+375
Change-Id: I1f75a0e1f85a91401d99e6f57fa648259d057b81 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1616
2019-06-12Monitoring API - write framework adaptersPiotr Jaszczyk1-0/+4
Change-Id: Iaba9c4ef6022d01c1f572055316700a3a4dfa8f2 Issue-ID: DCAEGEN2-1589 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-06-10Refactor MRSubscribeResponse interface to return list of parsed JsonElementsIzabela Zawadzka4-40/+43
Also now MRSubscriber also uses io.vavr.collection.List for consistency Change-Id: Id420f1c2627b305f871ab0bb566060884b1aa3f1 Issue-ID: DCAEGEN2-1607 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
2019-06-06Write sample integration tests that use testcontainersIzabela Zawadzka2-72/+224
Also refctor MRPublisher unit tests to pass json messages in correct format Change-Id: Ia8246ded00e11d8ce90c2d84091249134548be01 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1536
2019-05-28Add sample tests that runs DMaap MR in containerIzabela Zawadzka5-0/+325
Testcontainers framework can be used to test integration with Dmaap MR Change-Id: I5ef7b792226da09eb7cc0ea441f528e236e41053 Issue-ID: DCAEGEN2-1512 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
2019-05-23Remove CloudHttpClient usages from dmaap-client moduleJakub Dudycz21-1437/+0
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com> Issue-ID: DCAEGEN2-1527 Change-Id: I8b5ddbf5231cb4848eb288300cf786bb549950cf
2019-05-21Create tests for MR PublisherIzabela Zawadzka1-15/+157
Change-Id: Ic4c2b0e7331753b3b774db9becd92b54df1ab25f Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1423
2019-05-16Write unit tests for MR Subscriberkjaniak3-32/+97
Change-Id: I9ce78cc74898ded8ba6b01513cca9463cb78c345 Issue-ID: DCAEGEN2-1422 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2019-05-14Add tests for MR SubscriberIzabela Zawadzka1-16/+216
Change-Id: I705bcd5c0a75d9ac637afdb8cd6ac17b0af55c78 Issue-ID: DCAEGEN2-1422 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
2019-05-09Release DMaaP client APIPiotr Jaszczyk31-59/+397
* remove @ExperimentalApi annotation * deprecate old API * extract http-client module + refactor * change DmaapClientFactory so it's more configurable Change-Id: I710d20558eece8cc3d7c0740e765d34737134b3a Issue-ID: DCAEGEN2-1492 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-05-07Update versions for ElAlto releasePiotr Jaszczyk1-1/+1
Change-Id: Id22c316d18fcaf6a28464524b6ad8b9da9f404bd Issue-ID: DCAEGEN2-1475 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-04-11Enhance dmaap-client v2Piotr Jaszczyk9-117/+394
* include sent messages in dmaap mr response * split publisher and subscriber * write some unit tests Issue-ID: DCAEGEN2-1421 Change-Id: Ie71e9344efd4a520406b87923413a45d51c28225 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>