ric-plt/xapp-frame-cpp.git
3 years agoAdd support for config file parsing and watching 87/4487/4 2.2.0
E. Scott Daniels [Wed, 29 Jul 2020 16:39:54 +0000 (12:39 -0400)]
Add support for config file parsing and watching

This change introduces the ability to load and parse
the json xapp descriptor (config) file. It also provides
the ability for the xAPP to register a callback function
which is executed when the descriptor is changed.

Issue-ID: RIC-428

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I7a1147aa8055599ef4b36ab17960e32ccb5b741f

3 years agoAdd metrics to the framework 29/4429/3 2.1.0
E. Scott Daniels [Wed, 22 Jul 2020 19:49:54 +0000 (15:49 -0400)]
Add metrics to the framework

This change adds support for a metrics class which provides
the API allowing an xAPP to easily create and send a set of
measurements to a central collector for forwarding.

Issue-ID: RIC381

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I0926b26d4862df308ab0863260805fe057785bdc

3 years agoAdd API allowing xAPPs to send alarm messages 07/4407/3 2.0.0
E. Scott Daniels [Wed, 15 Jul 2020 12:03:22 +0000 (08:03 -0400)]
Add API allowing xAPPs to send alarm messages

This change adds the ability for an xAPP to send alarms to
the alarm collector/manager via RMR messages.

This is a BREAKING change because the C++ framework classes
are all now wrapped in the xapp:: namespace.

Issue-ID: RIC-426

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I552292d57e987313ec684bd55f8780ef5fba74fe

3 years agoFix json blob selection bug 87/4387/1
E. Scott Daniels [Tue, 14 Jul 2020 17:38:27 +0000 (13:38 -0400)]
Fix json blob selection bug

The first selection of a blob in the json was ok, but all
subsequent selections failed.

Issue-ID: RIC-596

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I8e7c4b731c15bc98654a8fb9bd052d43bd10adca

3 years agoActually put the JSON doc into the user manual 63/4363/5
E. Scott Daniels [Thu, 9 Jul 2020 15:56:10 +0000 (11:56 -0400)]
Actually put the JSON doc into the user manual

The user manual include statment wasn't pulling the json section.
This change fixes that.

This change also closes some memory leaks in the json wrapper.

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I54849c67960fd945a85327a3ff308d7d7651b673

3 years agoAdd json support 79/4279/7
E. Scott Daniels [Mon, 29 Jun 2020 19:39:57 +0000 (15:39 -0400)]
Add json support

The munchkin xAPP needs lightweight json, as might other xAPPs,
so it makes sense to do the work onece and add it to the framework.

Issue-ID: RIC-420

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I20ea999ba77566d1404f0d69be0f63669943236e

3 years agoAdd const qualifier to constructor port parameter 40/4240/1 1.1.0
E. Scott Daniels [Fri, 26 Jun 2020 13:01:52 +0000 (09:01 -0400)]
Add const qualifier to constructor port parameter

The port parameter defined by constructors should have a
const qualifier in order to allow a static string to be
passed. This change adds that qualifier

Issue-ID: RIC-534

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Ib5a20825c3ff897cea31a3fbaac58b33dc7633f4

3 years agoCorrect release notes in RTD index 88/4088/1 bronze
E. Scott Daniels [Fri, 12 Jun 2020 17:47:13 +0000 (13:47 -0400)]
Correct release notes in RTD index

The title in the index was incorrect. The release notes are
now generated from the CHANGES log.

Issue-ID: RIC-148

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Id648e7e9c9c3aed4f4e0e10e127f5bdb89016b47

3 years agoRelease commit for 1.0.0 packages in packagecloud 84/4084/1
E. Scott Daniels [Fri, 12 Jun 2020 12:42:23 +0000 (08:42 -0400)]
Release commit for 1.0.0 packages in packagecloud

This commit will cause the 1.0.0. in Package Cloud to be
moved from the staging area to release.

Issue-ID: RIC-148

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I93d9c106391b0ac13160056bc2a30d72524ac98d

