nonrtric.git
4 years agoStandardisation of names 30/3230/2
maximesson [Thu, 9 Apr 2020 13:16:04 +0000 (15:16 +0200)]
Standardisation of names

Change-Id: Ib90680a1282aca5c623aa802d5c2c92dc913fff0
Issue-ID: NONRTRIC-158
Signed-off-by: maximesson <maxime.bonneau@est.tech>
4 years agoMerge "Added check in PUT policy"
Henrik Andersson [Thu, 9 Apr 2020 12:59:26 +0000 (12:59 +0000)]
Merge "Added check in PUT policy"

4 years agoAdded check in PUT policy 28/3228/2
PatrikBuhr [Thu, 9 Apr 2020 11:46:21 +0000 (13:46 +0200)]
Added check in PUT policy

For PUT policy, added ad check that the RIC actually supports the given type.
Previously it was only check that the type existed.

Change-Id: I0e4772c46686aab44ed335e9026043f4f5febce6
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Added check of callback URL in service registration"
John Keeney [Thu, 9 Apr 2020 08:09:15 +0000 (08:09 +0000)]
Merge "Added check of callback URL in service registration"

4 years agoMerge "Update documentation for added RIC state"
Henrik Andersson [Thu, 9 Apr 2020 08:02:51 +0000 (08:02 +0000)]
Merge "Update documentation for added RIC state"

4 years agoMerge "Added RIC state to RicInfo in the agent NBI"
John Keeney [Thu, 9 Apr 2020 07:47:24 +0000 (07:47 +0000)]
Merge "Added RIC state to RicInfo in the agent NBI"

4 years agoUpdate documentation for added RIC state 26/3226/1
elinuxhenrik [Thu, 9 Apr 2020 07:28:07 +0000 (09:28 +0200)]
Update documentation for added RIC state

RIC state has been added to the RicInfo in the policy agent NBI.

Change-Id: I455edda16429fac5408ca7bd68549e5d223e9151
Issue-ID: NONRTRIC-164
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoBugfix controller adaption 24/3224/3
PatrikBuhr [Thu, 9 Apr 2020 05:48:26 +0000 (07:48 +0200)]
Bugfix controller adaption

The input to the controllers is Json, so the follwing
has changed (illustrated by an example):

From:
{"input":"{\"near-rt-ric-url\":\"XXXX/A1-P/v1/policies\"}"}

To:
{"input":{"near-rt-ric-url":"XXXX/A1-P/v1/policies"}}

Change-Id: I668eda2072fff9ce71bdbfed32fcb1a40b0799c8
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoAdded RIC state to RicInfo in the agent NBI 15/3215/1
PatrikBuhr [Wed, 8 Apr 2020 10:52:52 +0000 (12:52 +0200)]
Added RIC state to RicInfo in the agent NBI

Change-Id: Ice8d3ee829c38e58d2f2808a8d0453024e250bbc
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoAdded check of callback URL in service registration 11/3211/1
PatrikBuhr [Wed, 8 Apr 2020 06:58:03 +0000 (08:58 +0200)]
Added check of callback URL in service registration

Change-Id: Ifdf3cbc11e7ac8e0f7b35261954a75147f7edc57
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoAdapt documentation to change in API 10/3210/2
elinuxhenrik [Wed, 8 Apr 2020 06:15:59 +0000 (08:15 +0200)]
Adapt documentation to change in API

The /services/keepalive method is changed to PUT:

Update some descriptions.

Change-Id: I35faa3a47ad8c19f6c0eadf069656626a1ddc428
Issue-ID: NONRTRIC-164
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoChanged service keepAlive from POST to PUT 91/3191/1
PatrikBuhr [Tue, 7 Apr 2020 12:26:26 +0000 (14:26 +0200)]
Changed service keepAlive from POST to PUT

Fixed some very confusing log messages

