dcaegen2/services/prh.git
4 years agoUpgrade Spring Boot and Spring Cloud versions 97/117397/2
Maciej Malewski [Wed, 3 Feb 2021 09:45:43 +0000 (10:45 +0100)]
Upgrade Spring Boot and Spring Cloud versions

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

4 years ago[DCAE/PRH] Update SpringWeb (vulnerabilitiyes) 64/117164/2
deen1985 [Wed, 27 Jan 2021 16:18:04 +0000 (17:18 +0100)]
[DCAE/PRH] Update SpringWeb (vulnerabilitiyes)

Change-Id: I4cd32566d9e9d124e97aa1e1ce479426c392a933
Signed-off-by: Damian Nowak <damian.nowak@nokia.com>
Issue-ID: DCAEGEN2-2598

4 years agodcae INFO.yaml update 49/116849/1
vv770d [Wed, 13 Jan 2021 21:37:58 +0000 (21:37 +0000)]
dcae INFO.yaml update

Committer changes

Change-Id: I25fa1577a2bf2a56759a11e261aa8fa0e6d2dc46
Issue-ID: DCAEGEN2-2583
Signed-off-by: vv770d <vv770d@att.com>
4 years agodcae INFO.yaml update 65/112565/1
vv770d [Fri, 11 Sep 2020 17:20:48 +0000 (17:20 +0000)]
dcae INFO.yaml update

Project maturity
Committer changes

Change-Id: If7de5bf937357de82d369621b572d5962c3bf241
Issue-ID: DCAEGEN2-2425
Signed-off-by: vv770d <vv770d@att.com>
4 years agoFix INFO.yaml files 15/112315/1
Jessica Wagantall [Tue, 8 Sep 2020 17:48:53 +0000 (10:48 -0700)]
Fix INFO.yaml files

Proper syntax for INFO.yaml requires the first
line to be "---" which was previously removed.
Re-adding this missing line.

Issue-ID: CIMAN-387
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I937cb0a3387ad43fa0d4c10545dbc22fce98a32b

4 years agoTop up version after release 77/112077/1
pwielebs [Thu, 3 Sep 2020 07:36:58 +0000 (09:36 +0200)]
Top up version after release

1.5.4 -> 1.5.5

Issue-ID: DCAEGEN2-2421
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Change-Id: I56980a7731e22c85d6ff2afa95176e8c532fc4cf

4 years agoRelease PRH 1.5.4 43/112043/1
pwielebs [Wed, 2 Sep 2020 13:19:00 +0000 (15:19 +0200)]
Release PRH 1.5.4

Issue-ID: DCAEGEN2-2421
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Change-Id: I751df271b2e19cf7123887875d7e1fcfab4f1288

4 years agoUpdate SDK's version in PRH 34/112034/1 1.5.4
pwielebs [Tue, 1 Sep 2020 12:08:18 +0000 (14:08 +0200)]
Update SDK's version in PRH

1.4.1 -> 1.4.3

Issue-ID: DCAEGEN2-2421
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Change-Id: Ibc7f26dcb514c9a3ac2f856856df26d567ad9052

4 years agoPRH updated to used DCAE-SDK 1.4.1 85/111085/1
deen1985 [Mon, 10 Aug 2020 13:38:37 +0000 (15:38 +0200)]
PRH updated to used DCAE-SDK 1.4.1

Change-Id: I8c9e96b870d122877d05839daa2f35df719f1870
Signed-off-by: deen1985 <damian.nowak@nokia.com>
Issue-ID: DCAEGEN2-2276

4 years agoUpdated Spring-Web to 5.2.7.RELEASE 87/110987/1
deen1985 [Thu, 6 Aug 2020 13:36:43 +0000 (15:36 +0200)]
Updated Spring-Web to 5.2.7.RELEASE

