ric-plt/a1.git
5 years agoFinal A1 V1.0.0 Release (but 1.1.0 to come) 79/1079/6 1.0.0
Tommy Carpenter [Mon, 7 Oct 2019 15:15:45 +0000 (11:15 -0400)]
Final A1 V1.0.0 Release (but 1.1.0 to come)

- Represents v1.0.0 of the A1 API for O-RAN-SC Release A

Change-Id: I6bd25244ad122fc290e2a2db226bcdf679ff6e46
Signed-off-by: Tommy Carpenter <tc677g@att.com>
5 years agoTowards a1 1.0.0: rmr improvements 56/1056/2
Tommy Carpenter [Wed, 2 Oct 2019 15:15:04 +0000 (11:15 -0400)]
Towards a1 1.0.0: rmr improvements

    * Upgrade rmr to 1.9.0
    * Upgrade rmr-python to 0.13.2
    * Use the new helpers module in rmr-python for the rec all functionality
    * Switch rmr mode to a multithreaded mode that continuously reads from rmr and populates an internal queue of messages with a deterministic queue size (2048) which is better behavior for A1
    * Fix a memory leak (python obj is garbage collected but not the underlying C memory allocation)

Change-Id: I0f9cf7943071d6d58aef9c8c8bd86affe9b9223a
Signed-off-by: Tommy Carpenter <tc677g@att.com>
5 years agoTowards a1 1.0.0; DELETE, no vector: 21/1021/7
Tommy Carpenter [Thu, 26 Sep 2019 15:14:16 +0000 (11:14 -0400)]
Towards a1 1.0.0; DELETE, no vector:

* Implement instance delete
* Moves away from the status vector and now aggregates statuses
* Pop through a1s mailbox "3x as often"; on all 3 kinds of instance GET since all such calls want the latest information
* Misc cleanups in controller
* Add rmr-version.yaml for CICD jobs

Change-Id: I7290652784b2d6d297dd9e78af3051eba209651c
Signed-off-by: Tommy Carpenter <tc677g@att.com>
5 years agoTowards a1 1.0.0; implement missing GETs 95/995/3
Tommy Carpenter [Mon, 23 Sep 2019 13:48:23 +0000 (09:48 -0400)]
Towards a1 1.0.0; implement missing GETs

- Implement GET all policy type ids
- Implement GET all policy instance ids for a policy type
- fix a tiny bug in integration test receiver

Change-Id: I3d60415096a7d8df3392abdcdd100ef47b80ab51
Signed-off-by: Tommy Carpenter <tc677g@att.com>
5 years agoUpgrade to rmr which required two changes 89/989/6
Tommy Carpenter [Fri, 20 Sep 2019 14:09:01 +0000 (10:09 -0400)]
Upgrade to rmr which required two changes

    * switch to rmr 1.8.1 to pick up a non blocking variant of rmr that deals with bad routing tables (no hanging connections / blocking calls)
    * improve test receiver to behave with this setup
    * add integration test for this case
    * this also switches past 1.5.x, which included another change that altered the behavior of rts; deal with this with a change to a1s helmchart that causes the sourceid to be set to a1s service name, which was not needed prior
    * improve integration tests overall

Change-Id: I155994b6f512485a5a73fc31923a46d182aeda87
Signed-off-by: Tommy Carpenter <tc677g@att.com>
5 years agoFix code coverage in LF 82/982/2
Tommy Carpenter [Thu, 19 Sep 2019 16:27:07 +0000 (12:27 -0400)]
Fix code coverage in LF

This is NOT needed locally, however it also works locally.
This now matches one of my ONAP repos in LF.

Change-Id: I07189f307506e6ec13ec39d7740c0e62862722d8
Signed-off-by: Tommy Carpenter <tc677g@att.com>
5 years agoTowards A1 v1.0.0 72/972/6
Tommy Carpenter [Wed, 18 Sep 2019 14:45:50 +0000 (10:45 -0400)]
Towards A1 v1.0.0

- Implement type PUT
- Implement type GET
- Remove RIC manifest
- Read type GET to get schema for instance PUT
- Remove Utils (no longer needed)
- lots more tests

Change-Id: I8facd9fd9d388a9087ba856bf781397397ac2ad3
Signed-off-by: Tommy Carpenter <tc677g@att.com>
5 years agoAdd sonar pom and tox hooks. 70/970/1
Tommy Carpenter [Wed, 18 Sep 2019 12:46:55 +0000 (08:46 -0400)]
Add sonar pom and tox hooks.