Change-Id: I48679ba69252a09e610cdc239e2fb56554d665d9
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Update verions of dependencies"
Henrik Andersson [Tue, 7 Apr 2020 06:44:19 +0000 (06:44 +0000)]
Merge "Update verions of dependencies"

4 years agoMerge "Remove call stack from original exceptions in log"
Henrik Andersson [Tue, 7 Apr 2020 06:44:07 +0000 (06:44 +0000)]
Merge "Remove call stack from original exceptions in log"

4 years agoMerge "Change name of policy ID in API"
Henrik Andersson [Tue, 7 Apr 2020 06:40:13 +0000 (06:40 +0000)]
Merge "Change name of policy ID in API"

4 years agoMerge "Bugfix, RIC configs would disappear after one minute"
Henrik Andersson [Tue, 7 Apr 2020 06:28:09 +0000 (06:28 +0000)]
Merge "Bugfix, RIC configs would disappear after one minute"

4 years agoUpdate verions of dependencies 57/3157/2
elinuxhenrik [Mon, 6 Apr 2020 11:01:00 +0000 (13:01 +0200)]
Update verions of dependencies

Change-Id: Ic7f81743afd27309a10cf01ca7c2ad266c17b0ad
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRemove call stack from original exceptions in log 35/3135/2
elinuxhenrik [Fri, 3 Apr 2020 14:36:23 +0000 (16:36 +0200)]
Remove call stack from original exceptions in log

Change-Id: Id6201dc6d6d451d9f3ce2b8c5521f5c27d6c47ac
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoChange name of policy ID in API 29/3129/4
elinuxhenrik [Fri, 3 Apr 2020 07:24:52 +0000 (09:24 +0200)]
Change name of policy ID in API

In some methods the policy ID parameter was named "instance". It is
changed to "id".

Change-Id: Id267fba84e62a2e6d3ff52ffb3d728561178b337
Issue-ID: NONRTRIC-152
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoMerge "Minor changes"
John Keeney [Mon, 6 Apr 2020 15:41:15 +0000 (15:41 +0000)]
Merge "Minor changes"

4 years agoMerge "API documentation"
John Keeney [Mon, 6 Apr 2020 15:38:54 +0000 (15:38 +0000)]
Merge "API documentation"

4 years agoMinor changes 63/3163/1
PatrikBuhr [Mon, 6 Apr 2020 14:53:31 +0000 (16:53 +0200)]
Minor changes

Increased the TCP timeouts
Made managedElementId in GET rics mandatory (bugfix)

Change-Id: Ie2683d1fdd7e0abfc15877f4f4039e2f82f62eea
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoAPI documentation 18/3118/7
elinuxhenrik [Tue, 31 Mar 2020 15:59:49 +0000 (17:59 +0200)]
API documentation

Change-Id: I1184b3170afd6cbedc455810fb77d18a626f216a
Issue-ID: NONRTRIC-152
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoBugfix, RIC configs would disappear after one minute 46/3146/2
PatrikBuhr [Fri, 3 Apr 2020 13:54:09 +0000 (15:54 +0200)]
Bugfix, RIC configs would disappear after one minute

Bugfix

Also fixed so that keepalive inerval <0 when registerring a servive
is rejected.

Change-Id: Ic9bec3d6e73237d34d9b9208682218c2df381d67
Issue-ID: NONRTRIC-183
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoAdded Controller configuration 20/3120/5
PatrikBuhr [Thu, 2 Apr 2020 12:46:33 +0000 (14:46 +0200)]
Added Controller configuration

The controller configuration is loaded like the rest of the configuration
(from CBS or file).
There can now be several controller instances.

Change-Id: Ifacf619cacd8979622d61720fad647754c9f1615
Issue-ID: NONRTRIC-183
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoConcurrency improvements 97/3097/3
PatrikBuhr [Wed, 1 Apr 2020 13:43:03 +0000 (15:43 +0200)]
Concurrency improvements