Change-Id: Ia199df56db272db6e860749aad90035fe19280bd
Signed-off-by: deen1985 <damian.nowak@nokia.com>
Issue-ID: DCAEGEN2-2276
Signed-off-by: deen1985 <damian.nowak@nokia.com>
4 years agoDCAE-PRH Fix lib vulnerabilities 19/110919/8
deen1985 [Wed, 5 Aug 2020 15:54:22 +0000 (17:54 +0200)]
DCAE-PRH Fix lib vulnerabilities

Change-Id: I55d230a82ab58f99b89c49162bf952799e115ff4
Signed-off-by: deen1985 <damian.nowak@nokia.com>
Issue-ID: DCAEGEN2-2276
Signed-off-by: deen1985 <damian.nowak@nokia.com>
5 years agodcae committer updates in INFO.yaml 25/110525/1
vv770d [Thu, 23 Jul 2020 19:13:31 +0000 (19:13 +0000)]
dcae committer updates in INFO.yaml

Change-Id: Ic2dc8f269791a1d583e3619923a278be79ffe94e
Issue-ID: DCAEGEN2-2365
Signed-off-by: vv770d <vv770d@att.com>
5 years agoUpdate snapshot version to 1.5.3 60/103260/1 frankfurt 6.0.0-ONAP
Joanna Jeremicz [Fri, 6 Mar 2020 12:16:31 +0000 (13:16 +0100)]
Update snapshot version to 1.5.3

after release

Change-Id: I640a611503c35a6f75331f1d11e5781131e05cdb
Issue-ID: DCAEGEN2-2088
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
5 years agoContainer release 1.5.2 47/103247/2
Joanna Jeremicz [Fri, 6 Mar 2020 11:06:32 +0000 (12:06 +0100)]
Container release 1.5.2

Release due to bug PRH error after PNF relocation
Fixed in this version

Change-Id: Ieed2dfa9ff2a6e0eada4a96f598269b42ba2f3a7
Issue-ID: DCAEGEN2-2088
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
5 years agoPrepare for release 1.5.2 27/103227/1 1.5.2
Joanna Jeremicz [Fri, 6 Mar 2020 08:30:07 +0000 (09:30 +0100)]
Prepare for release 1.5.2

Change-Id: If4e40583712162a68400f2cb182ef8a1494b6036
Issue-ID: DCAEGEN2-2088
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
5 years agoPRH error after PNF relocation 96/103096/1
Joanna Jeremicz [Thu, 5 Mar 2020 07:28:31 +0000 (08:28 +0100)]
PRH error after PNF relocation

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>
5 years agofix sonarcloud issues 64/101564/1
Hansen, Tony (th1395) [Tue, 11 Feb 2020 22:07:14 +0000 (22:07 +0000)]
fix sonarcloud issues

Change-Id: I93c57eb30194cacd998d41a3b59f72214721b71b
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2065

5 years agoAdding commiter rights to project 53/101453/1
kjaniak [Mon, 10 Feb 2020 13:01:26 +0000 (14:01 +0100)]
Adding commiter rights to project

Kornel Janiak added to PRH commiters group.

Issue-ID: DCAEGEN2-1891
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Change-Id: Icab8ef6b54f826d5857a72b1b8992fe737cc9425

5 years agoMinor version increased. Current version is 1.5.1 34/100534/2
kjaniak [Fri, 24 Jan 2020 07:20:21 +0000 (08:20 +0100)]
Minor version increased. Current version is 1.5.1

Issue-ID: DCAEGEN2-1983
Change-Id: I42da42a374efae1d786544161c8edacf55e032a2
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
5 years agoCreate 1.5.0 release 38/100538/2
kjaniak [Tue, 21 Jan 2020 10:34:05 +0000 (11:34 +0100)]
Create 1.5.0 release

Issue-ID: DCAEGEN2-1983
Change-Id: Ia84d2b9a6cf299a7acb3763666446ecb4fbdf9d2
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
5 years agoUpdate docker base image to java 11 18/100318/4 1.5.0
mharazin [Wed, 15 Jan 2020 14:37:31 +0000 (15:37 +0100)]
Update docker base image to java 11

Top up DCAE SDK version in project