Rebase sonar (+/951) onto v11.

Change-Id: I21feed13a1007d5e1556afb9eac340f4ea43b0f2
Signed-off-by: Tommy Carpenter <tc677g@att.com>
5 years agoTowards release 1.0.0 (for O-RAN A) 55/955/7
Tommy Carpenter [Thu, 12 Sep 2019 20:24:10 +0000 (16:24 -0400)]
Towards release 1.0.0 (for O-RAN A)

- Implement the Release A spec in openapi.yaml
- Rework A1 to follow that spec
- Remove rmr_mapping now that we use policyid as the mtype to send and a well known mtype for the ACKs
- Add the delay receiver test to the tavern integration tests
- Remove unneeded ENV variables from helm charts
- Switch away from builder images to avoid quicksand; upgrade rmr at our own pace

Change-Id: I62de4c7b9b06fbdc309c4c07213b76400036c95e
Signed-off-by: Tommy Carpenter <tc677g@att.com>
5 years agoPrint a terminal coverage report when running tests 04/804/1 r2-temp 0.10.3
Tommy Carpenter [Mon, 26 Aug 2019 14:12:44 +0000 (10:12 -0400)]
Print a terminal coverage report when running tests

Change-Id: I4b5a86c9a89e890b40766013ef366494e8caba83
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoInclude content type in a1 api. Not a change, no version bumps. 81/781/3
Tommy Carpenter [Fri, 23 Aug 2019 00:09:14 +0000 (20:09 -0400)]
Include content type in a1 api. Not a change, no version bumps.

Change-Id: Id570585e2b86160ce443f95db0c0e45d4cdd0097
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoUpgrade to Python RMR ver 0.10.8 61/761/1
Lott, Christopher (cl778h) [Tue, 20 Aug 2019 19:22:45 +0000 (15:22 -0400)]
Upgrade to Python RMR ver 0.10.8

Repair integration tests

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

5 years agoUpdate to later rmr-python 11/711/1 0.10.2
Tommy Carpenter [Wed, 14 Aug 2019 16:51:51 +0000 (12:51 -0400)]
Update to later rmr-python

Change-Id: Id495ae41a780e0c19e71cffea569e896ed6ac865
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoGreatly reduce the size of A1 docker from 1.25GB to 278MB 72/672/1
Tommy Carpenter [Wed, 7 Aug 2019 15:38:44 +0000 (11:38 -0400)]
Greatly reduce the size of A1 docker from 1.25GB to 278MB

Change-Id: I9850d20dc56f4cddfcb5643066ef5eba484148ec
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoRename urls per requirements. 02/602/1
Tommy Carpenter [Wed, 31 Jul 2019 13:38:28 +0000 (09:38 -0400)]
Rename urls per requirements.

Change-Id: Iad5fd80d7d2b0234d61c15c3adbae83e7b62e8b9
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoImplement GET and /healthcheck 39/539/3
Tommy Carpenter [Thu, 18 Jul 2019 20:21:21 +0000 (20:21 +0000)]
Implement GET and /healthcheck

Change-Id: Ia2804306f91e5d877dd51af21ac02d94622a4089
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoFix missing 400 impl, update test manifest 18/518/1
Tommy Carpenter [Tue, 16 Jul 2019 15:25:52 +0000 (11:25 -0400)]
Fix missing 400 impl, update test manifest

Issue-ID: RICPLT-1638
Change-Id: Iff6de7b64a0dd94c6653eff5312ec84c1cf2bced
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoMake an appuser in Dockerfile, dont run as root 09/409/1
Tommy Carpenter [Mon, 24 Jun 2019 18:27:35 +0000 (14:27 -0400)]
Make an appuser in Dockerfile, dont run as root

Change-Id: I0a7493a45a4ab050cda25e9f8e1cb7299d9b2bc3
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoUse "builder image" more appropriately 99/399/1
Tommy Carpenter [Fri, 21 Jun 2019 14:15:15 +0000 (10:15 -0400)]
Use "builder image" more appropriately

