ric-plt/submgr.git
3 months agoSupport for handling unordered IEs in RIC Sub Del Resp/Failure messgae 37/12437/1 master
Himanshu Puorhit [Tue, 16 Jan 2024 09:07:55 +0000 (14:37 +0530)]
Support for handling unordered IEs in RIC Sub Del Resp/Failure messgae

Resolves RIC-1030

Change-Id: Ib66fad872e0a330aa0c13f3c0aacde7bf0a51612
Signed-off-by: Himanshu Puorhit <himanshu.purohit@gslab.com>
4 months agoCI: Update RTD configuration file 45/12345/1 i-release
Anil Belur [Fri, 15 Dec 2023 23:22:47 +0000 (09:22 +1000)]
CI: Update RTD configuration file

RTD has finished their switch requiring version 2 of their
configuration file and we must now update to work with it.

Ref:
https://blog.readthedocs.com/use-build-os-config/

Change-Id: If8e7ca9b8c75ec3940be058f1d5cc4d59d4f0b36
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 months agoI release step 2 of 2 69/12269/1
czichy [Wed, 13 Dec 2023 13:41:31 +0000 (15:41 +0200)]
I release step 2 of 2

Change-Id: Ic672919bffa603e3794f884a5920421815fafd2f
Signed-off-by: czichy <thoralf.czichy@nokia.com>
4 months agoRMR update and release I step 1 of 2 53/12253/1 0.10.1
czichy [Wed, 13 Dec 2023 10:13:18 +0000 (12:13 +0200)]
RMR update and release I step 1 of 2

Change-Id: Icbab3c2c1dc425c63c4fd102d2b88708746ae2fd
Signed-off-by: czichy <thoralf.czichy@nokia.com>
4 months agoreleasing new version 2/2 87/12187/1
czichy [Thu, 7 Dec 2023 14:24:18 +0000 (16:24 +0200)]
releasing new version 2/2

Change-Id: I38a7cad93f9211293d55daf675555fbc2a819843
Signed-off-by: czichy <thoralf.czichy@nokia.com>
4 months agoreleasing new version 1/2 85/12185/1 0.10.0
czichy [Thu, 7 Dec 2023 14:06:51 +0000 (16:06 +0200)]
releasing new version 1/2

Change-Id: I46b72cfd5a26f1472ad09b5e6533311269c0e8a5
Signed-off-by: czichy <thoralf.czichy@nokia.com>
4 months agoMerge "Support for handling unordered IEs in RIC Subscription Response messgae"
Thoralf Czichy [Thu, 7 Dec 2023 08:57:35 +0000 (08:57 +0000)]
Merge "Support for handling unordered IEs in RIC Subscription Response messgae"

4 months agoSupport for handling unordered IEs in RIC Subscription Response messgae 81/11681/6
Himanshu Puorhit [Tue, 29 Aug 2023 10:16:18 +0000 (15:46 +0530)]
Support for handling unordered IEs in RIC Subscription Response messgae

Inorder to support interoperability with other RAN simulators, adding
config parameter using which strict order checking of IEs can be
enabled or disabled.

Resolves RIC-963 partially.

Change-Id: Ie9c60f9dcbb8159ae21ee29451da24901dad1d6f

Change-Id: Icd660d38efb0331ad4f03b309dd7a3082a74e8e8
Signed-off-by: himanshup <himanshu.purohit@gslab.com>
7 months agoRIC-1011: Not Removing Subscriptions For Policy Based Subscription Failure 99/11799/9
aditverm [Wed, 20 Sep 2023 04:20:47 +0000 (09:50 +0530)]
RIC-1011: Not Removing Subscriptions For Policy Based Subscription Failure

Change-Id: I1d0c70efa12f98df095e71ffd7194dad8572bc27
Signed-off-by: aditverm <aditya.3.verma@nokia.com>
7 months agoRemoving deprecated functions from readthedocs 22/11722/3
czichy [Fri, 1 Sep 2023 06:24:01 +0000 (09:24 +0300)]
Removing deprecated functions from readthedocs

Change-Id: Ibc5133e3568da0cfb0318108a5bf630314c2600a
Signed-off-by: czichy <thoralf.czichy@nokia.com>
9 months agocommitter change 21/11521/1
czichy [Wed, 26 Jul 2023 09:45:08 +0000 (12:45 +0300)]
committer change

Change-Id: I4701b1258424e30d39adc38d5434def84d5ed677
Signed-off-by: czichy <thoralf.czichy@nokia.com>
9 months agoChanging committers 20/11520/1
czichy [Fri, 21 Jul 2023 12:55:26 +0000 (15:55 +0300)]
Changing committers