Issue-ID: DCAEGEN2-1983
Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com>
Change-Id: I3b31454a5bc3ff2011f6ba44e6272e8937d88c6d

5 years agoUpdate project version to 1.5.0 74/100274/1
Joanna Jeremicz [Tue, 14 Jan 2020 09:28:50 +0000 (10:28 +0100)]
Update project version to 1.5.0

Change-Id: I4094890901b4db09075dcca13edc22a47e7e62bc
Issue-ID: DCAEGEN2-1983
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
5 years agoUpdate java 11 in pom 87/100187/1
kjaniak [Fri, 10 Jan 2020 13:57:20 +0000 (14:57 +0100)]
Update java 11 in pom

Issue-ID: DCAEGEN2-1983
Change-Id: I568047f4f5e1351639ff34545536596f0cf6aff2
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
5 years agoRelease container 1.4.0 64/99564/2
pwielebs [Wed, 11 Dec 2019 14:49:48 +0000 (15:49 +0100)]
Release container 1.4.0

Issue-ID: DCAEGEN2-1812
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Change-Id: I930111751bbf7c50aaf40753694411a952a326f7

5 years agoTop up version of SDK in PRH 91/99391/1 1.4.0
pwielebs [Tue, 10 Dec 2019 08:45:22 +0000 (09:45 +0100)]
Top up version of SDK in PRH

1.3.2 -> 1.3.3

Issue-ID: DCAEGEN2-1991
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Change-Id: I116cf2a87fd50ba069e1ce13ff8fd9e7727c7dff

5 years agoRefactor AaiClient API - package restructure 50/99250/1
Michal Kabaj [Thu, 5 Dec 2019 13:44:37 +0000 (14:44 +0100)]
Refactor AaiClient API - package restructure
- 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

5 years agoRefactor AaiClient API - package structure 92/99192/1
Michal Kabaj [Thu, 5 Dec 2019 07:58:17 +0000 (08:58 +0100)]
Refactor AaiClient API - package structure
- 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

5 years agoRefactor AaiClient API - remove interfaces 40/99140/1
Michal Kabaj [Wed, 4 Dec 2019 11:51:19 +0000 (12:51 +0100)]
Refactor AaiClient API - remove interfaces
- 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

5 years agoMerge "Refactor AaiClient API - Removed unused AaiHttpPutClient - Removed unnecessary...
Piotr Wielebski [Wed, 4 Dec 2019 12:17:18 +0000 (12:17 +0000)]
Merge "Refactor AaiClient API - Removed unused AaiHttpPutClient - Removed unnecessary ClientModel and DmaapModel interfaces"

5 years agoRefactor AaiClient API 43/99043/4
Michal Kabaj [Tue, 3 Dec 2019 11:38:20 +0000 (12:38 +0100)]
Refactor AaiClient API
- 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>
5 years agoUpdate DCAE Committer in INFO.yaml 13/99113/1
JoeOLeary [Tue, 3 Dec 2019 21:05:02 +0000 (21:05 +0000)]
Update DCAE Committer in INFO.yaml

Issue-ID: DCAEGEN2-1891
Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
Change-Id: Ie6c5a3926b7ce676515dc38561f27fa388160467

5 years agoaaiclient api refactor 04/99004/2
Michal Kabaj [Mon, 2 Dec 2019 12:51:52 +0000 (13:51 +0100)]
aaiclient api refactor
- 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>
5 years agoaaiclient api refactor 30/98930/1
Michal Kabaj [Thu, 28 Nov 2019 11:21:19 +0000 (12:21 +0100)]
aaiclient api refactor
- 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

5 years agoaaiclient api refactor 86/98886/1
Michal Kabaj [Wed, 27 Nov 2019 09:58:35 +0000 (10:58 +0100)]
aaiclient api refactor
- removed unused transaction api

Issue-ID: DCAEGEN2-1955
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
Change-Id: I9e0566b3f6cdf5f0f908254f5823ed86b420cc2d