The test for concurrency is improved so it involves RIC
synchronizations.

The principles for synchronization is simplified so that
classes in repository always returns copies of collections.

RIC syncronization is taking an exclusive lock during syncronization,
which leads to that a client will not get an HTTP error when accessing
a RIC that is synched. Instead, the client will be kept waiting until
the synch is completed.

Change-Id: I67568e8ef63b4b559a341ed8136e41119c9b7e6b
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoBugfix in RIC synchronization 57/3057/3
PatrikBuhr [Mon, 30 Mar 2020 13:45:45 +0000 (15:45 +0200)]
Bugfix in RIC synchronization

Concurrent modification exception when allpolicies for a RIC was deleted.

Fixed MockA1Client so it can simulate network delays

Change-Id: I1883b42a7afac303770084625a1e45acbf89c28f
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoFixe .gitignore for top level 55/3055/1
elinuxhenrik [Mon, 30 Mar 2020 12:08:34 +0000 (14:08 +0200)]
Fixe .gitignore for top level

Change-Id: Ic1d60d0a512ff469d0a13f1bb944bccd1a344741
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoMerge "Documentation reorganisation"
Henrik Andersson [Mon, 30 Mar 2020 11:55:50 +0000 (11:55 +0000)]
Merge "Documentation reorganisation"

4 years agoImproved java class documentation 35/3035/2
PatrikBuhr [Fri, 27 Mar 2020 14:44:54 +0000 (15:44 +0100)]
Improved java class documentation

Removed sprinng boot actuator from the generated
open API documentation.

Bugfix, only one Application configuration object can exist.

Change-Id: Iabed9a95995a2e1aadf6f9e3b7188b04e73838ec
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoDocumentation reorganisation 24/3024/2
maximesson [Thu, 26 Mar 2020 15:43:27 +0000 (16:43 +0100)]
Documentation reorganisation

Change-Id: I8db9e11ba1f979970c189f81c743f6009dcda8f0
Issue-ID: NONRTRIC-166
Signed-off-by: maximesson <maxime.bonneau@est.tech>
4 years agoMerge "A1 controler access can be both OSC and ORAN versions of A1"
John Keeney [Fri, 27 Mar 2020 09:53:21 +0000 (09:53 +0000)]
Merge "A1 controler access can be both OSC and ORAN versions of A1"

4 years agoMerge "Sonar fix in log aspect"
Henrik Andersson [Fri, 27 Mar 2020 08:58:43 +0000 (08:58 +0000)]
Merge "Sonar fix in log aspect"

4 years agoA1 controler access can be both OSC and ORAN versions of A1 91/2991/1
PatrikBuhr [Thu, 26 Mar 2020 09:58:51 +0000 (10:58 +0100)]
A1 controler access can be both OSC and ORAN versions of A1

Change-Id: I3c77a11f67cad6fceb3346ac13b62929def822a1
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Generalization of controller"
John Keeney [Thu, 26 Mar 2020 09:32:41 +0000 (09:32 +0000)]
Merge "Generalization of controller"

4 years agoSonar fix in log aspect 72/2972/1
Lathish [Wed, 25 Mar 2020 12:40:34 +0000 (12:40 +0000)]
Sonar fix in log aspect

Issue-ID: NONRTRIC-170
Change-Id: Ie72a3e6c6a9d9c42753fb2404f68dfae86ddd1f0
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
4 years agoMerge "Removing release file for nearric simulator"
Henrik Andersson [Wed, 25 Mar 2020 06:55:56 +0000 (06:55 +0000)]
Merge "Removing release file for nearric simulator"

4 years agoRemoving release file for nearric simulator 40/2940/2
maximesson [Tue, 24 Mar 2020 08:43:14 +0000 (09:43 +0100)]
Removing release file for nearric simulator

Since the simulator has been moved to its own repo,
the release file for it should be removed from this repo.

