ric-plt/xapp-frame-py.git
4 years agoRelease 040 76/2776/2 0.4.0
Tommy Carpenter [Fri, 13 Mar 2020 15:17:02 +0000 (11:17 -0400)]
Release 040

Issue-ID: RIC-228
Change-Id: I8eddf555e3724f597f69e04b161d116be83d9d38
Signed-off-by: Tommy Carpenter <tc677g@att.com>
4 years agoDo not thread by default, but let the user choose. 72/2772/2
Tommy Carpenter [Fri, 13 Mar 2020 13:36:36 +0000 (09:36 -0400)]
Do not thread by default, but let the user choose.

Issue-ID: RIC-228
Change-Id: Iab4acea6b235cdf5acf734b23b0aa735ee41e19c
Signed-off-by: Tommy Carpenter <tc677g@att.com>
4 years agoRelease 030 47/2747/1 0.3.0
Tommy Carpenter [Wed, 11 Mar 2020 11:58:32 +0000 (07:58 -0400)]
Release 030

Issue-ID: RIC-228
Change-Id: Icfbedffbcab902bc50c6f11036847a70634959a0
Signed-off-by: Tommy Carpenter <tc677g@att.com>
4 years agoChanges to framework usage: 16/2716/6
Tommy Carpenter [Mon, 9 Mar 2020 17:46:37 +0000 (13:46 -0400)]
Changes to framework usage:

    * rather than subclass instantiation, xapps now use initialization and registration functions to register handlers
    * rmr xapps can now register handlers for specific message types (and they must prodive a default callback); if the user does this then "message to function routing" is now handled by the framework itself
    * RMRXapp now runs the polling loop in a thread, and returns execution back to the caller. The user is then free to loop, or do nothing, and call stop() when they want.
    * Raises tox coverage minimum to 70 from 50 (currently at 86)

Issue-ID: RIC-228
Change-Id: I15bfb708dbd14a46dc1207296e77383642d22b29
Signed-off-by: Tommy Carpenter <tc677g@att.com>
4 years agoRemove junit option from pytest invocation 92/2692/1
Lott, Christopher (cl778h) [Thu, 5 Mar 2020 20:08:50 +0000 (15:08 -0500)]
Remove junit option from pytest invocation

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

4 years agoUpdate install docs (only). 88/2688/4
Tommy Carpenter [Thu, 5 Mar 2020 14:40:22 +0000 (09:40 -0500)]
Update install docs (only).

Issue-ID: RIC-228
Change-Id: I7cf31f1cf2e64cd459462a4268d06dd12d8966a3
Signed-off-by: Tommy Carpenter <tc677g@att.com>
4 years agoRelease 020 72/2672/1 0.2.0
Tommy Carpenter [Wed, 4 Mar 2020 14:31:57 +0000 (09:31 -0500)]
Release 020

Issue-ID: RIC-228
Change-Id: I184f09eb1abc8e6ea5868f32a9b84c116ca6df87
Signed-off-by: Tommy Carpenter <tc677g@att.com>
4 years agoFixes and enhancements: 37/2637/4
Tommy Carpenter [Tue, 3 Mar 2020 15:21:24 +0000 (10:21 -0500)]
Fixes and enhancements:

    * now allows for RMR Xapps to call code before entering the infinite loop
    * stop is now called before throwing NotImplemented in the case where the client fails to provide a must have callback; this ensures there is no dangling rmr thread
    * stop now calls rmr_close to correctly free up any port(s)
    * (breaking) renames `loop` to `entrypoint` since the function does not have to contain a loop (though it most likely does)
    * Changes wording around the two types of xapps (docs only)
    * Uses a new version of rmr python that crashes when the rmr mrc fails to init, which prevents an xapp trying to use an unusable rmr
    * more unit test code coverage
    * Adds more fields to setup like long_desc and classifiers so the pypi page looks nicer
    * Removes a bad release file (will be added back in subseq. commit)

Issue-ID: RIC-228
Change-Id: I2fa0fcce61f54d4ce1d6176ae71eb2139b1005a5
Signed-off-by: Tommy Carpenter <tc677g@att.com>
4 years agoRelease (by request) 30/2630/1
Tommy Carpenter [Mon, 2 Mar 2020 19:01:51 +0000 (14:01 -0500)]
Release (by request)

Change-Id: I3f6044e93fc6b1883a7ef3373061c00cae3f35bf
Signed-off-by: Tommy Carpenter <tc677g@att.com>
4 years agoAdd documentation in the required format. 17/2617/5
Tommy Carpenter [Fri, 28 Feb 2020 14:17:46 +0000 (09:17 -0500)]
Add documentation in the required format.

Also twiddles the tox to name the code job so that the verify job can be
changed to not run docs.

Issue-ID: RIC-228
Change-Id: I5ded9ae6d421f0906f9fb544ee78dfbf9e8f4291
Signed-off-by: Tommy Carpenter <tc677g@att.com>
4 years agoInitial pass of the py xapp frame 00/2600/11
Tommy Carpenter [Wed, 26 Feb 2020 19:12:54 +0000 (14:12 -0500)]
Initial pass of the py xapp frame

This is not yet completed:
- Docs will come soon
- More unit test coverage will come soon
- More functionality will come soon

However, to avoid a gargantuan commit at the beginning that solves world
hunger, we cut off here on a basically usable framework.

NOTE: a significant portion of this code is *already reviewed* as it
came out of A1. For example, the entire SDLWrapper class, and most of
the RMRLoop. This code will
be deleted from A1 when this is in pypi.

Issue-ID: RIC-228
Change-Id: I9f87b0178cf5fb1cb6b988c29ce11218ed575607
Signed-off-by: Tommy Carpenter <tc677g@att.com>
4 years agoAutomation adds INFO.yaml 89/2589/5
LF Jenkins CI [Wed, 26 Feb 2020 16:39:36 +0000 (16:39 +0000)]
Automation adds INFO.yaml

Change-Id: I322e5d24b4eee1d534198081023916d7d4805e22
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoAutomation adds .gitreview 87/2587/2
LF Jenkins CI [Wed, 26 Feb 2020 16:25:59 +0000 (16:25 +0000)]
Automation adds .gitreview

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