aboutsummaryrefslogtreecommitdiffstats
path: root/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java
AgeCommit message (Collapse)AuthorFilesLines
2018-09-11PRH:security vulnerabilities fixwasala1-1/+1
*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-05delete unused importsmicdzied1-1/+0
Change-Id: I530e3d76ec9dd191c70abf520aa82a3af976847e Issue-ID: DCAEGEN2-750 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-09-04MDC fixmicdzied1-0/+14
Change-Id: I4b12f9b9914d93ee2969b4b3cf48a47837330a6d Issue-ID: DCAEGEN2-745 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2018-09-04Refatoring due to prh workflowpwielebs1-14/+2
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-29Revert web server to prh, fix configurationJakub Zieba1-3/+1
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-21Second part loading PRH CONFwasala1-1/+0
*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 fromConsulwasala1-1/+12
*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-07Checkstyle violationswasala1-0/+1
*Correction of violations without javadoc Change-Id: Ida177bf32a58605e74feae5fab22198228e970ce Issue-ID: DCAEGEN2-563 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-06-13Added run task after application is upwasala1-0/+2
Change-Id: I91985184352dda7937b0c5bf036c916228cb6055 Issue-ID: DCAEGEN2-545 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-04-20Merge "Implementation for HTTP/HTTPS and endpoints"Lusheng Ji1-2/+0
2018-04-20Implementation for HTTP/HTTPS and endpointswasala1-2/+0
*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 Consumerwasala1-1/+1
*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 Issueswasala1-0/+3
*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-12Already added loading config for AAI and DMAAPwasala1-1/+0
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)wasala1-0/+10
Refactor from tests ppoint of view Change-Id: If747a499c70517a74bda6fbc895306271dc61d13 Issue-ID: DCAEGEN2-407 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
2018-03-28Already fixed Sonar issueswasala1-1/+1
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 U&IT tests in prh modulewasala1-1/+0
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 dependecywasala1-0/+40
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>