ric-app/mc.git
4 years agoUpdate path to xapp descriptor. Add schema parser library 74/3174/1 1.0.3
vlad shkapenyuk [Mon, 6 Apr 2020 20:11:36 +0000 (16:11 -0400)]
Update path to xapp descriptor. Add schema parser library

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: Ib50173353d90ef59d0c7dc0a09321e23c681ca9c

4 years agoReference the updated listener image on img build 71/3171/1
E. Scott Daniels [Mon, 6 Apr 2020 18:30:48 +0000 (14:30 -0400)]
Reference the updated listener image on img build

This change updates the referenced mc-listener image to 1.4.0
during the image build process.  The 1.4.0 image includes
the health check support programme supplied by RMR.

Issue-ID: RIC-311

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

4 years agoRelease commit for 1.4.0 69/3169/1
E. Scott Daniels [Mon, 6 Apr 2020 17:45:59 +0000 (13:45 -0400)]
Release commit for 1.4.0

This change pushes the release of the listener images into
the release area of the repository

Issue-ID: RIC-311

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

4 years agoEnsure RMR based health chk is in the lister image 44/3144/1 1.4.0 1.5.0
E. Scott Daniels [Fri, 3 Apr 2020 21:06:41 +0000 (17:06 -0400)]
Ensure RMR based health chk is in the lister image

This change causes the RMR runtime package to be installed into the
listener container to ensure that the health check binary is
installed.

A subsequent change will need to be made to the mc-core docker
container to reference this new image (1.4.0)

Issue-ID: RIC-311

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

4 years agoUpdate release information for mc-core 52/2952/1
vlad shkapenyuk [Tue, 24 Mar 2020 16:51:28 +0000 (12:51 -0400)]
Update release information for mc-core

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: I652d53d4a79d7455aa32c01439cbaae023cdd3b1

4 years agoFix DBAAS configuration and increment mc-core container tag 49/2949/1 1.0.2
vlad shkapenyuk [Tue, 24 Mar 2020 15:46:38 +0000 (11:46 -0400)]
Fix DBAAS configuration and increment  mc-core container tag

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: Ibf76a5db12fa4909543db9dd57e35346fb1aa4ac

4 years agoUpdate release information for mc-listener 32/2932/3
vlad shkapenyuk [Mon, 23 Mar 2020 21:01:11 +0000 (17:01 -0400)]
Update release information for mc-listener

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: Ib092c29f851e3e5b42ecc30e67a42216048ce302

4 years agoIncrementing mc-listener container tag 31/2931/1 1.3.3
vlad shkapenyuk [Mon, 23 Mar 2020 20:26:13 +0000 (16:26 -0400)]
Incrementing mc-listener container tag

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: Ia58ad920da9a367fc799a8b4c8621a5d28eafd25

4 years agoAdd health check to the MC-listener application 39/2739/2
E. Scott Daniels [Tue, 10 Mar 2020 19:35:03 +0000 (15:35 -0400)]
Add health check to the MC-listener application

This change adds the ability of the mc-listener applicaiton to
respond to an RMR health check message.

Issue-ID: RICAPP-25

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

4 years agoAdding MC-NIB support 49/2549/2
vlad shkapenyuk [Fri, 21 Feb 2020 00:34:50 +0000 (19:34 -0500)]
Adding MC-NIB support

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: Iedee46f11b7995f2c04abd5e077238184af9c7ee

4 years agoBundle the listener into the core image 21/2521/2
E. Scott Daniels [Fri, 14 Feb 2020 19:27:08 +0000 (14:27 -0500)]
Bundle the listener into the core image

This change causes the mc_listener application to be included
in the core MC image.  This is accomplished by basing the
final image on the listener container and by adding a "container
start" script which will start the "sidecars" (listener in this
case) and finally starts the core application.

The container version has been bumped to 2.0.

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

4 years agoChanging MC to use Amber release of gs-lite 14/2514/3
vlad shkapenyuk [Thu, 13 Feb 2020 19:20:16 +0000 (14:20 -0500)]
Changing MC to use Amber release of gs-lite

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: I40f0709022b575d74e878e9cbd82e60bcc583ee1

4 years agoAdd support to build RMR/SI95 based binaries 10/2510/1
E. Scott Daniels [Thu, 13 Feb 2020 16:06:41 +0000 (11:06 -0500)]
Add support to build RMR/SI95 based binaries

With the impending RMR switch to SI95 this change will build
both the old NNG and new SI95 based binaries for the listener
and test applications.

Container version bump to 1.3.2.

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

