ric-plt/xapp-frame.git
3 months agoRemoving committers 64/12464/1 master
czichy [Mon, 29 Jan 2024 12:09:24 +0000 (14:09 +0200)]
Removing committers

Change-Id: I266d0ca33b54bb50de41c6c6763106b820b01b13
Signed-off-by: czichy <thoralf.czichy@nokia.com>
3 months agoRIC-1024:Updated xapp-frame to define new message type for RIC_E2_RAN_ERROR_INDICATION 07/12207/1 v0.9.22
Abdul Wahid W [Fri, 5 Jan 2024 10:06:14 +0000 (15:36 +0530)]
RIC-1024:Updated xapp-frame to define new message type for RIC_E2_RAN_ERROR_INDICATION

Change-Id: I5ca2c43967eb5cd7a11229998a2bc2ae5e8cacc9
Signed-off-by: Abdul Wahid W <abdulwahid.w@nokia.com>
4 months agoAdding Akansha as committer 96/12296/1 i-release
czichy [Thu, 14 Dec 2023 11:26:34 +0000 (13:26 +0200)]
Adding Akansha as committer

Change-Id: I2d5e10220119ded5e67428d5c1d5ee59693d4ce1
Signed-off-by: czichy <thoralf.czichy@nokia.com>
4 months agoUpdate to using RMR version 4.9.4 43/12243/2 v0.9.19
czichy [Wed, 13 Dec 2023 05:20:45 +0000 (07:20 +0200)]
Update to using RMR version 4.9.4

Change-Id: I8c14ac7f8303f089e0a654b2b670d22f29b1b8cb
Signed-off-by: czichy <thoralf.czichy@nokia.com>
7 months agoRIC-1017: xapp-frame may not be able to successfully subscribe to messages 38/11838/1 v0.9.21
Tuan Nguyen [Fri, 29 Sep 2023 09:11:45 +0000 (09:11 +0000)]
RIC-1017: xapp-frame may not be able to successfully subscribe to messages

Change-Id: I18a186a9017818a3464dd7e1f3f637285da4398c
Signed-off-by: Tuan Nguyen <hoang.su.tk@gmail.com>
7 months agoxapp frame rmr wrapper buffer handling fix 39/11739/2 v0.9.20
Juha Hyttinen [Thu, 28 Sep 2023 11:11:36 +0000 (14:11 +0300)]
xapp frame rmr wrapper buffer handling fix
- Use always buffer that rmr_send* return

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I0b76d1036b5269f8a42b92dfa9542c4e8c38e822

8 months agoRemoving deprecated functions from readthedocs 45/11745/3
czichy [Fri, 1 Sep 2023 06:24:01 +0000 (09:24 +0300)]
Removing deprecated functions from readthedocs

Change-Id: Ib619de6e5467da0209714ecb80b81cde0e3d0645
Signed-off-by: czichy <thoralf.czichy@nokia.com>
11 months agoRunParams as struct to have possible to extend later. 47/11147/2 h-release v0.9.18
Juha Hyttinen [Tue, 30 May 2023 10:52:52 +0000 (13:52 +0300)]
RunParams as struct to have possible to extend later.
-DisableAlarmClient mostly for alarm manager to avoid alarmclient@xapp-frame init

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: Idf56608303a7fa57b3739dc912b6613b7bc0edbb

11 months agobaseimage with go 1.18 and go.mod updates 23/10923/1 v0.9.17
Juha Hyttinen [Mon, 15 May 2023 05:54:35 +0000 (08:54 +0300)]
baseimage with go 1.18 and go.mod updates

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I35326cf008365180e04122cf9768100c586fcecc

11 months agoxapp-frame go imrpovements 22/10922/1
Juha Hyttinen [Tue, 31 Jan 2023 11:03:36 +0000 (13:03 +0200)]
xapp-frame go imrpovements

xapp registration error handling won't work fully
as it won't return error when status code in response
is wrong. This will stop app registeration retries.

Config file get rest functionality tries to read
config file from hard coded path, which is wrong assumtion.
xapp-frame reads config file given as argument "-f" or
from CFG_FILE env variable. Thou config file rest api
should try read file that is really used.

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: Ib5f4cce4cbad3a84c0c412c9b9b03f2cd69605ca

13 months agogo version update to 1.18 05/10805/1
anbalan [Mon, 27 Mar 2023 12:05:20 +0000 (17:35 +0530)]
go version update to 1.18

