[asterisk-commits] kmoore: branch kmoore/stasis_http_rename r395544 - in /team/kmoore/stasis_htt...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 26 13:28:36 CDT 2013


Author: kmoore
Date: Fri Jul 26 13:28:34 2013
New Revision: 395544

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395544
Log:
Final tweaks

Modified:
    team/kmoore/stasis_http_rename/configs/ari.conf.sample
    team/kmoore/stasis_http_rename/res/ari/resource_asterisk.c
    team/kmoore/stasis_http_rename/res/ari/resource_bridges.c
    team/kmoore/stasis_http_rename/res/ari/resource_channels.c
    team/kmoore/stasis_http_rename/res/res_ari.c
    team/kmoore/stasis_http_rename/res/res_statsd.c
    team/kmoore/stasis_http_rename/tests/test_ari.c

Modified: team/kmoore/stasis_http_rename/configs/ari.conf.sample
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis_http_rename/configs/ari.conf.sample?view=diff&rev=395544&r1=395543&r2=395544
==============================================================================
--- team/kmoore/stasis_http_rename/configs/ari.conf.sample (original)
+++ team/kmoore/stasis_http_rename/configs/ari.conf.sample Fri Jul 26 13:28:34 2013
@@ -1,6 +1,6 @@
 [general]
-enabled = yes		; When set to no, stasis-http support is disabled.
-;pretty = no		; When set to yes, responses from stasis-http are
+enabled = yes		; When set to no, ARI support is disabled.
+;pretty = no		; When set to yes, responses from ARI are
 ;			; formatted to be human readable.
 ;allowed_origins =	; Comma separated list of allowed origins, for
 ;			; Cross-Origin Resource Sharing. May be set to * to

Modified: team/kmoore/stasis_http_rename/res/ari/resource_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis_http_rename/res/ari/resource_asterisk.c?view=diff&rev=395544&r1=395543&r2=395544
==============================================================================
--- team/kmoore/stasis_http_rename/res/ari/resource_asterisk.c (original)
+++ team/kmoore/stasis_http_rename/res/ari/resource_asterisk.c Fri Jul 26 13:28:34 2013
@@ -18,7 +18,7 @@
 
 /*! \file
  *
- * \brief Implementation for stasis-http stubs.
+ * \brief Implementation for ARI stubs.
  *
  * \author David M. Lee, II <dlee at digium.com>
  */

Modified: team/kmoore/stasis_http_rename/res/ari/resource_bridges.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis_http_rename/res/ari/resource_bridges.c?view=diff&rev=395544&r1=395543&r2=395544
==============================================================================
--- team/kmoore/stasis_http_rename/res/ari/resource_bridges.c (original)
+++ team/kmoore/stasis_http_rename/res/ari/resource_bridges.c Fri Jul 26 13:28:34 2013
@@ -18,7 +18,7 @@
 
 /*! \file
  *
- * \brief Implementation for stasis-http stubs.
+ * \brief Implementation for ARI stubs.
  *
  * \author David M. Lee, II <dlee at digium.com>
  */

Modified: team/kmoore/stasis_http_rename/res/ari/resource_channels.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis_http_rename/res/ari/resource_channels.c?view=diff&rev=395544&r1=395543&r2=395544
==============================================================================
--- team/kmoore/stasis_http_rename/res/ari/resource_channels.c (original)
+++ team/kmoore/stasis_http_rename/res/ari/resource_channels.c Fri Jul 26 13:28:34 2013
@@ -18,7 +18,7 @@
 
 /*! \file
  *
- * \brief Implementation for stasis-http stubs.
+ * \brief Implementation for ARI stubs.
  *
  * \author David M. Lee, II <dlee at digium.com>
  */

Modified: team/kmoore/stasis_http_rename/res/res_ari.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis_http_rename/res/res_ari.c?view=diff&rev=395544&r1=395543&r2=395544
==============================================================================
--- team/kmoore/stasis_http_rename/res/res_ari.c (original)
+++ team/kmoore/stasis_http_rename/res/res_ari.c Fri Jul 26 13:28:34 2013
@@ -83,10 +83,10 @@
 			<configObject name="general">
 				<synopsis>General configuration settings</synopsis>
 				<configOption name="enabled">
-					<synopsis>Enable/disable the stasis-http module</synopsis>
+					<synopsis>Enable/disable the ARI module</synopsis>
 				</configOption>
 				<configOption name="pretty">
-					<synopsis>Responses from stasis-http are formatted to be human readable</synopsis>
+					<synopsis>Responses from ARI are formatted to be human readable</synopsis>
 				</configOption>
 				<configOption name="auth_realm">
 					<synopsis>Realm to use for authentication. Defaults to Asterisk REST Interface.</synopsis>