Change-Id: I31bbdc58050fbb80ccb865374fe4aa0c0d116669
Signed-off-by: czichy <thoralf.czichy@nokia.com>
10 months agoH release step 2 of 2 95/11295/1 h-release
czichy [Thu, 8 Jun 2023 09:44:40 +0000 (12:44 +0300)]
H release step 2 of 2

Change-Id: Ic12e201e57f5a0229e6e5395d24ac008708b7095
Signed-off-by: czichy <thoralf.czichy@nokia.com>
10 months agoRMR update and release H step 1 of 2 83/11283/1 0.9.6
czichy [Wed, 7 Jun 2023 13:15:47 +0000 (16:15 +0300)]
RMR update and release H step 1 of 2

Change-Id: I07bbf166686cc2b6e911b90c46f281ada1b181ef
Signed-off-by: czichy <thoralf.czichy@nokia.com>
11 months agoMake subscription unavailable when under reset 60/11060/3
naman.gupta [Tue, 9 May 2023 11:54:05 +0000 (17:24 +0530)]
Make subscription unavailable when under reset

Make subscription unavailable when under reset

Signed-off-by: naman.gupta <naman.gupta@samsung.com>
Change-Id: I98ace9baf042586c1f00bcfce66d5d912671c98c

11 months agoDelete all subscriptions when Ran is under reset. 62/10962/5
naman.gupta [Thu, 20 Apr 2023 12:37:11 +0000 (18:07 +0530)]
Delete all subscriptions when Ran is under reset.

Delete all subscriptions for the Ran when Ran is under reset state.

Signed-off-by: naman.gupta <naman.gupta@samsung.com>
Change-Id: I86c488c67c1dc20cfdd958ad65d0ad67a5390be3

13 months agoMerge "RIC-851: Updated submgr to trigger Delete Subscription Procedure towards E2...
Thoralf Czichy [Mon, 6 Mar 2023 13:56:20 +0000 (13:56 +0000)]
Merge "RIC-851: Updated submgr to trigger Delete Subscription Procedure towards E2 Node for the subscriptions mentioned in Is_Subscription_Delete_Required procedure"

13 months agoRIC-851: Updated submgr to trigger Delete Subscription Procedure 87/10287/15
gunjarastogi [Wed, 18 Jan 2023 12:21:55 +0000 (17:51 +0530)]
RIC-851: Updated submgr to trigger Delete Subscription Procedure
towards E2 Node for the subscriptions mentioned in
Is_Subscription_Delete_Required procedure

Signed-off-by: gunjarastogi <gunja.rastogi@capgemini.com>
Change-Id: I941fcdbc66e26f62ff15b3a17bf79ab0f2437dd1

14 months agoChanging committers 73/10373/1
czichy [Fri, 3 Feb 2023 09:41:44 +0000 (11:41 +0200)]
Changing committers

Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: I95575b5d444d516c0b7b86e364ed34cdedd4210d

16 months agoG release step 2 of 2 76/10076/1 g-release
czichy [Mon, 12 Dec 2022 12:37:52 +0000 (14:37 +0200)]
G release step 2 of 2

Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: I3b5afca6d0166ae6a6aa4b8df79d9da7d51a57f0

16 months agoG release step 1 of 2 16/10016/1 0.9.5
czichy [Thu, 8 Dec 2022 08:43:52 +0000 (10:43 +0200)]
G release step 1 of 2

Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: Ieb0dc3030779cc99a0ad2ebad2133d1682c444c1

16 months agoUpdating RMR version to 4.8.5 07/10007/1
czichy [Thu, 8 Dec 2022 05:54:12 +0000 (07:54 +0200)]
Updating RMR version to 4.8.5

Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: I76f8ea8246cc87c4a864f52d87af97d2b732958f

20 months agoRIC-937: Go mod version update 1.17 -> 1.18 15/8915/2
Anssi Mannila [Mon, 15 Aug 2022 05:20:51 +0000 (08:20 +0300)]
RIC-937: Go mod version update 1.17 -> 1.18

 - https://jira.o-ran-sc.org/browse/RIC-937

Change-Id: I38e51293136729d757a85887c6dc5732eb715698
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
20 months agoRIC-937: Go version update 1.17.10 -> 1.18.5 14/8914/2
Anssi Mannila [Fri, 12 Aug 2022 10:36:29 +0000 (13:36 +0300)]
RIC-937: Go version update 1.17.10 -> 1.18.5

 - https://jira.o-ran-sc.org/browse/RIC-937