Signed-off-by: anbalan <abdulwahid.w@nokia.com>
Change-Id: If0e757234439efd8182ef4fd197280db47203f41

14 months agoRIC-851: Updated xapp-frame to define message type 88/10288/4 v0.9.16
gunjarastogi [Wed, 18 Jan 2023 12:26:27 +0000 (17:56 +0530)]
RIC-851: Updated xapp-frame to define message type
for Is_Subscription_Delete_Required procedure

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

20 months agoUse iinfo and ainfo in correct order/naming 86/8986/1 g-release v0.9.15
Juha Hyttinen [Thu, 1 Sep 2022 06:53:46 +0000 (09:53 +0300)]
Use iinfo and ainfo in correct order/naming

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I163a1a65c1000eec3ed1bd69b3aefff4f6f7478d

20 months agoEndpoint parse to support also ipv6 format []:port 12/8912/1
Juha Hyttinen [Fri, 19 Aug 2022 10:22:45 +0000 (13:22 +0300)]
Endpoint parse to support also ipv6 format []:port

Change-Id: Ie022a954e7fd9f3e853650041941045f108abe4e
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
22 months agoAdd some rmr library stats into metrics 67/8567/1 f-release v0.9.14
Juha Hyttinen [Wed, 15 Jun 2022 07:54:43 +0000 (10:54 +0300)]
Add some rmr library stats into metrics

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I25e07abe5e1772c085116cef23c1273820cb051c

23 months agoINTERNAL: Symptom improvements 81/8381/1 v0.9.13
Juha Hyttinen [Tue, 24 May 2022 09:38:59 +0000 (12:38 +0300)]
INTERNAL: Symptom improvements
- Symptom uptime
- GetIpAddress set to public
- GetLocalMetrics will use directly prometheus api

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I8fa22ff718f59fbed9b8e40886d9f43a584650b8

23 months agoINTERNAL: improve symptomdata 55/8355/1 v0.9.12
Juha Hyttinen [Thu, 19 May 2022 11:33:33 +0000 (14:33 +0300)]
INTERNAL: improve symptomdata
- Optimized file handling
- Added unzip capability
- Added config file and environment into symptom default data

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I1dfa951c28d1102581bf4b7839e665fd37549da6

2 years agoRemoved deprecaded code 55/7955/1 v0.9.11
Juha Hyttinen [Thu, 17 Mar 2022 14:34:59 +0000 (16:34 +0200)]
Removed deprecaded code

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I040145cc9935b08dd852574e4ae6aa80cd104f56

2 years agoChange log level 84/7884/1 v0.9.10
Mohamed Abukar [Fri, 4 Mar 2022 06:14:52 +0000 (06:14 +0000)]
Change log level

Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
Change-Id: Ida4c8569803022e6228e7c15e26ebbdbec54fd2c

2 years agoUpdated alarm-go version 69/7469/3 v0.9.9
Juha Hyttinen [Thu, 23 Dec 2021 11:20:01 +0000 (13:20 +0200)]
Updated alarm-go version

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I3dd33fba982ac8b8aa6183f252ea544adf7dcf6f

2 years agoIPv6 support for REST Server 37/7037/1 e-release v0.9.8
wahidw [Fri, 12 Nov 2021 03:37:35 +0000 (03:37 +0000)]
IPv6 support for REST Server

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

2 years agoUse ubuntu20.04 image in testing as it's default go version is 1.16 26/7026/1
Juha Hyttinen [Tue, 9 Nov 2021 10:06:44 +0000 (12:06 +0200)]
Use ubuntu20.04 image in testing as it's default go version is 1.16

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: Iada440f592075e6697620fb7246248c37090e6eb

2 years agoDon't enforce namespace for metrics 86/6886/1 v0.9.7
Mohamed Abukar [Tue, 19 Oct 2021 08:18:24 +0000 (11:18 +0300)]
Don't enforce namespace for metrics

Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
Change-Id: I23cd2b778c979c67f44eb4991c204074004cb9d1

2 years agoAutomatic statistic registeration for metrics cache 14/6814/3 v0.9.6
Juha Hyttinen [Mon, 4 Oct 2021 12:27:26 +0000 (15:27 +0300)]
statistic registeration for metrics cache

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I36c4cb8bb513e45b07c90caeeae046748947dd49

2 years agoLabeled metrics interface 07/6807/1 v0.9.5
Juha Hyttinen [Thu, 30 Sep 2021 21:13:12 +0000 (00:13 +0300)]
Labeled metrics interface
Shall replace old vector Register+Get approach.

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I9069e50ad457f20c8d5e135136f29f79c3cb02e2

