[asterisk-dev] [Code Review] 3277: testsuite: ARI Originate test for assigning UniqueId on channel creation
Scott Griepentrog
reviewboard at asterisk.org
Tue Mar 4 11:21:45 CST 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3277/
-----------------------------------------------------------
(Updated March 4, 2014, 11:21 a.m.)
Review request for Asterisk Developers.
Changes
-------
Full set of tests now included for ARI features provided in r3191
Bugs: ASTERISK-23120
https://issues.asterisk.org/jira/browse/ASTERISK-23120
Repository: testsuite
Description (updated)
-------
Tests included:
* rest_api/channels/originate_with_id: call origination with a specified Unique ID via ARI.
* rest_api/bridges/bridge_by_id: create bridge with Uniqueid ID and place channel in it.
* rest_api/playback/basic: play audio on channel and control it using unique id
* rest_api/channels/snoop_id: start and stop spy channel via unique id
Notes:
* originate tests borrow basic test plan and AMI/CEL checks from r3274 (AMI version of this same test).
* New class AriOriginateTestObject extends AriTestObject and overrides AMI channel origination with an ARI method.
* New configuration section 'requests' for WebSocketEventModule, which provides ability to issue post/delete/etc request in addition to or in place of a callback.
* Request uri's can now be constructed using variables from matched event, as in DELETE 'channel/{channel.id}'
Diffs (updated)
-----
/asterisk/trunk/tests/rest_api/tests.yaml 4735
/asterisk/trunk/tests/rest_api/playback/tests.yaml PRE-CREATION
/asterisk/trunk/tests/rest_api/playback/basic/test-config.yaml PRE-CREATION
/asterisk/trunk/tests/rest_api/playback/basic/configs/ast1/extensions.conf PRE-CREATION
/asterisk/trunk/tests/rest_api/channels/tests.yaml 4735
/asterisk/trunk/tests/rest_api/channels/snoop_id/test-config.yaml PRE-CREATION
/asterisk/trunk/tests/rest_api/channels/snoop_id/configs/ast1/extensions.conf PRE-CREATION
/asterisk/trunk/tests/rest_api/channels/originate_with_id/test-config.yaml PRE-CREATION
/asterisk/trunk/tests/rest_api/channels/originate_with_id/configs/ast1/extensions.conf PRE-CREATION
/asterisk/trunk/tests/rest_api/bridges/tests.yaml 4735
/asterisk/trunk/tests/rest_api/bridges/bridge_by_id/test-config.yaml PRE-CREATION
/asterisk/trunk/tests/rest_api/bridges/bridge_by_id/configs/ast1/extensions.conf PRE-CREATION
/asterisk/trunk/lib/python/asterisk/ari.py 4735
Diff: https://reviewboard.asterisk.org/r/3277/diff/
Testing (updated)
-------
All tests passed against r3191. Changing any specified id is detected by the test.
Thanks,
Scott Griepentrog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140304/79967a9b/attachment.html>
More information about the asterisk-dev
mailing list