Change-Id: Ifd2cc3cf23110c19482a9e536ab7fdef5b2e266c
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
20 months agoCoverity issues fiexd 23/8823/1
Anssi Mannila [Tue, 2 Aug 2022 09:41:48 +0000 (12:41 +0300)]
Coverity issues fiexd

Change-Id: I014e1512b43cb299c9dfb8dfe8965c184e795af3
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
20 months agobug fix 22/8822/1
Konstantinos Archangelof [Thu, 21 Jul 2022 09:05:19 +0000 (12:05 +0300)]
bug fix
  * minor bug fix for hanging REST Subscriptions in E2 node down case.

Signed-off-by: Konstantinos Archangelof <konstantinos.archangelof@nokia.com>
Change-Id: Ia7934ef41595fd5ca78e662e4bc0174644d5e714

20 months agoCoverity issues fixed 21/8821/1
Anssi Mannila [Mon, 4 Jul 2022 12:51:38 +0000 (15:51 +0300)]
Coverity issues fixed

Change-Id: I8406c565e99819bea8151d5b4902e7029013b5b6
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
22 months agoF release step 2 of 2 81/8581/1 f-release
czichy [Thu, 16 Jun 2022 10:53:35 +0000 (13:53 +0300)]
F release step 2 of 2

Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: Ib45cf4e302c0e727d71c502461d53e0aa3b08afa

22 months agoF release step 1 of 2 74/8574/1 0.9.3
czichy [Thu, 16 Jun 2022 10:12:41 +0000 (13:12 +0300)]
F release step 1 of 2

Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: I97aafde3a8830cd7c230f53142da84c776489826

22 months agoFix for two problems 72/8572/1
Anssi Mannila [Thu, 16 Jun 2022 06:47:23 +0000 (09:47 +0300)]
Fix for two problems

 - Submgr sent incorrect error information in response to xapp
   in completely successful case
 - Checking of received E2SubscriptionDirectives was also fixed

Change-Id: Ibd3347f9c8db0e931c95b349f7cbaa789fb24e98
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoRIC-867: Submgr adaptations to E2APv2.0 95/8095/1 e2ap-v02.00
Anssi Mannila [Thu, 20 Jan 2022 09:11:48 +0000 (11:11 +0200)]
RIC-867: Submgr adaptations to E2APv2.0

Change-Id: I334332d4564ecb7eb01e75d39d702f3ee2f3bf09
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoGo version update 67/7967/1
Anssi Mannila [Mon, 21 Mar 2022 12:21:31 +0000 (14:21 +0200)]
Go version update
 - Issue-ID: RIC-881
 - Go version changed 1.14.1 -> 1.17.8
 - Dockerfile update accordingly
 - Certificate update in dockerfile removed
 - RTMGR version in docker file updated to latest version
 - Outdated routing_manager.yaml file in api folder updated

Change-Id: Icf2a5caed4973cf84c89bf0f75f3168d8d74b77b
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoAdded handing for ActionNotAdmittedList 10/7610/1
Anssi Mannila [Mon, 24 Jan 2022 11:26:42 +0000 (13:26 +0200)]
Added handing for ActionNotAdmittedList
- REST interfase lacks ActionNotAdmittedList IE
- Added workaroud for that
- Document updated also

Change-Id: I9701fae7319d668412ebcb667c61837612b448a3
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoFix in the document 07/7507/1
Anssi Mannila [Wed, 5 Jan 2022 07:57:59 +0000 (09:57 +0200)]
Fix in the document

Change-Id: I4d49c7c2c178f209cfecfb7bfcf70761c00e3b80
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoAdd missing document update 06/7506/1
Anssi Mannila [Wed, 5 Jan 2022 07:17:02 +0000 (09:17 +0200)]
Add missing document update

Change-Id: I6e64130ff104bf702a33602cd3fa6b23ef2448d9
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoTest and debug interface improvements part 2 94/7494/1
Anssi Mannila [Tue, 4 Jan 2022 12:22:26 +0000 (14:22 +0200)]
Test and debug interface improvements part 2
 - Documentation added
 - Some fixed added

Change-Id: I2630f9bad26b29d3dd5e2460037cf568e3b57d0c
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoTest and debug interface improvements 81/7481/1
Anssi Mannila [Wed, 29 Dec 2021 07:59:24 +0000 (09:59 +0200)]
Test and debug interface improvements

