ric-app/mc.git
3 days agoFix: update the correct pre-built script to cmake-sonar.sh 95/12795/1 master
Jessica Wagantall [Tue, 30 Apr 2024 00:12:57 +0000 (17:12 -0700)]
Fix: update the correct pre-built script to cmake-sonar.sh

Change-Id: Idf02ce2c4216fb9def1ef5277c8e5f875549f92b
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
10 days agoCI: Add silent cmake SonarCloud scan 31/12731/4
Jessica Wagantall [Fri, 12 Apr 2024 18:28:21 +0000 (11:28 -0700)]
CI: Add silent cmake SonarCloud scan

Change-Id: Id0ff4ec123b2d7a659e856055f7c950e7142b235
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2 years agoAdd INFO.yaml file 14/6714/1 e-release
vlad shkapenyuk [Fri, 17 Sep 2021 19:54:57 +0000 (15:54 -0400)]
Add INFO.yaml file

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

2 years agoPushing mc into release 82/6482/1 dawn
vlad shkapenyuk [Wed, 7 Jul 2021 15:00:13 +0000 (11:00 -0400)]
Pushing mc into release

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

2 years agoRefresh documentation for Dawn release 30/6430/1 1.0.11
vlad shkapenyuk [Thu, 24 Jun 2021 18:53:29 +0000 (14:53 -0400)]
Refresh documentation for Dawn release

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

2 years agoFix SONAR warnings. Update RMR version and MC listener version 82/6382/1
vlad shkapenyuk [Tue, 22 Jun 2021 19:56:20 +0000 (15:56 -0400)]
Fix SONAR warnings. Update RMR version and MC listener version

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

2 years agoIncrement container tag for release 18/6118/1
vlad shkapenyuk [Fri, 21 May 2021 20:18:17 +0000 (16:18 -0400)]
Increment container tag for release

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

2 years agoBump RMR version to v4.7.4 17/6117/2 1.12.0
vlad shkapenyuk [Fri, 21 May 2021 18:43:26 +0000 (14:43 -0400)]
Bump RMR version to v4.7.4

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

2 years agoCorrect memory leak in listener test programme 64/6064/1
E. Scott Daniels [Tue, 11 May 2021 15:46:24 +0000 (11:46 -0400)]
Correct memory leak in listener test programme

This change corrects a potential memory leak that Sonar has identified.
The bug is not significant, and this change should not cause a release
of even a patch update.

Issue-ID: RIC-786

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

3 years agoPush listener image into prod repo 55/5855/1
E. Scott Daniels [Fri, 2 Apr 2021 20:07:17 +0000 (16:07 -0400)]
Push listener image into prod repo

Issue-Id: RIC-776

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

3 years agoUpdate RMR version in listener image 53/5853/3 1.11.0
E. Scott Daniels [Fri, 2 Apr 2021 13:35:37 +0000 (09:35 -0400)]
Update RMR version in listener image

The RMR version was bumpped to 4.7.0 in the listener image in order
to allow the listener to stash the latest route table received
from routing manager.  The start script was changed to set the
new RMR variable that points to the location of the stashed table.

Issue-ID: RIC-776

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Ic78114fe44c55634e10cf632107b94af2a3591b2
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
3 years agoRelease 1.10.1 from staging 93/5793/1
E. Scott Daniels [Wed, 24 Mar 2021 19:24:24 +0000 (15:24 -0400)]
Release 1.10.1 from staging

Issue-ID: RIC-768

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

3 years agoDowngrade RMR version in the listener 92/5792/1 1.10.1
E. Scott Daniels [Wed, 24 Mar 2021 18:58:29 +0000 (14:58 -0400)]
Downgrade RMR version in the listener

RMR version was pushed to 4.6.0 with the 1.10.0 container, but
it should not have been touched.

Issue-ID: RIC-768

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

3 years agoRelease image in nexus from staging 90/5790/1
E. Scott Daniels [Tue, 23 Mar 2021 18:04:40 +0000 (14:04 -0400)]
Release image in nexus from staging

Issue-ID: RIC-6768

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

3 years agoCorrect bug in listener not detecting eagain/eintr correctly 89/5789/2 1.10.0
E. Scott Daniels [Tue, 23 Mar 2021 16:40:55 +0000 (12:40 -0400)]
Correct bug in listener not detecting eagain/eintr correctly

It was possible for the listener to write a partial payload into
the pipe and completely bugger the reader with an out of synch
state. This change adds the necessary code for the listener to
properly handle an interrupted write operation while still
detecting a 'no reader' sate on a pipe.

