[asterisk-dev] [Code Review] 2430: Moved core logic from app_stasis to res_stasis
David Lee
reviewboard at asterisk.org
Mon Apr 15 11:50:35 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2430/
-----------------------------------------------------------
(Updated April 15, 2013, 11:50 a.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers, Matt Jordan and opticron.
Repository: Asterisk
Description
-------
After some discussion on asterisk-dev, it was decided that the bulk of
the logic in app_stasis actually belongs in a resource module instead
of the application module.
This patch does that, leaves the app specific stuff in app_stasis, and
fixes up everything else to be consistent with that change.
* Renamed test_app_stasis to test_res_stasis
* Renamed app_stasis.h to stasis_app.h
* This is still stasis application support, even though it's no
longer in an app_ module. The name should never have been tied to
the type of module, anyways.
* Now that json isn't a resource module anymore, moved the
ast_channel_snapshot_to_json function to main/stasis_channels.c,
where it makes more sense.
Diffs
-----
/trunk/apps/Makefile 385121
/trunk/apps/app_stasis.c 385121
/trunk/apps/app_stasis.exports.in 385121
/trunk/apps/stasis_json.c 385121
/trunk/include/asterisk/app_stasis.h 385121
/trunk/include/asterisk/json.h 385121
/trunk/include/asterisk/stasis_app.h PRE-CREATION
/trunk/include/asterisk/stasis_channels.h 385121
/trunk/main/json.c 385121
/trunk/main/stasis_channels.c 385121
/trunk/res/res_stasis.c PRE-CREATION
/trunk/res/res_stasis.exports.in PRE-CREATION
/trunk/res/res_stasis_websocket.c 385121
/trunk/tests/test_app_stasis.c 385121
/trunk/tests/test_json.c 385121
/trunk/tests/test_res_stasis.c PRE-CREATION
/trunk/tests/test_stasis_channels.c 385121
Diff: https://reviewboard.asterisk.org/r/2430/diff/
Testing
-------
Unit tests still pass.
Thanks,
David Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130415/76c2cc30/attachment.htm>
More information about the asterisk-dev
mailing list