Added functionality:
- Get all E2Nodes in subscription manager
- Get all REST subscriptions of one E2Node in Subscription manager
- Get all xApps in subscription manager
- Get all subscriptions of a xApp in Subscription manager
- Get all E2 subscriptions of a REST subscription
- Delete all subscriptions of one E2Node
- Delete all subscriptions of a xApp

To be done:
- Document update not yet done
- Testing in real environment not yet done

Change-Id: I5e270c27efa4f8b2da6283540d5fa51aa6146387
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoUnit test description improvements 50/7450/1
Anssi Mannila [Wed, 22 Dec 2021 07:41:54 +0000 (09:41 +0200)]
Unit test description improvements

Change-Id: Id5ac16c0b1078b6026ce50fc2b260751e2c00607
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoSubmgr restart unit test improvement 38/7438/1
Anssi Mannila [Tue, 21 Dec 2021 07:43:59 +0000 (09:43 +0200)]
Submgr restart unit test improvement

Change-Id: Ic59f8f8640b29fc1bb43f39e519b98128ab691b7
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoMerge "Fix for E2 Connection status counters"
Anssi Mannila [Tue, 21 Dec 2021 07:20:41 +0000 (07:20 +0000)]
Merge "Fix for E2 Connection status counters"

2 years agoMerge "README.md file updated - The file was completely rewritten"
Anssi Mannila [Tue, 21 Dec 2021 07:20:33 +0000 (07:20 +0000)]
Merge "README.md file updated - The file was completely rewritten"

2 years agoMerge "Unit test log writing improvements"
Anssi Mannila [Tue, 21 Dec 2021 07:20:08 +0000 (07:20 +0000)]
Merge "Unit test log writing improvements"

2 years agoMerge "Unit test improvement - Fixed dealy replaced with waiting function in one...
Anssi Mannila [Tue, 21 Dec 2021 07:19:17 +0000 (07:19 +0000)]
Merge "Unit test improvement  - Fixed dealy replaced with waiting function in one UT case  - This should fix random crashes seen in that UT case"

2 years agoMerge "Unit test cases improvements - Some fixed delays replaced with function which...
Anssi Mannila [Tue, 21 Dec 2021 07:19:05 +0000 (07:19 +0000)]
Merge "Unit test cases improvements  - Some fixed delays replaced with function which tests that test case can contiue  - This should reduce random test failuers"

2 years agoFix for E2 Connection status counters 18/7418/1
Anssi Mannila [Fri, 17 Dec 2021 10:45:25 +0000 (12:45 +0200)]
Fix for E2 Connection status counters

Change-Id: I99a5fc0cb167c1989f115165282b3ec4971c4472
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoREADME.md file updated 68/7368/1
Anssi Mannila [Wed, 15 Dec 2021 07:30:30 +0000 (09:30 +0200)]
README.md file updated
- The file was completely rewritten

Change-Id: I92ad9baab2594c57c215b3b5f8607a093c8dd1f6
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoUnit test log writing improvements 49/7349/1
Anssi Mannila [Tue, 14 Dec 2021 10:24:10 +0000 (12:24 +0200)]
Unit test log writing improvements

Change-Id: I395700d612baff11a9221e8552ea9c165a2bc19e
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoUnit test improvement 47/7347/1
Anssi Mannila [Tue, 14 Dec 2021 08:28:20 +0000 (10:28 +0200)]
Unit test improvement
 - Fixed dealy replaced with waiting function in one UT case
 - This should fix random crashes seen in that UT case

Change-Id: Ia2d342cb14560349b3ba45eb8ea13e233b6bd0a4
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoUnit test cases improvements 06/7306/2
Anssi Mannila [Mon, 13 Dec 2021 12:18:24 +0000 (14:18 +0200)]
Unit test cases improvements
 - Some fixed delays replaced with function which tests that test case can contiue
 - This should reduce random test failuers

Change-Id: Ic4003aefe280e80d0fdb033d4cbcf51f312e2fcb
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoUnit test case improvements 90/7290/1
Anssi Mannila [Fri, 10 Dec 2021 08:56:02 +0000 (10:56 +0200)]
Unit test case improvements
 - Missing counters checks added in some test cases

Change-Id: I2fbc2a592546d05e946cbd6021f5baf21c2f4db0
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoE release 18/7218/1 e-release
Anssi Mannila [Fri, 3 Dec 2021 10:22:26 +0000 (12:22 +0200)]
E release

Change-Id: I506a2821eaf25d792b28f32d4e98c8f8a243f501
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoPreparing for E release 16/7216/1 0.8.2
Anssi Mannila [Fri, 3 Dec 2021 09:57:11 +0000 (11:57 +0200)]
Preparing for E release
 - RMR version upgrade before release