4 years agoMerge "Add full unit tests for listener"
Vlad Shkapenyuk [Wed, 11 Dec 2019 17:57:07 +0000 (17:57 +0000)]
Merge "Add full unit tests for listener"

4 years agoAdd full unit tests for listener 91/1991/4
E. Scott Daniels [Tue, 10 Dec 2019 22:06:25 +0000 (17:06 -0500)]
Add full unit tests for listener

This change adds unit tests for the two listener library
modules, and the scripts to allow these tests to be driven
during the image build as a verification. In addition the
coverage stats for the tests are reported.

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

4 years agoAdd release yaml file for listener image 90/1790/1 Amber
vlad shkapenyuk [Tue, 26 Nov 2019 18:59:29 +0000 (13:59 -0500)]
Add release yaml file for listener image

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: If701be68a824a615126aa2c9afeb73a5a40bc9b8

4 years agoAdd container release file 55/1755/2
vlad shkapenyuk [Sat, 23 Nov 2019 00:27:03 +0000 (19:27 -0500)]
Add container release file

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: I712e998ff42f8074a175ab83de3ef425245a0425

4 years agoAdd release notes to documentation 70/1770/2
vlad shkapenyuk [Mon, 25 Nov 2019 20:09:06 +0000 (15:09 -0500)]
Add release notes to documentation

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: Ie51f3bb0129902766a9da2be5d121372c65e4208

4 years agoEdit mc-core readme file 54/1754/1 1.0.1 1.3.1
vlad shkapenyuk [Fri, 22 Nov 2019 22:35:40 +0000 (17:35 -0500)]
Edit mc-core readme file

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: I7b2ff1a9a6cff84860cb24898947d8c27e2bd87d

4 years agoFix interpreter reference in run script 27/1727/1
E. Scott Daniels [Thu, 21 Nov 2019 18:38:15 +0000 (13:38 -0500)]
Fix interpreter reference in run script

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

4 years agoAdd FIFO pre-create to the replay startup script 21/1721/2
E. Scott Daniels [Thu, 21 Nov 2019 14:56:09 +0000 (09:56 -0500)]
Add FIFO pre-create to the replay startup script

The replay run script now provides the ability to pre-create
the FIFOs either with an explicit list, or by reading the
input file to suss out the message types it contains.

The run script also provides a way to gate and/or delay
the start of the replay binary in order to allow for better
synchronisation with a FIFO reading process.

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

4 years agoAdd a replay tool to the image 01/1701/2
E. Scott Daniels [Wed, 20 Nov 2019 16:58:46 +0000 (11:58 -0500)]
Add a replay tool to the image

The rdc_replay tool has been added to the image. This tool
allows the raw data capture (rdc) files generated by the
mc_listener application to be "replayed" into the FIFOs that
the core application is reading from.

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

4 years agoCleanup old CI directory, add notes 43/1643/1
E. Scott Daniels [Mon, 18 Nov 2019 13:46:03 +0000 (08:46 -0500)]
Cleanup old CI directory, add notes

The changes made to move the CI/CD related files from a common
ci directory at the top level eliminate the need for that ci
directory at the repo root.  The files in the directory have been
removed (subsequent clones should not create the directory).

Additionally, a NOTES file has been added at the repo root
for miscellaneous notes. Currently some information about
the CI files maintained in the subdirectories is all it
contains.

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

4 years agoMerge "Remove environment setup from listener dockerfile"
Vlad Shkapenyuk [Thu, 14 Nov 2019 16:32:16 +0000 (16:32 +0000)]
Merge "Remove environment setup from listener dockerfile"

4 years agoAdded overview file to documentation 75/1575/2
vlad shkapenyuk [Wed, 13 Nov 2019 21:45:08 +0000 (16:45 -0500)]
Added overview file to documentation

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: I02100a096d8254bc37e353d7160688a3a05dfb16

4 years agoRemove environment setup from listener dockerfile 99/1599/1
E. Scott Daniels [Thu, 14 Nov 2019 14:35:10 +0000 (09:35 -0500)]
Remove environment setup from listener dockerfile

The dockerfile for the lisener image now uses a project
image which includes the necessary NNG and RMR libraries
and thus does not need to build them.  The invocation of
the build script to create these libraries was not remvoed
from the docker file when the project image was added.

This change removes the copy and execution of the script
from the dockerfile.

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

4 years agoFix docker files 73/1573/1
E. Scott Daniels [Wed, 13 Nov 2019 19:56:12 +0000 (14:56 -0500)]
Fix docker files

The mc-core docker file wasn't referencing a valid image to use
as base, and the listener docker file needed to reference a
legitmate RIC image and pull RMR rather than building NNG and
RMR.

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

