summaryrefslogtreecommitdiffstats
path: root/rest-services/cbs-client
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-12-14Add abstraction level for other componentspwielebs1-2/+2
* vesrion in poms updated to 1.1.0-SNAPSHOT Change-Id: Ieaa0a8ead1a9a74206fe4bdee85944d11b96c843 Issue-ID: DCAEGEN2-986 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-12-07Remove transient dependenciesMarcin Migdal1-2/+0
Change-Id: I8f5fc2630d9cc9bd4a00798dfc660e7bbd0b1e33 Issue-ID: DCAEGEN2-1021 Signed-off-by: mmigdal <marcin.migdal@nokia.com>
2018-12-07Remove logback from SDK cbsMarcin Migdal1-38/+0
Change-Id: If88c0b3f5b46c428ba065306c6f1b8ed56d25864 Issue-ID: DCAEGEN2-1021 Signed-off-by: mmigdal <marcin.migdal@nokia.com>
2018-12-07Remove junit-platform-launcheMarcin Migdal1-9/+5
Change-Id: Id66ece25205fc092d6563bb48293a522954a1392 Issue-ID: DCAEGEN2-1021 Signed-off-by: mmigdal <marcin.migdal@nokia.com>
2018-12-07CleanupMarcin Migdal1-10/+0
*Remove Junit 4 stuff *Remove Junit 5 API Change-Id: Idc7ea695ab21d3c7cbef1e14151d0a11aedaa2e6 Issue-ID: DCAEGEN2-1021 Signed-off-by: mmigdal <marcin.migdal@nokia.com>
2018-11-26AAI client & common module addedpwielebs2-7/+7
* added module containing common code for other sdk modules * added reactive rest client for AAI data base with unit tests * improved poms * license text corrected accoriding to SDK Change-Id: I23ea5fbf0e45170b2a1d70ad300bd72121d16ec1 Issue-ID: DCAEGEN2-986 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-11-19Added cbs APIwasala11-11/+723
* one main cloudConfigurationProvider * Mixing string and object property passed to API * added maven-shade plugin Change-Id: Idcd66fd70c20c859b5b6f94524f3fdb709fdfc57 Issue-ID: DCAEGEN2-982 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-11-19SDK initial project settingswasala3-0/+115
Change-Id: I7b46a6580970c9df5baf7242bfd858030aefd078 Issue-ID: DCAEGEN2-971 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>