nonrtric.git
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 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>
4 years agoBugfix, no response sent to Dmaap for PUT 66/2666/1
PatrikBuhr [Wed, 4 Mar 2020 08:37:29 +0000 (09:37 +0100)]
Bugfix, no response sent to Dmaap for PUT

The asynch Web client by default emits Mono.empty() when there is no body,
now an empty string is returned instead.

Change-Id: I8963a93bd41c7654cddd9e01700883d472c0d3f0
Issue-ID: NONRTRIC-107
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Remove code smells in dashboard"
Henrik Andersson [Wed, 4 Mar 2020 07:52:01 +0000 (07:52 +0000)]
Merge "Remove code smells in dashboard"

4 years agoMerge "Fixed concurrency problems"
Henrik Andersson [Wed, 4 Mar 2020 07:32:30 +0000 (07:32 +0000)]
Merge "Fixed concurrency problems"

4 years agoRemove code smells in dashboard 39/2639/4
elinuxhenrik [Tue, 3 Mar 2020 16:00:20 +0000 (17:00 +0100)]
Remove code smells in dashboard

Change-Id: I0478cbf0a45aea9a646fe028838f323e425effaf
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoMerge "Print the short description of exception in OscA1Client"
Henrik Andersson [Tue, 3 Mar 2020 13:43:37 +0000 (13:43 +0000)]
Merge "Print the short description of exception in OscA1Client"

4 years agoMerge "Changed the Dmaap message payload"
Henrik Andersson [Tue, 3 Mar 2020 13:43:23 +0000 (13:43 +0000)]
Merge "Changed the Dmaap message payload"

4 years agoFixed concurrency problems 25/2625/4
PatrikBuhr [Mon, 2 Mar 2020 07:30:16 +0000 (08:30 +0100)]
Fixed concurrency problems

Added fixes of concurrecy problems, when consistency check is done, policies cannot be created/deleted
Added a unit test that tests concurrent execution
Improved trace
PUT policy, return HTTP status CREATE for new policy (OK for updated)

Improved the recovery handling and the consistency monitoring

Change-Id: I2504fce35dc6e3371c7d4cf389528ce75eda442d
Issue-ID: NONRTRIC-107
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoPrint the short description of exception in OscA1Client 34/2634/3
RehanRaza [Tue, 3 Mar 2020 12:36:45 +0000 (13:36 +0100)]
Print the short description of exception in OscA1Client

Avoid garbage from running the unit-tests which cause exceptions.
Now, it prints just one line:
ERROR org.oransc.policyagent.clients.OscA1Client - Unexpected response for policy type: {"type":"type1"}, exception: org.json.JSONException: JSONObject["create_schema"] not found.

Change-Id: I6c5d0037b9d068a1fd069d521af1070a8ec55c54
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Remove unused exceptions from dashboard backend"
Henrik Andersson [Tue, 3 Mar 2020 09:42:44 +0000 (09:42 +0000)]
Merge "Remove unused exceptions from dashboard backend"

4 years agoChanged the Dmaap message payload 26/2626/3
PatrikBuhr [Mon, 2 Mar 2020 11:18:56 +0000 (12:18 +0100)]
Changed the Dmaap message payload

The Dmaap message payload is changed from String to a json object.

Change-Id: I1e928eca6c7de6105673aa53da09c1271de80764
Issue-ID: NONRTRIC-107
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoRemove unused exceptions from dashboard backend 28/2628/1
RehanRaza [Mon, 2 Mar 2020 14:39:16 +0000 (15:39 +0100)]
Remove unused exceptions from dashboard backend

Change-Id: Id6000c262bb7d21d46dc7b33b4083a12d5ad84e3
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Junit tests for ServiceException"
Henrik Andersson [Mon, 2 Mar 2020 13:45:07 +0000 (13:45 +0000)]
Merge "Junit tests for ServiceException"

4 years agoMerge "Fix code error simulator"
Henrik Andersson [Mon, 2 Mar 2020 13:44:49 +0000 (13:44 +0000)]
Merge "Fix code error simulator"

4 years agoJunit tests for ServiceException 67/2567/3
maximesson [Mon, 24 Feb 2020 16:27:32 +0000 (17:27 +0100)]
Junit tests for ServiceException

Change-Id: I2cfd6f749413ed1a52169e66ec5772d009e63f23
Issue-ID: NONRTRIC-132
Signed-off-by: maximesson <maxime.bonneau@est.tech>
4 years agoFix year in licenses 85/2585/3
elinuxhenrik [Wed, 26 Feb 2020 14:37:17 +0000 (15:37 +0100)]
Fix year in licenses

