aboutsummaryrefslogtreecommitdiffstats
path: root/prh-commons
AgeCommit message (Collapse)AuthorFilesLines
2019-10-10Add baseUrl supportJoanna Jeremicz1-1/+1
Add support for baseUrl usage. It is needed for handling objects other than pnfs from the inventory. BaseUrl is necessary for fixing the existing bug, where pnf path is used to get service-instance from AAI. Change-Id: I6ab95f54316ae4d57867e1bc29fefcf6ff698ee3 Issue-ID: INT-1181 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-07-12JJB alignment across DCAE components - DCAE PRHGerard Hickey1-1/+1
Issue-ID: DCAEGEN2-1578 Signed-off-by: Gerard Hickey <gerard.hickey@ericsson.com> Change-Id: I6dfd9b1b9549e177f65b8dda372d24be118f0a05
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 PRHkurczews10-1/+351
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-31Merge "Fix Sonar issues"Piotr Jaszczyk2-0/+2
2019-05-31Replace hand-written MockitoExtension with official one from ↵grabinsk1-1/+1
mockito-junit-jupiter Change-Id: I28e9057822f80f7514a640fbc66f54d9f5488cbf 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-05-06Update versions for ElAlto releasePiotr Jaszczyk1-1/+1
Change-Id: Ibac0d08f34dbf6ca4dd8b8056bc405a38887876f Issue-ID: DCAEGEN2-1476 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-04-10use CBS SDK in PRH (II)pwielebs1-1/+1
-remove unused classes -fix junit tests -use cbs -patch project version updated Change-Id: I5fb63408b33b07632eab579d028070eb3a025865 Issue-ID: DCAEGEN2-1360 Signed-off-by: pwielebs <piotr.wielebski@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 objectsgrabinsk8-425/+324
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-08Add git info to PRH + cleanupPiotr Bocheński1-11/+21
Change-Id: Id518d56373f6ccab9dd4195ad08b67589e0d9b4f Issue-ID: DCAEGEN2-1030 Signed-off-by: Piotr Bocheński <piotr.bochenski@nokia.com>
2019-02-07Add additional fields to PRHpwielebs6-106/+87
* patch version updated Change-Id: I32f8a0ec090a2559ef3324f937601e71670b30cf Issue-ID: DCAEGEN2-1173 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2019-01-16For releasepwielebs1-1/+0
Change-Id: I5df940b2ed48c42a3426dddf5eee0bcf3977b3a6 Issue-ID: DCAEGEN2-866 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-12-18Integration with SDKpwielebs4-6/+15
* 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-12-13remove duplicated dependenciesmicdzied1-0/+2
Change-Id: I4ead03dc4378d8f74d0221b7b36760c86b41ecf6 Issue-ID: DCAEGEN2-1033 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-12-12clean up in pomsmicdzied1-24/+18
Change-Id: I28eb8c3ed66b8bea097758168a0f00753f7e095a Issue-ID: DCAEGEN2-1030 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-12-04SDK integration: use dmaap client in PRHpwielebs1-19/+0
Change-Id: I41a952396fb9714f7e1e04c1d08a1e27df3020db Issue-ID: DCAEGEN2-1013 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 Wejs2-0/+95
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-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-2/+1
*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-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 fixwasala4-34/+11
*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 Bochenski2-12/+46
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'smicdzied4-6/+49
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-08-02Added build step CI in gitlabwasala1-62/+61
Change-Id: I11430c0dfe9c8794d1266c5fd675712f83d30e3e Issue-ID: DCAEGEN2-557 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>