czichy [Thu, 16 Jun 2022 12:12:05 +0000 (15:12 +0300)]
F release step 1 of 2
Repeating the step because there were wrong version numbers
in earlier releases.
Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: I555431dbcfdd69d12c985de491d5dc56039dc7b1
czichy [Thu, 16 Jun 2022 10:22:30 +0000 (13:22 +0300)]
F release step 1 of 2
Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: I0b7c14936044d74b1cc7dee723e4c86992d7a784
naman.gupta [Wed, 25 May 2022 18:01:47 +0000 (23:31 +0530)]
Error handling in get all policy instance api
Error handling in get all policy instance api
Signed-off-by: naman.gupta <naman.gupta@samsung.com>
Change-Id: I773abbb07d2c2b719acec81be17580171d1833c1
naman.gupta [Thu, 5 May 2022 10:29:51 +0000 (15:59 +0530)]
Get All Policy Type Instance
Api for Get All Policy Type Instance
Signed-off-by: naman.gupta <naman.gupta@samsung.com>
Issue-ID: RIC-831
Change-Id: I649dd94059263244645e7a8236ad058c3f0ef26e
naman.gupta [Mon, 2 May 2022 10:04:31 +0000 (15:34 +0530)]
Get Policy Type Instance
Api for Get Policy Type Instance
Signed-off-by: naman.gupta <naman.gupta@samsung.com>
Issue-ID: RIC-831
Change-Id: I649dd94059263244645e7a8236ad058c3f0bf86e
naman.gupta [Tue, 26 Apr 2022 16:29:05 +0000 (21:59 +0530)]
Creation of Policy Type Instance
Api for Creation of Policy Type Instance
Signed-off-by: naman.gupta <naman.gupta@samsung.com>
Change-Id: I649dd94059263244645e7a8236ad058c3f0af56f
naman.gupta [Thu, 10 Mar 2022 09:42:05 +0000 (15:12 +0530)]
Testcase for Get policy type from policy id
Testcase for Get policy type from policy id
Signed-off-by: naman.gupta <naman.gupta@samsung.com>
Issue-ID: RIC-831
Change-Id: I41bafaf5553d4aae95d6a7ce3bca1b4745254678
naman.gupta [Thu, 24 Feb 2022 09:11:55 +0000 (14:41 +0530)]
Get Policy type Schema from policy id
Get Policy type schema from policy id
Signed-off-by: naman.gupta <naman.gupta@samsung.com>
Change-Id: I649dd94059263244645e7a8236ad058c3f0ed26f
naman.gupta [Wed, 23 Feb 2022 06:14:43 +0000 (11:44 +0530)]
Testcase for Policy type Creation
Testcase for Policy type Creation
Signed-off-by: naman.gupta <naman.gupta@samsung.com>
Change-Id: I649dd94059263244645e7a8236ad058c3f0ef25f
naman.gupta [Fri, 18 Feb 2022 12:33:36 +0000 (18:03 +0530)]
Creation of Policy Type Schema
Api for Creation of Policy Type Schema
Signed-off-by: naman.gupta <naman.gupta@samsung.com>
Change-Id: I649dd94059263244645e7a8236ad058c3f0df95f
wahidw [Wed, 12 Jan 2022 06:18:20 +0000 (06:18 +0000)]
Changing log severity level in case of liveness/readiness issues
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: I649dd94059263244645e7a8236ad058c3f0df55d
wahidw [Fri, 3 Dec 2021 11:50:07 +0000 (11:50 +0000)]
Release ric-plt/a1
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ifc4882a84a1766b70e077655af23ce51bd3a0166
wahidw [Fri, 3 Dec 2021 10:29:52 +0000 (10:29 +0000)]
Update RMR to v4.8.0
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: I2cd162b76921948bf4a1fd68cdc01b7b45e51e90
wahidw [Fri, 12 Nov 2021 09:54:20 +0000 (09:54 +0000)]
updating to ubuntu20
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: I424291b4957e95298cfb16847ff3135d8a5dc502
subhash kumar singh [Wed, 27 Oct 2021 11:58:34 +0000 (11:58 +0000)]
Docker build file for a1 mediator
Provide docker build file for a1 mediator.
Also fixes the test cases.
Issue-ID: RIC-831
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Change-Id: I60aed9a85ea3bb9b9085bdc3016fc9f277cec139
subhash kumar singh [Tue, 26 Oct 2021 12:14:26 +0000 (12:14 +0000)]
Loggin using MDCLogger
This commit includes:
* Enabled logging using MDCLogger.
* Test case updates.
* Addition of go.sum.
Issue-ID: RIC-831
Change-Id: I4d9fb56acd7f0c5d0bd4f4ae79c851a2d6735e6c
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
subhash kumar singh [Thu, 7 Oct 2021 12:28:25 +0000 (12:28 +0000)]
Update module name
Update module name to gerrit.o-ran-sc.org/r/ric-plt/a1.
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Issue-ID: RIC-831
Change-Id: I8b13da174fbb5914cadd399fd05d24523788bc46
subhash kumar singh [Thu, 30 Sep 2021 19:07:18 +0000 (19:07 +0000)]
Initial code for the a1 implementation for go
This patch sets up initial repo structure for a1 mediator in go.
Mainly this patch contains swagger file "api/swagger.yaml" to represent
a1 interface APIs.
Swagger tool is used to generate the models which are required for the
exposing the the APIs.
Current patch contains one API implemented for querying policy instance
with UT (pkg/restful pkg/resthooks).
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Issue-ID: RIC-831
Change-Id: I41bafaf5553d4aae95d6a7ce3bca1b4745254638
Mohamed Abukar [Tue, 10 Aug 2021 06:46:03 +0000 (06:46 +0000)]
Rename A1 policy metrics
Change-Id: I580c6c8f1b99dd4bf66f084cc43d87a0e9edbd7a
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
subhash kumar singh [Tue, 22 Jun 2021 18:56:55 +0000 (00:26 +0530)]
Release image v2.5.0
Release image v2.5.0 for a1.
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Change-Id: If83a7f92b4930c9ea21181bf3403b2914e1452a6
subhash kumar singh [Tue, 22 Jun 2021 18:34:46 +0000 (00:04 +0530)]
Update release notes for Dawn release
Update release notes for Dawn release.
Change-Id: I8fae7c903a7a33f2bb0b8c64fcae162a0afe7e1e
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
rangajal [Mon, 21 Jun 2021 17:39:53 +0000 (17:39 +0000)]
MDC Dynamic log level changes for a1mediator
Change-Id: Ie5a3803dd413693cfd217c4de8402a5db6d27141
Signed-off-by: rangajal <ranjit.angajala@nokia.com>
Timo Tietavainen [Tue, 15 Jun 2021 05:22:32 +0000 (08:22 +0300)]
Upgrade used ricxappframe to version 2.0.0
Update XAPP-FRAME-PY version to 2.0.0 what utilizes latest SDL version 3.0.0
and includes implementation for the Xapp registration/deregistration to RIC.
Issue-ID: RIC-699
Issue-ID: RIC-795
Issue-ID: RIC-706
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I0facd770e1208739dd57f903407b0f2f125d2a77
czichy [Fri, 11 Jun 2021 12:16:19 +0000 (15:16 +0300)]
Adding note on who approved committer
I added a note that shows who was actually
approving this committer change in the mailing
list.
Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: I80a567f38f12db76b78dd80ef24828389166592c
subhash kumar singh [Sun, 6 Jun 2021 20:01:55 +0000 (01:31 +0530)]
Fix subscription id before data delivery
Fix subscription id before data delivery.
Issue-ID: RIC-129
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Change-Id: I1523ed7db301d98fb40f2d48d5acc8e831094d2d
czichy [Thu, 3 Jun 2021 10:27:47 +0000 (13:27 +0300)]
Adding Naman and removing Rahul
Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: Ic0b02b11acf34ca9e647cda7815865eaa2bc27f9
subhash kumar singh [Tue, 25 May 2021 06:59:23 +0000 (06:59 +0000)]
A1 Mediator enhancements for A1-EI
Implementation to support A1-EI interface defined at nonRT RIC (ECS
service). This process include three steps :
* query A1-EI types
* create A1-EI Job
* handle data delivered from A1-EI producer
Issue-ID: RIC-129
Change-Id: I552569b01e8d31c056b336bafe787f7c380aace5
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
E. Scott Daniels [Thu, 13 May 2021 13:12:28 +0000 (09:12 -0400)]
Base docker image on ubuntu
The use of alpine as a base for images has been strongly discouraged
and thus this change drprecates the original Dockerfile (moving it to
Dockerfile_alpine) and creates a new, Ubuntu 18.04 based, Dockerfile
in its place.
The change also bumps the RMR version to the latest (4.7.4)
Issue-ID: RIC-787
Signed-off-by: E. Scott Daniels <daniels@att.com>
Change-Id: I8208eeb3720c90311b3e474554f9f0dfd10e9b8b
wahidw [Thu, 4 Feb 2021 10:35:14 +0000 (10:35 +0000)]
Updating RMR to v4.5.2
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: I2ee516dd27662be9d8336b0b73d9275a69c434b0
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
E. Scott Daniels [Tue, 8 Dec 2020 18:57:14 +0000 (13:57 -0500)]
Release the image
Issue-ID: RIC-721
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I616026492da22448f001acd9fed46b6196f2113c
E. Scott Daniels [Tue, 8 Dec 2020 15:01:52 +0000 (10:01 -0500)]
Reference current RMR version (4.4.6) in image
This change references the builder image which contains
RMR version 4.4.6.
Issue-ID: RIC-721
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I0669ec30c35a796be1800dd31e30c7ebd28a9486
czichy [Fri, 4 Dec 2020 13:50:24 +0000 (15:50 +0200)]
Removing one and adding 2 committers
Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: Iff0c59a87533af3a71a7d348e39c08d061a55eb0
E. Scott Daniels [Mon, 19 Oct 2020 18:13:40 +0000 (14:13 -0400)]
Provide coverage location to tox for unit test
The tox config file has been updated to provide a directory
for unit test coverage info.
Issue-ID: RIC-659
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Ia6aef81cbf9c6ab563fc6e776be093e55548c80b
Abukar Mohamed [Mon, 12 Oct 2020 05:22:42 +0000 (05:22 +0000)]
Send POLICY_UPDATE when updating existing policy instance
Change-Id: I01c2e717eec96cb212e6a6f4bdddfa9931fe4385
Signed-off-by: Abukar Mohamed <abukar.mohamed@nokia.com>
czichy [Thu, 11 Jun 2020 11:54:05 +0000 (14:54 +0300)]
Removing Tommy as committer
Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: Id162baee7380df1a006328f1c18d2f98f8b7da85
Lott, Christopher (cl778h) [Wed, 27 May 2020 19:56:20 +0000 (15:56 -0400)]
Add Prometheus metrics and query endpoint
Extend controller with counters to measure activity
Add /a1-p/metrics endpoint to expose measures in Prometheus format
Document new environment variable prometheus_multiproc_dir
Issue-ID: RIC-353
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I44bc5346b627b27ba5b344187223dd0323b32a2c
Lott, Christopher (cl778h) [Wed, 27 May 2020 13:45:49 +0000 (09:45 -0400)]
Extend user guide with southbound API details
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I66b9603eb70ad41841a06e43e4d48a70dcb9768f
Lott, Christopher (cl778h) [Tue, 26 May 2020 19:43:13 +0000 (15:43 -0400)]
Release A1 at version 2.1.9
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: If4018d40dc954c66c7e780406f002a9376c3b28b
Lott, Christopher (cl778h) [Tue, 26 May 2020 20:13:43 +0000 (16:13 -0400)]
Extend send-message methods to log message state
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I77b2fe8abeda75faa8e949ba759a9e1f16d0f3b5
Lott, Christopher (cl778h) [Tue, 26 May 2020 17:31:48 +0000 (13:31 -0400)]
Repair send-message methods for free and retry
* Fix _send_msg method to free allocated RMR message buffers
* Adjust send-message methods to retry only on RMR_ERR_RETRY
* Use constants from ricxappframe.rmr instead of hardcoded strings
* Upgrade RMR to version 4.0.5
* Upgrade tavern to version 1.2.2
* Bump version to 2.1.9
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I9a68727a24c27b2df2a03a14d7570308e3f19d7a
Lott, Christopher (cl778h) [Mon, 4 May 2020 13:39:20 +0000 (09:39 -0400)]
Add bumpversion config for bumping versions
Document how to bump A1 Mediator version, and automate it with the
bumpversion utility. Have missed a file too many times recently,
this automation should reduce the number of mistakes I commit.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I2cc0e88e109253a1adfbe793238f2d2c7485df18
Lott, Christopher (cl778h) [Thu, 30 Apr 2020 17:56:59 +0000 (13:56 -0400)]
Release A1 at version 2.1.8
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Ic323853a1e84bdbe6f6838d7aaf5dc5f73d1ad7b
Lott, Christopher (cl778h) [Thu, 30 Apr 2020 17:58:38 +0000 (13:58 -0400)]
Bump A1 version to 2.1.8 in prep for release
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I461281074618a580b45c9358cabe722a602cdd12
Lott, Christopher (cl778h) [Thu, 30 Apr 2020 15:54:59 +0000 (11:54 -0400)]
Upgrade integration tests to Tavern v1.0.0
Change all response checks from 'body' to 'json'
and add matchers for response body entries.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I0f8eabbd2d01d645ca1c6dae4d20db5bb233370a
Lott, Christopher (cl778h) [Thu, 30 Apr 2020 13:38:35 +0000 (09:38 -0400)]
Revise custom exceptions to require a message
Reduce code redundancy in controller exception handling.
Raise exception on ID mismatch in create policy type request.
Add test of ID mismatch case.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I2c020f41d65b7ddadd71185fafb16cf2c4557a88
Lott, Christopher (cl778h) [Wed, 29 Apr 2020 20:50:06 +0000 (16:50 -0400)]
Add USE_FAKE_SDL to mock the data storage layer
This new environment variable in the Dockerfile exposes existing
functionality in the data module. Default is False, the current behavior.
Set to True to work with A1 Mediator standalone.
Issue-ID: RIC-351
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I7efbe325e3c9536181c95eec63662d7a98a29ff4
Lott, Christopher (cl778h) [Wed, 29 Apr 2020 19:23:28 +0000 (15:23 -0400)]
Extend Dockerfile and improve documentation
Bump version to 2.1.8.
No functional changes to A1 behavior.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I4486b5bec68017a3c94f13c7d1a53977a0ef9940
Scott Daniels [Tue, 28 Apr 2020 16:40:34 +0000 (16:40 +0000)]
Merge "Release A1 mediator at 2.1.7 using RMR 4.0.2"
Lott, Christopher (cl778h) [Tue, 28 Apr 2020 15:17:03 +0000 (11:17 -0400)]
Bump container tag version string to 2.1.7
Also remove spaces in PDF file names
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I9b0d9cd6a4610036dba5c5cb2cc8a99a11422ed9
Lott, Christopher (cl778h) [Tue, 28 Apr 2020 14:58:39 +0000 (10:58 -0400)]
Release A1 mediator at 2.1.7 using RMR 4.0.2
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Ic1972370d698d9bf1baa3bb36f1e3748b513d72b
Lott, Christopher (cl778h) [Mon, 27 Apr 2020 21:25:05 +0000 (17:25 -0400)]
Upgrade A1 to use RMR library version 4.0.2
This picks up a fix to dynamic route-table distribution features.
Drop mention of ricmanifest from the installation guide.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I7e91b9bd4e7ee1eb8a2efb5056218c4d9c31dc3f
Lott, Christopher (cl778h) [Fri, 24 Apr 2020 15:52:42 +0000 (11:52 -0400)]
Repair A1 integration tests
Correct COPY command in Dockerfiles to get all files for RMR, not just one.
Pin the version of tavern to 0.34.0, because the latest (1.0.0) changed
the required format of the test-spec file and rejects this one.
Add delay before test AC policy status get to increase chance of success.
Adjust tox ini file for shell-script path and to be a bit more verbose.
Bump version in the a1 chart to 2.1.7.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I96dc018aa80e6bfcbf9c28068129e6cca1611d15
Lott, Christopher (cl778h) [Mon, 27 Apr 2020 14:45:47 +0000 (10:45 -0400)]
Extend exception handler to report details
On failed requests, log and return details in the HTTP error response.
Extend documentation to pull in the OpenAPI specification document.
On store, overwrite ID in body with ID from path to ensure consistency.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I630360bcf90c80b84392c6afb1e59347fccd13ef
Lott, Christopher (cl778h) [Wed, 22 Apr 2020 14:54:20 +0000 (10:54 -0400)]
Upgrade xapp-frame-go module in integration tests
Use xapp-frame-go module version 0.4.8 which drops dependency on nng.
Change base builder to stop using deprecated alpine3-go image.
Drop prefix "/go" from dockerfile copy commands.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I9df1dce576b083674290857f1c23d9b3a25ab5c6
Lott, Christopher (cl778h) [Wed, 22 Apr 2020 13:05:32 +0000 (09:05 -0400)]
Upgrade to RMR library version 3.8.0
Pull shared object file from new Alpine3 bldr image in release registry
Bump version to 2.1.7
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I3076b7ab941e0ee6728d4350456c29c931c75088
Lott, Christopher (cl778h) [Sun, 22 Mar 2020 11:29:16 +0000 (07:29 -0400)]
Report python dependencies for CLM analysis
Define new environment 'clm' with command 'pip freeze' to report code
and test dependencies with version strings as installed by tox for
CLM analysis.
Issue-ID: INT-24
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I93ae9a819d98f41bcc0c87a693690f54843b2019
Lott, Christopher (cl778h) [Sat, 18 Apr 2020 12:40:00 +0000 (08:40 -0400)]
Add missing Alpine packages to build gevent wheel
Recent change in Gevent version 1.5.0 requires Alpine packages
file, make, libffi-dev to build the wheel. Repair the broken
build by adding these packages to the Dockerfile. Also see
https://github.com/gevent/gevent/issues/1555
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I5ec970f6f0b5594be5ac9f1abd693df098df749c
Tommy Carpenter [Tue, 7 Apr 2020 14:39:44 +0000 (10:39 -0400)]
Release 216
Issue-ID: RIC-228
Change-Id: Ief0ac73e5c5d09bcd9475f59028e58f8a54180ff
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Tue, 7 Apr 2020 12:36:42 +0000 (08:36 -0400)]
Move to ricxappframe rmr, rmr3.6.3
Issue-ID: RIC-228
Change-Id: I879d93e111d04e8a382fa0428e3d8b652e57f3a4
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Mon, 23 Mar 2020 19:00:32 +0000 (15:00 -0400)]
Small doc update
Change-Id: I07469a6f5d257a2143ee9b836902a384c80923d3
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Fri, 20 Mar 2020 17:20:07 +0000 (13:20 -0400)]
Release 2.1.5
Issue-ID: RIC-156
Change-Id: I2d8292017121f016a6275d9dd3c6de8c9376a780
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Fri, 20 Mar 2020 14:02:46 +0000 (10:02 -0400)]
Updates:
* Switch to python3.8
* Switch to SI95 from NNG (rmr v3 vs rmr v1)
* The switch to SI95 led to a rabbit hole in which we eventually discovered that rmr_send may sometimes block for an arbitrary period of time. Because of this issue, a1's sends are now threaded. Please see the longer comment about this in a1rmr.
* Bump version of py xapp frame (SDL used only) in A1
* Bump version of go xapp frame (0.0.24 -> 0.4.2) in integration tests
* Add some additional logging in A1
Issue-ID: RIC-156
Change-Id: I8ed5356bea60a3ccea6fa2d03981ad634b98bab1
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Mon, 9 Mar 2020 13:29:13 +0000 (09:29 -0400)]
Minor fix: use 1.13.1 in Unit test contaiuner.
Change-Id: I8e2265f9eb35fa7d1e746cdc270f1abe3f4f8c77
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Fri, 6 Mar 2020 14:41:57 +0000 (09:41 -0500)]
Remove SDLWrapper now that it's in xapp frame.
Issue-ID: RIC-228
Change-Id: I1f65d1b5a0029eb544d43c2c9294ef19c07d45d9
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Lott, Christopher (cl778h) [Thu, 5 Mar 2020 15:26:09 +0000 (10:26 -0500)]
Drop junit option in pytest and remove pom.xml
These are not needed by the new tox-sonarqube analysis job, the config
is now in the JJB configuration.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I2a87d0cc3bd9adbd7690b8c35797020bde9a78ef
Tommy Carpenter [Fri, 7 Feb 2020 19:06:20 +0000 (14:06 -0500)]
Mostly integration test work:
* Switches A1's three test receivers (integration tests) over to golang; this was mostly done to learn the go xapp framework and they are identical in functionality.
* Upgrades the version of rmr in A1 and all integration receivers to 1.13.*
* Uses a much fancier Docker build to reduce the size of a1's image. The python:3.7-alpine image itself is 98MB and A1 is now only ~116MB, so we're done optimizing A1's container size.
Issue-ID: RICAPP-61
Change-Id: Ic2004a5b457c55c730575aa8326e61b01e8546da
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Thu, 6 Feb 2020 15:53:22 +0000 (10:53 -0500)]
Update dep script; no version/code changes
(a1 does not even currently use this script, yet. this is mostly
documentation right now)
Change-Id: Ibe4daef77398bd0ebd3dbf3a44849026df931f05
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Wed, 29 Jan 2020 15:56:07 +0000 (10:56 -0500)]
Release 2.1.2
Change-Id: I068f85a04727f7998dc4409c4c8f4b01cc4dafa9
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Wed, 22 Jan 2020 18:53:34 +0000 (13:53 -0500)]
Add sdl healthcheck to a1's healthcheck
Change-Id: If70e723c32ff7040f8eec71f0bd8bdf078aa5383
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Mon, 20 Jan 2020 15:15:36 +0000 (10:15 -0500)]
Change sonar property to reflect new sonar maven plugin
Change-Id: I3e73d2b858d89db71c026dd288b1c8e029e5a081
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Chris Lott [Thu, 16 Jan 2020 16:38:06 +0000 (16:38 +0000)]
Merge "Cleanups only (no code changes)"
Tommy Carpenter [Thu, 16 Jan 2020 16:23:02 +0000 (11:23 -0500)]
Cleanups only (no code changes)
Documentation/comment/whitespace changes
Also updates the helm commands in the int tests to helm v3
Change-Id: I54bfd44a8e2a4bd1f79e300c32b18b8a0abfc635
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Tue, 14 Jan 2020 15:35:15 +0000 (10:35 -0500)]
Release 2.1.1
Change-Id: I7c84572bdbccab25f8e234fd12185203328a9451
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Mon, 13 Jan 2020 14:51:27 +0000 (09:51 -0500)]
Upgrade to SDL 2.0.2
* Upgrades from sdl 1.0.0 to 2.0.2
* Delete a1test_helpers because SDL 2.0.2 provides the mockup we need
* Remove general catch all from A1
Change-Id: Ic130c524d110830c7f0ef3716991ae4a8ff87f5a
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Thu, 2 Jan 2020 19:38:21 +0000 (14:38 -0500)]
A1 v2.1.0
* Represents a resillent version of 2.0.0 that uses Redis for persistence
* Now relies on SDL and dbaas; SDL is the python interface library to dbaas
* Adds a 503 http code to nearly all http methods, as A1 now depends on an upstream system
* Integration tests have a copy of a dbaas helm chart, however the goal is to simplify that deployment per RIC-45
* Unit tests have a mockup of SDL, however again the goal is to simplify as SDL grows per RIC-44
Change-Id: I703a60788c98dc81218dbe5275fb3899635ec26d
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Fri, 13 Dec 2019 14:11:11 +0000 (09:11 -0500)]
Add one point to release notes
Change-Id: I32f8efd9d7be8a6266b1ee732cc9a7c8cd2bfa4d
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Thu, 12 Dec 2019 14:47:05 +0000 (09:47 -0500)]
Add spec differences to documentation.
Change-Id: I74407119d390991e26bfefc030b1c7591a64d7bb
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Tue, 10 Dec 2019 14:25:50 +0000 (09:25 -0500)]
Release 2.0.0
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Change-Id: If5771db62ef494b4e0d360e75f2b928b46eb6c3d
Tommy Carpenter [Mon, 2 Dec 2019 16:02:01 +0000 (11:02 -0500)]
A1 2.0.0:
* Implements new logic around when instances are deleted. See flowcharts in docs/. Basically timeouts now trigger to actually delete instances from a1s database, and these timeouts are configurable.
* Eliminates the barrier to deleting an instance when no xapp evdr replied (via timeouts)
* Add two new ENV variables that control timeouts
* Make unit tests more modular so new workflows can be tested easily
* Fixes the API for ../status to return a richer structure. This is an (albeit tiny) API change.
* Clean up unused items in the integration tests helm chart
* Removed "RMR_RCV_RETRY_INTERVAL" leftovers since this isn't used anymore
* Uses the standard RIC logging library
* Switch the backend routing scheme to using subscription id with constant message types, per request.
* Given the above, policy type ids can be any valid 32bit greater than 0
* Decouple the API between northbound and A1 from A1 with xapps. This is now two seperate OpenAPI files
* Update example for AC Xapp
* Updgrade rmr and rmr-python to utilize new features; lots of cleanups because of that
Change-Id: Ie7812607244cbcc484fe14c60fe27371e7e65082
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Mon, 2 Dec 2019 14:48:41 +0000 (14:48 +0000)]
Merge "Merge branch 'development'"
Tommy Carpenter [Mon, 2 Dec 2019 14:34:25 +0000 (09:34 -0500)]
Merge branch 'development'
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Change-Id: I44938167f438f84337cd078d57588bd90ff2d9a3
wrider [Fri, 29 Nov 2019 04:52:20 +0000 (23:52 -0500)]
Add release file for ric-plt-a1:1.0.4
Change-Id: I569a7ea5b974bf4dee91804061b14e831a64cefe
Signed-off-by: wrider <lji@research.att.com>
Tommy Carpenter [Fri, 22 Nov 2019 14:40:58 +0000 (09:40 -0500)]
Align unit and int tests w.r.t. AC xapp
Change-Id: Ia31b9db61410cbf1b3391fd9752d7939dba1a3a5
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Fri, 22 Nov 2019 14:15:35 +0000 (09:15 -0500)]
Update AC, break out xapp contract from a1 api spec
Change-Id: I931e421a2524e4ac923aef48858151c9f273ec3d
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Thu, 21 Nov 2019 15:49:56 +0000 (10:49 -0500)]
Use subid and const mts for routing, open id range
Issue-ID: RICPLT-2630
Change-Id: I59c02ed3b2a510a5d5ca2ff799668bb5e197a7e9
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Thu, 14 Nov 2019 20:54:49 +0000 (15:54 -0500)]
Use the RIC logging lib
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Change-Id: Ia28c7d929907a8782327ad45c797790ba89e7bbf
Tommy Carpenter [Wed, 6 Nov 2019 14:24:16 +0000 (09:24 -0500)]
Implement Delete timeouts
* Implements new logic around when instances are deleted. See flowcharts in docs/. Basically timeouts now trigger to actually delete instances from a1s database, and these timeouts are configurable.
* Eliminates the barrier to deleting an instance when no xapp evdr replied (via timeouts)
* Add two new ENV variables that control timeouts
* Make unit tests more modular so new workflows can be tested easily
* Changes the API for ../status to return a richer structure
* Clean up unused items in the integration tests helm chart
* Removed "RMR_RCV_RETRY_INTERVAL" leftovers since this isn't used
anymore
Issue-ID: RICPLT-2619
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Change-Id: I5b2f9cc3a6e8da7fe636a4cde085a5e1a3770f62
Tommy Carpenter [Tue, 19 Nov 2019 20:04:47 +0000 (15:04 -0500)]
Fix changelog links and titles
Change-Id: Ic7412edad6e441062af7ea1afe3adf672454519d
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Tue, 19 Nov 2019 18:13:40 +0000 (13:13 -0500)]
Update doc styling only.
Change-Id: Idcf19369a9a0bbd270b97e5080d95d2551fb9a2a
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Tue, 19 Nov 2019 14:35:23 +0000 (09:35 -0500)]
Add some documentation only.
Change-Id: I375509c42b79028ec828b8062f1ebaff8fb3451a
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Aric Gardner [Fri, 8 Nov 2019 15:57:42 +0000 (15:57 +0000)]
Automation adds INFO.yaml
Change-Id: I13742539445eb66cb152c2faf3261e98fd9643d2
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Tommy Carpenter [Wed, 6 Nov 2019 12:27:16 +0000 (07:27 -0500)]
Follow docs instructions.
Change-Id: If54c641be966dc01798a9815d9f82d184ada8452
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Thu, 24 Oct 2019 14:13:54 +0000 (10:13 -0400)]
Threading pt3:
* Only external change here is to healthcheck the rmr thread as part of a1s healthcheck. k8s will now respin a1 if that is failing.
* Refactors (simplifies) how we wait for rmr initialization; it is now called as part of __init__
* Refactors (simplifies) how the thread is actually launched; it is now internal to the object and also a part of __init__
* Cleans up unit testing; a1rmr now exposes a replace_rcv_func; useful for unit testing, harmless if not called otherwise
* Upgrades to rmr-python 1.0.0 for simpler message allocation
Change-Id: I7106f8f35e94ba1c638d782609974bf4d4ba7c22
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Mon, 21 Oct 2019 20:07:31 +0000 (16:07 -0400)]
Threading pt 2 (of 3, likely)
* Move database cleanup (e.g., deleting instances based on statuses) into the polling loop
* Rework how unit testing works with the polling loop; prior, exceptions were being thrown silently from the thread but not printed. The polling thread has now been paramaterized with override functions for the purposes of testing
* Make type cleanup more efficient since we know exactly what instances were touched, and it's inefficient to iterate over all instances if they were not
* Bump rmr-python version, and bump rmr version
* Still an item left to do in this work; refactor the thread slightly to tie in a healthcheck with a1s healthcheck. We need k8s to restart a1 if that thread dies too.
Change-Id: Ia7c4f29c9fd4de4287f17ec0d88c6129a06a5a87
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Thu, 17 Oct 2019 17:35:59 +0000 (13:35 -0400)]
Threading pt 1
* a1 now has a seperate, continuous polling thread
this will enable operations like database cleanup (based on ACKs) and external notifications in real time,
rather than when the API is invoked
* all rmr send and receive operations are now in this thread
* introduces a thread safe job queue between the two threads
* Not done yet: database cleanups in the thread
* Bump rmr python version
Change-Id: I29ca7843ffe7497c84891920f8aee332ac676591
Signed-off-by: Tommy Carpenter <tc677g@att.com>
Tommy Carpenter [Mon, 14 Oct 2019 20:18:21 +0000 (16:18 -0400)]
Towards Resiliency.
- Moves the "database" access calls to mimic the SDL API, in preparation for moving to SDL.
- Does not yet actually use SDL or Redis, but the transition to those will be much shorter after this change.
Change-Id: I596d06bcf85b6e9d5184d478802da574058c69f9
Signed-off-by: Tommy Carpenter <tc677g@att.com>
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>
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>
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>
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>