Change-Id: Ib3e1ebfe34c534ba321b6c9c90c53f096bee2ee9
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoRMR version upgrade 4.7.4 -> 4.8.0 13/7213/1
Anssi Mannila [Fri, 3 Dec 2021 09:21:39 +0000 (11:21 +0200)]
RMR version upgrade 4.7.4 -> 4.8.0

Change-Id: Id8d2150036c3bc76a1293a9d05eab91a1b63432d
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoE release 74/7174/1
Anssi Mannila [Thu, 2 Dec 2021 11:24:30 +0000 (13:24 +0200)]
E release

Change-Id: If838271daa8e3639758a7d2f8662c30952290326
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoPreparing for E release 73/7173/1 0.8.0
Anssi Mannila [Thu, 2 Dec 2021 10:47:32 +0000 (12:47 +0200)]
Preparing for E release

Change-Id: If14797bcd7780e55658ae63eaed6fa5bfa520c6b
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoFixes for subscription merge release cases 88/7088/1
Anssi Mannila [Fri, 19 Nov 2021 09:25:01 +0000 (11:25 +0200)]
Fixes for subscription merge release cases
 - Code fixes
 - UT cases fixes and improvements

Change-Id: I97c295d51029888b41ae0dacac76d366eaeb3c54
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoVerify all clean function taken in use in all unit test cases. 74/7074/1
Anssi Mannila [Tue, 16 Nov 2021 10:06:16 +0000 (12:06 +0200)]
Verify all clean function taken in use in all unit test cases.
Two merge related test cases commented out as they did not pass
and require code fix.

Change-Id: Ib716f5f62d57227b3c4318f03e55ba671fddc62c
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoVerify all clean function added for unit tests 63/7063/1
Anssi Mannila [Mon, 15 Nov 2021 13:03:12 +0000 (15:03 +0200)]
Verify all clean function added for unit tests

Change-Id: Iee26580a1e34c51bc2c32f0bacc14cb1d16ae61e
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoUbuntu base image change 48/7048/1
Anssi Mannila [Fri, 12 Nov 2021 11:58:55 +0000 (13:58 +0200)]
Ubuntu base image change
 - bldr-ubuntu18-c-go:1.9.0 -> bldr-ubuntu20-c-go:1.0.0
 - Last build phase FROM ubuntu:18.04 -> FROM ubuntu:20.04

Change-Id: I08abb36c9497daae25702eaf1d5f27e43769e830
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoUnut test counter check code fixed 46/7046/1
Anssi Mannila [Fri, 12 Nov 2021 11:17:15 +0000 (13:17 +0200)]
Unut test counter check code fixed
- Missing counters added in UT cases to be checked
- One Bug fix added in code. Incorrect response in repeated delete request from xApp.

Change-Id: I83599d3db6f130451d9c33a0732274bb5ab51d50
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoASN.1 debug printouts hided by default 31/7031/1
Anssi Mannila [Wed, 10 Nov 2021 11:10:54 +0000 (13:10 +0200)]
ASN.1 debug printouts hided by default
 - ASN.1 debug printouts are made now on logger level >= 4

Change-Id: I2b3072825c16742c1cea9a8b1612d65c53b1bd3a
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoDocument update 29/7029/1
Anssi Mannila [Wed, 10 Nov 2021 08:19:54 +0000 (10:19 +0200)]
Document update
 - Somes counters and parameters were added
 - Some fixes added in the document

Change-Id: Ibf334a22ee840c908a008e7ad2a57cc992765048
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoFix for E2 SubscriptionFailure message handling 96/6996/1
Anssi Mannila [Fri, 5 Nov 2021 07:58:04 +0000 (09:58 +0200)]
Fix for E2 SubscriptionFailure message handling
 - Submgr sent SubscriptionReleteRequest to E2 node as response to failure
 - There is no need for that and now sending of delete has been removed

Change-Id: I4787ce1dbc1e05eabfed6d255c52f092e0cbdb5f
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoE2 restart handling added 15/6915/9
Anssi Mannila [Fri, 22 Oct 2021 06:52:02 +0000 (09:52 +0300)]
E2 restart handling added
- Implementation and unit test are ready

Change-Id: I7b5c52826910a4dcafff8938d414d7e9f57fa2ed
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoImproved fix for outdated base image problem 94/6894/1
Anssi Mannila [Wed, 20 Oct 2021 08:30:15 +0000 (11:30 +0300)]
Improved fix for outdated base image problem

