aboutsummaryrefslogtreecommitdiffstats
path: root/rest-services
AgeCommit message (Collapse)AuthorFilesLines
2021-08-02Bump version.properties to correct versionRemigiusz Janeczek1-7/+7
Issue-ID: DCAEGEN2-2692 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I2932f006bd24da28ac91aec5d34ac7ee07318760
2021-07-29Make CbsClient config and policy paths configurableRemigiusz Janeczek8-33/+115
Issue-ID: DCAEGEN2-2692 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ia9a7f265233fc78ac083180aea30d68407b6d487
2021-06-07Handle 429 error Too Many RequestsPawel10-10/+77
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 ↵Niranjana12-20/+359
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 Pietruszkiewicz15-20/+356
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 Pietruszkiewicz14-51/+275
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 Banka5-5/+5
- 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 ↵tkogut6-16/+22
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)tkogut12-24/+236
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.tkogut14-44/+462
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 connectionPawel14-9/+275
Issue-ID: DCAEGEN2-1483 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ia5c0699359fe2317bea6177fe6dfce5c68579ba9
2021-02-01Improve retry mechanism in dmaap-client.tkogut15-112/+319
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 twicetkogut4-23/+111
Issue-ID: DCAEGEN2-1483 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: I8fc58e035226c7c2d499b23f0f31df7bbdb147d4
2021-01-20Support retry in DCAE-SDK DMaaP-Clienttkogut29-334/+1054
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)tkogut24-148/+679
Issue-ID: DCAEGEN2-1483 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: Ia5b7320bc3e491548a1fa1dba2d95843a98f01ae
2020-11-27Update Reactor version and upgrade TestContainerstkogut5-7/+7
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 Janeczek7-12/+79
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 Krukowska5-5/+5
Issue-ID: DCAEGEN2-2400 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ib5629b346b232a82a863406c11284e6aba0c0a94
2020-08-18Fix SDK vulnerabilitiesPiotr Marcinkiewicz5-5/+5
- 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 Marcinkiewicz8-16/+13
- 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 Banka5-5/+5
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.6kjaniak5-5/+5
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 versionPawel5-5/+5
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 dependenciesPawel5-5/+5
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-02-19Improve coverage in sdk cbs-clientJoanna Jeremicz2-30/+78
- Added CloudConfigurationClientTest Issue-ID: DCAEGEN2-2087 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ifb3cb8616717dd01c2f20c9214704ac5b610e02d
2020-01-14Top up version after releasemharazin5-5/+5
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-17Fix CbsClientConfiguration fromEnviromentmharazin2-5/+1
Logic returning correct with previous conditions Issue-ID: DCAEGEN2-2003 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: Idb214e95b3f857d26f3065f80e9bc2e1f2700f23
2019-12-10Top up version after releasekjaniak5-5/+5
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-29Merge "aaiclient api refactor aai-client logic moved to PRH"Piotr Wielebski27-1208/+0
2019-11-29aaiclient api refactorMichal Kabaj27-1208/+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-27Upgrade CBS java SDK to support SSLpwielebs14-39/+320
- 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-26aaiclient api refactorMichal Kabaj4-197/+0
- removed unused transaction api Issue-ID: DCAEGEN2-1955 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: I5ac1ff768b1237370938cf3d9c28c5d610cbcbe4
2019-11-13Fix DCAE-SDK static code vulnerabilitiespwielebs8-8/+11
- Update patch version of SDK Change-Id: I2896e1bda3e09d27c0e3a9674861dc950ed43741 Issue-ID: DCAEGEN2-1917 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2019-10-14Fix headerJoanna Jeremicz1-1/+1
Issue-ID: DCAEGEN2-1792 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ie55603b0716ba93ee9904dfed72ab204dd35115e
2019-10-11Restructure aai-clientJoanna Jeremicz44-163/+76
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 Jeremicz7-7/+7
Issue-ID: INT-1181 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I6ec3ad3435e604d07c80c3ed62ebb8e4375fa448
2019-09-24Update project versionJoanna Jeremicz7-7/+7
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-08-01Correct path in AaiGetServiceInstanceClientJoanna Jeremicz3-4/+11
Change-Id: Id8dd6e21092de900aa0c4524339566b16b913db9 Issue-ID: DCAEGEN2-1699 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-06-28JJB alignment across DCAE components - DCAE-SDK (fixes)Piotr Jaszczyk6-6/+6
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-26Merge "Add text/plain content type handling in Publisher"Piotr Jaszczyk7-125/+522
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-19Merge "Remove slash from endpoint builder"Piotr Wielebski1-1/+1
2019-06-19Remove slash from endpoint builderMarcin Migdal1-1/+1
Change-Id: Icfd2e0e5c2fd7e5eacefbddf7e21f51b856925ae Issue-ID: DCAEGEN2-1636 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-06-18Merge "Switch from dummy server to testcontainers in DMaapClient integration ↵Piotr Jaszczyk5-597/+375
tests"