2 years agoImproved metrics 06/6806/3 v0.9.4
Juha Hyttinen [Thu, 30 Sep 2021 19:44:47 +0000 (22:44 +0300)]
Improved metrics
- Added counter and  gauge vector caching. Warn log if mismatching vector labels for same name.
- Support single counter/gauge/countervector/gaugevector manipulating

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I48277a2a11af96d5fe797d75527a9932397dd4e1

2 years agoSubscription REST interface update 95/6795/5 v0.9.3
Anssi Mannila [Thu, 30 Sep 2021 05:33:34 +0000 (08:33 +0300)]
Subscription REST interface update
 - Two new Http error causes 404, 503 added for REST subscription request
 - Earlier added Reject Cause element removed as it did not worked as planned
 - Some default values removed as they did not worked as planned. Those are set in Submgr code

Change-Id: Iac336f678478f4b34a1f76c99b09c827d124d365
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoMerge "Binding interface IP address for REST Server" v0.9.2
Juha Hyttinen [Mon, 27 Sep 2021 04:42:19 +0000 (04:42 +0000)]
Merge "Binding interface IP address for REST Server"

2 years agoBinding interface IP address for REST Server 29/6729/2
wahidw [Wed, 22 Sep 2021 19:26:47 +0000 (19:26 +0000)]
Binding interface IP address for REST Server

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

2 years agoIntegrate RNIB with SDL SyncStorage to xapp-frame 33/6733/1 v0.9.1
Timo Tietavainen [Wed, 22 Sep 2021 23:52:32 +0000 (02:52 +0300)]
Integrate RNIB with SDL SyncStorage to xapp-frame

SdlInstance type with its API functions has been deprecated and its
source code will be removed at some point of time from sdlgo repository.
sdlgo repository provides the SyncStorage type what should be used
instead of the SdlInstance type.

Upgrade xapp-frame to use Nodeb-rnib reader version 1.2.1, which has
a new reader type, which takes SyncStorage type reference in.

Change xapp-frame RNIB writer instance rNibWriterInstance to use SDL
instance of type SyncStorage.

Issue-Id: RIC-805

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

2 years agoPrepare for SdlInstance usage removal in xapp-frame 32/6732/1
Timo Tietavainen [Wed, 22 Sep 2021 22:34:07 +0000 (01:34 +0300)]
Prepare for SdlInstance usage removal in xapp-frame

SdlInstance type with its API functions has been deprecated and its
source code will be removed at some point of time from sdlgo repository.
sdlgo repository provides the SyncStorage type what should be used
instead of the SdlInstance type.

With this commit add SDLStorage class type, which provides functions
to write and read by using SDL SyncStorage API services. Add a public
variable SdlStorage of the type SDLStorage to xapp-frame's xapp package.
Xapp developers can use SdlStorage and its write and read functions when
they need to operate with SDL DB.

Mark xapp-frame's types and functions to be deprecated, which are
related to old SDL SdlInstance type. This should be a heads up for xapp
developers to start using of SdlStorage instead of old deprecated
implementation. Deprecated xapp-frame types and functions will be
removed in a later release of the xapp-frame.

Add also xapp name to SDL namespace string what is used for
configuration updating via REST API feature in xapp-frame. Otherwise SDL
keys could collide if different xapps are updating their configuration
via REST API.

Issue-Id: RIC-805

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

2 years agoNewer go version 1.13 and above support 22/6722/2 v0.9.0
Juha Hyttinen [Tue, 21 Sep 2021 08:53:35 +0000 (11:53 +0300)]
Newer go version 1.13 and above support

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: If848313eea53e07dee40a876430e423511015cc0

2 years agoSubscription REST interface update 04/6704/1 v0.8.5
Anssi Mannila [Thu, 16 Sep 2021 11:48:04 +0000 (14:48 +0300)]
Subscription REST interface update

Added: - E2 interface subscription retry and timeout directives
 - Reject cause
 - Descriptive error inforamtion
 - Source of error information
 - Interface where timeout happened
Change-Id: Ie08f53135858137729a90995027a42bc82b08528
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
2 years agoMore UTs added 28/6428/1 dawn
Mohamed Abukar [Thu, 24 Jun 2021 14:07:28 +0000 (14:07 +0000)]
More UTs added