Issue-ID: RIC-6768

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Ifc108981cb654c78e91f04e9055e8b4b6cb01052
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
3 years agoRelease the listener image from staging 79/5679/1
E. Scott Daniels [Fri, 19 Feb 2021 14:40:04 +0000 (09:40 -0500)]
Release the listener image from staging

This change triggers the CI job to move the latest listener image
from staging to release.

Issue-ID: RIC-751

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

3 years agoBump RMR version in the listener container 78/5678/1 1.9.0
E. Scott Daniels [Fri, 19 Feb 2021 14:07:46 +0000 (09:07 -0500)]
Bump RMR version in the listener container

There are two important bug fixes in RMR and thus the version of RMR
used in the listener container is being bumped to 4.5.2.

Issue-ID: RIC-751

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

3 years agoAdd new xapp manager interface 67/5567/2
E. Scott Daniels [Mon, 1 Feb 2021 16:51:19 +0000 (11:51 -0500)]
Add new xapp manager interface

The new interface for xAPP manager requires that the xAPP send
a "regestration" when the application/container starts, and an
unregister when shutting down.  This change adds a new "xam"
(xappManager) script which is invoked by the container start
script to do this.  There are also a couple of other utilities
which make bundling the confi data for the curl call easier.

Issue-ID: RIC-739

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I5eb4173e6bce7e7aca39d7afac36a9fc949d9a47
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
3 years agoRelease the image to production 1.8.0 18/5418/1
E. Scott Daniels [Wed, 13 Jan 2021 18:11:41 +0000 (13:11 -0500)]
Release the image to production 1.8.0

Issue-ID: RIC-733

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

3 years agoSet the correct container tag 17/5417/1 1.8.0
E. Scott Daniels [Wed, 13 Jan 2021 17:30:08 +0000 (12:30 -0500)]
Set the correct container tag

Issue-ID: RIC-733

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

3 years agoBump RMR version in listener container 12/5412/2
E. Scott Daniels [Wed, 13 Jan 2021 12:06:43 +0000 (07:06 -0500)]
Bump RMR version in listener container

Issue-ID: RIC-733

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I634eb0ad4591f9d44fb28a016180406847eeafa5
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
3 years agoUpdate release information for core MC 78/5278/1 cherry
vlad shkapenyuk [Tue, 8 Dec 2020 15:17:10 +0000 (10:17 -0500)]
Update release information for core MC

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

3 years agoUpdate MC to use RMR 4.4.6 60/5260/1 1.0.9
vlad shkapenyuk [Mon, 7 Dec 2020 23:15:45 +0000 (18:15 -0500)]
Update MC to use RMR 4.4.6

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

3 years agoPush listener image 1.7.0 to release 59/5259/1
E. Scott Daniels [Mon, 7 Dec 2020 21:02:06 +0000 (16:02 -0500)]
Push listener image 1.7.0 to release

This pushes the image 1.7.0 to release.  The only change to the image
is to pull in the latest RMR version (4.4.6)

Issue-ID: RIC-721

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

3 years agoSet listener RMR repo reference to release 58/5258/1 1.7.0
E. Scott Daniels [Sat, 5 Dec 2020 04:39:40 +0000 (23:39 -0500)]
Set listener RMR repo reference to release

The RMR package is now on the release repo at codecloud.

Issue-ID: RIC-721

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

3 years agoBump the RMR version in the listener container to 4.4.6 54/5254/1
E. Scott Daniels [Fri, 4 Dec 2020 23:26:34 +0000 (18:26 -0500)]
Bump the RMR version in the listener container to 4.4.6

The RMR version pulled and used in the listener container is now
4.4.6.   The listener container tag has also been bumped to
1.7.0.

Issue-ID: RIC-721

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

3 years agoAdd publish script to lister test set 64/4664/2
E. Scott Daniels [Thu, 3 Sep 2020 14:43:12 +0000 (10:43 -0400)]
Add publish script to lister test set

The coverage files need to have complete paths (relative to the
repo root) in order for Sonar to match them with the analysis information
that it captured during build. This change adds a publish script to
the listener test scripts that will push the coverage files into
the reports directory and will fix up the internal source module name
for Sonar to match.

Issue-ID: RIC-632

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

3 years agoTweak unit tests to save coverage in common dir 61/4661/1
E. Scott Daniels [Wed, 2 Sep 2020 20:02:30 +0000 (16:02 -0400)]
Tweak unit tests to save coverage in common dir

The CI changes now define a common directory for coverage files. This
change causes the listener unit tests to move the gcov files to this
directory.  Some minor sonar prompted cleanup to listener code also
done.

Issue-ID: RIC-632

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