5 years agoFix PrhWorkflowSchedulingIntegrationTest 07/98707/2
Joanna Jeremicz [Thu, 21 Nov 2019 10:18:09 +0000 (11:18 +0100)]
Fix PrhWorkflowSchedulingIntegrationTest

- 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>
5 years agoFix PRH static code vulnerabilities 46/98646/2
pwielebs [Wed, 20 Nov 2019 08:08:35 +0000 (09:08 +0100)]
Fix PRH static code vulnerabilities

Issue-ID: DCAEGEN2-1815
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Change-Id: Ibf9601b43116e8e4c4ef4e27829c847f65163f0f

5 years agoMerge "Update PNF in AAI"
Piotr Wielebski [Thu, 7 Nov 2019 13:58:18 +0000 (13:58 +0000)]
Merge "Update PNF in AAI"

5 years agoUpdate PNF in AAI 42/97942/1
Joanna Jeremicz [Mon, 4 Nov 2019 11:14:22 +0000 (12:14 +0100)]
Update PNF in AAI

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>
5 years agoFix SDK imports 99/96499/5
Joanna Jeremicz [Wed, 2 Oct 2019 10:45:29 +0000 (12:45 +0200)]
Fix SDK imports

Issue-ID: DCAEGEN2-1792
Change-Id: I29e436e1c0483c7f56129d6de8389e71442b86a0
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
5 years agodcae committer updates 53/97753/2
Vijay Venkatesh Kumar [Mon, 28 Oct 2019 20:42:49 +0000 (20:42 +0000)]
dcae committer updates

Change-Id: Idad5d5e2ee7021a16b70e197ee154f216c63394f
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1891

5 years agoUpdate version to 1.4.0 71/96871/1
Joanna Jeremicz [Thu, 10 Oct 2019 14:32:31 +0000 (16:32 +0200)]
Update version to 1.4.0

Change-Id: I0e3dfb48b2b806137bad0b21f2f91713e904663c
Issue-ID: INT-1181
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
5 years agoAdjust baseUrl 47/96847/1
Joanna Jeremicz [Thu, 10 Oct 2019 08:55:12 +0000 (10:55 +0200)]
Adjust baseUrl

Make baseUrl in tests more real

Change-Id: I61bb7012f5f67797244806e1cfe528bf10e6a0b5
Issue-ID: INT-1181
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
5 years agoAdd baseUrl support 75/96675/2
Joanna Jeremicz [Mon, 7 Oct 2019 11:40:11 +0000 (13:40 +0200)]
Add baseUrl support

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>
5 years agoUpdate SDK version to 1.3.1 21/96321/3
Joanna Jeremicz [Fri, 27 Sep 2019 06:42:35 +0000 (08:42 +0200)]
Update SDK version to 1.3.1

Change-Id: If587207fccdc0090b2fc9dd0093c412a01a41061
Issue-ID: INT-1181
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
5 years agorelease 1.3.1 prh 01/95401/1 5.0.1-ONAP
Vijay Venkatesh Kumar [Tue, 10 Sep 2019 07:57:23 +0000 (07:57 +0000)]
release 1.3.1 prh

Change-Id: I31bc43c5ca494f92f11775847580d84b6883c845
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1669

5 years agodisable docker mvn binding 76/95376/1
Vijay Venkatesh Kumar [Tue, 10 Sep 2019 05:24:39 +0000 (05:24 +0000)]
disable docker mvn binding

Change-Id: I733ea295d7af22891de83bd16f6733376b4a5f54
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1669

5 years agoChange docker image push flags 08/95308/1
kjaniak [Tue, 10 Sep 2019 07:14:31 +0000 (09:14 +0200)]
Change docker image push flags

Issue-ID: DCAEGEN2-1751
Change-Id: I4635aa3bd640e19849f68b7350e20e8d4819053d
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
5 years agoEnable docker image push 33/95133/1
kjaniak [Fri, 6 Sep 2019 10:38:40 +0000 (12:38 +0200)]
Enable docker image push