Change-Id: Idae7b4de736ae2e941debb787c16e6c2ac77ff28
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
2 years agoGauge add 92/6392/1 v0.8.4
Juha Hyttinen [Wed, 23 Jun 2021 07:54:57 +0000 (10:54 +0300)]
Gauge add

Change-Id: I6e1fdec0741f9e0bbbf5c330a8d146095afc6a44
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
2 years agoFurther UT improvements 40/6340/1
Mohamed Abukar [Thu, 17 Jun 2021 05:15:08 +0000 (05:15 +0000)]
Further UT improvements

Change-Id: I0f99f3440cc40f8c0cbd86e8e1a520957de756b2
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
2 years agoImprove UT coverage 37/6337/1
Mohamed Abukar [Wed, 16 Jun 2021 15:33:47 +0000 (15:33 +0000)]
Improve UT coverage

Change-Id: If308d64f48adfc1778eeafdc6d66cbb05c0476bf
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
2 years agoUpdate available SDL version to v0.7.0 82/6282/1
Timo Tietavainen [Thu, 10 Jun 2021 06:22:39 +0000 (09:22 +0300)]
Update available SDL version to v0.7.0

Update XAPP-FRAME module dependencies to use latest SDL version v0.7.0
what contains support for SDL multi-namespace and sentinel based DB
capacity scaling features.

Issue-ID: RIC-699

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

2 years agoREST API: use byte array for E2SM event trigger 41/6241/1 v0.8.3
Mohamed Abukar [Mon, 7 Jun 2021 06:24:16 +0000 (06:24 +0000)]
REST API: use byte array for E2SM event trigger

Change-Id: I7b71b9aba3fbf206d2a0c9f565eb57f19d23ef1a
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
2 years agoUpdate REST API spec 57/6157/1 v0.8.2
Mohamed Abukar [Fri, 28 May 2021 09:00:36 +0000 (09:00 +0000)]
Update REST API spec

Change-Id: I39985559ae5d41fc5a95ac2844c72523ec147306
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
2 years agoAdd optional subscription ID 14/6014/1
Mohamed Abukar [Thu, 6 May 2021 11:16:03 +0000 (11:16 +0000)]
Add optional subscription ID

Change-Id: I039ed2b92da32ea2ba4829658db175fc28bbc794
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoFurther enhancements 65/5865/4 v0.8.1
Mohamed Abukar [Wed, 7 Apr 2021 18:18:55 +0000 (21:18 +0300)]
Further enhancements

Change-Id: I6584ca5e8c33b105ef0e99fe737d6da3b3e08073
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoEnhancements of REST-based E2 subscription interface 56/5856/4 v0.8.0
Mohamed Abukar [Sun, 4 Apr 2021 15:07:52 +0000 (18:07 +0300)]
Enhancements of REST-based E2 subscription interface

Change-Id: I8a8d7f7367315163fedffe9d12440afa44eecb73
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoAdd interface to read metrics 40/5740/2 v0.7.3
Mohamed Abukar [Tue, 9 Mar 2021 06:27:31 +0000 (08:27 +0200)]
Add interface to read metrics

Change-Id: Ic6644e8132b53da0f300690ae0b31f9df57846b5
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoAdd utility module 89/5689/4 v0.7.2
Mohamed Abukar [Wed, 24 Feb 2021 08:52:25 +0000 (10:52 +0200)]
Add utility module

Change-Id: I74b06f0ff44e31f6c7a0a7c6bd9c478012b3f305
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoExample xApp enhancement 48/5448/2
Mohamed Abukar [Fri, 15 Jan 2021 13:21:45 +0000 (15:21 +0200)]
Example xApp enhancement

Change-Id: I5da8e30f0fc06f4b69746e810fc2dd351401569e
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoSome code refactoring, etc. 85/5385/2 v0.7.1
Mohamed Abukar [Wed, 30 Dec 2020 15:48:12 +0000 (17:48 +0200)]
Some code refactoring, etc.

Change-Id: I4d3e4a38fcdeab11fa846c3b7ec16d998fe29180
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoChanging rmr-data to rmrdata 80/5380/2
wahidw [Tue, 29 Dec 2020 06:52:39 +0000 (06:52 +0000)]
Changing rmr-data to rmrdata

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

3 years agoXapp registration/deregistration to RIC 54/5354/4 v0.7.0
wahidw [Tue, 15 Dec 2020 12:17:09 +0000 (12:17 +0000)]
Xapp registration/deregistration to RIC

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