Change-Id: I402c8209bdd794cd8f796fb4c8342ccd41a22e60
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRemove code smells and increase code coverage 60/2560/6
elinuxhenrik [Mon, 24 Feb 2020 08:17:11 +0000 (09:17 +0100)]
Remove code smells and increase code coverage

Added new test cases.

Change-Id: Ie0e726d7ff6ea185282010f66e842b973b4718c2
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRemove lambda code smells from policyagent/clients 88/2488/9
elinuxhenrik [Wed, 12 Feb 2020 15:46:51 +0000 (16:46 +0100)]
Remove lambda code smells from policyagent/clients

Change-Id: I9f4ef0041989d6565b0982e35e3521968e7d59fc
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoFix code error simulator 63/2563/3
maximesson [Mon, 24 Feb 2020 16:15:50 +0000 (17:15 +0100)]
Fix code error simulator

Change-Id: Ie94ed551e68cc6bb764aaaccb0ed824554392b91
Issue-ID: NONRTRIC-78
Signed-off-by: maximesson <maxime.bonneau@est.tech>
4 years agoRemove code smells 85/2485/7
elinuxhenrik [Wed, 12 Feb 2020 14:04:50 +0000 (15:04 +0100)]
Remove code smells

Removed code smells in Application, ApplicationConfig,
ApplicationConfigParser, RicConfig, Ric, and Rics.

Change-Id: I8006ee0050335aff92a3382f1998e0c2e1c8e6d3
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRemove code smells from policyagent/clients 73/2473/10
elinuxhenrik [Tue, 11 Feb 2020 15:55:33 +0000 (16:55 +0100)]
Remove code smells from policyagent/clients

Change-Id: I7d5ffdb75573f153102f240352820fd5fcd9e795
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoMerge "Add unit test for StdA1Client"
Henrik Andersson [Wed, 26 Feb 2020 09:10:14 +0000 (09:10 +0000)]
Merge "Add unit test for StdA1Client"

4 years agoMerge "Add unit tests for SdnrOnapA1Client"
Henrik Andersson [Wed, 26 Feb 2020 07:19:59 +0000 (07:19 +0000)]
Merge "Add unit tests for SdnrOnapA1Client"

4 years agoAdd unit tests for SdnrOnapA1Client 55/2555/5
RehanRaza [Mon, 24 Feb 2020 08:22:07 +0000 (09:22 +0100)]
Add unit tests for SdnrOnapA1Client

Change-Id: If0e7859b1c9f109df2a19a57e33dea847d9fe1b2
Issue-ID: NONRTRIC-127
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoAdd unit test for StdA1Client 57/2557/3
RehanRaza [Mon, 24 Feb 2020 08:32:15 +0000 (09:32 +0100)]
Add unit test for StdA1Client

Change-Id: I96c3651bae52d724bce60d7bab9042e07b7c7f1a
Issue-ID: NONRTRIC-128
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoAdd unit tests for OscA1Client 56/2556/2
RehanRaza [Mon, 24 Feb 2020 08:27:26 +0000 (09:27 +0100)]
Add unit tests for OscA1Client

Change-Id: I3141ae1a92a263f019fbe68f0319429aac6827e7
Issue-ID: NONRTRIC-125
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Add unit tests for SdncOscA1Client"
Henrik Andersson [Tue, 25 Feb 2020 09:26:33 +0000 (09:26 +0000)]
Merge "Add unit tests for SdncOscA1Client"

4 years agoAdd unit tests for SdncOscA1Client 86/2486/3
RehanRaza [Wed, 12 Feb 2020 14:13:49 +0000 (15:13 +0100)]
Add unit tests for SdncOscA1Client

Change-Id: Icb62bdf45cea91cbf609647c3953304edb7296d6
Issue-ID: NONRTRIC-126
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Add unit tests for AsyncRestClient"
Henrik Andersson [Tue, 25 Feb 2020 08:26:37 +0000 (08:26 +0000)]
Merge "Add unit tests for AsyncRestClient"

4 years agoAdd unit tests for AsyncRestClient 58/2558/2
RehanRaza [Mon, 24 Feb 2020 08:35:23 +0000 (09:35 +0100)]
Add unit tests for AsyncRestClient

