summaryrefslogtreecommitdiffstats
path: root/prh-app-server
AgeCommit message (Collapse)AuthorFilesLines
2018-12-03SDK integration: use aai in PRHmicdzied23-97/+98
Change-Id: I68c9a5323e05a27de463bef9dd368f8a092559ae Issue-ID: DCAEGEN2-1013 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-11-30SDK integration: use 'cbs-client' in PRHPiotr Bocheński9-446/+32
Change-Id: Ifd097c7d2305432f450bbcceb521cf2341f4cb6c Issue-ID: DCAEGEN2-1011 Signed-off-by: Piotr Bocheński <piotr.bochenski@nokia.com>
2018-11-16Merge "PrhAppConfigTest refactor"Przemyslaw Wasala4-121/+89
2018-11-15AaiReactiveWebClientFactory junitspkaras1-2/+2
Change-Id: Id366c938199e27593b3d7f22f87905f38bbd77e0 Issue-ID: DCAEGEN2-975 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-11-15Cycle between configuration & tasks removedpkaras3-14/+15
Change-Id: Ida3b77ab3f3d197d8ca0bf81f344801df46e6627 Issue-ID: DCAEGEN2-974 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-11-15PrhAppConfigTest refactorpkaras4-121/+89
Change-Id: Iaa604d04139ca26fcb9a21e03484f72c56f15816 Issue-ID: DCAEGEN2-973 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-11-07SSL setup for dmaap publisherpkaras2-2/+2
Change-Id: I5dbfc551e515a5f3ce23ec9ffc766ae3012a057a Issue-ID: DCAEGEN2-952 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-11-06Names change of SSL config paramsMaciej Wejs7-111/+88
Change-Id: I719b38b76fec976c459bfca6ffdc6dd9c1d7b00c Issue-ID: DCAEGEN2-953 Signed-off-by: Maciej Wejs <maciej.wejs@nokia.com>
2018-11-06SSL setup for dmaap consumerpkaras5-11/+25
Change-Id: I5856554fa05cfd9ad637c0491eb801f9937c967a Issue-ID: DCAEGEN2-951 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-11-06SSL implementation for PRH to AAI callsMaciej Wejs3-14/+14
Change-Id: Ic9777760346258afb40610fa9c9bc261964752cf Issue-ID: DCAEGEN2-950 Signed-off-by: Maciej Wejs <maciej.wejs@nokia.com>
2018-11-05DmaaP Publisher and consumer interfaces ssl setuppkaras6-37/+28
Change-Id: I971d0fb222c6e8e15de4fc4a4d9eeb4ef3a99f44 Issue-ID: DCAEGEN2-944 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-10-26Simplify DmaaP Publisher and consumer interfacespkaras8-105/+59
Change-Id: Iaa7d870e8bd33687047832960c86adb7e97d969c Issue-ID: DCAEGEN2-922 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-10-25certificate configuration for DMaaP and AAIpkaras14-211/+389
Change-Id: If074b4b1b5dce0dd5a69cd464cf6259177580736 Issue-ID: DCAEGEN2-888 Signed-off-by: Pawel <piotr.karas@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-18Fixed Reactor-Netty SSL_conf3.0.1-ONAP3.0.0-ONAP1.1.1wasala2-4/+4
*Error calling secure AAI http client Change-Id: Ie4ba090f9ed33e134d584270e3ae875cd54472b6 Issue-ID: DCAEGEN2-870 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-10-16CLM SCAN VULNERABILITIESwasala1-7/+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-11Bug fix due to failures on CSIT tests1.1.0pwielebs2-12/+21
Change-Id: Ib35b9448178f906f47527e49bdd14be75a17e578 Issue-ID: DCAEGEN2-866 Signed-off-by: pwielebs <piotr.wielebski@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-10-08PRH DMaaP objects batchingwasala6-266/+331
*Getting collection of object in one request *Refator the workflow in the old implementation Change-Id: I4fdbf4bd8ae70cd78dbf5c3c441ba01c28e6ce4f Issue-ID: DCAEGEN2-834 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-09-17Fix prod mode of jackson in prhwasala1-6/+6
Spring must contains jackson dependency for swagger doc generation. Change-Id: Ie3096705eb121c78dbbcadbe3b5b168429106e24 Issue-ID: DCAEGEN2-770 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-09-14Bug fix 'sourceName' -> 'correlationId'pwielebs5-8/+9
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-13Merge "Removed Security - Critical vulnerabilities"Vijay Venkatesh Kumar1-4/+0
2018-09-12Merge "fix logback"Przemyslaw Wasala1-31/+14
2018-09-12Removed Security - Critical vulnerabilitieswasala1-4/+0
Deleted all security vulnerabilities with severity >=7 Change-Id: I496acedbed93c17e7f3a6d1f634c7a56558fb0c8 Issue-ID: DCAEGEN2-770 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-09-11PRH:security vulnerabilities fixwasala6-63/+42
*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-06fix logbackmicdzied1-31/+14
Change-Id: I7592d7320fb42bb3e5b80dd398fb69d39e7adb50 Issue-ID: DCAEGEN2-758 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-09-05delete unused importsmicdzied6-12/+1
Change-Id: I530e3d76ec9dd191c70abf520aa82a3af976847e Issue-ID: DCAEGEN2-750 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-09-04MDC fixmicdzied7-22/+32
Change-Id: I4b12f9b9914d93ee2969b4b3cf48a47837330a6d Issue-ID: DCAEGEN2-745 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-09-04Maven resources refactoringpwielebs11-79/+43
Added resurces to java spring classpath directly Change-Id: I194748706f63cff1966111bbdb52538bd5a83855 Issue-ID: DCAEGEN2-606 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-09-04Fixing code issuespwielebs4-7/+9
1. SonarIssues 2. CheckStyle corrections 3. Empty code deletions 4. Adding AAIHeaders config to cloud configurations Change-Id: Id624c52bc7f57338fad5276fffd9f29b21af2f69 Issue-ID: DCAEGEN2-606 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-09-04Clear warnings in sysout Fix:pwielebs15-70/+82
*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 workflowpwielebs23-200/+208
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 Bochenski3-137/+109
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'smicdzied20-84/+133
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-64/+148
- used instead of pnf-name (correlationId) Change-Id: Iabcbfacbc029bd6d229080c2064a291e17c7f4f8 Issue-ID: DCAEGEN2-744 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-08-29Revert web server to prh, fix configurationJakub Zieba13-173/+418
Revert web server to prh, becaue it is used by health check Fix cloud configuration fetching Additional code refactoring Change-Id: Ic3d6f4c266064436e2701ec3ef3a7534b2d5b8b4 Issue-ID: DCAEGEN2-696 Signed-off-by: Jakub Zieba <jakub.zieba@nokia.com>
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:pwielebs7-12/+19
- 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 Ji12-31/+340
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 fromConsulwasala12-31/+340
*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 :pwielebs2-2/+2
- 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:pwielebs2-2/+2
- 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>