aboutsummaryrefslogtreecommitdiffstats
path: root/rest-services/http-client
AgeCommit message (Collapse)AuthorFilesLines
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 RequestsPawel1-1/+1
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 ↵tkogut1-1/+1
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)tkogut1-1/+1
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.tkogut11-42/+451
Issue-ID: DCAEGEN2-1483 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: I429474d4a0565f5aa9bd542daa0db814c5504ef6
2021-02-12Refactor class RxHttpClientFactoryPawel2-44/+109
Issue-ID: DCAEGEN2-1483 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ic35eba7198bfaf1b83ae0107952bf274772b3f35
2021-02-05Add possibility to modify the configuration for persistent connectionPawel5-3/+83
Issue-ID: DCAEGEN2-1483 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ia5c0699359fe2317bea6177fe6dfce5c68579ba9
2021-02-01Improve retry mechanism in dmaap-client.tkogut4-67/+55
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-9/+6
Issue-ID: DCAEGEN2-1483 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: I8fc58e035226c7c2d499b23f0f31df7bbdb147d4
2021-01-20Support retry in DCAE-SDK DMaaP-Clienttkogut6-35/+458
Issue-ID: DCAEGEN2-1483 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: Id3f98c0a9367f7c7c2c53ed3eba8805a5a6ab87e
2020-12-30Add timeout for Publisher(dmaap-client)tkogut4-22/+60
Issue-ID: DCAEGEN2-1483 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: Ia5b7320bc3e491548a1fa1dba2d95843a98f01ae
2020-11-27Update Reactor version and upgrade TestContainerstkogut1-2/+2
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 Marcinkiewicz1-2/+2
- 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-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-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-27Upgrade CBS java SDK to support SSLpwielebs1-0/+6
- add TrustStoreKeys class for one-way TLS for CBS client - use trust.jks & trust.pass - add unit test - top up version of Vavr lib (due to bug) Issue-ID: DCAEGEN2-1552 Signed-off-by: Piotr Wielebski <piotr.wielebski@nokia.com> Change-Id: I372c559cce5db8eba5448d99e12cdf6609c40d00
2019-11-13Fix DCAE-SDK static code vulnerabilitiespwielebs3-3/+6
- 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 Jeremicz7-6/+494
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-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-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-05-23Remove CloudHttpClient classJakub Dudycz3-363/+1
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com> Issue-ID: DCAEGEN2-1528 Change-Id: I340d566913daaefb998482e4b097d5cc8b5eae14
2019-05-14Add tests for MR SubscriberIzabela Zawadzka1-0/+4
Change-Id: I705bcd5c0a75d9ac637afdb8cd6ac17b0af55c78 Issue-ID: DCAEGEN2-1422 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
2019-05-09Release DMaaP client APIPiotr Jaszczyk14-0/+1289
* 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>