Change-Id: Icf22a0e4ee6b7fe6fd8780a9afc00b49552b0d3b
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoMerge "Fix for Submgr crash added - Submgr crashed if it received REST Subscription...
Anssi Mannila [Thu, 14 Oct 2021 10:20:55 +0000 (10:20 +0000)]
Merge "Fix for Submgr crash added  - Submgr crashed if it received REST Subscription Request while it was still starting"

2 years agoFix for Submgr crash added 57/6857/1
Anssi Mannila [Thu, 14 Oct 2021 09:35:41 +0000 (12:35 +0300)]
Fix for Submgr crash added
 - Submgr crashed if it received REST Subscription Request while it was still starting

Change-Id: Ie434333ccf2b269c9f8dcf7a82fd60f12fa87ebc
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoReplace deprecated SDL APIs 45/6845/1
Timo Tietavainen [Fri, 8 Oct 2021 06:16:20 +0000 (09:16 +0300)]
Replace deprecated SDL APIs

Replace deprecated SDL SdlInstance usage with xapp-frame's SdlStorage
APIs, which have been built on top of the valid SDL SyncStorage APIs.
Upgrade SDL version to v0.8.0.

Issue-Id: RIC-805

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I04142853f74775ae40b71a0bef5431508acbb61a

2 years agoFix for xApp transction release place 23/6823/1
Anssi Mannila [Wed, 6 Oct 2021 11:21:48 +0000 (14:21 +0300)]
Fix for xApp transction release place
 - xApp trasaction release is now done before REST notification is sent to xApp
 - This makes subscription deletion possible instantly after notification

Change-Id: Ia076180aaff40a0b8f8f3c655895a5e37364c5bd
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoTemporary fix for UT problem 19/6819/2
Anssi Mannila [Tue, 5 Oct 2021 09:47:41 +0000 (12:47 +0300)]
Temporary fix for UT problem

Change-Id: Idbe5d5f98557b0fc343f2e71690b9fbd493aaa62
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoSubscription REST interface update 09/6809/3
Anssi Mannila [Fri, 1 Oct 2021 08:10:26 +0000 (11:10 +0300)]
Subscription REST interface update
 - xapp-frame update v0.8.5 -> v0.9.3
 - Added REST interface chages introduced in new xapp-frame
 - Document updated
 - Added workarouds in dockerfile for outdated base image problem

Change-Id: Iad8b5f1450d91c1c650ae5537a7c3d79f347fe82
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoSubscription REST interface update 66/6766/5
Anssi Mannila [Tue, 28 Sep 2021 10:11:25 +0000 (13:11 +0300)]
Subscription REST interface update
  - Error values returned to xApp improved
  - Posibility for xApp to set E2 timeout value added
  - Posibility for xApp to set E2 retry count added
  - Posibility for xApp to set is routing needed for the subscription
  - Info log writings changed to debug log writings

Change-Id: Ib8f5c815c4e05b4784c2435de8c38acd41ba07bd
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoFix for Submgr crash problem 61/6661/1
Anssi Mannila [Mon, 13 Sep 2021 08:36:13 +0000 (11:36 +0300)]
Fix for Submgr crash problem
 - Submgr crashed when xApp was restarted after Submgr restart
 - There was an uninitialised pointer after Submgr restart
 - Storing REST subscriptions to SDL did not worked properly

Change-Id: I7dc55841cffc9a0fe56cad0db49f97c256c0e216
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoRestore SDL write at the beginning of subscription create 54/6554/1
Markku Virtanen [Wed, 23 Jun 2021 06:16:01 +0000 (06:16 +0000)]
Restore SDL write at the beginning of subscription create

Change-Id: I4c057ed9200f601a0cb017acf2ce7761d7e7e38d
Signed-off-by: Markku Virtanen <markku.virtanen@nokia.com>
2 years agoMerge "Fix for DB read after VM restart and REST subscription query aded"
Anssi Mannila [Tue, 3 Aug 2021 10:21:16 +0000 (10:21 +0000)]
Merge "Fix for DB read after VM restart and REST subscription query aded"

2 years agoFix for DB read after VM restart and REST subscription query aded 52/6552/2
Anssi Mannila [Tue, 3 Aug 2021 08:57:11 +0000 (11:57 +0300)]
Fix for DB read after VM restart and REST subscription query aded

Change-Id: I975ba41ceafee16470fdfacc7c823815dfc6ad49
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoUnittest stability improvements 46/6546/3
Markku Virtanen [Fri, 30 Jul 2021 12:04:00 +0000 (12:04 +0000)]
Unittest stability improvements