3 years agoSwagger API update 19/5319/1
Mohamed Abukar [Fri, 11 Dec 2020 14:42:55 +0000 (16:42 +0200)]
Swagger API update

Change-Id: I297fbc5b38572687cb456cc04702909c9b1e408e
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoNew alarm library v0.5.0 94/5294/1 cherry v0.6.8
Mohamed Abukar [Thu, 10 Dec 2020 07:27:17 +0000 (09:27 +0200)]
New alarm library v0.5.0

Change-Id: I4aba06289b77b61ca53a6cfd352283e7cfc088d0
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoNew API for getting xApp config 41/5241/1
Mohamed Abukar [Sun, 6 Dec 2020 11:10:25 +0000 (13:10 +0200)]
New API for getting xApp config

Change-Id: I7437c244c62f7cb052d2bab7cd786633cfc40601
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoAPI update 54/5154/2 v0.6.7
Mohamed Abukar [Wed, 25 Nov 2020 11:51:00 +0000 (13:51 +0200)]
API update

Change-Id: Iefb91e5d5690d2950e3203099b40ab370e1680a2
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoTake golog v0.0.2 into use 50/5150/2 v0.6.6
Mohamed Abukar [Wed, 25 Nov 2020 07:41:01 +0000 (09:41 +0200)]
Take golog v0.0.2 into use

Change-Id: Ie73e96da2146b38581ab58c07a29927a6e6edc98
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoUse default ports 33/5133/1 v0.6.5
Mohamed Abukar [Sat, 21 Nov 2020 15:29:32 +0000 (17:29 +0200)]
Use default ports

Change-Id: Ic93f235803b0f034e305a4d01f4d84e050ad8ed7
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoImprove UTs 23/5123/2 v0.6.4
Mohamed Abukar [Thu, 19 Nov 2020 12:38:22 +0000 (14:38 +0200)]
Improve UTs

Change-Id: I32c55b476aef34a82267a01bc53219a2f971180e
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoBackward compatible with old xApp descriptor 51/5051/1 v0.6.3
Mohamed Abukar [Thu, 12 Nov 2020 08:02:41 +0000 (10:02 +0200)]
Backward compatible with old xApp descriptor

Change-Id: I390425c5e05b17f039e4bce5f99a02f788041ba2
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoExample xApp: take the new xApp descriptor into use 39/5039/1 v0.6.2
Mohamed Abukar [Wed, 11 Nov 2020 15:18:32 +0000 (17:18 +0200)]
Example xApp: take the new xApp descriptor into use

Change-Id: I5669eda4621bb0e99f4d34b5712c389e41dbce8b
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoGetPortData() returns policies 16/5016/1 v0.6.1
Mohamed Abukar [Mon, 9 Nov 2020 13:14:25 +0000 (15:14 +0200)]
GetPortData() returns policies

Change-Id: Ibe79d33ba92015ac15e5ea8d2a647e0efc290d19
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoAdaptation to new xApp Descriptor 09/5009/1 v0.6.0
Mohamed Abukar [Sat, 7 Nov 2020 09:22:56 +0000 (11:22 +0200)]
Adaptation to new xApp Descriptor

Change-Id: Ic3398b16787dab948a4414d121365870cd5cedbf
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoMerge "xapp-frame namespace changes" v0.5.12
Abukar Mohamed [Wed, 4 Nov 2020 08:52:52 +0000 (08:52 +0000)]
Merge "xapp-frame namespace changes"

3 years agoxapp-frame namespace changes 82/4982/2
rangajal [Tue, 3 Nov 2020 17:35:40 +0000 (20:35 +0300)]
xapp-frame namespace changes

Change-Id: I31657cb000b71deec35bd86f5d566911a8325b40
Signed-off-by: rangajal <ranjit.angajala@nokia.com>
3 years agoAdded -test.v for test execution 70/4970/1
Juha Hyttinen [Tue, 3 Nov 2020 07:05:41 +0000 (09:05 +0200)]
Added -test.v for test execution

Change-Id: Icdd82af447daea3113dcb02683d98e5fcf17d294
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoSupport counter and gauge get. Needed in some rare cases 47/4947/1 v0.5.11
Juha Hyttinen [Fri, 30 Oct 2020 10:31:01 +0000 (12:31 +0200)]
Support counter and gauge get. Needed in some rare cases

