summaryrefslogtreecommitdiffstats
path: root/prh-app-server/src
AgeCommit message (Collapse)AuthorFilesLines
2018-08-28Fix config parserJakub Zieba2-2/+133
Correct cloud config parser by fixing builder Change-Id: Ic381385138c4e78b4c3247e9cf66226f2fabdde0 Issue-ID: DCAEGEN2-696 Signed-off-by: Jakub Zieba <jakub.zieba@nokia.com>
2018-08-23Fix for PRH against VES 7.0pwielebs3-204/+188
Change-Id: I1e4ca7d1a163eed6fadb1f52d0cc9fc675ea6b7f Issue-ID: DCAEGEN2-600 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-08-22logback according to casablancamicdzied2-22/+52
Change-Id: Idce9f5e00a561f95afecae49008b4cd6aab8d8b1 Issue-ID: DCAEGEN2-726 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-08-22Fix for logging:pwielebs6-11/+18
- 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-21Merge "Second part loading PRH CONF"Lusheng Ji7-26/+230
2018-08-21Merge "Downloading prhConf fromConsul"Lusheng Ji11-30/+339
2018-08-21Second part loading PRH CONFwasala7-26/+230
*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-21Downloading prhConf fromConsulwasala11-30/+339
*Added backGround task for downloading dynamic Configuration from Consul *This configuration can pass for Kubernetes and heat (bare metal) deployment *Parsing/validation configuration from system environment Change-Id: I937cbda1bc8b715dc3e754bea8a39dd141180e49 Issue-ID: DCAEGEN2-696 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-212nd Fix for bug :pwielebs1-1/+1
- PRH test fail - Cannot build AaiClientConfiguration,    some of required attributes are not set    [aaiIgnoreSslCertificateErrors] Change-Id: I0a33b034576296d6daec9f4849aea539d7507d77 Issue-ID: DCAEGEN2-721 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-08-21Merge "Cleaning AAI client after refactor"Przemyslaw Wasala4-309/+0
2018-08-21Cleaning AAI client after refactorpwielebs4-309/+0
- unused AAI consumer Client removal - unused AAI consumer Tasks removal Change-Id: I8188806a13d581ff61e94fcdba6580b199c774a4 Issue-ID: DCAEGEN2-609 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-08-21Fix for bug:pwielebs1-1/+1
- PRH test fail - Cannot build AaiClientConfiguration, some of required attributes are not set [aaiIgnoreSslCertificateErrors] Change-Id: I591297562fd9105c98e9171e73a7fd7eb6fee3ae Issue-ID: DCAEGEN2-721 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-08-20Update PRH against VES 7.0pwielebs3-174/+232
- Changes made according to new VES 7.0.1 schema - UT modified Change-Id: I0e1eb07e4326f65da4bf3e1bd551962b15b907c1 Issue-ID: DCAEGEN2-600 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-08-09Reactive A&AI clientwasala6-83/+73
*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-07Fix corrections in codewasala5-48/+8
*FindBugs scan fixed errors *Checkstyle fixed errors Change-Id: I8553a56859de91f8886fc1518ff26e7b16c5c1d6 Issue-ID: DCAEGEN2-606 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Adding AAI reactive webClientpwielebs5-12/+13
Change-Id: Iedf88dfe12f41f0d994bcfc7c94e21ddf945a001 Issue-ID: DCAEGEN2-609 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-08-07Checstyle violations Casablancawasala10-0/+60
Added @Javadoc in .class files Change-Id: I359c03f67bd323509b712b91466bb0841b7bd1d2 Issue-ID: DCAEGEN2-563 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Checkstyle violationswasala36-325/+433
*Correction of violations without javadoc Change-Id: Ida177bf32a58605e74feae5fab22198228e970ce Issue-ID: DCAEGEN2-563 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Refactor jsonParsing to reactivewasala2-44/+51
Already forwarded responsibility of creation Mono stream in function in DmaapConsumerJsonParser Change-Id: Ia03695c7e22575d078e169eeaa45ca1416c558a8 Issue-ID: DCAEGEN2-563 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Bug fixeswasala10-62/+54
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 DMaaPWebClientwasala4-20/+32
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 DMaaPClientwasala9-77/+84
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 MonoResponsewasala7-63/+57
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 testswasala9-139/+182
Change-Id: I888ef94a084f32a18c77c12a18fb6636a4f33649 Issue-ID: DCAEGEN2-557 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Added dmaapReactiveConsumerwasala7-151/+169
*Tests have not been ready yet Change-Id: I2e1d9c4218f91ae2f066b28acdbaa1870d7d27e7 Issue-ID: DCAEGEN2-557 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-06Cleaned in code in reactive taskswasala7-29/+61
*Formated code *Added handling exceptions *Deleted unused code Change-Id: I3e95bcb8ba7cdf85f6a1daaec7cadc86080e0b10 Issue-ID: DCAEGEN2-557 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-06Added reactive tasks flow controlwasala12-117/+41
Change-Id: I9cb2bede66e9e446912f2e6a815c7b56b80813b9 Issue-ID: DCAEGEN2-557 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-06-22Dev mode in logging fixedwasala1-1/+1
Change-Id: I1650549e89ce811374ad6594a0335e5b7a5265fd Issue-ID: DCAEGEN2-545 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-06-20Change logback to SizeAndTimeBasedRollingPolicywasala1-8/+8
Fixed logging Change-Id: I976622113c247efc28dc754c10fa9197543b7edb Issue-ID: DCAEGEN2-545 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-06-15Added simply logs from tasks.wasala17-83/+164
*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-13Added run task after application is upwasala3-32/+85
Change-Id: I91985184352dda7937b0c5bf036c916228cb6055 Issue-ID: DCAEGEN2-545 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-06-12Catch empty response from DmaaPwasala4-10/+15
Change-Id: Ibd8739c3f9718eec15ff20e0b88d0bfcd4f6d84d Issue-ID: DCAEGEN2-540 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-06-05basic authentication for AAI Producer Client2.0.0-ONAPbeijing2.0.0-ONAPpwielebs1-4/+3
Change-Id: I087db36dc3c60015f91de5fde49358b18564ab9e Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-06-05Correction for DmaapJsonParserwasala5-32/+151
*Added cases fo uTests *Changed schedule tasks to 5s *Changed batching message to 1 Change-Id: I8daa4f143699488c8a593634ad67452b4a194437 Issue-ID: DCAEGEN2-540 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-06-042nd fix for DmaapConsumerJsonParserpwielebs2-24/+20
Change-Id: I0b5fa7e2a1e8472f72e636a84ef6d2285580b494 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-30Fix for Json parserpwielebs3-22/+28
Change-Id: I322b893356a41ee27dfb14d9ef9dfcdd129e8ced Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-24Refactor of prh-aai-clientpwielebs3-10/+10
Change-Id: Idbca6fe4c050c789f4479164846437039d3b549d Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-23Fix sonar issueswasala6-10/+9
Change-Id: I61155448422f0084ac08f294452ac90f5b3454aa Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-22Merge "Removing warnings related to optionals"Lusheng Ji2-10/+12
2018-05-22Removing warnings related to optionalspwielebs2-10/+12
Change-Id: I4116ee1b16d8600a3f7109290b2f69b31fd51133 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-22Improve tests in PrhAppConfigwasala2-8/+40
Change-Id: I23b3bd3ba89d9df7451a7e2251b1bfc98adf3a2b Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-21Code refactorwasala14-271/+199
*DmaapTasks *AAITasks Change-Id: I62d2ae758b58435ca8930354cb86172236646c20 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-17Added tests for DmaapPublisherTaskwasala4-16/+155
Change-Id: I2c265879bffd20e17dd8da981a4111cf2e10c375 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-17Added tests for DmaapConsumerTaskwasala14-48/+177
Change-Id: I1068eb44eba5871f5c1e44e34f149584e056a7a2 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-17Added tests for AAIConsumerTaskwasala4-14/+209
Change-Id: I958844fb2f0ce0ae19762ff7a9f98e19303191f3 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-17Change package in prh-dmaap-client modulewasala12-23/+23
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 modulewasala7-10/+10
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-16Added test for AAIProducerTaskwasala6-18/+207
Included jacoco for Code Coverage Change-Id: I48ae221e7d83fcf11f1ca00bf5b6f9d00d78d9c1 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-15Correction of AAI Client configuration loadingwejs2-11/+12
Change-Id: I42d5dcd2d2e65db9e4eb3cf324ed127ddd882f41 Issue-ID: DCAEGEN2-509 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-05-14Fixed parsing empty stringwasala1-31/+55
Change-Id: I86d1c67f96dbe560aa093d375d0be18d9a1032ac Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>