4 years agoMerge "Slight realignment of CI files"
Vlad Shkapenyuk [Wed, 13 Nov 2019 16:09:42 +0000 (16:09 +0000)]
Merge "Slight realignment of CI files"

4 years agoMerge "Change project to ric-app-mc"
Vlad Shkapenyuk [Wed, 13 Nov 2019 15:56:08 +0000 (15:56 +0000)]
Merge "Change project to ric-app-mc"

4 years agoSlight realignment of CI files 66/1566/1
E. Scott Daniels [Wed, 13 Nov 2019 14:11:32 +0000 (09:11 -0500)]
Slight realignment of CI files

To better work with the CI environment, the Dockerfiles and the
container-tag.yaml files will now need to live in the top of
each source directory (e.g. mc-core and sidecars/listener). This
change adds the correct Dockerfile for the listener, and the
tag file for both (the Dockerfile in mc-core was already there
and correct).

The following this change the contents of the ci directory are
likely uneeded, and a separte change will be introduced to
remove any/all which are not necessary.

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

4 years agoAdd CI to build both images 10/1510/1
E. Scott Daniels [Tue, 12 Nov 2019 14:20:52 +0000 (09:20 -0500)]
Add CI to build both images

This change adds the needed directory structure and config
files under the ci directory to build both the mc-core and
the mc_listener images.  Changes are needed in the ci
management repo to "activate" these, so this is part 1
which sets the stage for the multi-image build.

Also added a brief README at the top level.

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

Make core directory name under ci consistent with root source dir

Change-Id: I797c0f6373dd12669a032e619a64dafc1322a401

Add correct tag for mc-core

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

Add top level readme

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

4 years agoChange project to ric-app-mc 09/1509/1
Aric Gardner [Tue, 12 Nov 2019 15:18:42 +0000 (10:18 -0500)]
Change project to ric-app-mc

Remove intersphinx_mapping as it is not used.
add anchor to main index file.

Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I127d72ebec4236be78e50169d97139ba08b102ad

4 years agoDocumentation formatting changes 84/1484/1
vlad shkapenyuk [Mon, 11 Nov 2019 22:53:36 +0000 (17:53 -0500)]
Documentation formatting changes

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: I9371cecf210533fa544bd34e50adb98235682c33

4 years agoFix missing newline in documentation 83/1483/1
vlad shkapenyuk [Mon, 11 Nov 2019 22:21:14 +0000 (17:21 -0500)]
Fix missing newline in documentation

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: I209fd19520e3dadefbce4e8ae981b38b9343e7ae

4 years agoAdding additional KPIs, adding required documentation 78/1478/1
vlad shkapenyuk [Mon, 11 Nov 2019 20:29:31 +0000 (15:29 -0500)]
Adding additional KPIs, adding required documentation

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: If4cc7a0bd64a4509ab70908f1094bdee77c1f57d

4 years agoInitial commit of mc-core part of mc xApp codebase 64/1264/1
vlad shkapenyuk [Tue, 29 Oct 2019 14:45:09 +0000 (10:45 -0400)]
Initial commit of mc-core part of mc xApp codebase

Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: I530783380cff875603a59778a8acd24ffc6ce74b

4 years agoReorganise the sidecars 63/1263/2
E. Scott Daniels [Tue, 29 Oct 2019 13:05:21 +0000 (09:05 -0400)]
Reorganise the sidecars

The sidecar directory formally under src/ is moved to the top level.
The docker file originally at the top level is moved to the listener
directory in the new sidecar directory as it only builds an image
for running the listener.

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

4 years agoAdd ability to capture raw messages 92/1092/3
E. Scott Daniels [Mon, 7 Oct 2019 19:39:59 +0000 (15:39 -0400)]
Add ability to capture raw messages

The listener will now capture raw messages and write them to
files which we assume a collection agent will gather and
send away to be saved.

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

Add copy to support xdev directories

If the rename of a raw capture file fails with because
src and target are not on the same filesystem, then we
will copy the file.

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

4 years agoInvert the meaning of the -e flag for listener 87/1087/3
E. Scott Daniels [Mon, 7 Oct 2019 20:47:33 +0000 (16:47 -0400)]
Invert the meaning of the -e flag for listener

The -e flog for the listener now disables the extended
header; the extended header will be on by default.

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

4 years agoInitial repo population 68/1068/2
E. Scott Daniels [Fri, 4 Oct 2019 13:07:42 +0000 (09:07 -0400)]
Initial repo population

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

5 years agoInitial empty repository
Andrew Grimberg [Tue, 14 May 2019 17:56:23 +0000 (17:56 +0000)]
Initial empty repository