4 years agoBump version to 1.0.0 for upcoming release 10/3510/1 1.0.0
E. Scott Daniels [Tue, 28 Apr 2020 15:10:48 +0000 (11:10 -0400)]
Bump version to 1.0.0 for upcoming release

Version bump needed to force a rebuild of the package by the
CI jobs (change in CI to package with the standard install
prefix).

Issue-ID: RIC-148

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I2976b9224bcdd41e108eeac3fc900ab52b59927c

4 years agoConfigure ReadTheDocs build of xapp-frame-cpp 09/3409/4
Lott, Christopher (cl778h) [Wed, 22 Apr 2020 21:31:33 +0000 (17:31 -0400)]
Configure ReadTheDocs build of xapp-frame-cpp

Rename and adjust some markup in user-guide.rst to pass Sphinx verify

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I24150f0071d4cbdd2ea87f305a752442a984342a

4 years agoAdd user guide 97/3397/4
E. Scott Daniels [Wed, 22 Apr 2020 16:40:27 +0000 (12:40 -0400)]
Add user guide

This change adds the document source for the user guide as well
as the mechanics needed to allow for scraping the repo for RTD
documents.

Issue-ID: RIC-148

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Ib9d36e2f84bfb29f33cdb877abd3927b205fa991

4 years agoUnit test improvements, add example programme 34/3034/1
E. Scott Daniels [Fri, 27 Mar 2020 14:18:37 +0000 (10:18 -0400)]
Unit test improvements, add example programme

This change addresses some sonar flagged issues (move/copy
builders missing), and adds unit tests to support the
addition of those.  The code was slightly adjusted to
better support testing coverage.

The rmr_dump programme was added to the examples.

Issue-ID: RIC-148

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I9220d75fa6690feebf439cfe97dda43572f20c4e

4 years agoAdd unit tests and changes related 51/2951/10
E. Scott Daniels [Tue, 24 Mar 2020 16:28:06 +0000 (12:28 -0400)]
Add unit tests and changes related

Base unit tests have been added with the means to generate
gcov coverage information and a small amounto of coverage
data.  Some changes were made to the code to make testing
coverage better and to fix identified issues.

Most important are the unique smart ptr changes; the
framework prototypes now require them to be shared pointers
as they are not released/reallocated (e.g. message Send()).

Issue-ID: RIC-148

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Ibc593ddc8687ce6d727bf6d3e2939c02f1e0afef

4 years agoInitial source commit 78/2878/6
E. Scott Daniels [Thu, 19 Mar 2020 15:36:37 +0000 (11:36 -0400)]
Initial source commit

This change contains the initial source for the framework.
This is a work in progress, but should compile and produce
both .deb and .rpm packages (with proper system support).

Currently the support is for RMR based messaging only.

The examples are rough but provide a first cut demonstration
of the base framework.

Issue-ID: RIC-148

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I9c64aa7db20c2977a4422d7257077e2531cc67d5

4 years agoAdd basic readme and license 31/2631/1
E. Scott Daniels [Mon, 2 Mar 2020 20:15:06 +0000 (15:15 -0500)]
Add basic readme and license

This change adds a base readme and a license file.

Issue-ID: RIC-148

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Iba9e12a2e9f66290da5f9c7686e0af4d6fbf6782

4 years agoAutomation adds INFO.yaml 93/2593/3
LF Jenkins CI [Wed, 26 Feb 2020 17:31:43 +0000 (17:31 +0000)]
Automation adds INFO.yaml

Change-Id: I64883673283579f3adf9b9783e711192fa4efda3
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoAutomation adds .gitreview 92/2592/2
LF Jenkins CI [Wed, 26 Feb 2020 17:20:48 +0000 (17:20 +0000)]
Automation adds .gitreview

Change-Id: I7496ca695f5fcec2d2c12d9f18e2f5359aed6eaa
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoInitial empty repository
LF Jenkins CI [Thu, 6 Feb 2020 23:48:01 +0000 (23:48 +0000)]
Initial empty repository