Change-Id: Icc86c338428830adf2942aa515d4e066520caebe
Issue-ID: NONRTRIC-124
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Improve the dockerized auto test"
Henrik Andersson [Mon, 24 Feb 2020 15:06:37 +0000 (15:06 +0000)]
Merge "Improve the dockerized auto test"

4 years agoMerge "Adding validation of updated policies"
Henrik Andersson [Mon, 24 Feb 2020 12:07:42 +0000 (12:07 +0000)]
Merge "Adding validation of updated policies"

4 years agoImprove the dockerized auto test 59/2559/1
YongchaoWu [Mon, 24 Feb 2020 08:18:16 +0000 (09:18 +0100)]
Improve the dockerized auto test

The auto test can bring up any number of near rt ric simulators
as requied.

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

4 years agoAdded Jacoco plugin for Sonar report 87/2487/1
Lathish [Wed, 12 Feb 2020 14:46:01 +0000 (14:46 +0000)]
Added Jacoco plugin for Sonar report

Issue-ID: NONRTRIC-144
Change-Id: Ie9bcb478a5cb80ca6a8ee923284f0c91e15cc8f7
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
4 years agoAdding validation of updated policies 79/2479/2
PatrikBuhr [Wed, 12 Feb 2020 07:35:53 +0000 (08:35 +0100)]
Adding validation of updated policies

The ric cannot be changed.

Change-Id: I24d493ce4922256ab3567f7ba5ad7e9a1b9f6588
Issue-ID: NONRTRIC-107
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Remove code smells in PolicyController"
Henrik Andersson [Tue, 11 Feb 2020 12:54:57 +0000 (12:54 +0000)]
Merge "Remove code smells in PolicyController"

4 years agoMerge "Updates of the policy agent NBI"
Henrik Andersson [Tue, 11 Feb 2020 12:53:56 +0000 (12:53 +0000)]
Merge "Updates of the policy agent NBI"

4 years agoMerge "Add tests for A1ClientFactory"
Henrik Andersson [Tue, 11 Feb 2020 12:49:27 +0000 (12:49 +0000)]
Merge "Add tests for A1ClientFactory"

4 years agoUpdates of the policy agent NBI 49/2449/2
PatrikBuhr [Fri, 7 Feb 2020 11:59:09 +0000 (12:59 +0100)]
Updates of the policy agent NBI

Minor changes.

Removed an unused interface.

Change-Id: I30166c27546dc584d8ee4675af3d807e1175282f
Issue-ID: NONRTRIC-107
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoRemove code smells in PolicyController 61/2461/1
elinuxhenrik [Mon, 10 Feb 2020 12:39:09 +0000 (13:39 +0100)]
Remove code smells in PolicyController

Change-Id: Ife07c9f2007d34229efd0e7370120776fa838786
Issue-ID: NONRTRIC-142
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoAdd tests for A1ClientFactory 29/2429/5
elinuxhenrik [Thu, 6 Feb 2020 15:28:07 +0000 (16:28 +0100)]
Add tests for A1ClientFactory

Change-Id: I751fdaf474de3c2fbe5a7ee591284a9af740d4a2
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoPrepare for csit 60/2460/1
YongchaoWu [Mon, 10 Feb 2020 10:50:04 +0000 (11:50 +0100)]
Prepare for csit

change remote tag to latest
modify consul configuration

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

4 years agoAdd support for latest version of Sonar plugin 52/2452/1
elinuxhenrik [Fri, 7 Feb 2020 15:21:06 +0000 (16:21 +0100)]
Add support for latest version of Sonar plugin

Change-Id: Ie922c6a4eed639bff29b00add0504630120baef6
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoPrepare for csit 45/2445/2
YongchaoWu [Fri, 7 Feb 2020 08:25:43 +0000 (09:25 +0100)]
Prepare for csit

add tag:latest for policy agent and simulator

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

4 years agoRemove A1 controller from build process 27/2427/1
RehanRaza [Thu, 6 Feb 2020 08:29:18 +0000 (09:29 +0100)]
Remove A1 controller from build process

Change-Id: I238fc4ad0955475414671956b39e1ac6a01b1c20
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Running Dmaap consumer in a seprate thread"
Henrik Andersson [Wed, 5 Feb 2020 12:36:18 +0000 (12:36 +0000)]
Merge "Running Dmaap consumer in a seprate thread"

4 years agoRunning Dmaap consumer in a seprate thread 87/2387/9
PatrikBuhr [Thu, 30 Jan 2020 15:10:19 +0000 (16:10 +0100)]
Running Dmaap consumer in a seprate thread

