aboutsummaryrefslogtreecommitdiffstats
path: root/prh-commons/src
AgeCommit message (Collapse)AuthorFilesLines
2019-12-04Refactor AaiClient APIMichal Kabaj9-205/+9
- Removed unused AaiHttpPutClient - Removed unnecessary ClientModel and DmaapModel interfaces Issue-ID: DCAEGEN2-1955 Change-Id: Id95dd4819b7fada634ac6dace02a3e27219aacdd Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-12-03aaiclient api refactorMichal Kabaj6-134/+45
- Removed AaiRequests - ImmutableHttpRequests are explicitly created inside http method impl - Removed dep to custom URI/URIBuilder Issue-ID: DCAEGEN2-1955 Change-Id: I8b01768734a09af118e18e95f6a0a923fa57f1de Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-11-28aaiclient api refactorMichal Kabaj27-7/+1152
- Moved aaiclient code from SDK to PRH improvement of logic fragmentation Issue-ID: DCAEGEN2-1955 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: I11d5b92014cdeb036699099113f64fc320cb4dd1
2019-11-27aaiclient api refactorMichal Kabaj7-315/+0
- removed unused transaction api Issue-ID: DCAEGEN2-1955 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: I9e0566b3f6cdf5f0f908254f5823ed86b420cc2d
2019-11-04Fix SDK importsJoanna Jeremicz4-5/+5
Issue-ID: DCAEGEN2-1792 Change-Id: I29e436e1c0483c7f56129d6de8389e71442b86a0 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-07-03Logical links creation bugJoanna Jeremicz2-66/+0
Cleanup and test enhancements Change-Id: I0c5c027ceed13ec9b63b60555e78ef552122aeac Issue-ID: DCAEGEN2-1611 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-06-14Merge "Logical links creation bug"Piotr Wielebski1-3/+12
2019-06-13Logical links creation bugJoanna Jeremicz1-3/+12
Fixed issues: Second PNF registration with same attachment point doesn't send output to PNF_READ Second PNF registration with different attachmentPoint doesn't replace previous Logical Link Change-Id: I238a8aa6d3f360da3451c720dc5cb1fa2e1ebd75 Issue-ID: DCAEGEN2-1611 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-06-13Custom queries for PRHkurczews9-1/+347
Change-Id: Ie795c5951b63c138f1898bdfc16509233febf7ec Issue-ID: DCAEGEN2-1604 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-05-31replace local copy of 'MdcVariables' with one from SDKgrabinsk1-44/+0
Change-Id: I9d13941ca9c4d70b5c4d9c354fa0ba09c3e5e6fa Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-05-30Fix Sonar issuespwielebs2-0/+2
Change-Id: If7134bf3b5aabdba6d057562ae863b40412e2d6b Issue-ID: DCAEGEN2-1501 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2019-05-29SSL key loading for Dmaap clientgrabinsk4-2/+0
Change-Id: I65b3d0bcd6735af655c9243f20f3596ce8f03aca Issue-ID: DCAEGEN2-1501 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-05-23Fix sending PNF_READY notification after update to El Alto SDK version usagegrabinsk2-20/+19
Change-Id: I06c1ae2b2a9831a4c31e09fafbe1500c10714caa Issue-ID: DCAEGEN2-1501 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-05-22replace generated model classes with immutablesgrabinsk10-1128/+407
Change-Id: I5a1330e356522d2e315f7e243a2e65b90e4f6ddd Issue-ID: DCAEGEN2-1391 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-04-10Remove deprecated SSL FactoryMarcin Migdal2-178/+0
Change-Id: I95f38b12b51cbfa5948acf47fade50b037cc4810 Issue-ID: DCAEGEN2-1361 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-04-05Remove unused code from autogenerated AAI model objectsgrabinsk7-425/+319
Hand written pojos will have to be replaced with autogenerated ones Change-Id: I5d6fd37e8ce56ab1e0cda3d1b308ce51c5e0ebd1 Issue-ID: DCAEGEN2-1391 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-03-29PNF re-registration is supportedandrzejszukuc5-0/+1649
Change-Id: I3a70c610e075bcfbab8cee62ae229ce06cfc5e5d Signed-off-by: andrzejszukuc <andrzej.szukuc@nokia.com> Issue-ID: DCAEGEN2-1059
2019-03-26Support for BBS logical linkkurczews4-0/+141
Issue-ID: DCAEGEN2-1362 Change-Id: I9dbe7c941d9b48e0cac16be9d3410855c51ef4b0 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-03-22Merge "Remove IP requirement"Piotr Jaszczyk2-5/+69
2019-03-22Remove IP requirementJoanna Jeremicz2-5/+69
Remove the requirement of at least one IP present in VES event. Update IP information in AAI only if it is present and is not empty. Change-Id: I83ae8990d45d71de4c839e43b5065db89b6c6a3a Issue-ID: DCAEGEN2-1312 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-03-21Remove paramsJoanna Jeremicz3-53/+9
Remove redundant parameters from Pnf_ready event Change-Id: I755b632b34cc2a07233c7043bc2ecf16becb877c Issue-ID: DCAEGEN2-1312 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-03-20Integrate PRH with SDK in version 1.1.4pwielebs1-0/+5
- AAI client aligned - CBS client aligned - DmaaP client aligned Change-Id: I7afd0a44572e1097be5c3a4acc7221c7923cea8b Issue-ID: DCAEGEN2-1319 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2019-03-15Add AAI json body builderJoanna Jeremicz5-65/+202
Change-Id: Ib169c2904c11a267fbea0c8d2ab32e562669b60a Issue-ID: DCAEGEN2-1312 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-03-14Revert IP information removalJoanna Jeremicz3-2/+16
Change-Id: I43cdc2f2086f884df1f74dfbf999addae2019b5e Issue-ID: DCAEGEN2-1312 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-03-12Add AdditionalFields in PNF_Ready eventJoanna Jeremicz3-34/+43
Enhance the PNF_Ready event with AdditionalFields contents and remove IP information Change-Id: Iacef7e11dd104868440984a0540b2ccd31c8b036 Issue-ID: DCAEGEN2-1312 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-02-07Add additional fields to PRHpwielebs5-105/+86
* patch version updated Change-Id: I32f8a0ec090a2559ef3324f937601e71670b30cf Issue-ID: DCAEGEN2-1173 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-12-18Integration with SDKpwielebs3-6/+9
* minor version upgraded in poms * align ConsumerDmaapModel to abstraction exposed in SDK * UTs modified Change-Id: Iaef2f9e8fab746106574771b2317c5689e047a5b Issue-ID: DCAEGEN2-1042 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-11-13sonar fixes and junitspkaras6-6/+90
Change-Id: I105406b73b55d0c4befad1c8120752079837abd3 Issue-ID: DCAEGEN2-957 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-11-06Names change of SSL config paramsMaciej Wejs1-15/+15
Change-Id: I719b38b76fec976c459bfca6ffdc6dd9c1d7b00c Issue-ID: DCAEGEN2-953 Signed-off-by: Maciej Wejs <maciej.wejs@nokia.com>
2018-11-06SSL implementation for PRH to AAI callsMaciej Wejs1-0/+91
Change-Id: Ic9777760346258afb40610fa9c9bc261964752cf Issue-ID: DCAEGEN2-950 Signed-off-by: Maciej Wejs <maciej.wejs@nokia.com>
2018-10-24Fixing Sonar Issuespwielebs2-2/+2
Change-Id: Icd9be18349a42dff96b37c6cc7e61364dc5794d4 Issue-ID: DCAEGEN2-606 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-09-14Bug fix 'sourceName' -> 'correlationId'pwielebs5-10/+10
In case of PNF_REGISTRATION event components like SO and Dmaap are expecting to get 'correlationId' parameter rather than 'sourceName'. This change simply maps 'sourceName' to 'correlationId' Change-Id: Ic99ffc6cd61a76f1a8c46c50da7c16660b1b7acf Issue-ID: DCAEGEN2-744 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-09-11PRH:security vulnerabilities fixwasala3-25/+6
*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-04Clear warnings in sysout Fix:pwielebs1-5/+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 workflowpwielebs1-1/+1
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 Bochenski1-0/+21
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'smicdzied3-4/+47
Change-Id: Ie4fe86791f46b790ae42088a5d2b93f491e4549d Issue-ID: DCAEGEN2-730 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-08-30Introduction of a new parameter "sourceName"pwielebs5-11/+11
- used instead of pnf-name (correlationId) Change-Id: Iabcbfacbc029bd6d229080c2064a291e17c7f4f8 Issue-ID: DCAEGEN2-744 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-08-07Checstyle violations Casablancawasala2-0/+9
Added @Javadoc in .class files Change-Id: I359c03f67bd323509b712b91466bb0841b7bd1d2 Issue-ID: DCAEGEN2-563 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-08-07Checkstyle violationswasala6-38/+35
*Correction of violations without javadoc Change-Id: Ida177bf32a58605e74feae5fab22198228e970ce Issue-ID: DCAEGEN2-563 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-06-15Added simply logs from tasks.wasala3-10/+13
*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-46/+4
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-06-05Correction for DmaapJsonParserwasala1-1/+1
*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-05-24Refactor of prh-aai-clientpwielebs4-4/+139
Change-Id: Idbca6fe4c050c789f4479164846437039d3b549d Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-23Fix sonar issueswasala2-7/+13
Change-Id: I61155448422f0084ac08f294452ac90f5b3454aa Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-22Removing warnings related to optionalspwielebs2-7/+7
Change-Id: I4116ee1b16d8600a3f7109290b2f69b31fd51133 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-18Exclusion for auto-generated classespwielebs2-1/+36
Change-Id: I979f8a310c7bcf4192eb7fd7e8635eaf3953dfc0 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-17Change package in prh-commons modulewasala4-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-14Unit class addedpwielebs2-2/+50
Change-Id: I7a11d1ff3aa38b6262635eead40cb737905de558 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-11AAI client configuration & tasks changedpwielebs3-0/+122
Change-Id: I86a2f2ed62565263f2be2c9078a092f993234a19 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>