Issue-ID: DCAEGEN2-1751
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Change-Id: Iffe4f222d24477a29de9fa86296f888cd571b466

5 years agoMerge "Check of CI"
Piotr Wielebski [Fri, 6 Sep 2019 07:49:22 +0000 (07:49 +0000)]
Merge "Check of CI"

5 years agoCheck of CI 10/95110/1
kjaniak [Fri, 6 Sep 2019 07:17:00 +0000 (09:17 +0200)]
Check of CI

Issue-ID: DCAEGEN2-1751
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Change-Id: Ibab391395768457b1f1753f7bd2197192d5d9d25

5 years agofix prh build issue 91/92591/1
Vijay Venkatesh Kumar [Thu, 1 Aug 2019 21:16:08 +0000 (21:16 +0000)]
fix prh build issue

Change-Id: If7b013aa6b027de25dc80140b55f66ef52821dbd
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1578

6 years agoRemove mvn binding for docker 92/92292/1
Vijay Venkatesh Kumar [Sun, 21 Jul 2019 01:34:38 +0000 (01:34 +0000)]
Remove mvn binding for docker

Change-Id: If083371accfb6f4815624c2e7cb77261ee15d230
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1578

6 years agoAlign PRH container to new guidelines 62/91462/2
pwielebs [Mon, 15 Jul 2019 15:25:26 +0000 (17:25 +0200)]
Align PRH container to new guidelines

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>
6 years agoMerge "Replace dummy prh workflow scheduling test generating fake code coverage with...
Piotr Wielebski [Tue, 16 Jul 2019 09:13:43 +0000 (09:13 +0000)]
Merge "Replace dummy prh workflow scheduling test generating fake code coverage with a prh workflow integration test with aai and dmaap mocked using wiremock and simple prh workflow scheduling test"

6 years agoJJB alignment across DCAE components - DCAE PRH 49/91249/2
Gerard Hickey [Thu, 11 Jul 2019 11:50:10 +0000 (12:50 +0100)]
JJB alignment across DCAE components - DCAE PRH

Issue-ID: DCAEGEN2-1578
Signed-off-by: Gerard Hickey <gerard.hickey@ericsson.com>
Change-Id: I6dfd9b1b9549e177f65b8dda372d24be118f0a05

6 years agoReplace dummy prh workflow scheduling test generating fake code coverage with a prh... 37/91237/1
grabinsk [Tue, 9 Jul 2019 07:56:58 +0000 (09:56 +0200)]
Replace dummy prh workflow scheduling test generating fake code coverage 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>
6 years agoLogical links creation bug 96/89996/3
Joanna Jeremicz [Mon, 17 Jun 2019 09:06:13 +0000 (11:06 +0200)]
Logical links creation bug

Cleanup and test enhancements

Change-Id: I0c5c027ceed13ec9b63b60555e78ef552122aeac
Issue-ID: DCAEGEN2-1611
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
6 years agofix CbsConfiguration update bug 20/90820/1
grabinsk [Tue, 2 Jul 2019 14:05:24 +0000 (16:05 +0200)]
fix CbsConfiguration update bug

'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>
6 years agofix PRH dmaap content type configuration after breaking changes introduced to SDK 81/90581/3
grabinsk [Thu, 27 Jun 2019 10:25:59 +0000 (12:25 +0200)]
fix PRH dmaap content type configuration after breaking changes introduced to SDK

and mix of minor code cleanups

Change-Id: I568f49b8b6635f23b2089a4355eb78451102c2b1
Issue-ID: DCAEGEN2-1647
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoMerge "Adding logs in BBSActionTaskImpl"
Piotr Wielebski [Tue, 25 Jun 2019 10:44:58 +0000 (10:44 +0000)]
Merge "Adding logs in BBSActionTaskImpl"

6 years agoAdding logs in BBSActionTaskImpl 28/90428/2
Marcin Migdal [Tue, 25 Jun 2019 09:37:14 +0000 (11:37 +0200)]
Adding logs in BBSActionTaskImpl