Change-Id: I950b04e2c96e9ae9657ad86414d15ed3d52162ce
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoFixing metrics 45/4945/1 v0.5.10
Juha Hyttinen [Fri, 30 Oct 2020 08:31:39 +0000 (10:31 +0200)]
Fixing metrics
- all counters cached globally
- metriccache not anymore stored in Metrics instance map
- metriccache can be always generated from scratch due global counter cache
- metriccache locking to awoid simultaneous read and write

Change-Id: I0bf111b4d0cea7d9fae8a37aa395720dff464437
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoCode violation fix 27/4827/1 v0.5.6
Juha Hyttinen [Fri, 9 Oct 2020 06:51:12 +0000 (09:51 +0300)]
Code violation fix

Change-Id: Iebf70874d45c31879f8679b04f3a3e1ea3ed8851
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoCode violation fix and added locks in metriccache manipulation funcs 22/4822/2
Juha Hyttinen [Thu, 8 Oct 2020 11:06:57 +0000 (14:06 +0300)]
Code violation fix and added locks in metriccache manipulation funcs

Change-Id: Ife874fdfb7ec561ace81ef73a433ad64ef1a818a
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoFixed RmrClientParam field visibility 08/4808/1 v0.5.5
Juha Hyttinen [Mon, 5 Oct 2020 16:24:01 +0000 (19:24 +0300)]
Fixed RmrClientParam field visibility

Change-Id: Ifd9ac0139af46168ee902fa4223447418c893979
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoMerge "Newest RMR release 4.2.2" v0.5.4
Juha Hyttinen [Mon, 5 Oct 2020 12:12:14 +0000 (12:12 +0000)]
Merge "Newest RMR release 4.2.2"

3 years agoNewest RMR release 4.2.2 94/4794/1
Juha Hyttinen [Thu, 1 Oct 2020 06:50:27 +0000 (09:50 +0300)]
Newest RMR release 4.2.2

Change-Id: I4aedf47cff3e40c119218e9379da44aa9a76b0d8
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoAdd configurability for RMR low latency and fast ACK 92/4792/1
Timo Tietavainen [Wed, 30 Sep 2020 09:34:00 +0000 (12:34 +0300)]
Add configurability for RMR low latency and fast ACK

Implement new configuration parameters 'lowLatency' and 'fastAck' into
xapp-frame to activate RMR's low latency (TCP NO_DELAY) feature and fast TCP
acknowledgements feature. By default, both of these features are disabled.
Note also that even if these features are activated in configuration, it
depends on the transport library underneath the RMR library whether the feature
is actually supported or not.

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

3 years agoDereference before null (nil) check 87/4787/1
Juha Hyttinen [Tue, 29 Sep 2020 10:05:01 +0000 (13:05 +0300)]
Dereference before null (nil) check

Change-Id: Iba704e5fcb0b9091ec35601480475021c60372b5
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoUse old rmr buf buffer in send phase if given. RTS functionality will not work withou... 73/4773/2 v0.5.3
Juha Hyttinen [Fri, 25 Sep 2020 09:19:21 +0000 (12:19 +0300)]
Use old rmr buf buffer in send phase if given. RTS functionality will not work without it.

Change-Id: I36c9ede95d554eafbb0e491134ea8e0613645a78
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoMerge "xapp-frame to catch SIGINT and SIGTERM signals for proper shutdown handling." v0.5.2
Juha Hyttinen [Wed, 16 Sep 2020 09:33:08 +0000 (09:33 +0000)]
Merge "xapp-frame to catch SIGINT and SIGTERM signals for proper shutdown handling."

3 years agoxapp-frame to catch SIGINT and SIGTERM signals for proper shutdown handling. 06/4706/2
Juha Hyttinen [Wed, 16 Sep 2020 07:37:28 +0000 (10:37 +0300)]
xapp-frame to catch SIGINT and SIGTERM signals for proper shutdown handling.

Change-Id: I81c985e68b95e96fdf02885c57336094951d6291
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoSupport for SDL config update via REST i/f 03/4703/1 v0.5.1
Mohamed Abukar [Tue, 15 Sep 2020 06:40:07 +0000 (09:40 +0300)]
Support for SDL config update via REST i/f

Change-Id: Ib214b97c4875967c77f48c5a1f92b9a1ae3e55fa
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoA wrapper for RNIB event subscription 58/4558/1 v0.5.0
Mohamed Abukar [Wed, 19 Aug 2020 11:23:56 +0000 (14:23 +0300)]
A wrapper for RNIB event subscription

