[asterisk-dev] [Code Review] 2430: Moved core logic from app_stasis to res_stasis
opticron
reviewboard at asterisk.org
Thu Apr 11 14:48:16 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2430/#review8237
-----------------------------------------------------------
/trunk/include/asterisk/stasis_app.h
<https://reviewboard.asterisk.org/r/2430/#comment15906>
Change these to agree with the new file name.
/trunk/tests/test_res_stasis.c
<https://reviewboard.asterisk.org/r/2430/#comment15907>
I don't think this is quite right.
- opticron
On April 9, 2013, 2:47 p.m., David Lee wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2430/
> -----------------------------------------------------------
>
> (Updated April 9, 2013, 2:47 p.m.)
>
>
> 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 385141
> /trunk/apps/app_stasis.c 385141
> /trunk/apps/app_stasis.exports.in 385141
> /trunk/apps/stasis_json.c 385141
> /trunk/include/asterisk/app_stasis.h 385141
> /trunk/include/asterisk/json.h 385141
> /trunk/include/asterisk/stasis_app.h PRE-CREATION
> /trunk/include/asterisk/stasis_channels.h 385141
> /trunk/main/json.c 385141
> /trunk/main/stasis_channels.c 385141
> /trunk/res/res_stasis.c PRE-CREATION
> /trunk/res/res_stasis.exports.in PRE-CREATION
> /trunk/res/res_stasis_websocket.c 385141
> /trunk/tests/test_app_stasis.c 385141
> /trunk/tests/test_json.c 385141
> /trunk/tests/test_res_stasis.c PRE-CREATION
> /trunk/tests/test_stasis_channels.c 385141
>
> 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/20130411/4443dc2d/attachment-0001.htm>
More information about the asterisk-dev
mailing list