Change-Id: I6a9c00fd63a1a87ddf42daa36793c114ebe13a04
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoInstall RMR from deb at version 1.0.36 83/383/2
Lott, Christopher (cl778h) [Wed, 19 Jun 2019 12:29:43 +0000 (08:29 -0400)]
Install RMR from deb at version 1.0.36

No functional change from deb 1.0.34

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

5 years agoUse base Docker image with NNG v1.1.1 73/373/9
Lott, Christopher (cl778h) [Tue, 18 Jun 2019 10:50:13 +0000 (06:50 -0400)]
Use base Docker image with NNG v1.1.1

Install RMr via deb packge from Package Cloud
in all three Dockerfiles
Bump version to 0.8.3.

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

5 years agoMake developer guide docs better RE int testing 75/375/1
Tommy Carpenter [Tue, 18 Jun 2019 13:58:55 +0000 (09:58 -0400)]
Make developer guide docs better RE int testing

Change-Id: Ia74118fcbb30bfb415b2684674a5e1902e7c20d4
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoNo need for two charts for test receivers 24/324/2
Tommy Carpenter [Wed, 12 Jun 2019 13:25:48 +0000 (09:25 -0400)]
No need for two charts for test receivers

Change-Id: Ieb8c7acf57948e3a7bdecbc0fa59bedc20fa0348
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoMerge "Move integration tests to k8s"
Tommy Carpenter [Tue, 11 Jun 2019 17:26:48 +0000 (17:26 +0000)]
Merge "Move integration tests to k8s"

5 years agoMove integration tests to k8s 98/298/2
Tommy Carpenter [Tue, 11 Jun 2019 13:10:23 +0000 (09:10 -0400)]
Move integration tests to k8s

Change-Id: Ia78a484e9f9eea4ace1ef6fa0d8075b872b8f83b
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoAdd readme and metadata, no functional change 75/275/5
Lott, Christopher (cl778h) [Fri, 7 Jun 2019 12:57:58 +0000 (08:57 -0400)]
Add readme and metadata, no functional change

Added top-level README with text from wiki.
Added git attributes file.

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

5 years agoAdd some comments, rmr serv, remove template cruft 82/282/1
Tommy Carpenter [Mon, 10 Jun 2019 13:42:49 +0000 (09:42 -0400)]
Add some comments, rmr serv, remove template cruft

Change-Id: Ia6e80f4c33163a266f6e1b7ba581475aa07132d8
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoAdd helm chart, may need rmr edits 71/271/9
Tommy Carpenter [Tue, 4 Jun 2019 14:20:30 +0000 (10:20 -0400)]
Add helm chart, may need rmr edits

Change-Id: Id1822239494dfa40c35a62b2414652a2a927e5d8
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoFix container tag 62/262/1
Tommy Carpenter [Wed, 5 Jun 2019 16:42:52 +0000 (12:42 -0400)]
Fix container tag

Change-Id: I2dbc78ad5d11d045bb7548c88df535bb3a32a867
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoUpdate rmr due to k8 bug 61/261/1
Tommy Carpenter [Wed, 5 Jun 2019 16:26:07 +0000 (12:26 -0400)]
Update rmr due to k8 bug

Change-Id: I5dbe6525de4b1e811606b16096b7d88859bbd6fb
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoAdd container tag file for Jenkins build job 36/236/1
Lott, Christopher (cl778h) [Sat, 1 Jun 2019 10:56:18 +0000 (06:56 -0400)]
Add container tag file for Jenkins build job

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

5 years agoRun tox in docker build 30/230/1
Tommy Carpenter [Fri, 31 May 2019 14:40:40 +0000 (10:40 -0400)]
Run tox in docker build

Change-Id: I63185e963df2ec19edeebe8d7236bdf2fbc027c9
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoUpdate lic headers, doc titles 19/219/1
Tommy Carpenter [Thu, 30 May 2019 19:06:37 +0000 (15:06 -0400)]
Update lic headers, doc titles

Change-Id: I2818abacc7cf85e12325135c9349a799ae14840f
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoInitial commit of A1 17/217/1
Tommy Carpenter [Thu, 30 May 2019 18:33:21 +0000 (14:33 -0400)]
Initial commit of A1

Change-Id: I370944339d0240d5dea4d124a9c9c03ae246020d
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
5 years agoInitial empty repository
Andrew Grimberg [Thu, 21 Mar 2019 23:55:40 +0000 (23:55 +0000)]
Initial empty repository