Signed-off-by: Markku Virtanen <markku.virtanen@nokia.com>
Change-Id: Ice47361aa0d8838aae6d5c392b2b70ca534d0610

2 years agoCopying only the needed libraries to final image 66/6366/1
wahidw [Tue, 22 Jun 2021 04:57:26 +0000 (04:57 +0000)]
Copying only the needed libraries to final image

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Id5fc0c7da6e6388994841b968cd0b09113744a26

2 years agoDawn release 38/6338/2
Anssi Mannila [Wed, 16 Jun 2021 16:26:54 +0000 (19:26 +0300)]
Dawn release

Change-Id: I57583e2cd58d390b05edd31e6e697d3ce34ffb11
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoContainer tag update 0.7.0 - > 0.7.1 35/6335/1 0.7.1
Anssi Mannila [Wed, 16 Jun 2021 15:04:43 +0000 (18:04 +0300)]
Container tag update 0.7.0 - > 0.7.1

Change-Id: Ie102f6fa8f57e48af08bf6bb7e50ac132cea44ed
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoUpdate release notes 29/6329/2
Anssi Mannila [Wed, 16 Jun 2021 12:31:32 +0000 (15:31 +0300)]
Update release notes

Change-Id: I5a8f87615fb9bce07ad0050452692c78243142f7
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoAdded duplicate detection changes 22/6322/7
Markku Virtanen [Tue, 15 Jun 2021 07:09:23 +0000 (10:09 +0300)]
Added duplicate detection changes

Change-Id: I85582e38a4bbe6c722a59439da30784f8039de3d
Signed-off-by: Markku Virtanen <markku.virtanen@nokia.com>
2 years agoSubmgr REST subscriptions in SDL Database 13/6313/2
Konstantinos Archangelof [Mon, 14 Jun 2021 09:24:00 +0000 (12:24 +0300)]
Submgr REST subscriptions in SDL Database
   * renamed sdl.go  to sdl_e2SubsDb.go
   * renamed sdl_test.go to sdl_e2SubsDb_test.go
   * New file sdl_restSubsDb.go implements the SDL API for the REST Subscriptions
   * New file sdl_restSubsDb_test.go implements unittests for the SDL API for the REST Subscriptions
   * New db restSubsDb defined under Control object in submgr to hold the SDL DB data structure
   * SDL API for the REST Subscriptions is called from submgr code.

Signed-off-by: Konstantinos Archangelof <konstantinos.archangelof@nokia.com>
Change-Id: I447da9030aba2a582e38d24ef86722894d0c41e1

2 years agoUpdate available SDL version to v0.7.0 00/6300/1
Timo Tietavainen [Thu, 10 Jun 2021 22:13:09 +0000 (01:13 +0300)]
Update available SDL version to v0.7.0

Update submgr module dependencies to use latest SDL version v0.7.0,
which contains implementation for the SDL multi-namespace and sentinel
based DB capacity scaling properties.

Issue-ID: RIC-699

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ib71ae5effc19049cca6dfc84834c415686e020b8

2 years agoIncrement counters before sending Notification response 87/6287/1
Markku Virtanen [Thu, 10 Jun 2021 12:05:02 +0000 (15:05 +0300)]
Increment counters before sending Notification response

Change-Id: I9ddb98c33fbde2a534cef3edfe0112f1919af255
Signed-off-by: Markku Virtanen <markku.virtanen@nokia.com>
2 years agoREST duplicate detection 65/6265/7
Markku Virtanen [Wed, 9 Jun 2021 09:08:14 +0000 (09:08 +0000)]
REST duplicate detection

Change-Id: Id29fa35b86ff2b27c8436634487c2c5f7ad8f9a0
Signed-off-by: Markku Virtanen <markku.virtanen@nokia.com>
2 years agoAdded REST notify error cause 30/6230/3
Markku Virtanen [Fri, 4 Jun 2021 11:46:56 +0000 (14:46 +0300)]
Added REST notify error cause

Change-Id: I428177806ab0e9539017e2cf7bac0bc5a96ea71a
Signed-off-by: Markku Virtanen <markku.virtanen@nokia.com>
2 years agoxapp-frame v0.8.3 integration to submgr 51/6251/1
Konstantinos Archangelof [Mon, 7 Jun 2021 17:32:10 +0000 (17:32 +0000)]
xapp-frame v0.8.3 integration to submgr