Change-Id: I0cbb68a43662dbbd486ab61bf6e8d42cfc0b733b
Issue-ID: NONRTRIC-88
Signed-off-by: maximesson <maxime.bonneau@est.tech>
4 years agoRemove release file for dashboard 39/2939/3
elinuxhenrik [Tue, 24 Mar 2020 08:46:14 +0000 (09:46 +0100)]
Remove release file for dashboard

Since the dashboard has been moved to its own repo,
the release file for it should be removed from this repo.

Change-Id: I06385ff2b75062f3b3d7648b985d4041b38c98d5
Issue-ID: NONRTRIC-168
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoGeneralization of controller 13/2913/2
PatrikBuhr [Mon, 23 Mar 2020 06:17:28 +0000 (07:17 +0100)]
Generalization of controller

Prepare for controller supporting several A1 influenced APIs
(southbound).

Change-Id: I7748dc834f8c24d4a9877f158d17b84d43a1bb53
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMoving the near-rt-ric simulator 23/2923/2
maximesson [Tue, 17 Mar 2020 08:32:03 +0000 (09:32 +0100)]
Moving the near-rt-ric simulator

Change-Id: I115b4d26cc15103ff1eeed192f2377ed39b1fb3a
Issue-ID: NONRTRIC-88
Signed-off-by: maximesson <maxime.bonneau@est.tech>
4 years agoMerge "Remove dashboard"
John Keeney [Mon, 23 Mar 2020 09:13:29 +0000 (09:13 +0000)]
Merge "Remove dashboard"

4 years agoMerge "Spring Aspect logging"
John Keeney [Fri, 20 Mar 2020 18:18:06 +0000 (18:18 +0000)]
Merge "Spring Aspect logging"

4 years agoSpring Aspect logging 77/2877/2
Lathish [Thu, 19 Mar 2020 15:24:32 +0000 (15:24 +0000)]
Spring Aspect logging

Issue-ID: NONRTRIC-170
Change-Id: I297c19fbb66de9abd6a62b115561c092368f0391
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
4 years agoMerge "Bugfix, version negotiation"
John Keeney [Fri, 20 Mar 2020 12:04:12 +0000 (12:04 +0000)]
Merge "Bugfix, version negotiation"

4 years agoBugfix, version negotiation 96/2896/1
PatrikBuhr [Fri, 20 Mar 2020 10:05:18 +0000 (11:05 +0100)]
Bugfix, version negotiation

The STD was using getTypes, but that will never fail in that version.

Change-Id: I686cd226c27bb5b22dcc643298ac7dcb7d5cd721
Issue-ID: NONRTRIC-155
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Renamed things to fit with namechange of RicSynchronizationTask"
John Keeney [Fri, 20 Mar 2020 08:46:52 +0000 (08:46 +0000)]
Merge "Renamed things to fit with namechange of RicSynchronizationTask"

4 years agoRemove dashboard 94/2894/1
elinuxhenrik [Fri, 20 Mar 2020 08:41:11 +0000 (09:41 +0100)]
Remove dashboard

Change-Id: Ie4b99fc7b9e5c3cfb7c9ca9584bc59902316c5ae
Issue-ID: NONRTRIC-168
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRenamed things to fit with namechange of RicSynchronizationTask 43/2843/3
elinuxhenrik [Wed, 18 Mar 2020 09:04:13 +0000 (10:04 +0100)]
Renamed things to fit with namechange of RicSynchronizationTask

Change-Id: I6de98e23eac06b8a54a8dc706904b3650a5014ee
Issue-ID: NONRTRIC-117
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoMerge "HttStatus from PUT Service"
Henrik Andersson [Thu, 19 Mar 2020 14:29:09 +0000 (14:29 +0000)]
Merge "HttStatus from PUT Service"

4 years agoHttStatus from PUT Service 72/2872/1
PatrikBuhr [Thu, 19 Mar 2020 13:20:16 +0000 (14:20 +0100)]
HttStatus from PUT Service

