aboutsummaryrefslogtreecommitdiffstats
path: root/rest-services/cbs-client
AgeCommit message (Collapse)AuthorFilesLines
2022-11-18[CBS-CLIENT] Increase code coveragePiotr Marcinkiewicz1-13/+40
- Add tests for CbsClientConfigMap Issue-ID: DCAEGEN2-3165 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I0e2f649cd27ad23608cb74aa4035854642236a61
2022-09-08Remove CBS and Consul dependencies from CBSClient libVijay Venkatesh Kumar15-1261/+16
Issue-ID: DCAEGEN2-3098 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Change-Id: I539c6d1d935031304f3d2a8664e56c09b2abed96 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2022-08-08Fix SDK VulnerabilitiesKasperki1-1/+1
Issue-ID: DCAEGEN2-3220 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ic7df50fd22900bc680f7fff01871625ce809b4b5
2022-07-25Fix environment variable substitution for complex casesTomasz Wrobel5-19/+103
Issue-ID: DCAEGEN2-3223 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I9cfb612f0cabf6a2c96ccc4c80493885c02549fe
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-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 Janeczek4-29/+111
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 ↵Niranjana8-16/+355
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 Pietruszkiewicz11-16/+352
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 Pietruszkiewicz10-47/+271
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.tkogut1-2/+4
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 connectionPawel1-1/+1
Issue-ID: DCAEGEN2-1483 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ia5c0699359fe2317bea6177fe6dfce5c68579ba9
2020-12-30Add timeout for Publisher(dmaap-client)tkogut1-1/+1
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 Janeczek3-8/+75
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 Marcinkiewicz2-3/+3
- 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-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 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-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 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 SSLpwielebs13-39/+314
- 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 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 Jeremicz2-1/+42
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-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-09Release DMaaP client APIPiotr Jaszczyk4-7/+6
* 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-09Change SDK version to 1.1.5Filip Krzywka1-1/+1
Change-Id: Ief09284baaef6692e5739fc31c223f145779c0dd Issue-ID: DCAEGEN2-1021 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
2019-04-08Handle non-sucessfull CBS http responsesPiotr Jaszczyk2-6/+25
Change-Id: I8bdd730af80e343503aee64305ca432d933774a6 Issue-ID: DCAEGEN2-1401 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-04-03Merge "Replace CloudHttpClient with RxHttpClient in ↵Piotr Jaszczyk4-54/+157
ReactiveCloudConfigurationProvider"
2019-04-03Replace CloudHttpClient with RxHttpClient in ReactiveCloudConfigurationProviderIzabela Zawadzka4-54/+157
Change-Id: I319622dce34999e637553ffbd0d31e91110cc3c3 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1383
2019-04-01Implement toString for Gson's objects wrappersFilip Krzywka2-0/+18
Change-Id: Ie28753ba8146d63cd7d9d9c05680bc0640e64cf4 Issue-ID: DCAEGEN2-1315 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
2019-03-26Add streams parsing integration testsPiotr Jaszczyk51-841/+814
Change-Id: I22410b3fb110e47bde123556951bb12af5f34a1c Issue-ID: DCAEGEN2-1315 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-03-22Add JavaDoc to CBS streams APIPiotr Jaszczyk22-29/+250
Change-Id: Ia702750e0ec6bf54418eafb00523681429d86b22 Issue-ID: DCAEGEN2-1341 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-03-22Support other CBS endpointsPiotr Jaszczyk13-53/+427
Change-Id: I227a8edf6da8398ca58c47e864985dac47c5dfcd Issue-ID: DCAEGEN2-1363 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-03-22Merge "Create an evolution of HTTP Client"Piotr Wielebski7-118/+88
2019-03-22Create an evolution of HTTP ClientPiotr Jaszczyk7-118/+88
* simplify the API * use new http client in old one for compatibility * deprecate old one Issue-ID: DCAEGEN2-1010 Change-Id: Ief681ba536a37b29c10d133c61a1326a003ed308 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>