Signed-off-by: Konstantinos Archangelof <konstantinos.archangelof@nokia.com>
Change-Id: I5e26a65de5c791067685ca76f310f6a6b0e8d076

2 years agoDocument fix 46/6246/2
Anssi Mannila [Mon, 7 Jun 2021 11:12:02 +0000 (14:12 +0300)]
Document fix

Change-Id: I5e011b13b704184ef357ef7247c171be0282904a
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoDocument fix 44/6244/1
Anssi Mannila [Mon, 7 Jun 2021 10:40:06 +0000 (13:40 +0300)]
Document fix

Change-Id: I4c5d61fe5604539fc5a73f120513aa8acaadc79b
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoDocument update 42/6242/3
Anssi Mannila [Mon, 7 Jun 2021 08:54:37 +0000 (11:54 +0300)]
Document update

Change-Id: I46956fc89380a7d3ba012a61e7a7470903c10a44
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoxapp-frame v0.8.2 integration to submgr restored ricRequestorID value as "123" toward... 31/6231/1
Konstantinos Archangelof [Fri, 4 Jun 2021 12:10:26 +0000 (12:10 +0000)]
xapp-frame v0.8.2 integration to submgr restored ricRequestorID value as "123" towards e2term.

Signed-off-by: Konstantinos Archangelof <konstantinos.archangelof@nokia.com>
Change-Id: I11ff6d0ad23f9a792f722ec56b2189b6596e61cc

2 years agoxapp-frame v0.8.2 integration to submgr 11/6211/2
Konstantinos Archangelof [Thu, 3 Jun 2021 10:00:19 +0000 (10:00 +0000)]
xapp-frame v0.8.2 integration to submgr

Signed-off-by: Konstantinos Archangelof <konstantinos.archangelof@nokia.com>
Change-Id: Ief6d20c298b98b0e344ff011542f6e50492dc8ac

2 years agoDebug printout improvements 01/6201/1
Anssi Mannila [Wed, 2 Jun 2021 13:19:48 +0000 (16:19 +0300)]
Debug printout improvements

Change-Id: I75c486428e6565246b372f51a67a9ab011d67044
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoCounter improvements 92/6192/3
Anssi Mannila [Wed, 2 Jun 2021 08:08:54 +0000 (11:08 +0300)]
Counter improvements

Change-Id: Idd87fcb14f63e0b0d139f0cbb6b9debf83b23cb3
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoRest interface specific counter used: cRestSubFailToXapp 68/6168/1
Konstantinos Archangelof [Mon, 31 May 2021 09:32:10 +0000 (09:32 +0000)]
Rest interface specific counter used: cRestSubFailToXapp

Signed-off-by: Konstantinos Archangelof <konstantinos.archangelof@nokia.com>
Change-Id: I4bbbcf44056ca92f3595122652e188ffee20d374

2 years agoRest interface specific counters defined and used: cRestSubReqFromXapp,cRestSubRespTo... 67/6167/1
Konstantinos Archangelof [Mon, 31 May 2021 08:30:35 +0000 (08:30 +0000)]
Rest interface specific counters defined and used: cRestSubReqFromXapp,cRestSubRespToXapp,cRestSubDelReqFromXapp,cRestSubDelRespToXapp

Signed-off-by: Konstantinos Archangelof <konstantinos.archangelof@nokia.com>
Change-Id: I1666ce9ed79c088054cf9e320f10e325cd735ff0

2 years agoMerge "Added UT cases for Del Req e2ap un/packing errors"
Anssi Mannila [Thu, 27 May 2021 07:09:06 +0000 (07:09 +0000)]
Merge "Added UT cases for Del Req e2ap un/packing errors"

2 years agoUT API framework cleanup. Unused Parameters : parameterSet, actionDefinitionPresent... 43/6143/1
Konstantinos Archangelof [Wed, 26 May 2021 09:52:25 +0000 (09:52 +0000)]
UT API framework cleanup. Unused Parameters : parameterSet, actionDefinitionPresent, actionParamCount, policyParamCount removed.

Signed-off-by: Konstantinos Archangelof <konstantinos.archangelof@nokia.com>
Change-Id: I90064e7dab441d0df807aaf7aeb7e9c07e9a1fae

2 years agoAdded UT cases for Del Req e2ap un/packing errors 36/6136/4
Markku Virtanen [Tue, 25 May 2021 09:54:42 +0000 (09:54 +0000)]
Added UT cases for Del Req e2ap un/packing errors

Signed-off-by: Markku Virtanen <markku.virtanen@nokia.com>
Change-Id: Ie0846e3c351d73803ac07a189737267c07503035