aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-19Merge "Add test for ssl version of connection in CT"Piotr Jaszczyk7-25/+74
2019-02-19Add test for ssl version of connection in CTkjaniak7-25/+74
Issue-ID: DCAEGEN2-1223 Change-Id: I0828a9637376dd6176ba07cf6f35f382d1e41070 Signed-off-by: kjaniak <kornel.janiak@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-19Merge "Remove vavr from SSL API"Piotr Wielebski13-77/+373
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-18Remove vavr from SSL APIPiotr Jaszczyk13-77/+373
It is still used internally, but methods does not depend on it. The goal was to support clean integration with any JVM app, ie. apps using Kotlin are rather using Arrow or nothing at all. Issue-ID: DCAEGEN2-1069 Change-Id: I1a9151bacd287d65ca8c84057de2f3c174cf8145 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-02-08Add send with raw payload method to HvVesProducerJakub Dudycz9-54/+128
Change-Id: I430b176373c8c351105c1d10047aace63319dd7c Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com> Issue-ID: DCAEGEN2-1164
2019-02-08Merge "Implement support for new ProducerOptions"Piotr Jaszczyk10-19/+138
2019-02-08Implement support for new ProducerOptionskjaniak10-19/+138
Following options will be supported: version minor, version major. This allows to create Wire Transfer Protocol with versions provided by sdk library client. Change-Id: I604bb6e47486910a87f7d148a9d721653f69a8a5 Issue-ID: DCAEGEN2-1171 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2019-02-07Merge "Simple OK case for HV-VES"Piotr Jaszczyk3-13/+81
2019-02-06Simple OK case for HV-VESpbiniek3-13/+81
* includes building of actual message (only some fields set) * includes receiving it, and validates if fields are properly decoded Change-Id: Ic20afa1487e24ff42db399bd68ea490744c193e9 Issue-ID: DCAEGEN2-1069 Signed-off-by: Pawel Biniek <pawel.biniek@nokia.com>
2019-02-06Add support for server-side SSL context factoryPiotr Jaszczyk11-41/+249
Change-Id: I2fa64c71f55f1abfdeb4a2323c5456475d87fdd1 Issue-ID: DCAEGEN2-1069 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-02-04Update reactor versionPiotr Jaszczyk15-30/+30
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 Dudycz15-20/+81
- 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-29Test encoding intermediate packages using GPBFilip Krzywka3-8/+19
Change-Id: I1f3e2fefce165fa17e27a5e2c2edd456e27b63b4 Issue-ID: DCAEGEN2-1131 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
2019-01-28Encode outgoing packages using WTPFilip Krzywka9-37/+200
Change-Id: I5a2c14846168bcc1a77bec6a96ecdd3114c5016a Issue-ID: DCAEGEN2-1069 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
2019-01-24Write WTP and Protobuf encoders stubsJakub Dudycz14-23/+539
- Make slight architecture changes - Write encoders stubs - Add some util test classes - Write unit tests Change-Id: Ida49d42c89f3bb607aa4562d5a22f1a56ffc094a Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com> Issue-ID: DCAEGEN2-1113
2019-01-18HV-VES Client - ProducerOptionsPiotr Jaszczyk21-42/+626
* ProducerOptions written * very basic client implementation * added vavr dependency so it's easier to handle Java Issue-ID: DCAEGEN2-1098 Change-Id: I680948c61174f60cd78c8ee39b6f92419f913d36 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-01-17Generate Java code from GPBFilip Krzywka13-29/+311
This adds module for generating Java code from Google Protocol Buffers files Change-Id: Ie7d71ad0fb18854d98f50688c00034cc1699f0b4 Issue-ID: DCAEGEN2-1097 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
2019-01-15HV-VES client in SDK - architecture stubPiotr Jaszczyk25-106/+837
Initial archetecture skeleton with defined interfaces, dependencies etc. Also component test (CT) framework was written. Change-Id: I30ba400ad71eb63a8563d8350e4fd02709f4992a Issue-ID: DCAEGEN2-1073 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-01-10High Volume VES Collector Client - stubPiotr Jaszczyk23-29/+559
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-18Upgrade version for security modulespwielebs2-3/+3
Change-Id: I3d3ccb0f0791905c3e2d16ab2db9b5c0440f9356 Issue-ID: DCAEGEN2-986 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-12-14for releasepwielebs1-1/+0
Change-Id: I0917e1a60fd45c23a16e11e8c3e747b45c6407d5 Issue-ID: DCAEGEN2-986 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-12-14Add abstraction level for other componentspwielebs18-99/+141
* 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-13Tool for password cryptographyZlatko Murgoski6-0/+160
Tool for password cryptography Change-Id: I7713c8568a00409e282c250eefe4047458d3edac Issue-ID: DCAEGEN2-1020 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2018-12-11Spring version 5.1.2Marcin Migdal1-1/+1
Change-Id: Id912e667648ded486e8370080f3e48b1113ea4c8 Issue-ID: DCAEGEN2-1021 Signed-off-by: mmigdal <marcin.migdal@nokia.com>
2018-12-11Remove unused dependencyMarcin Migdal4-7/+6
Change-Id: I0dcf3a87ef04b5c68f366c85821aef90877a98b7 Issue-ID: DCAEGEN2-1021 Signed-off-by: mmigdal <marcin.migdal@nokia.com>
2018-12-10Merge "Update INFO.yaml"Vijay Venkatesh Kumar1-0/+84
2018-12-07Remove transient dependenciesMarcin Migdal4-71/+21
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 Migdal4-36/+19
Change-Id: Id66ece25205fc092d6563bb48293a522954a1392 Issue-ID: DCAEGEN2-1021 Signed-off-by: mmigdal <marcin.migdal@nokia.com>
2018-12-07CleanupMarcin Migdal5-44/+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-12-07Remove fat jars from SDKMarcin Migdal1-27/+0
Change-Id: Ie04a1cd958271144ec6f0bfda83bd79fbd11107e Issue-ID: DCAEGEN2-1021 Signed-off-by: mmigdal <marcin.migdal@nokia.com>