summaryrefslogtreecommitdiffstats
path: root/prh-commons/src/test/java/org
AgeCommit message (Collapse)AuthorFilesLines
2019-12-06Refactor AaiClient API - package restructureMichal Kabaj9-26/+30
- Reorganized aaiclient related classes between api/impl/main packages Issue-ID: DCAEGEN2-1955 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: Ie68f74cd94a6de0806c192046c1746af25979170
2019-12-05Refactor AaiClient API - package structureMichal Kabaj5-20/+13
- Removed redundant get/patch packages - Flattened aii api package structure to 'api' and 'main' Issue-ID: DCAEGEN2-1955 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: I9025245f70c5dd0bb03e7289f8bc7dbf08853687
2019-12-04Refactor AaiClient API - remove interfacesMichal Kabaj1-4/+4
- Removed JsonBodyBuilder because it had only one impl - AaiJsonBodyBuilderImpl - Removed AaiModel because it had only one impl - ConsumerDmaapModel - Replaced usages of removed interfaces with concrete implementations Issue-ID: DCAEGEN2-1955 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: I6cd651b2061e8520a508e3a62091d1cb15002c99
2019-12-04Refactor AaiClient APIMichal Kabaj1-81/+0
- 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 Kabaj1-2/+1
- 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 Kabaj6-0/+432
- 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 Kabaj2-113/+0
- removed unused transaction api Issue-ID: DCAEGEN2-1955 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: I9e0566b3f6cdf5f0f908254f5823ed86b420cc2d
2019-06-13Custom queries for PRHkurczews2-0/+113
Change-Id: Ie795c5951b63c138f1898bdfc16509233febf7ec Issue-ID: DCAEGEN2-1604 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-05-23Fix sending PNF_READY notification after update to El Alto SDK version usagegrabinsk1-10/+14
Change-Id: I06c1ae2b2a9831a4c31e09fafbe1500c10714caa Issue-ID: DCAEGEN2-1501 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-05-22replace generated model classes with immutablesgrabinsk2-240/+98
Change-Id: I5a1330e356522d2e315f7e243a2e65b90e4f6ddd Issue-ID: DCAEGEN2-1391 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-04-10Remove deprecated SSL FactoryMarcin Migdal1-62/+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 objectsgrabinsk2-0/+318
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-22Merge "Remove IP requirement"Piotr Jaszczyk1-0/+54
2019-03-22Remove IP requirementJoanna Jeremicz1-0/+54
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 Jeremicz1-46/+2
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-15Add AAI json body builderJoanna Jeremicz2-39/+127
Change-Id: Ib169c2904c11a267fbea0c8d2ab32e562669b60a Issue-ID: DCAEGEN2-1312 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-03-14Revert IP information removalJoanna Jeremicz1-0/+4
Change-Id: I43cdc2f2086f884df1f74dfbf999addae2019b5e Issue-ID: DCAEGEN2-1312 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-03-12Add AdditionalFields in PNF_Ready eventJoanna Jeremicz1-24/+25
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 PRHpwielebs2-51/+57
* patch version updated Change-Id: I32f8a0ec090a2559ef3324f937601e71670b30cf Issue-ID: DCAEGEN2-1173 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-12-18Integration with SDKpwielebs1-1/+1
* 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 junitspkaras1-0/+62
Change-Id: I105406b73b55d0c4befad1c8120752079837abd3 Issue-ID: DCAEGEN2-957 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-10-24Fixing Sonar Issuespwielebs1-1/+1
Change-Id: Icd9be18349a42dff96b37c6cc7e61364dc5794d4 Issue-ID: DCAEGEN2-606 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-09-14Bug fix 'sourceName' -> 'correlationId'pwielebs2-3/+3
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 fixwasala2-22/+3
*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-08-30add MDC'smicdzied1-3/+2
Change-Id: Ie4fe86791f46b790ae42088a5d2b93f491e4549d Issue-ID: DCAEGEN2-730 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-08-30Introduction of a new parameter "sourceName"pwielebs2-4/+4
- used instead of pnf-name (correlationId) Change-Id: Iabcbfacbc029bd6d229080c2064a291e17c7f4f8 Issue-ID: DCAEGEN2-744 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-08-07Checkstyle violationswasala3-36/+31
*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.wasala1-1/+1
*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 refactorpwielebs1-20/+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-05-24Refactor of prh-aai-clientpwielebs2-4/+82
Change-Id: Idbca6fe4c050c789f4479164846437039d3b549d Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-05-23Fix sonar issueswasala1-1/+1
Change-Id: I61155448422f0084ac08f294452ac90f5b3454aa Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-05-22Removing warnings related to optionalspwielebs1-1/+1
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 modulewasala1-1/+1
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 addedpwielebs1-0/+50
Change-Id: I7a11d1ff3aa38b6262635eead40cb737905de558 Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>