aboutsummaryrefslogtreecommitdiffstats
path: root/prh-app-server/src/main
AgeCommit message (Collapse)AuthorFilesLines
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 controlwasala10-115/+39
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.wasala15-79/+156
*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 DmaaPwasala3-7/+12
Change-Id: Ibd8739c3f9718eec15ff20e0b88d0bfcd4f6d84d Issue-ID: DCAEGEN2-540 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-06-05Correction for DmaapJsonParserwasala3-22/+27
*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 DmaapConsumerJsonParserpwielebs1-5/+5
Change-Id: I0b5fa7e2a1e8472f72e636a84ef6d2285580b494 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-30Fix for Json parserpwielebs1-6/+12
Change-Id: I322b893356a41ee27dfb14d9ef9dfcdd129e8ced Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-24Refactor of prh-aai-clientpwielebs2-5/+5
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 Ji1-5/+5
2018-05-22Removing warnings related to optionalspwielebs1-5/+5
Change-Id: I4116ee1b16d8600a3f7109290b2f69b31fd51133 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-22Improve tests in PrhAppConfigwasala1-4/+6
Change-Id: I23b3bd3ba89d9df7451a7e2251b1bfc98adf3a2b Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-21Code refactorwasala10-81/+71
*DmaapTasks *AAITasks Change-Id: I62d2ae758b58435ca8930354cb86172236646c20 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-17Added tests for DmaapPublisherTaskwasala2-12/+13
Change-Id: I2c265879bffd20e17dd8da981a4111cf2e10c375 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-17Added tests for DmaapConsumerTaskwasala9-37/+42
Change-Id: I1068eb44eba5871f5c1e44e34f149584e056a7a2 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-17Added tests for AAIConsumerTaskwasala3-14/+35
Change-Id: I958844fb2f0ce0ae19762ff7a9f98e19303191f3 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-17Change package in prh-dmaap-client modulewasala7-15/+15
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 modulewasala4-5/+5
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 AAIProducerTaskwasala4-15/+24
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 loadingwejs1-8/+8
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>
2018-05-11AAI client configuration & tasks changedpwielebs12-127/+65
Change-Id: I86a2f2ed62565263f2be2c9078a092f993234a19 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-10Added DmaapProducer in task workflow schedulerwasala8-28/+30
Change-Id: I46c8ff37ca758525e6647d5057d50595f5739208 Issue-ID: DCAEGEN2-474 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-09Added dmaap consumer task execution to workflowwasala16-199/+269
Change-Id: I67904a8ffb7d401fa2188fb046e28474eded4377 Issue-ID: DCAEGEN2-474 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-07creating swagger documentationmicdzied3-0/+98
Change-Id: I8ca3faf2e6afb7add2785add2ac9096ded98f591 Issue-ID: DCAEGEN2-468 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-04-30Response handlers for DmaaP clients changedpwielebs3-7/+5
Change-Id: I625521013aa02e6709be95ad7b3443707a549f05 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-04-27AAI tasks addedpwielebs12-149/+276
- aaiClients spllitted for consuming and producing - http removed from names of all clients and interfaces - HttpRequestDetails added as a second parameter for tasks - parameters required from dmaap consumer - pnf-name for URI (get request -> aaiConsumer) - pnf-name and ipv4-oam (and or ipv6-oam) (patch request -> aaiProducer) Change-Id: I87a1b46ab419cd00e9573e08c4d89cb384dd75b5 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-04-25Parsing arguments from cloudify.wasala6-27/+205
*Added functionality for replacing default value from command line tosca template. Change-Id: I5923d9b5192f2f9df026320e1c6c56d4eaf9756a Issue-ID: DCAEGEN2-458 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-25Load configuration by executing taskswasala7-2/+22
Change-Id: Ie8f18a836e42dabd96a8bdb41e6ba8189c59e023 Issue-ID: DCAEGEN2-469 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-20Merge "Implementation for HTTP/HTTPS and endpoints"Lusheng Ji9-15/+177
2018-04-20Implementation for HTTP/HTTPS and endpointswasala10-18/+177
*Added HTTP/HTTPS in spring configuration *Fixing issues with license *Fixing HTTP/HTTPS and logging configuration *Add Webflux in implementation Change-Id: I0a7add391cde010d56dbf352de365b1eba90a9cd Issue-ID: DCAEGEN2-453 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-18Defined structure of DMaaP Consumerwasala3-4/+2
*Added Response Type Change-Id: Id53217db932e345dfe16a7e7035c160f70287ef0 Issue-ID: DCAEGEN2-450 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-17Fixed the rest of the Security Issueswasala2-36/+45
*Introduce Gson Against Jackson library *Delete posix library with strong copyleft licenses Change-Id: I37ec6a359912481d1546293a8a8aeeedd6c907e2 Issue-ID: DCAEGEN2-426 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-16Already added flow control for tasks.wasala11-53/+117
*The next step will be get common model for all request/response message based on HTTPClient implementation Change-Id: I76af15ab06cae783b6cec5099510d7f97e9d65c2 Issue-ID: DCAEGEN2-445 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-13Extracted high abstraction for taskswasala13-49/+335
*First of all, all tasks were defined as implementation. *All tasks class have been injected into spring container. Change-Id: I00337b49ed1de3f1b8cadf64f774f19377ae349e Issue-ID: DCAEGEN2-443 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-13Added pushing image docker in deploy phasewasala2-5/+3
Change-Id: I3984bd60264027a47434784001de653b847e67d2 Issue-ID: DCAEGEN2-407 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-12Already added loading config for AAI and DMAAPwasala5-2/+191
First of all we have defined a file in which we have pointer to configuration file for DMAAP and AAI After that added UT Change-Id: I7f9554a019b348a3460f5fa9d8dd3e4002a6686f Issue-ID: DCAEGEN2-407 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-05Add endpoint for load configuration(DMaaP, A&AI)wasala7-51/+122
Refactor from tests ppoint of view Change-Id: If747a499c70517a74bda6fbc895306271dc61d13 Issue-ID: DCAEGEN2-407 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-04Added pushing docker image to nexuswasala2-2/+27
Extended appConf loading Change-Id: Ibc3640cf4a66e40ce5dc585818c077534d09141c Issue-ID: DCAEGEN2-407 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-03Fixed Sonar Issueswasala2-2/+1
Deleted useless code Change-Id: I8d813d82c5b8b6ae3093d5d6fdec1688dd8eae6d Issue-ID: DCAEGEN2-407 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-03-28Already fixed Sonar issueswasala5-10/+11
We have fixed Sonar issue with critical and minor tag Change-Id: Iccc343654686ba87f71d57382b68ddf9c54caeea Issue-ID: DCAEGEN2-407 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-03-28Added logswasala3-17/+27
Improve Dockerfile and build fat jar Change-Id: I8b4dd1a56350af310c70236d6843ae1c357ad95e Issue-ID: DCAEGEN2-407 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-03-28Added U&IT tests in prh modulewasala4-6/+35
We have already added tests in our Module. In addition some dependencies were added too. Clean up in pom.xml files Change-Id: I4217d585293f48f2f00870d147807bb1d5b2b33f Issue-ID: DCAEGEN2-407 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-03-26Divide into module dependecywasala6-0/+211
Add dependency build of dmaapClients and aaiClients. This modules are mandatory to prh application. Issue-ID: DCAEGEN2-407 Change-Id: I2150a15d76e81dd01503f44339ddb3c50f5b0348 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>