aboutsummaryrefslogtreecommitdiffstats
path: root/prh-app-server
AgeCommit message (Collapse)AuthorFilesLines
2021-08-11Update tests and component spec to use AAI v23 API1.7.0Remigiusz Janeczek6-12/+12
Issue-ID: DCAEGEN2-1531 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I4bf16f64cc4e8a338ee83b846b3fb939a56f5a0f
2021-08-11Change AAI variable syntaxTomasz Wrobel1-1/+1
Issue-ID: DCAEGEN2-2863 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I4e7a2a29edcd85867065ce0457848b42dbfb0db2
2021-07-29Fix vulnerabilities1.6.1Tomasz Wrobel1-1/+1
- Top up spring-boot to 2.4.8 Issue-ID: DCAEGEN2-2808 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ia8b5d99fab23e7523a2871d8305c27b7c9858a19
2021-03-25Change openjdk baseOS img to integration-java111.6.0Alexander Mazuruk2-4/+6
Since 7.2.0 integration images switched over to alpine, adjusted Dockerfile to accomodate the switch. Benefits from switching over: * minimal {java11,python} images maintained by integration team * using currently "blessed by seccom" versions (:latest tag used) * should limit spread of legal issues across layers * integration images will be the first to have automated compliance documentation * should limit spread of base layers (contributing to deployment footprint - more base layers = more to download, more to store etc...) Issue-ID: INT-1864 Issue-ID: DCAEGEN2-2420 Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com> Change-Id: I6c3fc2aae136a7f361a7e15cb52b75931392f34a
2021-02-10Update to use DCAE-SDK 1.6.0Joanna Jeremicz1-1/+1
Change-Id: I0c8f5950d848e5a4ab6cde1118cabd7ace227c2d Issue-ID: DCAEGEN2-2598 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2021-02-03Upgrade Spring Boot and Spring Cloud versionsMaciej Malewski3-7/+12
Spring Boot from 2.2.4.RELEASE to 2.4.2 Spring Cloud from Greenwich.SR1 to 2020.0.1 Issue-ID: DCAEGEN2-2537 Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com> Change-Id: I51c8c450133a68435799802f548bb16ba562550c
2020-09-03Top up version after releasepwielebs1-1/+1
1.5.4 -> 1.5.5 Issue-ID: DCAEGEN2-2421 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: I56980a7731e22c85d6ff2afa95176e8c532fc4cf
2020-08-10PRH updated to used DCAE-SDK 1.4.1deen19851-1/+1
Change-Id: I8c9e96b870d122877d05839daa2f35df719f1870 Signed-off-by: deen1985 <damian.nowak@nokia.com> Issue-ID: DCAEGEN2-2276
2020-08-06DCAE-PRH Fix lib vulnerabilitiesdeen19853-26/+10
Change-Id: I55d230a82ab58f99b89c49162bf952799e115ff4 Signed-off-by: deen1985 <damian.nowak@nokia.com> Issue-ID: DCAEGEN2-2276 Signed-off-by: deen1985 <damian.nowak@nokia.com>
2020-03-06Update snapshot version to 1.5.36.0.0-ONAPfrankfurtJoanna Jeremicz1-1/+1
after release Change-Id: I640a611503c35a6f75331f1d11e5781131e05cdb Issue-ID: DCAEGEN2-2088 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2020-03-06Prepare for release 1.5.21.5.2Joanna Jeremicz1-1/+1
Change-Id: If4e40583712162a68400f2cb182ef8a1494b6036 Issue-ID: DCAEGEN2-2088 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2020-03-05PRH error after PNF relocationJoanna Jeremicz3-4/+8
Path should be encoded before it is used as URL Change-Id: I408064245d9f56ea7925bc5a882ed42d8c84f191 Issue-ID: DCAEGEN2-2088 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2020-01-24Minor version increased. Current version is 1.5.1kjaniak1-1/+1
Issue-ID: DCAEGEN2-1983 Change-Id: I42da42a374efae1d786544161c8edacf55e032a2 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-01-16Update docker base image to java 111.5.0mharazin2-3/+4
Top up DCAE SDK version in project Issue-ID: DCAEGEN2-1983 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: I3b31454a5bc3ff2011f6ba44e6272e8937d88c6d
2020-01-14Update project version to 1.5.0Joanna Jeremicz1-1/+1
Change-Id: I4094890901b4db09075dcca13edc22a47e7e62bc Issue-ID: DCAEGEN2-1983 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-12-06Refactor AaiClient API - package restructureMichal Kabaj19-82/+77
- 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 Kabaj10-18/+18
- 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 Kabaj5-16/+16
- 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-11-28aaiclient api refactorMichal Kabaj13-96/+107
- 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-21Fix PrhWorkflowSchedulingIntegrationTestJoanna Jeremicz4-7/+74
- Clean up scheduledTasksRunner after previous integration tests - Prevent race condition Change-Id: If3763cbc031ddca3a14568742265644b4472a448 Issue-ID: DCAEGEN2-1853 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-11-07Merge "Update PNF in AAI"Piotr Wielebski2-4/+5
2019-11-05Update PNF in AAIJoanna Jeremicz3-4/+7
PNF is now updated with parameters from VES event whenever PNF_UPDATE case is executed Issue-ID: DCAEGEN2-1911 Change-Id: I262e4fbf52c92f7a187f3730b40f7f5d689d2dc3 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-11-04Fix SDK importsJoanna Jeremicz14-32/+30
Issue-ID: DCAEGEN2-1792 Change-Id: I29e436e1c0483c7f56129d6de8389e71442b86a0 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-10-10Update version to 1.4.0Joanna Jeremicz1-1/+1
Change-Id: I0e3dfb48b2b806137bad0b21f2f91713e904663c Issue-ID: INT-1181 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-10-10Adjust baseUrlJoanna Jeremicz2-2/+2
Make baseUrl in tests more real Change-Id: I61bb7012f5f67797244806e1cfe528bf10e6a0b5 Issue-ID: INT-1181 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-10-08Add baseUrl supportJoanna Jeremicz3-0/+3
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. Issue-ID: INT-1181 Change-Id: I340a0fc569bfdd027bbac81f059a2a5f0dae17a1 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-09-10disable docker mvn bindingVijay Venkatesh Kumar1-5/+3
Change-Id: I733ea295d7af22891de83bd16f6733376b4a5f54 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1669
2019-09-10Change docker image push flagskjaniak1-1/+4
Issue-ID: DCAEGEN2-1751 Change-Id: I4635aa3bd640e19849f68b7350e20e8d4819053d Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2019-09-06Enable docker image pushkjaniak1-2/+1
Issue-ID: DCAEGEN2-1751 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Change-Id: Iffe4f222d24477a29de9fa86296f888cd571b466
2019-07-21Remove mvn binding for dockerVijay Venkatesh Kumar1-2/+3
Change-Id: If083371accfb6f4815624c2e7cb77261ee15d230 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1578
2019-07-16Align PRH container to new guidelinespwielebs2-82/+142
Change-Id: I74af532bc6d4ce364c5d8cc2d0ac98386c0df11d Issue-ID: DCAEGEN2-1648 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Signed-off-by: Piotr Bocheński <piotr.bochenski@nokia.com>
2019-07-16Merge "Replace dummy prh workflow scheduling test generating fake code ↵Piotr Wielebski13-339/+209
coverage with a prh workflow integration test with aai and dmaap mocked using wiremock and simple prh workflow scheduling test"
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-11Replace dummy prh workflow scheduling test generating fake code coverage ↵grabinsk13-339/+209
with a prh workflow integration test with aai and dmaap mocked using wiremock and simple prh workflow scheduling test Change-Id: Id6cfbcf62e865e1527cce2e006b1d85ea499f3f3 Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-07-03Logical links creation bugJoanna Jeremicz2-0/+10
Cleanup and test enhancements Change-Id: I0c5c027ceed13ec9b63b60555e78ef552122aeac Issue-ID: DCAEGEN2-1611 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-07-02fix CbsConfiguration update buggrabinsk1-1/+2
'CbsConfiguration' bean is statefull. The singleton instance lifespan should match application lifespan. The problem was bootstrap context (and all it's beans) are destroyed during bootstrap context refresh. Change-Id: Ib02cd49c37935422d4ca861afee55f621015146e Issue-ID: DCAEGEN2-1647 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-28fix PRH dmaap content type configuration after breaking changes introduced ↵grabinsk12-77/+30
to SDK and mix of minor code cleanups Change-Id: I568f49b8b6635f23b2089a4355eb78451102c2b1 Issue-ID: DCAEGEN2-1647 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-25Merge "Adding logs in BBSActionTaskImpl"Piotr Wielebski1-2/+2
2019-06-25Adding logs in BBSActionTaskImplMarcin Migdal1-2/+2
Change-Id: I3a21021427eb75964c88542a68838ccb443c60e5 Issue-ID: DCAEGEN2-1636 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-06-24basic test for 'CbsConfiguration'grabinsk1-0/+70
Change-Id: Ic574a6d338d58b469db232ef1fe692d3dcda57f2 Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-24Replace mocks with real object usage in test CbsClientConfigurationResolver testgrabinsk1-16/+16
This adds test coverage missing from CbsProperties.toCbsClientConfiguration() method Change-Id: I2da6f4b4392dbace4a8a827406a9b485f9cbfa79 Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-21Skip putting non-primitive values from CBS config into PRH app environmentgrabinsk2-27/+19
Non-primitive properties are currently not used by app and cause serialization failure on 'actuator/env' endpoint. The serialization issue is caused by fact, that swagger enforces switch to jackson and there are no proper gson's JsonObject serializers registered. Change-Id: Id5cfb743282aeec7db88434f06815ae5cc9057a6 Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-19Align PRH to SDKMarcin Migdal1-1/+0
Change-Id: I12290e8dd6bcff6631a92086fa10b83c00990fe9 Issue-ID: DCAEGEN2-1636 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-06-18Run PRH app as non-root user inside containerPiotr Bochenski1-2/+8
Change-Id: I50632fdfbcea55445be2ea70c54808ec991446ee Issue-ID: DCAEGEN2-1558 Signed-off-by: Piotr Bochenski <piotr.bochenski@nokia.com>
2019-06-17Merge "Do not start scheduling until application starts"Piotr Wielebski1-2/+7
2019-06-17Merge "cbs config refresh scheduler bugfix"Piotr Wielebski1-1/+1
2019-06-17Logical links creation bugJoanna Jeremicz1-1/+1
Added missing slash Change-Id: I63104d7d0919828ffb67dc437ee8c1d1299916b4 Issue-ID: DCAEGEN2-1611 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-06-17cbs config refresh scheduler bugfixgrabinsk1-1/+1
(inappropriate transient usage where volatile expected) Change-Id: I5208ff889e55530276e4605e591ff6b681d1e096 Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-14Do not start scheduling until application startsgrabinsk1-2/+7
(moving task schedule starting logic from bean's post construct to ApplicationStartedEvent listener) Change-Id: Ia09ecbf5efda9b8f838053359bba2cfe80ce095b Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-14fetching configuration from CBS at application bootstrapgrabinsk25-174/+966
Change-Id: Ibaa56c38b87fc8b8cfa858f74b7bc201bd507b37 Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>