summaryrefslogtreecommitdiffstats
path: root/rest-services
AgeCommit message (Collapse)AuthorFilesLines
2019-03-27Merge "DMaaP consumer more generic Added logging to Cloud Http Client"Piotr Wielebski3-48/+59
2019-03-27DMaaP consumer more genericMarcin Migdal3-48/+59
Added logging to Cloud Http Client Change-Id: I443163b3ec292370c39cd10229c3479e36f6c9c1 Issue-ID: DCAEGEN2-1310 Signed-off-by: mmigdal <marcin.migdal@nokia.com> Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-03-26Proposal of enhanced DMaaP APIPiotr Jaszczyk12-0/+499
Change-Id: Ia941489aaa3ee34c42cedd719a957ec2a2ea7181 Issue-ID: DCAEGEN2-1368 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-03-26Add streams parsing integration testsPiotr Jaszczyk55-231/+1000
Change-Id: I22410b3fb110e47bde123556951bb12af5f34a1c Issue-ID: DCAEGEN2-1315 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-03-25Merge "Add PUT method"Piotr Jaszczyk5-12/+97
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-22Add PUT methodJoanna Jeremicz5-12/+97
Change-Id: I1ae710a005f245f0a83af1e0e430b95a93516aa0 Issue-ID: DCAEGEN2-1353 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@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 Wielebski17-173/+765
2019-03-22Create an evolution of HTTP ClientPiotr Jaszczyk17-173/+765
* 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-20Merge "Kafka streams parsers - additions"Piotr Wielebski46-257/+853
2019-03-19Merge "Add logging to CLoud Http Client debug"Piotr Wielebski1-2/+4
2019-03-19Add logging to CLoud Http Client debugMarcin Migdal1-2/+4
Change-Id: Ibc6f96016a6f3df5682793911c228e3c5e6b0cd8 Issue-ID: DCAEGEN2-1310 Signed-off-by: mmigdal <marcin.migdal@nokia.com> Signed-off-by: Marcin Migdal <marcin.migdal@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-19Merge "Remove modification of Http Headers"Piotr Wielebski3-18/+0
2019-03-19Remove modification of Http HeadersMarcin Migdal3-18/+0
Change-Id: I62c6750995e8b88bbd65018e4532192cfc678d6b Issue-ID: DCAEGEN2-1310 Signed-off-by: Marcin Migdal <marcin.migdal@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-19Change CloudHttpClient API parse ArrayMarcin Migdal4-7/+14
Change-Id: I1127ab28ee4f0e482540829f26acfc1bc8f5667c Issue-ID: DCAEGEN2-1310 Signed-off-by: mmigdal <marcin.migdal@nokia.com> Signed-off-by: Marcin Migdal <marcin.migdal@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-12Merge "add post request test"Piotr Jaszczyk1-12/+43
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-11add post request testmicdzied1-12/+43
Change-Id: I8d488a48b68d99d72439901616a5e3053aa836fd Issue-ID: DCAEGEN2-1315 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2019-03-08Change CloudHttpClient APIMarcin Migdal5-15/+23
Change-Id: Icbbe871e71c6bb46aba7411b9f9016af14c5eab9 Issue-ID: DCAEGEN2-1310 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-03-08Merge "DMaaP client remove Spring"Piotr Wielebski16-214/+247
2019-03-08DMaaP client remove SpringMarcin Migdal16-214/+247
Change-Id: I9e0206d4b3c737df8a80944f0050871c1ad307c6 Issue-ID: DCAEGEN2-1310 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-03-08add tests for patch requestmicdzied2-23/+79
Change-Id: I9af4698e80d6d7c840ae6eba0e08323e1e8ea852 Issue-ID: DCAEGEN2-1315 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2019-03-07add get request testmicdzied3-5/+64
Change-Id: I94a4337ca2a335587382c9965f6543af619e16ea Issue-ID: DCAEGEN2-1315 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2019-03-06Refactor of AAI HTTP ClientsMarcin Migdal4-97/+66
Change-Id: I020fb8342e70c159392aef913183bed94796a7ba Issue-ID: DCAEGEN2-1277 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2019-03-06Remove DefaultUriBuilderFactory from DMaaP ClientMarcin Migdal1-10/+15
Change-Id: Ia1e340455ebaf9db492670dbec56229af0425036 Issue-ID: DCAEGEN2-1310 Signed-off-by: mmigdal <marcin.migdal@nokia.com> Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-03-06Merge "Update patch version to 1.1.4"Piotr Wielebski5-5/+5
2019-03-06Update patch version to 1.1.4Marcin Migdal5-5/+5
Change-Id: I305408bae2b3adbc6d474b07f9142905056f3723 Issue-ID: DCAEGEN2-1310 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-03-06add plugin and dummy testsmicdzied1-0/+43
Change-Id: I37bf5ee0c0750b29c6deedf7ae77b6b7dc0f23bc Issue-ID: DCAEGEN2-1315 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2019-03-05add junit testsmicdzied3-1/+86
Change-Id: I6b7c80dbdd6043842777f950f215317ff063aeab Issue-ID: DCAEGEN2-1310 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2019-03-05Spring removalMarcin Migdal1-6/+41
Change-Id: I7f886d6817d3491f27b9f217d52ccaf3e421c530 Issue-ID: DCAEGEN2-1310 Signed-off-by: mmigdal <marcin.migdal@nokia.com> 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 Jaszczyk28-27/+515
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 Jaszczyk13-148/+95
2019-02-28Remove Spring stuff from DMaaPMarcin Migdal13-148/+95
Change-Id: Id441d0dce89fcb24b5558af7bdf996a74eba78e6 Issue-ID: DCAEGEN2-1245 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-02-28Emit CBS config updates onlyPiotr Jaszczyk8-4/+111
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-27Merge "Add MDC support to CBS client"Piotr Wielebski14-63/+320
2019-02-27Add MDC support to CBS clientPiotr Jaszczyk14-63/+320
Change-Id: Id1f1f9016b03658eca0afd0bd3bd724afc0bea96 Issue-ID: DCAEGEN2-1233 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-02-27Remove Spring stuff from DMaaPMarcin Migdal2-6/+9
Change-Id: I68f4e1f398505b94053acb0999450b67906029b4 Issue-ID: DCAEGEN2-1245 Signed-off-by: Marcin Migdal <marcin.migdal@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 usage of Spring in SDK IIpwielebs10-780/+0
- AAI Http Clients Change-Id: Id83a72699e860d1d71f0bdcd2e977c6c0cfc113e Issue-ID: DCAEGEN2-1277 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>