For PUT Service, HttpStatus CREATED is returned for new service and
OK for and update one.

Change-Id: I15ae61d33b581f25a3ac2eeb4260d2a086c07382
Issue-ID: NONRTRIC-155
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoBugfix Dmaap responses without body 66/2866/1
PatrikBuhr [Thu, 19 Mar 2020 12:05:39 +0000 (13:05 +0100)]
Bugfix Dmaap responses without body

Change-Id: If6887e0ad57a45b14c273ee4bb78e342cc41f183
Issue-ID: NONRTRIC-155
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoAdded GET policy_ids in the agent NBI 45/2845/3
PatrikBuhr [Wed, 18 Mar 2020 12:38:58 +0000 (13:38 +0100)]
Added GET policy_ids in the agent NBI

Change-Id: I474982d9b2052f23a69247afaceb4772972057ab
Issue-ID: NONRTRIC-155
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoRemoved support for the non used A1 1.0 standard 31/2831/3
PatrikBuhr [Tue, 17 Mar 2020 15:15:01 +0000 (16:15 +0100)]
Removed support for the non used A1 1.0 standard

Change-Id: I85001d6c6bcff641db15de0bce27b99008dd74e9
Issue-ID: NONRTRIC-155
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoImplemented policy get-status 30/2830/3
PatrikBuhr [Tue, 17 Mar 2020 14:30:40 +0000 (15:30 +0100)]
Implemented policy get-status

Implemented policy get-status in the controller and in the adaptor in the
policy agent.

Change-Id: Ibed0013d6116382e428b9244eacec36ab3ec65a4
Issue-ID: NONRTRIC-155
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoHandling of A1 STD 1.1 83/2783/4
PatrikBuhr [Mon, 16 Mar 2020 11:33:29 +0000 (12:33 +0100)]
Handling of A1 STD 1.1

Handling of Http status and bodies from A1 error responses so that
the information is passed nack to the agent NBI.

Change-Id: Ia3e571b37d4a425410f21168d04f5ef442d14607
Issue-ID: NONRTRIC-155
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Fix wrong Sonar suppressions"
Henrik Andersson [Tue, 17 Mar 2020 14:21:31 +0000 (14:21 +0000)]
Merge "Fix wrong Sonar suppressions"

4 years agoMerge "Report code coverage of A1 controller to Sonar"
Henrik Andersson [Tue, 17 Mar 2020 14:21:01 +0000 (14:21 +0000)]
Merge "Report code coverage of A1 controller to Sonar"

4 years agoFix wrong Sonar suppressions 25/2825/1
elinuxhenrik [Tue, 17 Mar 2020 13:50:12 +0000 (14:50 +0100)]
Fix wrong Sonar suppressions

Change-Id: I91c4c23e8ac9f64c4e1619ac3525ca5ae3ba5f35
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoReport code coverage of A1 controller to Sonar 23/2823/1
RehanRaza [Tue, 17 Mar 2020 13:07:54 +0000 (14:07 +0100)]
Report code coverage of A1 controller to Sonar

Change-Id: I20281a64df0e242e973fa3e0ac17d5e955a4de8b
Issue-ID: NONRTRIC-116
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Remove code smell and bug"
Henrik Andersson [Tue, 17 Mar 2020 12:50:26 +0000 (12:50 +0000)]
Merge "Remove code smell and bug"

4 years agoRemove code smell and bug 19/2819/1
elinuxhenrik [Tue, 17 Mar 2020 09:21:39 +0000 (10:21 +0100)]
Remove code smell and bug

Change-Id: I77e57ed585d5d9425d8fe8e4589a25cf7b61adf3
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRemove sonar code smells from sdnc-a1-controller 17/2817/1
RehanRaza [Mon, 16 Mar 2020 15:26:25 +0000 (16:26 +0100)]
Remove sonar code smells from sdnc-a1-controller

