summaryrefslogtreecommitdiffstats
path: root/rest-services
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2018-12-14Add abstraction level for other componentspwielebs16-97/+139
* 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-11Remove unused dependencyMarcin Migdal3-7/+5
Change-Id: I0dcf3a87ef04b5c68f366c85821aef90877a98b7 Issue-ID: DCAEGEN2-1021 Signed-off-by: mmigdal <marcin.migdal@nokia.com>
2018-12-07Remove transient dependenciesMarcin Migdal3-56/+7
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 Migdal3-30/+19
Change-Id: Id66ece25205fc092d6563bb48293a522954a1392 Issue-ID: DCAEGEN2-1021 Signed-off-by: mmigdal <marcin.migdal@nokia.com>
2018-12-07CleanupMarcin Migdal4-32/+1
*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-29add dmaap client modulemicdzied23-1/+1391
Change-Id: I443a6e8be3b8a6897fc73dc8f1511772ec1d8833 Issue-ID: DCAEGEN2-994 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-11-26AAI client & common module addedpwielebs14-13/+870
* 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 APIwasala12-12/+724
* 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 settingswasala6-0/+241
Change-Id: I7b46a6580970c9df5baf7242bfd858030aefd078 Issue-ID: DCAEGEN2-971 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>