Change-Id: I3a21021427eb75964c88542a68838ccb443c60e5
Issue-ID: DCAEGEN2-1636
Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
6 years agobasic test for 'CbsConfiguration' 19/90419/1
grabinsk [Thu, 13 Jun 2019 08:19:08 +0000 (10:19 +0200)]
basic test for 'CbsConfiguration'

Change-Id: Ic574a6d338d58b469db232ef1fe692d3dcda57f2
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoReplace mocks with real object usage in test CbsClientConfigurationResolver test 72/90372/1
grabinsk [Mon, 17 Jun 2019 08:18:23 +0000 (10:18 +0200)]
Replace mocks with real object usage in test CbsClientConfigurationResolver test

This adds test coverage missing from CbsProperties.toCbsClientConfiguration() method

Change-Id: I2da6f4b4392dbace4a8a827406a9b485f9cbfa79
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoSkip putting non-primitive values from CBS config into PRH app environment 83/90283/1
grabinsk [Fri, 21 Jun 2019 07:10:03 +0000 (09:10 +0200)]
Skip putting non-primitive values from CBS config into PRH app environment

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>
6 years agoAlign PRH to SDK 64/90164/1
Marcin Migdal [Wed, 19 Jun 2019 13:35:53 +0000 (15:35 +0200)]
Align PRH to SDK

Change-Id: I12290e8dd6bcff6631a92086fa10b83c00990fe9
Issue-ID: DCAEGEN2-1636
Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
6 years agoRun PRH app as non-root user inside container 73/90073/1
Piotr Bochenski [Tue, 18 Jun 2019 10:03:42 +0000 (12:03 +0200)]
Run PRH app as non-root user inside container

Change-Id: I50632fdfbcea55445be2ea70c54808ec991446ee
Issue-ID: DCAEGEN2-1558
Signed-off-by: Piotr Bochenski <piotr.bochenski@nokia.com>
6 years agoMerge "Do not start scheduling until application starts"
Piotr Wielebski [Mon, 17 Jun 2019 12:50:33 +0000 (12:50 +0000)]
Merge "Do not start scheduling until application starts"

6 years agoMerge "cbs config refresh scheduler bugfix"
Piotr Wielebski [Mon, 17 Jun 2019 12:26:44 +0000 (12:26 +0000)]
Merge "cbs config refresh scheduler bugfix"

6 years agoLogical links creation bug 86/89986/1
Joanna Jeremicz [Mon, 17 Jun 2019 08:04:52 +0000 (10:04 +0200)]
Logical links creation bug

Added missing slash

Change-Id: I63104d7d0919828ffb67dc437ee8c1d1299916b4
Issue-ID: DCAEGEN2-1611
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
6 years agocbs config refresh scheduler bugfix 81/89981/1
grabinsk [Mon, 17 Jun 2019 07:25:58 +0000 (09:25 +0200)]
cbs config refresh scheduler bugfix

(inappropriate transient usage where volatile expected)

Change-Id: I5208ff889e55530276e4605e591ff6b681d1e096
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoDo not start scheduling until application starts 83/89883/1
grabinsk [Fri, 14 Jun 2019 11:50:16 +0000 (13:50 +0200)]
Do not start scheduling until application starts