3 years agoAddress sonar complaints about the listener 59/4659/1
E. Scott Daniels [Wed, 2 Sep 2020 17:09:54 +0000 (13:09 -0400)]
Address sonar complaints about the listener

This change addresses the bugs flagged by sonar and adds coverage
testing for the mc_listener and other helper applications.

Issue-ID: RIC-632

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

3 years agoForce build of listener in unit test 57/4657/1
E. Scott Daniels [Tue, 1 Sep 2020 12:45:45 +0000 (08:45 -0400)]
Force build of listener in unit test

The jenkins wrapper script that drives unit test for sonar needs
to "see" a build in the source directory in order to actually
trigger the scan.  This change ensures this happens in the unit
test script which is driven by the jenkins jobs (via CMake
created build).

Issue-ID: RIC-632

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

3 years agoMove listener src into subdir for easier testing 50/4650/1
E. Scott Daniels [Mon, 31 Aug 2020 13:06:08 +0000 (09:06 -0400)]
Move listener src into subdir for easier testing

Sonar inclusion/exclusion in the LF environment seems problematic
at best. This change moves the Listener source into a subdir (src)
in hopes that exclusion of the test code from analysis and coverage
reporting can be more easily managed.

Issue-ID: RIC-632

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

3 years agoFix CMake to reference unit test in correct dir 04/4604/1
E. Scott Daniels [Tue, 25 Aug 2020 17:08:19 +0000 (13:08 -0400)]
Fix CMake to reference unit test in correct dir

The unit test work directory was incorrect in the CMake file.

Issue-ID: RIC-632

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

3 years agoCleanup listener based on sonar grumblings 96/4596/3
E. Scott Daniels [Mon, 24 Aug 2020 18:29:04 +0000 (14:29 -0400)]
Cleanup listener based on sonar grumblings

This change attempts to address the bugs and smells in the listener.
A fair few of the "bugs" were unit test coverage related (passing a
nil pointer) and to avoid those the test code was moved into a new
test directory, but it might need to be overtly excluded inthe
CI setup.  The other bugs were addressed.

Issue-ID: RIC-632

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

3 years agoAugment listener unit test to force in RMR package 95/4595/1
E. Scott Daniels [Mon, 24 Aug 2020 15:07:28 +0000 (11:07 -0400)]
Augment listener unit test to force in RMR package

Some CI environment seeem unable to be coaxed into pre-loading
RMR which the listener unit test needs.  If the RMR dev things
aren't found in /usr/local/*  then the script will pull the
neeed libraries (using the rmr-version.yaml as we expect the
CI jobs to do) from package cloud.  The packages will be unpacked
int /tmp/ut_pkg which does NOT require root.

Issue-ID: RIC-632

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

3 years agoForce CI jobs to install RMR 88/4588/1
E. Scott Daniels [Thu, 20 Aug 2020 15:37:31 +0000 (11:37 -0400)]
Force CI jobs to install RMR

The RMR version file is added to force the CI vetting jobs to
pull and install the RMR packages.

Issue-ID: RIC-632

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

3 years agoTweak unit test script to ensure LD paths are set 87/4587/1
E. Scott Daniels [Thu, 20 Aug 2020 14:44:38 +0000 (10:44 -0400)]
Tweak unit test script to ensure LD paths are set