Fixed some potential threading problems

Enabled spring boot actuator for REST API
to control traces, diagnostics etc.

API documentation updates

Added GET policy_status in the agent NBI

Change-Id: Ied170bb1e8f350f17b385a0ef1def87cc6ec8750
Issue-ID: NONRTRIC-107
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoSetup for Sonar 21/2421/1
elinuxhenrik [Wed, 5 Feb 2020 11:24:44 +0000 (12:24 +0100)]
Setup for Sonar

Change-Id: If766cc86066f9b25087817fc3debf0ec893845be
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRerealese a1-controller 17/2417/1
elinuxhenrik [Tue, 4 Feb 2020 15:21:43 +0000 (16:21 +0100)]
Rerealese a1-controller

Change-Id: Ib41c7a67f25c4269198b9805ee9e2a119965c4b1
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoUpdate documentation and release notes 15/2415/2
elinuxhenrik [Tue, 4 Feb 2020 13:49:59 +0000 (14:49 +0100)]
Update documentation and release notes

Change-Id: I98bf4c293bb65c809278bc31bc0718d562d5a82a
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoStep-up A1 controller docker image version 14/2414/1
RehanRaza [Tue, 4 Feb 2020 09:19:43 +0000 (10:19 +0100)]
Step-up A1 controller docker image version

Change-Id: I5da9f72408c84fafe91785bf6d58698bf03cf0b3
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoRelease policy-agent 10/2410/2
elinuxhenrik [Mon, 3 Feb 2020 15:10:21 +0000 (16:10 +0100)]
Release policy-agent

Change-Id: Ia9a113d17beddc03c6cc0ab125e2ba91888a609d
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRelease nearric-simulator 09/2409/3
elinuxhenrik [Mon, 3 Feb 2020 15:09:36 +0000 (16:09 +0100)]
Release nearric-simulator

Change-Id: Ic3fb3b56a787beefc44970d611d89d8ec36631ea
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRelease dashboard 08/2408/2
elinuxhenrik [Mon, 3 Feb 2020 15:08:50 +0000 (16:08 +0100)]
Release dashboard

Change-Id: I8383c386f7c8899d86debb0679e21aea0f91658e
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRelease a1-controller 07/2407/2
elinuxhenrik [Mon, 3 Feb 2020 15:07:44 +0000 (16:07 +0100)]
Release a1-controller

Change-Id: Ibe9c55f43d968be9ad3098026da63d5ddae8bcbe
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoStepping version in pom files 04/2404/1 1.0.1 1.7.4
elinuxhenrik [Mon, 3 Feb 2020 14:16:59 +0000 (15:16 +0100)]
Stepping version in pom files

Change-Id: I1f8bd3b243b6faedcf5d8a5c79afc22ace2521a1
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoMerge "A bit of documentation for nearRT RIC simulator"
Henrik Andersson [Mon, 3 Feb 2020 12:22:47 +0000 (12:22 +0000)]
Merge "A bit of documentation for nearRT RIC simulator"

4 years agoUpdate documentation and release notes 01/2401/1
elinuxhenrik [Mon, 3 Feb 2020 10:11:37 +0000 (11:11 +0100)]
Update documentation and release notes

Change-Id: I6876dd8234af02b9189476149b3ecac2b20ed4c7
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoA bit of documentation for nearRT RIC simulator 95/2395/2
maximesson [Fri, 31 Jan 2020 15:04:20 +0000 (16:04 +0100)]
A bit of documentation for nearRT RIC simulator

Change-Id: I08f87ce6d96a374e7af9eacc5c1169a5dabe7585
Issue-ID: NONRTRIC-78
Signed-off-by: maximesson <maxime.bonneau@est.tech>
4 years agoUpdated the documentation 94/2394/1
Lathish [Fri, 31 Jan 2020 14:01:45 +0000 (14:01 +0000)]
Updated the documentation

NONRTRIC-111
Change-Id: I0d5f6187ba802018459a4f7989c607a4501f4257
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
4 years agoMerge "Update the documentation"
Henrik Andersson [Fri, 31 Jan 2020 12:35:47 +0000 (12:35 +0000)]
Merge "Update the documentation"

4 years agoONAP host name of SDNC 93/2393/1
Lathish [Fri, 31 Jan 2020 10:32:30 +0000 (10:32 +0000)]
ONAP host name of SDNC

Issue-ID: NONRTRIC-110
Change-Id: I65e9b2fb8370cf506adf15dc3bb73a93b3b5e9c7
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>