Modified: team/kmoore/stasis_http_rename/res/res_statsd.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis_http_rename/res/res_statsd.c?view=diff&rev=395544&r1=395543&r2=395544
==============================================================================
--- team/kmoore/stasis_http_rename/res/res_statsd.c (original)
+++ team/kmoore/stasis_http_rename/res/res_statsd.c Fri Jul 26 13:28:34 2013
@@ -34,7 +34,7 @@
 			<configObject name="global">
 				<synopsis>Global configuration settings</synopsis>
 				<configOption name="enabled">
-					<synopsis>Enable/disable the stasis-http module</synopsis>
+					<synopsis>Enable/disable the statsd module</synopsis>
 				</configOption>
 				<configOption name="server">
 					<synopsis>Address of the statsd server</synopsis>

Modified: team/kmoore/stasis_http_rename/tests/test_ari.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis_http_rename/tests/test_ari.c?view=diff&rev=395544&r1=395543&r2=395544
==============================================================================
--- team/kmoore/stasis_http_rename/tests/test_ari.c (original)
+++ team/kmoore/stasis_http_rename/tests/test_ari.c Fri Jul 26 13:28:34 2013
@@ -206,7 +206,7 @@
 	switch (cmd) {
 	case TEST_INIT:
 		info->name = __func__;
-		info->category = "/stasis/http/";
+		info->category = "/res/ari/";
 		info->summary = "Test simple API get.";
 		info->description = "Test ARI binding logic.";
 		return AST_TEST_NOT_RUN;
@@ -237,7 +237,7 @@
 	switch (cmd) {
 	case TEST_INIT:
 		info->name = __func__;
-		info->category = "/stasis/http/";
+		info->category = "/res/ari/";
 		info->summary = "Test API get without a Host header";
 		info->description = "Test ARI binding logic.";
 		return AST_TEST_NOT_RUN;
@@ -264,7 +264,7 @@
 	switch (cmd) {
 	case TEST_INIT:
 		info->name = __func__;
-		info->category = "/stasis/http/";
+		info->category = "/res/ari/";
 		info->summary = "Test API get for invalid resource";
 		info->description = "Test ARI binding logic.";
 		return AST_TEST_NOT_RUN;
@@ -287,7 +287,7 @@
 	switch (cmd) {
 	case TEST_INIT:
 		info->name = __func__;
-		info->category = "/stasis/http/";
+		info->category = "/res/ari/";
 		info->summary = "Test API get for a file outside the rest-api path";
 		info->description = "Test ARI binding logic.";
 		return AST_TEST_NOT_RUN;
@@ -313,7 +313,7 @@
 	switch (cmd) {
 	case TEST_INIT:
 		info->name = __func__;
-		info->category = "/stasis/http/";
+		info->category = "/res/ari/";
 		info->summary = "Test simple GET of an HTTP resource.";
 		info->description = "Test ARI binding logic.";
 		return AST_TEST_NOT_RUN;
@@ -363,7 +363,7 @@
 	switch (cmd) {
 	case TEST_INIT:
 		info->name = __func__;
-		info->category = "/stasis/http/";
+		info->category = "/res/ari/";
 		info->summary = "Test GET of a wildcard resource.";
 		info->description = "Test ARI binding logic.";
 		return AST_TEST_NOT_RUN;
@@ -400,7 +400,7 @@
 	switch (cmd) {
 	case TEST_INIT:
 		info->name = __func__;
-		info->category = "/stasis/http/";
+		info->category = "/res/ari/";
 		info->summary = "Test DELETE of an HTTP resource.";
 		info->description = "Test ARI binding logic.";
 		return AST_TEST_NOT_RUN;
@@ -437,7 +437,7 @@
 	switch (cmd) {
 	case TEST_INIT:
 		info->name = __func__;
-		info->category = "/stasis/http/";
+		info->category = "/res/ari/";
 		info->summary = "Test POST of an HTTP resource.";
 		info->description = "Test ARI binding logic.";
 		return AST_TEST_NOT_RUN;
@@ -486,7 +486,7 @@
 	switch (cmd) {
 	case TEST_INIT:
 		info->name = __func__;
-		info->category = "/stasis/http/";
+		info->category = "/res/ari/";
 		info->summary = "Test POST on a resource that doesn't support it.";
 		info->description = "Test ARI binding logic.";
 		return AST_TEST_NOT_RUN;
@@ -514,7 +514,7 @@
 	switch (cmd) {
 	case TEST_INIT:
 		info->name = __func__;
-		info->category = "/stasis/http/";
+		info->category = "/res/ari/";
 		info->summary = "Test GET on a resource that does not exist.";
 		info->description = "Test ARI binding logic.";
 		return AST_TEST_NOT_RUN;




More information about the asterisk-commits mailing list