Change-Id: I85344bad6ac1a9205320d5b158040c5d94e56ea2
Issue-ID: NONRTRIC-142
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoFix sonar bugs in sdnc-a1-controller 04/2804/1
RehanRaza [Mon, 16 Mar 2020 12:43:41 +0000 (13:43 +0100)]
Fix sonar bugs in sdnc-a1-controller

Change-Id: I3fde295b25c2b7b9534422424221f29a0e03290d
Issue-ID: NONRTRIC-116
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoFix Sonar security vulnerabilities 77/2777/1
RehanRaza [Fri, 13 Mar 2020 15:51:37 +0000 (16:51 +0100)]
Fix Sonar security vulnerabilities

Change-Id: I33e94fe2701508216c2389db75e826f2cc705f15
Issue-ID: NONRTRIC-141
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Add sdnc-a1-controller in build process"
Henrik Andersson [Thu, 12 Mar 2020 15:03:23 +0000 (15:03 +0000)]
Merge "Add sdnc-a1-controller in build process"

4 years agoAdd sdnc-a1-controller in build process 42/2742/3
RehanRaza [Tue, 10 Mar 2020 12:57:37 +0000 (13:57 +0100)]
Add sdnc-a1-controller in build process

Change-Id: I9cfbed450e4a6550878d93ed3701d56dec52ae8c
Issue-ID: NONRTRIC-116
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Added a test for service supervision"
Henrik Andersson [Thu, 12 Mar 2020 10:29:56 +0000 (10:29 +0000)]
Merge "Added a test for service supervision"

4 years agoMerge "improve dockerized test"
Henrik Andersson [Thu, 12 Mar 2020 10:29:41 +0000 (10:29 +0000)]
Merge "improve dockerized test"

4 years agoAdded a test for service supervision 50/2750/5
PatrikBuhr [Wed, 11 Mar 2020 13:15:50 +0000 (14:15 +0100)]
Added a test for service supervision

Added that when service supervision deletes policices, it will
grant a shared lock of the RIC (which it must).

PUT and DELETE a policy will trigger keep alive of the owning service

Change-Id: I6770694a5dbff3b8d635a9997265292ad3c0f524
Issue-ID: NONRTRIC-155
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Fix security vulnerability"
Henrik Andersson [Wed, 11 Mar 2020 15:52:00 +0000 (15:52 +0000)]
Merge "Fix security vulnerability"

4 years agoimprove dockerized test 57/2757/1
YongchaoWu [Thu, 5 Mar 2020 11:44:08 +0000 (12:44 +0100)]
improve dockerized test

Include dashbaord and SDNC A1 Adapter bringing up in the test start.

Issue-ID: NONRTRIC-148
Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
Change-Id: I5f8a94192dde0a5d97113df9173c5f9a9e76024c

4 years agoFix security vulnerability 56/2756/1
RehanRaza [Wed, 11 Mar 2020 15:24:21 +0000 (16:24 +0100)]
Fix security vulnerability

Change-Id: I7e07370f8a3f5ae4f20f535f805c672c43047aa8
Issue-ID: NONRTRIC-141
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoRemove Security issue and bug and fix copyrights 54/2754/2
elinuxhenrik [Wed, 11 Mar 2020 14:28:46 +0000 (15:28 +0100)]
Remove Security issue and bug and fix copyrights

Change-Id: I3190a0fbca8df4e861edd82b1c900e19c1b6c24a
Issue-ID: NONRTRIC-141
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoAdd tests for RefreshConfigTask 38/2738/3
elinuxhenrik [Tue, 10 Mar 2020 17:45:54 +0000 (18:45 +0100)]
Add tests for RefreshConfigTask

Change-Id: I201e4a27415bfc62a9492fbbe744a4f469f6e963
Issue-ID: NONRTRIC-139
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRemove new code smells 10/2710/5
elinuxhenrik [Mon, 9 Mar 2020 14:58:27 +0000 (15:58 +0100)]
Remove new code smells

