aboutsummaryrefslogtreecommitdiffstats
path: root/rest-services
AgeCommit message (Collapse)AuthorFilesLines
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"
2019-06-17JJB alignment across DCAE components - DCAE-SDKrajendrajaiswal1-1/+1
Change-Id: Ieebb4f882f563d1539dbd1af512eb198db66ecde Issue-ID: DCAEGEN2-1578 Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
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-12Merge "Monitoring API - write framework adapters"Piotr Wielebski4-1/+16
2019-06-12Monitoring API - write framework adaptersPiotr Jaszczyk4-1/+16
Change-Id: Iaba9c4ef6022d01c1f572055316700a3a4dfa8f2 Issue-ID: DCAEGEN2-1589 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-06-11Bulk queries (transactions) for PRHkurczews6-0/+212
Issue-ID: DCAEGEN2-1608 Change-Id: I9cff39a05657120de2741a7f9a584c189d8cfe91 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-06-11Merge "Deprecate AAI pnfUrl"Piotr Wielebski2-11/+29
2019-06-11Deprecate AAI pnfUrlkurczews2-11/+29
Issue-ID: DCAEGEN2-1608 Change-Id: I4efdcdcde4e3905e369cec171bcd7e629e1b7bee Signed-off-by: kurczews <krzysztof.kurczewski@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-30Omit CBS lookup in ConsulFilip Krzywka12-232/+135
This is first iteration of changes related to switching from "CBS lookup" mechanism to direct CBS usage. Change-Id: I910612c689e10be5d9506643c61ae3cd8ffd0dca Issue-ID: DCAEGEN2-1521 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
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-27Restore access modifiers due to errors in PRHpwielebs3-3/+3
Change-Id: If7113b8d52dc340e317bf4532892786c73636d0a Issue-ID: DCAEGEN2-1533 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>