(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>
6 years agofetching configuration from CBS at application bootstrap 91/89791/4
grabinsk [Tue, 4 Jun 2019 13:18:44 +0000 (15:18 +0200)]
fetching configuration from CBS at application bootstrap

Change-Id: Ibaa56c38b87fc8b8cfa858f74b7bc201bd507b37
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoMerge "Logical links creation bug"
Piotr Wielebski [Fri, 14 Jun 2019 06:39:12 +0000 (06:39 +0000)]
Merge "Logical links creation bug"

6 years agoLogical links creation bug 45/89745/4
Joanna Jeremicz [Wed, 12 Jun 2019 07:24:24 +0000 (09:24 +0200)]
Logical links creation bug

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>
6 years agoCustom queries for PRH 91/89491/6
kurczews [Thu, 6 Jun 2019 09:03:32 +0000 (11:03 +0200)]
Custom queries for PRH

Change-Id: Ie795c5951b63c138f1898bdfc16509233febf7ec
Issue-ID: DCAEGEN2-1604
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
6 years agoAlign to new SDK version 52/89752/1
Joanna Jeremicz [Wed, 12 Jun 2019 12:34:50 +0000 (14:34 +0200)]
Align to new SDK version

Change-Id: I06974c7f890bfa1cb875d776efa8b3a9f5b0a711
Issue-ID: DCAEGEN2-1613
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
6 years agoMerge "exposing actuator/loggers endpoint for ad-hoc logging level management"
Piotr Wielebski [Mon, 10 Jun 2019 12:21:57 +0000 (12:21 +0000)]
Merge "exposing actuator/loggers endpoint for ad-hoc logging level management"

6 years agohandle 404 from aai 31/89631/1
grabinsk [Fri, 7 Jun 2019 10:21:44 +0000 (12:21 +0200)]
handle 404 from aai

(parsing response body from aai should not be attempted if there is no 2xx response)

Change-Id: Iedc9daa65895600d826ac808784b3c6803a6dab4
Issue-ID: DCAEGEN2-1601
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoexposing actuator/loggers endpoint for ad-hoc logging level management 30/89630/1
grabinsk [Tue, 4 Jun 2019 13:37:52 +0000 (15:37 +0200)]
exposing actuator/loggers endpoint for ad-hoc logging level management

Change-Id: Ia19388a1a6e9a46273a59d0d9930f054d271f6f9
Issue-ID: DCAEGEN2-1609
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoMerge "fix logging"
Piotr Wielebski [Mon, 10 Jun 2019 08:54:47 +0000 (08:54 +0000)]
Merge "fix logging"

6 years agofix logging 61/89361/1
micdzied [Wed, 5 Jun 2019 12:09:42 +0000 (14:09 +0200)]
fix logging

Change-Id: Iebc973500f880f6b5c248b5e26740568ac993b0b
Issue-ID: DCAEGEN2-1601
Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
6 years agoFix attachment-point issue 57/89257/1
pwielebs [Tue, 4 Jun 2019 14:11:37 +0000 (16:11 +0200)]
Fix attachment-point issue

Change-Id: Iba52e54e09774a54d23c410c0081aae0643e76c3
Issue-ID: DCAEGEN2-1596
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agocleanups around CbsClientConfiguration resolving 35/89135/1
grabinsk [Thu, 9 May 2019 09:41:11 +0000 (11:41 +0200)]
cleanups around CbsClientConfiguration resolving

Change-Id: Id3c02de034fbf396e81dab39c4442880b346e70d
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoMerge "Adjust PRH with SDK"
Piotr Wielebski [Mon, 3 Jun 2019 10:02:31 +0000 (10:02 +0000)]
Merge "Adjust PRH with SDK"

6 years agoAdjust PRH with SDK 28/89128/2
kurczews [Mon, 3 Jun 2019 09:31:43 +0000 (11:31 +0200)]
Adjust PRH with SDK

Change-Id: If1f230047bf635d5288482b275d05c484a4ecaec
Issue-ID: DCAEGEN2-1521
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
6 years agoAdd test for ScheduleController; 20/89020/2
grabinsk [Fri, 31 May 2019 09:23:13 +0000 (11:23 +0200)]
Add test for ScheduleController;
moving web related logic out from ScheduleTasksRunner

Change-Id: I57c0311509ca94b639e3dc9978fbe602aec1f0c4
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoMerge "replace local copy of 'MdcVariables' with one from SDK"
Piotr Wielebski [Fri, 31 May 2019 12:10:41 +0000 (12:10 +0000)]
Merge "replace local copy of 'MdcVariables' with one from SDK"

6 years agoAdding 'dev' profile with default spring's logback console appender to allow starting... 15/89015/1
grabinsk [Fri, 31 May 2019 11:00:54 +0000 (13:00 +0200)]
Adding 'dev' profile with default spring's logback console appender to allow starting app from IDE

Change-Id: If59c8678f0fb323b3201eb4f52926e2f2baa3e67
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoreplace local copy of 'MdcVariables' with one from SDK 98/88998/3
grabinsk [Fri, 31 May 2019 06:42:35 +0000 (08:42 +0200)]
replace local copy of 'MdcVariables' with one from SDK

Change-Id: I9d13941ca9c4d70b5c4d9c354fa0ba09c3e5e6fa
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoMerge "Fix Sonar issues"
Piotr Jaszczyk [Fri, 31 May 2019 09:04:24 +0000 (09:04 +0000)]
Merge "Fix Sonar issues"

6 years agoReplace hand-written MockitoExtension with official one from mockito-junit-jupiter 85/88885/3
grabinsk [Thu, 30 May 2019 12:43:14 +0000 (14:43 +0200)]
Replace hand-written MockitoExtension with official one from mockito-junit-jupiter

Change-Id: I28e9057822f80f7514a640fbc66f54d9f5488cbf
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoremove dependency to testNG 99/88899/1
grabinsk [Thu, 30 May 2019 13:04:10 +0000 (15:04 +0200)]
remove dependency to testNG
(SpringExtension does the job of AbstractTestNGSpringContextTests)

Change-Id: Iafea26232a659b5e1ef6bb4e152a35ca795f9326
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoFix Sonar issues 80/88880/2
pwielebs [Thu, 30 May 2019 12:10:09 +0000 (14:10 +0200)]
Fix Sonar issues

Change-Id: If7134bf3b5aabdba6d057562ae863b40412e2d6b
Issue-ID: DCAEGEN2-1501
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoMerge "Configs cleanup Adding test for AppInfoController"
Piotr Wielebski [Thu, 30 May 2019 12:52:55 +0000 (12:52 +0000)]
Merge "Configs cleanup Adding test for AppInfoController"

6 years agoConfigs cleanup 63/88863/1
grabinsk [Wed, 29 May 2019 13:06:10 +0000 (15:06 +0200)]
Configs cleanup
Adding test for AppInfoController

Change-Id: Ib793cf20a17bcca56f5fe2162048c1b95409da01
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoUpdate test json file due to changes in SDK 48/88848/2
pwielebs [Thu, 30 May 2019 09:19:32 +0000 (11:19 +0200)]
Update test json file due to changes in SDK

Change-Id: I343c099502bd6fc63ea4fc22706be96832f67c5f
Issue-ID: DCAEGEN2-1501
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoSSL key loading for Dmaap client 37/88737/1
grabinsk [Tue, 28 May 2019 09:23:53 +0000 (11:23 +0200)]
SSL key loading for Dmaap client

Change-Id: I65b3d0bcd6735af655c9243f20f3596ce8f03aca
Issue-ID: DCAEGEN2-1501
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
6 years agoRefactor due to AAI model changes 06/88606/5
pwielebs [Tue, 28 May 2019 08:47:03 +0000 (10:47 +0200)]
Refactor due to AAI model changes

Change-Id: I1684cb798b40c5d58b531549f2596582f14bc901
Issue-ID: DCAEGEN2-1533
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoAlign PRH to SDK 59/88359/1
Marcin Migdal [Thu, 23 May 2019 13:56:19 +0000 (15:56 +0200)]
Align PRH to SDK

Change-Id: Ia4fb83ea0ea9d85ed90a0c29872eb8aac42a2c22
Issue-ID: DCAEGEN2-1527
Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
6 years agoFix sending PNF_READY notification after update to El Alto SDK version usage 46/88346/1
grabinsk [Thu, 23 May 2019 12:25:24 +0000 (14:25 +0200)]
Fix sending PNF_READY notification after update to El Alto SDK version usage

Change-Id: I06c1ae2b2a9831a4c31e09fafbe1500c10714caa
Issue-ID: DCAEGEN2-1501
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>