Change-Id: Ifec818702cca925d7e687af155d2253703faf27a
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoMerge "REST error codes"
Henrik Andersson [Wed, 11 Mar 2020 12:05:01 +0000 (12:05 +0000)]
Merge "REST error codes"

4 years agoMerge "Rename Onap A1 client"
Henrik Andersson [Wed, 11 Mar 2020 11:41:36 +0000 (11:41 +0000)]
Merge "Rename Onap A1 client"

4 years agoMerge "Near-RT RIC simulator updates"
Henrik Andersson [Wed, 11 Mar 2020 11:38:39 +0000 (11:38 +0000)]
Merge "Near-RT RIC simulator updates"

4 years agoMerge "Add unit test for portal in dashboard"
Henrik Andersson [Wed, 11 Mar 2020 11:38:06 +0000 (11:38 +0000)]
Merge "Add unit test for portal in dashboard"

4 years agoNear-RT RIC simulator updates 36/2736/1
BjornMagnussonXA [Tue, 10 Mar 2020 15:32:08 +0000 (16:32 +0100)]
Near-RT RIC simulator updates

Added function to read metrics data.

Change-Id: I7f02eab917e3838e50600d6eeaa1027186fdfef9
Issue-ID: NONRTRIC-154
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
4 years agoREST error codes 12/2712/3
PatrikBuhr [Mon, 9 Mar 2020 07:01:52 +0000 (08:01 +0100)]
REST error codes

Added tests of error codes for the policy agent REST API,
and fixed problems found.
Updated swagger generated API spec.
Fixed so that the HttpStatus is propagated back in Dmaap responses
also for successful cases.

This commit resolves NONRTRIC-155 and NONRTRIC-156

Change-Id: I061c9b22787916c196b2ba1da552413e05d244ca
Issue-ID: NONRTRIC-155
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoRename Onap A1 client 31/2731/2
RehanRaza [Tue, 10 Mar 2020 09:24:50 +0000 (10:24 +0100)]
Rename Onap A1 client

Change-Id: I651b1f278b92659b5c5a58a972a39c7b603fc716
Issue-ID: NONRTRIC-161
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoAdd unit test for DashboardUserManager 13/2713/1
RehanRaza [Mon, 9 Mar 2020 15:22:58 +0000 (16:22 +0100)]
Add unit test for DashboardUserManager

Change-Id: I6f31bf4525d9837e94d65122f2cd66a508b1fa6e
Issue-ID: NONRTRIC-160
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoAdd unit test for portal in dashboard 11/2711/1
RehanRaza [Mon, 9 Mar 2020 14:59:15 +0000 (15:59 +0100)]
Add unit test for portal in dashboard

Change-Id: Ib906b0fdfb1bf5dfb76340ffe0e674c122310b7d
Issue-ID: NONRTRIC-159
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoAdded JUnit tests for DmaapMessageHandler 04/2704/2
elinuxhenrik [Mon, 9 Mar 2020 08:42:16 +0000 (09:42 +0100)]
Added JUnit tests for DmaapMessageHandler

Change-Id: I1c64731d1921b0f5c13c4c895d45cef5932d4850
Issue-ID: NONRTRIC-131
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoCreate JUnit tests for DmaapMessageConsumer 03/2703/3
elinuxhenrik [Mon, 9 Mar 2020 08:39:49 +0000 (09:39 +0100)]
Create JUnit tests for DmaapMessageConsumer

Change-Id: I987e89c52d5f9eccdcc958dbb571e5d7683d6097
Issue-ID: NONRTRIC-131
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRemove code smells 02/2702/2
elinuxhenrik [Mon, 9 Mar 2020 08:37:37 +0000 (09:37 +0100)]
Remove code smells