The LD_LIBRARY family of environment variables are not set in some
of the CI build/test environments.  This change ensures they are
set to include /usr/local/* things in order to pick up RMR.

Issue-ID: RIC-632

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

3 years agoCorrect unit test invocation in cmake file 60/4560/1
E. Scott Daniels [Wed, 19 Aug 2020 18:59:38 +0000 (14:59 -0400)]
Correct unit test invocation in cmake file

The CMake invocation of the unit test was attempting to use Ksh
which isn't installed in the  container. Switched it to bash.

Issue-ID: RIC-632

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

3 years agoAdd CMake to drive unit tests in sidecars 28/4528/3
E. Scott Daniels [Mon, 10 Aug 2020 16:21:20 +0000 (12:21 -0400)]
Add CMake to drive unit tests in sidecars

In order to support sonar vetting, the unit tests must be driven by
CMake with a CMake file at the repo root. This change adds a CMake
file at the top level which will initially drive the unit tests
in the sidecars. This can be extended to include the core application.

Issue-ID: RIC-632

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

3 years agoRemove disabled queries from output_spec.cfg 29/4529/1
vlad shkapenyuk [Mon, 10 Aug 2020 21:14:03 +0000 (17:14 -0400)]
Remove disabled queries from output_spec.cfg

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

3 years agoUpdate documentation to reflect the latest set of KPIs 56/3956/1 bronze
vlad shkapenyuk [Tue, 2 Jun 2020 17:44:28 +0000 (13:44 -0400)]
Update documentation to reflect the latest set of KPIs

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

3 years agoRefresh set of NR KPIs 23/3923/2
vlad shkapenyuk [Fri, 29 May 2020 21:26:25 +0000 (17:26 -0400)]
Refresh set of NR KPIs

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

3 years agoBump up mc-core image release tag 18/3918/1
vlad shkapenyuk [Fri, 29 May 2020 18:12:21 +0000 (14:12 -0400)]
Bump up mc-core image release tag

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

3 years agoUpdating a set of supported NR metrics 17/3917/1 1.0.8
vlad shkapenyuk [Fri, 29 May 2020 16:35:05 +0000 (12:35 -0400)]
Updating a set of supported NR metrics

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

3 years agoBump up mc-core image release tag 62/3762/1
vlad shkapenyuk [Tue, 19 May 2020 21:47:35 +0000 (17:47 -0400)]
Bump up mc-core image release tag

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

3 years agoBump up mc-core container tag number 59/3759/1 1.0.7
vlad shkapenyuk [Tue, 19 May 2020 21:05:35 +0000 (17:05 -0400)]
Bump up mc-core container tag number

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

3 years agoMake mc-core use the latest mc-listener image 57/3757/2
vlad shkapenyuk [Tue, 19 May 2020 19:09:47 +0000 (15:09 -0400)]
Make mc-core use the latest mc-listener image

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

3 years agoBump up listener image release tag 54/3754/1
vlad shkapenyuk [Tue, 19 May 2020 18:39:09 +0000 (14:39 -0400)]
Bump up listener image release tag

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

3 years agoChange RMR version to 4.0.5, start listener in background mode at container startup 52/3752/9 1.6.0
vlad shkapenyuk [Tue, 19 May 2020 15:10:52 +0000 (11:10 -0400)]
Change RMR version to 4.0.5, start listener in background mode at container startup

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

3 years agoIncrement the release tag version number 40/3740/1
vlad shkapenyuk [Mon, 18 May 2020 20:07:25 +0000 (16:07 -0400)]
Increment the release tag version number

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

3 years agoEnsure fifo directory is created at startup 36/3736/1 1.0.6
vlad shkapenyuk [Mon, 18 May 2020 18:44:35 +0000 (14:44 -0400)]
Ensure fifo directory is created at startup

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

3 years agoUpdate release information for mc-core 73/3573/1
vlad shkapenyuk [Mon, 4 May 2020 14:19:08 +0000 (10:19 -0400)]
Update release information for mc-core

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

4 years agoSupport for additional NR metrics 57/3557/3 1.0.5
vlad shkapenyuk [Fri, 1 May 2020 21:36:08 +0000 (17:36 -0400)]
Support for additional NR metrics

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

4 years agoUpdate release information for mc-core 14/3314/1
vlad shkapenyuk [Fri, 17 Apr 2020 17:18:45 +0000 (13:18 -0400)]
Update release information for mc-core

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

4 years agoAdded support for publishing metrics using RMR and new descriptor file format 88/3288/1 1.0.4
vlad shkapenyuk [Wed, 15 Apr 2020 23:07:44 +0000 (19:07 -0400)]
Added support for publishing metrics using RMR and new descriptor file format

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

4 years agoRelease the image for the 1.5 listener 86/3286/1
E. Scott Daniels [Wed, 15 Apr 2020 18:57:09 +0000 (14:57 -0400)]
Release the image for the 1.5 listener

Issue-ID: RIC-334

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

4 years agoUpdate the container build tag for new listener 85/3285/1
E. Scott Daniels [Wed, 15 Apr 2020 18:24:28 +0000 (14:24 -0400)]
Update the container build tag for new listener

Forgot to add the new tag for the last change

Issue-ID: RIC-334

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

4 years agoMerge "Bump RMR reference in docker file for listener"
Vlad Shkapenyuk [Wed, 15 Apr 2020 17:44:12 +0000 (17:44 +0000)]
Merge "Bump RMR reference in docker file for listener"

4 years agoBump RMR reference in docker file for listener 83/3283/3
E. Scott Daniels [Wed, 15 Apr 2020 16:07:55 +0000 (12:07 -0400)]
Bump RMR reference in docker file for listener

RMR changs are needed, so we now reference 3.7.4 of RMR.

Issue-ID: RIC334

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

4 years agoUpdate release information for mc-core 76/3176/1
vlad shkapenyuk [Mon, 6 Apr 2020 20:53:16 +0000 (16:53 -0400)]
Update release information for mc-core

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

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

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