aboutsummaryrefslogtreecommitdiffstats
path: root/rest-services
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-02-26Remove Spring stuff from CBSMarcin Migdal8-159/+57
Change-Id: I68f4e1f398505b94023acb0999450b67906029b4 Issue-ID: DCAEGEN2-1245 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-02-26Remove usage of Spring in SDKpwielebs7-2/+375
- AAI Http Clients Change-Id: I28c563508977162eacb35a09f2a6c3b932535cd2 Issue-ID: DCAEGEN2-1277 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2019-02-21move URI classmicdzied3-13/+23
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-19Add http put AAI client for SDKpwielebs3-1/+236
Change-Id: I28c563508977162eacb35a09f2a6c3b932535b52 Issue-ID: DCAEGEN2-1246 Signed-off-by: pwielebs <piotr.wielebski@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 Jaszczyk5-13/+13
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-31Extract HV VES Client ssl-related classesJakub Dudycz1-0/+4
- Create common ssl module - Extract ssl-related classes from HV VES Client module - Mark org.onap.dcaegen2.services.sdk.rest.services.ssl.SslFactory class as deprecated Change-Id: I31ef784e8822981ba541fb3f525f003218cd5c88 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com> Issue-ID: DCAEGEN2-1135
2019-01-10High Volume VES Collector Client - stubPiotr Jaszczyk7-16/+27
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-07change access modifiermicdzied1-2/+1
Issue-ID: DCAEGEN2-1061 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com> Change-Id: I689dc9ae43066234e1d02bfaf4635b013b887fd6
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>