Change-Id: Idb8644ba89de3210ca069f8a92b0d4148b47a61f
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoMerge "Adding tests for EnvironmentProcessor"
Henrik Andersson [Mon, 9 Mar 2020 11:47:10 +0000 (11:47 +0000)]
Merge "Adding tests for EnvironmentProcessor"

4 years agoMerge "Add unit tests for PolicyAgentApi in dashboard"
Henrik Andersson [Mon, 9 Mar 2020 09:39:13 +0000 (09:39 +0000)]
Merge "Add unit tests for PolicyAgentApi in dashboard"

4 years agoAdding tests for EnvironmentProcessor 81/2681/3
elinuxhenrik [Thu, 5 Mar 2020 08:32:27 +0000 (09:32 +0100)]
Adding tests for EnvironmentProcessor

Change-Id: I3218a6e9d976855ca11e7c2d25fe424656b245b0
Issue-ID: NONRTRIC-138
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoMerge "Simplified startup"
Henrik Andersson [Fri, 6 Mar 2020 13:24:11 +0000 (13:24 +0000)]
Merge "Simplified startup"

4 years agoAdd unit tests for PolicyAgentApi in dashboard 95/2695/1
RehanRaza [Fri, 6 Mar 2020 10:05:36 +0000 (11:05 +0100)]
Add unit tests for PolicyAgentApi in dashboard

Change-Id: I248dc88b0d00563a10c1bb3040b3bc795885cbf7
Issue-ID: NONRTRIC-153
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoSimplified startup 94/2694/4
PatrikBuhr [Fri, 6 Mar 2020 07:33:57 +0000 (08:33 +0100)]
Simplified startup

Simplified configuration handling.
Fixed sonar issues.

Change-Id: I34873e3a8e8a276df9316cae3750f9090d3ba3cb
Issue-ID: NONRTRIC-149
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoRemove new code smells 80/2680/1
elinuxhenrik [Thu, 5 Mar 2020 07:43:04 +0000 (08:43 +0100)]
Remove new code smells

Remove code smells introduced in the latest commits.

Change-Id: I4b75545a2498364c44c30a8a3b13d38db91d18a5
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRemove policies from repository when Ric is removed from configuration 74/2674/1
elinuxhenrik [Wed, 4 Mar 2020 15:53:19 +0000 (16:53 +0100)]
Remove policies from repository when Ric is removed from configuration

When a Ric is removed from the configuration, all policies created for
that Ric must be removed from the repository to keep the consistency of
the repository.

Change-Id: I7f400de008a16e02457bb055f2fdb67b978d5658
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoAdd tests for StartupService 71/2671/3
elinuxhenrik [Wed, 4 Mar 2020 14:04:32 +0000 (15:04 +0100)]
Add tests for StartupService

Change-Id: I686d0acb2a0ca976923c6cfeed1502ebae52cb80
Issue-ID: NONRTRIC-140
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoMake naming consistent regarding synchronization 70/2670/2
elinuxhenrik [Wed, 4 Mar 2020 12:22:22 +0000 (13:22 +0100)]
Make naming consistent regarding synchronization

When the class RecoveryTask was renamed to SynchronizationTask some
variables where not correctly named. This is corrected in this commit.

Also contains some minor formatting changes to align to the formatting standard.

Change-Id: I10a0d9bcf02c1b342da142f5669469875328d9a6
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRemove code smells in Policy Agent 64/2664/3
elinuxhenrik [Wed, 4 Mar 2020 08:13:50 +0000 (09:13 +0100)]
Remove code smells in Policy Agent

Change-Id: I3885bd0e1c7940c2929f8890705f0d3e31c89470
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoFixed concurrency problems 65/2665/3
PatrikBuhr [Wed, 4 Mar 2020 08:01:51 +0000 (09:01 +0100)]
Fixed concurrency problems

The resource locking is enabled and reactive.

Change-Id: Ibf83dddaa41cde9224ea52dbfda9dcbc9e4361a6
Issue-ID: NONRTRIC-107
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>