aboutsummaryrefslogtreecommitdiffstats
path: root/prh-dmaap-client
AgeCommit message (Collapse)AuthorFilesLines
2018-11-15AaiReactiveWebClientFactory junitspkaras1-1/+1
Change-Id: Id366c938199e27593b3d7f22f87905f38bbd77e0 Issue-ID: DCAEGEN2-975 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-11-07SSL setup for dmaap publisherpkaras12-15/+211
Change-Id: I5dbfc551e515a5f3ce23ec9ffc766ae3012a057a Issue-ID: DCAEGEN2-952 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-11-06Names change of SSL config paramsMaciej Wejs5-45/+37
Change-Id: I719b38b76fec976c459bfca6ffdc6dd9c1d7b00c Issue-ID: DCAEGEN2-953 Signed-off-by: Maciej Wejs <maciej.wejs@nokia.com>
2018-11-06SSL setup for dmaap consumerpkaras6-69/+138
Change-Id: I5856554fa05cfd9ad637c0491eb801f9937c967a Issue-ID: DCAEGEN2-951 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-11-05DmaaP Publisher and consumer interfaces ssl setuppkaras10-28/+167
Change-Id: I971d0fb222c6e8e15de4fc4a4d9eeb4ef3a99f44 Issue-ID: DCAEGEN2-944 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-10-26Simplify DmaaP Publisher and consumer interfacespkaras2-10/+10
Change-Id: Iaa7d870e8bd33687047832960c86adb7e97d969c Issue-ID: DCAEGEN2-922 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-10-25certificate configuration for DMaaP and AAIpkaras3-40/+90
Change-Id: If074b4b1b5dce0dd5a69cd464cf6259177580736 Issue-ID: DCAEGEN2-888 Signed-off-by: Pawel <piotr.karas@nokia.com>
2018-10-22Change of the prh versionKasperkiewicz Pawel1-1/+1
Issue-ID: DCAEGEN2-882 Change-Id: If7249188b2191346ab6b7afe1455623454ae6fd0 Signed-off-by: Kasperkiewicz Pawel <pawel.kasperkiewicz@nokia.com>
2018-10-16CLM SCAN VULNERABILITIESwasala1-1/+13
*Upgraded Spring from 5.0.5 -> 5.1.0i *Changed implementation of SSL in AAICLient Change-Id: I1341c19931031da67c2d0deb14940a2748b0203b Issue-ID: DCAEGEN2-870 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-10-09Upgraded pom versions in PRHwasala1-1/+1
modules Change-Id: I2f3fc65b9d602f4be70b0938bec516b84e0da38a Issue-ID: DCAEGEN2-863 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-09-11PRH:security vulnerabilities fixwasala4-61/+27
*Removed unused libraries *Fixed vulnerablities in connection with clm scan *Replaced AssertJ in tests verification by using StepVerifier Change-Id: I81c3ac54e5514735f0fca8150fcc218d96dc5ce3 Issue-ID: DCAEGEN2-770 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-09-04MDC fixmicdzied1-2/+7
Change-Id: I4b12f9b9914d93ee2969b4b3cf48a47837330a6d Issue-ID: DCAEGEN2-745 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-09-04Fixing code issuespwielebs5-27/+12
1. SonarIssues 2. CheckStyle corrections 3. Empty code deletions 4. Adding AAIHeaders config to cloud configurations Change-Id: Id624c52bc7f57338fad5276fffd9f29b21af2f69 Issue-ID: DCAEGEN2-606 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-09-04Clear warnings in sysout Fix:pwielebs3-7/+6
*Checkstyle violations *Sonar Issues *FindBugs Issues Change-Id: Ie634fa6644cdbdb1f952826a75c6a4ffeabe0cbf Issue-ID: DCAEGEN2-606 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-09-04Refatoring due to prh workflowpwielebs5-75/+66
1. Added specified HttpClient for DmaaPPublisher: *DmaaP Handle transfer-encoding: chunk header and reject the request if it will be set by the client. In conclusion no other reactive http client can be used for pushing something to dmaap. 2. Added sll support to A&AI rective webclient. *Behaviour of reactive A&AI HttpClient is different as in native spring have without it. 3. Added 10s fixed time in PRH for requesting DmaaP. 4. Added debug log in reactive/native http clients. 5. Fixed reactive workflow of prh. 6. Updated the version of: * spring-boot-dependencies:2.0.1.RELEASE->2.0.4.RELEASE * spring-boot-starter-reactor-netty:2.0.2.RELEASE->2.0.4.RELEASE * spring-webflux:5.0.5.RELEASE->5.0.8.RELEASE * reactor-bom:Bismuth-RELEASE->Bismuth-SR10 Change-Id: I815ffb5bdcf48d94f3b7c64040a73e98e404a5e8 Issue-ID: DCAEGEN2-743 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-08-31Refactor Docker image building processPiotr Bochenski2-25/+34
Align Docker image building process to VES project. Also refactor all Maven configurations. Change-Id: I3856bb75f41247f5ce7f17fb813aa2ab692e4def Issue-ID: DCAEGEN2-737 Signed-off-by: Piotr Bochenski <piotr.bochenski@nokia.com>
2018-08-30add MDC'smicdzied9-21/+39
Change-Id: Ie4fe86791f46b790ae42088a5d2b93f491e4549d Issue-ID: DCAEGEN2-730 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-08-22Fix for logging:pwielebs4-7/+6
- removal of authentication in Dmaap client - improvement of logging in the DmaaP's & AAI's clients - Dmaap Topic upgraded according to VES 7.0 spec - correction in tasks scheduling Change-Id: Ie0b153b5544c69be54718460247dcd1d83f6ebe2 Issue-ID: DCAEGEN2-721 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-08-21Second part loading PRH CONFwasala1-1/+1
*Priority for loading configuration *Run asynchronus task in parallel which is responsible for dynamic hot swaping configuration from CONSUL/CBS Change-Id: I03ca0458e34eb71404c5ee8263d4cd476e99290b Issue-ID: DCAEGEN2-696 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-09Reactive A&AI clientwasala1-1/+1
*plugged reactiveHttpClient in prh workflow *added junit tests for workflow Change-Id: I74f3fa7354de9b0f7f164c070ea61b70e74bde23 Issue-ID: DCAEGEN2-609 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Adding AAI reactive webClientpwielebs1-1/+1
Change-Id: Iedf88dfe12f41f0d994bcfc7c94e21ddf945a001 Issue-ID: DCAEGEN2-609 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-08-07Checstyle violations Casablancawasala3-0/+32
Added @Javadoc in .class files Change-Id: I359c03f67bd323509b712b91466bb0841b7bd1d2 Issue-ID: DCAEGEN2-563 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Checkstyle violationswasala14-208/+78
*Correction of violations without javadoc Change-Id: Ida177bf32a58605e74feae5fab22198228e970ce Issue-ID: DCAEGEN2-563 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Bug fixeswasala6-138/+29
Improve UnitTest Add changes after review in DmaaPReactiveTasks workflow Change-Id: I920092235528964758014c2d9d229ccd22e69cae Issue-ID: DCAEGEN2-563 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Added JUnit for DMaaPWebClientwasala3-3/+51
Refactored DMaaP tasks for creation WebClient in higher abstraction level Change-Id: I4ae4f99d1f739a1718c5520929fc4eb8b4a6178e Issue-ID: DCAEGEN2-563 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Added reactive DMaaPClientwasala8-377/+349
Extracted WebCLientBuilder for Producer and Consumer. Added unit test for ReactiveProducerClient. Change-Id: I632e6928813ed9feb48982900c173f741e4483e3 Issue-ID: DCAEGEN2-563 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Refactor Optional in MonoResponsewasala4-111/+189
Added JUnit tests for DmaapConsumer Reactive Client. Added property for spring to run PRH as none-web application Change-Id: I8b762389927151387da5b79e8b75b670600ee5e8 Issue-ID: DCAEGEN2-563 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07DmaapConsumerReactive fixed testswasala3-229/+102
Change-Id: I888ef94a084f32a18c77c12a18fb6636a4f33649 Issue-ID: DCAEGEN2-557 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Added dmaapReactiveConsumerwasala3-1/+117
*Tests have not been ready yet Change-Id: I2e1d9c4218f91ae2f066b28acdbaa1870d7d27e7 Issue-ID: DCAEGEN2-557 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-02Added build step CI in gitlabwasala1-2/+0
Change-Id: I11430c0dfe9c8794d1266c5fd675712f83d30e3e Issue-ID: DCAEGEN2-557 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-06-15Added simply logs from tasks.wasala3-3/+3
*Logging responsed object from DmaaP *Logging parsed oject from DmaaP *Logging sended object to AAI *Logging sended object and topic To DmaaP Change-Id: I33de0cd751762ac004f9d8a09beee921f4026af6 Issue-ID: DCAEGEN2-545 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-06-12handleResponse refactorpwielebs2-5/+54
Due to logs consistency handleResponse method was incorporated to the each of http producers. Change-Id: I621d1795c376161273270f07ff3dd6caca2fc1d6 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-24Refactor of prh-aai-clientpwielebs2-47/+20
Change-Id: Idbca6fe4c050c789f4479164846437039d3b549d Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-23Fix sonar issueswasala2-3/+3
Change-Id: I61155448422f0084ac08f294452ac90f5b3454aa Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-23Deleted NullPointerExceptionwasala2-13/+14
Add logging about status code in DmaapProducer Change-Id: If1e8398cabbee3f0f51fcb007ef02049a7a85c00 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-22Merge "Refactor DmaapProducerClient"Lusheng Ji1-57/+37
2018-05-22Refactor DmaapProducerClientwejs1-57/+37
Java Optional with functional chain of execution Change-Id: Iebc03fc1fedab2e8f3dff0d823998ce3c2370440 Issue-ID: DCAEGEN2-396 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-05-22Refactor DmaapConsumeClientwasala1-43/+32
Java Optional with functional chain of execution Change-Id: Ida7a3ba1c676a8c4edfbfe71522042a67b79daf8 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-17Added tests for AAIConsumerTaskwasala2-50/+52
Change-Id: I958844fb2f0ce0ae19762ff7a9f98e19303191f3 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-17Merge changes from topic 'PackageRefactor'Lusheng Ji12-21/+21
* changes: Change package in prh-aai-client Change package in prh-dmaap-client module
2018-05-17Merge "Change package in prh-commons module"Lusheng Ji2-4/+4
2018-05-17Change package in prh-dmaap-client modulewasala12-21/+21
Move package org.onap.dcaegen2.services to org.onap.dcaegen2.services.prh Change-Id: Idef63833dcbc9cd28dda6b893245fcd16df4d97d Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-17Change package in prh-commons modulewasala2-4/+4
Move package org.onap.dcaegen2.services to org.onap.dcaegen2.services.prh Change-Id: Idb13c5f1173897fceb1a8544dd893f6f9fee2c52 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-16Test classes added to Dmaap Clientpwielebs2-0/+137
Change-Id: Idf88fb43463d33fcec756f83818943be849a86c5 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-14Fix for pomspwielebs1-5/+6
Change-Id: I9f5b13f25cccf3f4cde292f5689d28d2e74896a9 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-11AAI client configuration & tasks changedpwielebs4-61/+21
Change-Id: I86a2f2ed62565263f2be2c9078a092f993234a19 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-10Added DmaapProducer in task workflow schedulerwasala2-7/+6
Change-Id: I46c8ff37ca758525e6647d5057d50595f5739208 Issue-ID: DCAEGEN2-474 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-09Added dmaap consumer task execution to workflowwasala6-45/+31
Change-Id: I67904a8ffb7d401fa2188fb046e28474eded4377 Issue-ID: DCAEGEN2-474 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-30Response handlers for DmaaP clients changedpwielebs4-59/+49
Change-Id: I625521013aa02e6709be95ad7b3443707a549f05 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-04-24Http clients refactoringpwielebs6-150/+8
Change-Id: Ibed4b83fd508dd8666b76bdf590069d40dd3a363 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>