[Asterisk-code-review] rest api/asterisk/modules/get modules: Stop checking use cou... (testsuite[master])

Jenkins2 asteriskteam at digium.com
Mon Nov 6 07:29:24 CST 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/6971 )

Change subject: rest_api/asterisk/modules/get_modules: Stop checking use_count's.
......................................................................

rest_api/asterisk/modules/get_modules: Stop checking use_count's.

This removes the check for use_count from each module.  Use counts on
modules are an implementation detail that can change.

ASTERISK-27389

Change-Id: I7f99390db8ef79a1f37458a0e71d8ee4455b5835
---
M tests/rest_api/asterisk/modules/get_modules/test-config.yaml
1 file changed, 0 insertions(+), 21 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/tests/rest_api/asterisk/modules/get_modules/test-config.yaml b/tests/rest_api/asterisk/modules/get_modules/test-config.yaml
index 6c3d6ac..a350827 100644
--- a/tests/rest_api/asterisk/modules/get_modules/test-config.yaml
+++ b/tests/rest_api/asterisk/modules/get_modules/test-config.yaml
@@ -34,7 +34,6 @@
                                 {
                                   "name": "app_echo.so",
                                   "description": "Simple Echo Application",
-                                  "use_count": 1,
                                   "status": "Running",
                                   "support_level": "core",
                                 }
@@ -42,7 +41,6 @@
                                 {
                                   "name": "app_stasis.so",
                                   "description": "Stasis dialplan application",
-                                  "use_count": 1,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -50,7 +48,6 @@
                                 {
                                   "name": "pbx_config.so",
                                   "description": "Text Extension Configuration",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -58,7 +55,6 @@
                                 {
                                   "name": "res_ari.so",
                                   "description": "Asterisk RESTful Interface",
-                                  "use_count": 10,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -66,7 +62,6 @@
                                 {
                                   "name": "res_ari_applications.so",
                                   "description": "RESTful API module - Stasis application resources",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -74,7 +69,6 @@
                                 {
                                   "name": "res_ari_asterisk.so",
                                   "description": "RESTful API module - Asterisk resources",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -82,7 +76,6 @@
                                 {
                                   "name": "res_ari_bridges.so",
                                   "description": "RESTful API module - Bridge resources",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -90,7 +83,6 @@
                                 {
                                   "name": "res_ari_channels.so",
                                   "description": "RESTful API module - Channel resources",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -98,7 +90,6 @@
                                 {
                                   "name": "res_ari_device_states.so",
                                   "description": "RESTful API module - Device state resources",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -106,7 +97,6 @@
                                 {
                                   "name": "res_ari_endpoints.so",
                                   "description": "RESTful API module - Endpoint resources",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -114,7 +104,6 @@
                                 {
                                   "name": "res_ari_events.so",
                                   "description": "RESTful API module - WebSocket resource",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -122,7 +111,6 @@
                                 {
                                   "name": "res_ari_model.so",
                                   "description": "ARI Model validators",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -130,7 +118,6 @@
                                 {
                                   "name": "res_ari_playbacks.so",
                                   "description": "RESTful API module - Playback control resources",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -138,7 +125,6 @@
                                 {
                                   "name": "res_ari_recordings.so",
                                   "description": "RESTful API module - Recording resources",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -146,7 +132,6 @@
                                 {
                                   "name": "res_ari_sounds.so",
                                   "description": "RESTful API module - Sound resources",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -154,7 +139,6 @@
                                 {
                                   "name": "res_http_websocket.so",
                                   "description": "HTTP WebSocket Support",
-                                  "use_count": 2,
                                   "status": "Running",
                                   "support_level": "extended"
                                 }
@@ -170,7 +154,6 @@
                                 {
                                   "name": "res_stasis_answer.so",
                                   "description": "Stasis application answer support",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -178,7 +161,6 @@
                                 {
                                   "name": "res_stasis_device_state.so",
                                   "description": "Stasis application device state support",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -186,7 +168,6 @@
                                 {
                                   "name": "res_stasis_playback.so",
                                   "description": "Stasis application playback support",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -194,7 +175,6 @@
                                 {
                                   "name": "res_stasis_recording.so",
                                   "description": "Stasis application recording support",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }
@@ -202,7 +182,6 @@
                                 {
                                   "name": "res_stasis_snoop.so",
                                   "description": "Stasis application snoop support",
-                                  "use_count": 0,
                                   "status": "Running",
                                   "support_level": "core"
                                 }

-- 
To view, visit https://gerrit.asterisk.org/6971
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7f99390db8ef79a1f37458a0e71d8ee4455b5835
Gerrit-Change-Number: 6971
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171106/2a7ed65d/attachment-0001.html>


More information about the asterisk-code-review mailing list