Change-Id: I19439f8af09a5d6547275c39a8df2bbb2f4069b3
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoAdded support for PathPrefix, so swagger generated APIs can be hooked into xapp-frame... 49/4549/1 v0.4.18
Juha Hyttinen [Fri, 14 Aug 2020 08:38:06 +0000 (11:38 +0300)]
Added support for PathPrefix, so swagger generated APIs can be hooked into xapp-frame resthook.

Change-Id: I48e5218eae7b8515c271e714ec72d6df8b10b634
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoGeneral capabilities for xapps 25/4525/2 v0.4.17
Juha Hyttinen [Mon, 10 Aug 2020 05:20:22 +0000 (08:20 +0300)]
General capabilities for xapps

- rmrendpoint helper structs
- rmr SendRetry to retry sending for given time (seconds).
  Tries every 500ms until given timeout is reached or message was successfully sent
- few String() functions

Change-Id: I6bb163d85bb35a5375cd0b053d8968ebb0042bc3
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoBronze release 56/4156/1 bronze
Juha Hyttinen [Wed, 17 Jun 2020 09:30:59 +0000 (12:30 +0300)]
Bronze release

Change-Id: Ic48a0a9525669fe76e748036c1f735211a8d6c35
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoCapability to add rmr message name-id mapping via configuration 89/3989/1 v0.4.16
Juha Hyttinen [Thu, 4 Jun 2020 07:06:32 +0000 (10:06 +0300)]
Capability to add rmr message name-id mapping via configuration

Change-Id: If765b1710a90db16145d8e98e8564c135a837209
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoAdd RIC_HEALTH_CHECK message types 75/3975/2 v0.4.15
Juha Hyttinen [Wed, 3 Jun 2020 15:50:29 +0000 (18:50 +0300)]
Add RIC_HEALTH_CHECK message types

Issue-ID: RIC-441

Change-Id: I6656dfc05d5022cb351295ab0b0e5b0bb118f040
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoNew message types for TS 44/3944/3 v0.4.14
Juha Hyttinen [Tue, 2 Jun 2020 04:56:12 +0000 (07:56 +0300)]
New message types for TS

Change-Id: I6b21f96ed18ed4f7a783e51c2d77dc76285e2492
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoMerge "DCAPTERM messagetypes" v0.4.13
Juha Hyttinen [Fri, 29 May 2020 07:18:10 +0000 (07:18 +0000)]
Merge "DCAPTERM messagetypes"

3 years agoDCAPTERM messagetypes 00/3900/3
Juha Hyttinen [Fri, 29 May 2020 06:48:39 +0000 (09:48 +0300)]
DCAPTERM messagetypes

Change-Id: Ib0b07affc01a8d255f046151bc1a82429ebece30
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoC rmr context is now protected. Stabilizes rmr usage with multithreads 63/3863/5 v0.4.12
Juha Hyttinen [Wed, 27 May 2020 06:21:08 +0000 (09:21 +0300)]
C rmr context is now protected. Stabilizes rmr usage with multithreads
Logger "wrapper" checks log level before continuing, saves few cycles
Multiple worker support removed. Application can do this

Change-Id: I8771e5a93a9ea8175e1e6ab7559c12b3569e04dd
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoRNIB version upgrade 00/3700/2 v0.4.11
Mohamed Abukar [Thu, 14 May 2020 15:33:54 +0000 (18:33 +0300)]
RNIB version upgrade

Change-Id: If3c771e7c459237b92e8a3769b7a22f3edab03a7
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoadded new message type for dcaptermxapp to adxapp rtpm data communication 96/3696/1 v0.4.10
rangajal [Thu, 14 May 2020 10:34:24 +0000 (10:34 +0000)]
added new message type for dcaptermxapp to adxapp rtpm data communication

Change-Id: I5e98a5cf90377344e85c91d677a3001957868042
Signed-off-by: rangajal <ranjit.angajala@nokia.com>
3 years ago========= 39/3639/4
Juha Hyttinen [Fri, 8 May 2020 09:17:05 +0000 (12:17 +0300)]
=========
Added support for name prefix when creating group from vector

Example:
vect:=RegisterCounterVecGroup(
[]CounterOpts{{Name: "counter", Help: "counter"},},
[]string{"name", "event"},
"SUBSSYSTEM")

grp1:=GetCounterGroupFromVectsWithPrefix("event1_", []string{"name1", "event1"}, vect)
grp2:=GetCounterGroupFromVectsWithPrefix("event2_", []string{"name1", "event2"}, vect)
grp:=CombineCounterGroups(grp1,grp2)

