summaryrefslogtreecommitdiffstats
path: root/rest-services/cbs-client
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-03-21Correcting issues from Sonar (syntax)kjaniak11-31/+28
Change-Id: I569e1ff4ccafeae2278d275d848407070861296f Issue-ID: DCAEGEN2-1342 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2019-03-19Kafka streams parsers - additionsPiotr Jaszczyk46-257/+853
Change-Id: I98ca661682b41d76d3de668d6faeb6ebe02f92a8 Issue-ID: DCAEGEN2-1341 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-03-19Implement StreamParserkjaniak32-34/+1029
Change-Id: I3ee50ad70bb107fa39f227af7dab67948b7dbe4b Issue-ID: DCAEGEN2-1342 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2019-03-14Implement Kafka stream definition parsersPiotr Jaszczyk25-57/+937
Change-Id: I43215c1c2494b6036deb004891fb76bfd2b74474 Issue-ID: DCAEGEN2-1341 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-03-11Emit error on service discovery failureFilip Krzywka8-7/+72
- moved cbs-client exceptions to single API module Change-Id: I1b0d45f231d39b600beebb7fad1ef2dba941dbad Issue-ID: DCAEGEN2-1302 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
2019-03-11Merge "Merge MerkleTree and MTNode"Piotr Jaszczyk4-215/+116
2019-03-06Update patch version to 1.1.4Marcin Migdal1-1/+1
Change-Id: I305408bae2b3adbc6d474b07f9142905056f3723 Issue-ID: DCAEGEN2-1310 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-03-05Merge MerkleTree and MTNodeIzabela Zawadzka4-215/+116
Change-Id: Iffe72a0f40a8e608fa7f0a6424eacc21f196e167 Issue-ID: DCAEGEN2-1303 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
2019-03-01Model streams1.1.3Piotr Jaszczyk24-15/+511
Issue-ID: DCAEGEN2-1255 Change-Id: I955e7eb3cfe20efd06f484b6c8d2c5cd6a7ee200 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-03-01Merge "Improve ListenableCbsConfig"Piotr Jaszczyk5-54/+116
2019-03-01Correct Consul port numberkjaniak1-1/+1
Change-Id: I118c60e662966ba5908c2312184183ecdb7aca40 Issue-ID: DCAEGEN2-1304 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2019-02-28Improve ListenableCbsConfigJakub Dudycz5-54/+116
Change-Id: I6a3d7cbf78fef398b9b82080e6ce762dcfe24376 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com> Issue-ID: DCAEGEN2-1274
2019-02-28Merge "Remove Spring stuff from DMaaP"Piotr Jaszczyk8-114/+7
2019-02-28Remove Spring stuff from DMaaPMarcin Migdal8-114/+7
Change-Id: Id441d0dce89fcb24b5558af7bdf996a74eba78e6 Issue-ID: DCAEGEN2-1245 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-02-28Emit CBS config updates onlyPiotr Jaszczyk7-4/+70
Add an update method to CbsClient which emits an item only when the configuration has accentually changed. Change-Id: I6023fb1cc069b06bd2c4baf94406538965b6534c Issue-ID: DCAEGEN2-1233 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-02-27Add MDC support to CBS clientPiotr Jaszczyk10-61/+117
Change-Id: Id1f1f9016b03658eca0afd0bd3bd724afc0bea96 Issue-ID: DCAEGEN2-1233 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-02-27Implement CBS ClientPiotr Jaszczyk8-64/+344
Change-Id: I6736dd6ea7598beb8542274a91fcb3967fac9c89 Issue-ID: DCAEGEN2-1233 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-02-27CBS lookup algorithmPiotr Jaszczyk13-30/+319
Implement CBS lookup algorithm as docummented on https://wiki.onap.org/display/DW/MicroServices+Onboarding+in+ONAP#MicroServicesOnboardinginONAP-CodesnippettofetchconfigurationfromConfigbindingservice Change-Id: Ib465c5fd44b853ba46e152259744dbdd775872a0 Issue-ID: DCAEGEN2-1233 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-02-26Remove Spring stuff from CBSMarcin Migdal4-155/+53
Change-Id: I68f4e1f398505b94023acb0999450b67906029b4 Issue-ID: DCAEGEN2-1245 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-02-21move URI classmicdzied3-164/+10
Change-Id: I4e923f0426ecccda6de973400a022e4d86780d4f Issue-ID: DCAEGEN2-1267 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2019-02-20Parse JsonObject to MerkleTreeFilip Krzywka2-0/+288
Change-Id: I424eec2c4c47ddff1bff3ef612a7b31a62e1cf3e Issue-ID: DCAEGEN2-1254 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
2019-02-20PoC of change-based configuration using MerkleTreePiotr Jaszczyk8-5/+836
The goal of this MR is to check if storing application configuration fetched from CBS in Merkle Tree would be a good approach. CoS: - it should be possible to refetch configuration at some intervals - any new update should trigger changes in affected modules, ie. change of dmaap topics should trigger changes in dmaap client but not in aai client In order to satisfy this requirement a MerkleTree-based solution was proposed. The structure keeps track of hashes of each node and its subnodes. In case of a change in one branch the hash of other sibling branch will not change. Change-Id: I034be0f67d8522025a49a6ac8311b7efb8452765 Issue-ID: DCAEGEN2-884 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-02-19remove usage of springmicdzied4-7/+166
Change-Id: I7464f0235c2fb4189d3f13cd3129a9d8498c468d Issue-ID: DCAEGEN2-1245 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2019-02-19Prepare CBS client for future changesFilip Krzywka4-0/+133
Skeleton of module definition for CBS client. Change-Id: I62e7f599a36d8d159d6d5c9b09fcf3744ad9dbc1 Issue-ID: DCAEGEN2-1234 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
2019-02-04Update reactor versionPiotr Jaszczyk1-2/+2
Use latest Reactor version. Also align with Spring Boot and Spring Framework. Change-Id: I43217817f4efc3649711b58106b0393152c750f8 Issue-ID: DCAEGEN2-1069 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-01-10High Volume VES Collector Client - stubPiotr Jaszczyk1-2/+2
Other minor changes: * Set dependencies to compatible versions (spring, spring-boot and reactor + reactor-netty) * Fix compilation errors on Java 11 Change-Id: If482c0dffd7162315df6d7b7fdedf554ef7c5d9d Issue-ID: DCAEGEN2-1070 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-01-03add annotationmicdzied1-1/+2
Change-Id: Ie3d46170be72448d08af57361148175edd315b1e Issue-ID: DCAEGEN2-1054 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2019-01-03add service annotationmicdzied1-0/+2
Issue-ID: DCAEGEN2-1054 Change-Id: Icaa863e6b3ed6944736383b4f7ee8349dbfe7018 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-12-27change access modifiermicdzied1-1/+1
Change-Id: I85a3b37dbfa5fdaead7736f3861613129b7843a4 Issue-ID: DCAEGEN2-1050 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>