grp["event1_counter"].Inc() -> increments "counter" (NAMESPACE_SUBSYSTEM_counter) with labels: "name=name1", "event=event1"
grp["event2_counter"].Inc() -> increments "counter" (NAMESPACE_SUBSYSTEM_counter) with labels: "name=name1", "event=event2"

=========
Added cache support for created metric groups

Example (uses prev example groups):

cacheid := "CACHEID"
entry := xapp.Metric.GroupCacheGet(cacheid)
if entry == nil {
xapp.Metric.GroupCacheAddCounters(cacheid, grp1)
xapp.Metric.GroupCacheAddCounters(cacheid, grp2)
entry = xapp.Metric.GroupCacheGet(cacheid)
}
entry.Counters["event1_counter"].Inc() -> increments "counter" (NAMESPACE_SUBSYSTEM_counter) with labels: "name=name1", "event=event1"
entry.Counters["event2_counter"].Inc() -> increments "counter" (NAMESPACE_SUBSYSTEM_counter) with labels: "name=name1", "event=event2"

Change-Id: Ic9b827d1dbf32a344302d7974457edf9411d2b78
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
3 years agoSupport to prometheus CounterVec and GaugeVec. 12/3612/3
Juha Hyttinen [Thu, 7 May 2020 09:42:26 +0000 (12:42 +0300)]
Support to prometheus CounterVec and GaugeVec.

Change-Id: I053340aa148ab10499dfab7ec4f83aa94a811e31
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
4 years agoPreserve the message order 07/3507/2 v0.4.9
Mohamed Abukar [Tue, 28 Apr 2020 14:11:33 +0000 (17:11 +0300)]
Preserve the message order

Change-Id: I12c3034f4fceb869bba24c5c38546bcca087445d
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoInitiate rmr_mbuf_t with payload len when sending message. 74/3274/1 v0.4.8
Juha Hyttinen [Wed, 15 Apr 2020 10:45:51 +0000 (13:45 +0300)]
Initiate rmr_mbuf_t with payload len when sending message.

Change-Id: Ifce378ba5603f534ae1428f32c93dc24d95ea0c9
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
4 years agoDefer alarm sysrem init 36/3236/3 v0.4.7
Mohamed Abukar [Thu, 9 Apr 2020 19:08:19 +0000 (22:08 +0300)]
Defer alarm sysrem init

Change-Id: I4c9f03fafb989aea5f6ff56a21fbf92decea545f
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoAdd example of E2 subscription via REST + alarm raising 70/3170/3
Mohamed Abukar [Mon, 6 Apr 2020 18:15:45 +0000 (21:15 +0300)]
Add example of E2 subscription via REST + alarm raising

Change-Id: Ie9c9c29e62b166f2755dbec6ab0c1ff348485fed
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoSupport for subscription callback 06/3106/4 v0.4.6
Mohamed Abukar [Thu, 2 Apr 2020 07:08:14 +0000 (10:08 +0300)]
Support for subscription callback

Change-Id: If35eb7b2ee3e4841dfdcb9345172aa337afaf140
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoMerge "API update" v0.4.5
Abukar Mohamed [Mon, 23 Mar 2020 16:12:25 +0000 (16:12 +0000)]
Merge "API update"

4 years agoAPI update 20/2920/1
Mohamed Abukar [Mon, 23 Mar 2020 06:55:05 +0000 (08:55 +0200)]
API update

Change-Id: I1ad0d7202227b01ff14d8433f27bead15d8c5a99
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoUpdate for RMR version and E2 setup related message types 11/2911/1 v0.4.4
wahidw [Mon, 23 Mar 2020 04:26:45 +0000 (04:26 +0000)]
Update for RMR version and E2 setup related message types

Change-Id: I6405c3216a8288a3f4392ed4303e5d76be7a1130
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
4 years agoNew API version with additional structures and params 84/2584/5 v0.4.3
Mohamed Abukar [Wed, 26 Feb 2020 14:46:34 +0000 (16:46 +0200)]
New API version with additional structures and params

Change-Id: I02855719e75a9f8d9a0f56e762e56bdc143803ce
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoAdded wormhole call API's -2 75/2875/2 v0.4.2
wahidw [Thu, 19 Mar 2020 14:49:41 +0000 (14:49 +0000)]
Added wormhole call API's -2

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