mu 5.7.2.6 → 5.7.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/mu.rb +0 -1
- data/lib/mu/api/scale.rb +1 -1
- data/rdoc/Gemfile.html +194 -0
- data/rdoc/LICENSE_txt.html +201 -0
- data/rdoc/Mu.html +478 -0
- data/rdoc/Mu/Client.html +461 -0
- data/rdoc/Mu/Command.html +338 -0
- data/rdoc/Mu/Command/API.html +844 -0
- data/rdoc/Mu/Command/Cmd_appid.html +1342 -0
- data/rdoc/Mu/Command/Cmd_cli.html +800 -0
- data/rdoc/Mu/Command/Cmd_ddt.html +1612 -0
- data/rdoc/Mu/Command/Cmd_homepage.html +762 -0
- data/rdoc/Mu/Command/Cmd_muapi.html +1363 -0
- data/rdoc/Mu/Command/Cmd_netconfig.html +1077 -0
- data/rdoc/Mu/Command/Cmd_runscale.html +1441 -0
- data/rdoc/Mu/Command/Cmd_runscenario.html +787 -0
- data/rdoc/Mu/Command/Cmd_runverify.html +893 -0
- data/rdoc/Mu/Command/Cmd_scale.html +1323 -0
- data/rdoc/Mu/Command/Cmd_system.html +677 -0
- data/rdoc/Mu/Command/Curl.html +751 -0
- data/rdoc/Mu/Command/Help.html +305 -0
- data/rdoc/Mu/Curl.html +243 -0
- data/rdoc/Mu/Curl/Error.html +304 -0
- data/rdoc/Mu/Curl/Error/Authorize.html +355 -0
- data/rdoc/Mu/Curl/Error/Connect.html +286 -0
- data/rdoc/Mu/Curl/Error/DNS.html +236 -0
- data/rdoc/Mu/Curl/Error/Region.html +307 -0
- data/rdoc/Mu/Curl/Error/Status.html +286 -0
- data/rdoc/Mu/Curl/Error/Timeout.html +286 -0
- data/rdoc/Mu/Curl/Verify.html +472 -0
- data/rdoc/Mu/Curl/Verify/Request.html +424 -0
- data/rdoc/Mu/Curl/Verify/Response.html +372 -0
- data/rdoc/Mu/Curl/Verify/Result.html +373 -0
- data/rdoc/Mu/Ddt.html +1347 -0
- data/rdoc/Mu/Helper.html +517 -0
- data/rdoc/Mu/Homepage.html +719 -0
- data/rdoc/Mu/HttpHelper.html +890 -0
- data/rdoc/Mu/Muapi.html +1226 -0
- data/rdoc/Mu/Netconfig.html +1178 -0
- data/rdoc/Mu/Scale.html +1359 -0
- data/rdoc/Mu/System.html +504 -0
- data/rdoc/Object.html +285 -0
- data/rdoc/README_rdoc.html +892 -0
- data/rdoc/Rakefile.html +257 -0
- data/rdoc/TCTestMu.html +2583 -0
- data/rdoc/Test.html +235 -0
- data/rdoc/Test/Unit.html +235 -0
- data/rdoc/Test/Unit/TestCase.html +236 -0
- data/rdoc/Test/helper_rb.html +62 -0
- data/rdoc/Test/tc_test_mu_rb.html +60 -0
- data/rdoc/VERSION.html +179 -0
- data/rdoc/bin/mu.html +54 -0
- data/rdoc/created.rid +36 -1
- data/rdoc/images/brick.png +0 -0
- data/rdoc/images/brick_link.png +0 -0
- data/rdoc/images/bug.png +0 -0
- data/rdoc/images/bullet_black.png +0 -0
- data/rdoc/images/bullet_toggle_minus.png +0 -0
- data/rdoc/images/bullet_toggle_plus.png +0 -0
- data/rdoc/images/date.png +0 -0
- data/rdoc/images/find.png +0 -0
- data/rdoc/images/loadingAnimation.gif +0 -0
- data/rdoc/images/macFFBgHack.png +0 -0
- data/rdoc/images/package.png +0 -0
- data/rdoc/images/page_green.png +0 -0
- data/rdoc/images/page_white_text.png +0 -0
- data/rdoc/images/page_white_width.png +0 -0
- data/rdoc/images/plugin.png +0 -0
- data/rdoc/images/ruby.png +0 -0
- data/rdoc/images/tag_green.png +0 -0
- data/rdoc/images/wrench.png +0 -0
- data/rdoc/images/wrench_orange.png +0 -0
- data/rdoc/images/zoom.png +0 -0
- data/rdoc/index.html +880 -20
- data/rdoc/js/darkfish.js +116 -0
- data/rdoc/js/jquery.js +32 -0
- data/rdoc/js/quicksearch.js +114 -0
- data/rdoc/js/thickbox-compressed.js +10 -0
- data/rdoc/lib/mu/api/ddt_rb.html +52 -0
- data/rdoc/lib/mu/api/homepage_rb.html +52 -0
- data/rdoc/lib/mu/api/muapi_rb.html +52 -0
- data/rdoc/lib/mu/api/netconfig_rb.html +52 -0
- data/rdoc/lib/mu/api/scale_rb.html +52 -0
- data/rdoc/lib/mu/api/system_rb.html +52 -0
- data/rdoc/lib/mu/client_rb.html +52 -0
- data/rdoc/lib/mu/command/api_rb.html +52 -0
- data/rdoc/lib/mu/command/cmd_appid_rb.html +62 -0
- data/rdoc/lib/mu/command/cmd_cli_rb.html +55 -0
- data/rdoc/lib/mu/command/cmd_ddt_rb.html +60 -0
- data/rdoc/lib/mu/command/cmd_homepage_rb.html +57 -0
- data/rdoc/lib/mu/command/cmd_muapi_rb.html +59 -0
- data/rdoc/lib/mu/command/cmd_netconfig_rb.html +58 -0
- data/rdoc/lib/mu/command/cmd_runscale_rb.html +62 -0
- data/rdoc/lib/mu/command/cmd_runscenario_rb.html +57 -0
- data/rdoc/lib/mu/command/cmd_runverify_rb.html +61 -0
- data/rdoc/lib/mu/command/cmd_scale_rb.html +58 -0
- data/rdoc/lib/mu/command/cmd_system_rb.html +59 -0
- data/rdoc/lib/mu/command/curl_rb.html +52 -0
- data/rdoc/lib/mu/command/help_rb.html +52 -0
- data/rdoc/lib/mu/command_rb.html +55 -0
- data/rdoc/lib/mu/curl/error_rb.html +52 -0
- data/rdoc/lib/mu/curl/verify_rb.html +52 -0
- data/rdoc/lib/mu/helper_rb.html +52 -0
- data/rdoc/lib/mu/http_helper_rb.html +52 -0
- data/rdoc/lib/mu_rb.html +80 -0
- data/rdoc/rdoc.css +706 -0
- data/test/data/app_id_stats.csv +1 -1
- data/test/data/app_id_status.json +117 -117
- data/test/data/{scale_configuration.json → scale.json} +11 -11
- metadata +142 -407
- data/rdoc/classes/Mu.src/M000001.html +0 -39
- data/rdoc/classes/Mu.src/M000002.html +0 -29
- data/rdoc/classes/Mu.src/M000053.html +0 -39
- data/rdoc/classes/Mu.src/M000054.html +0 -29
- data/rdoc/classes/Mu/Client.src/M000212.html +0 -24
- data/rdoc/classes/Mu/Client.src/M000213.html +0 -18
- data/rdoc/classes/Mu/Client.src/M000214.html +0 -18
- data/rdoc/classes/Mu/Client.src/M000215.html +0 -18
- data/rdoc/classes/Mu/Client.src/M000216.html +0 -18
- data/rdoc/classes/Mu/Command/API.src/M000130.html +0 -22
- data/rdoc/classes/Mu/Command/API.src/M000131.html +0 -19
- data/rdoc/classes/Mu/Command/API.src/M000132.html +0 -19
- data/rdoc/classes/Mu/Command/API.src/M000133.html +0 -19
- data/rdoc/classes/Mu/Command/API.src/M000134.html +0 -18
- data/rdoc/classes/Mu/Command/API.src/M000135.html +0 -17
- data/rdoc/classes/Mu/Command/API.src/M000136.html +0 -23
- data/rdoc/classes/Mu/Command/API.src/M000137.html +0 -18
- data/rdoc/classes/Mu/Command/API.src/M000138.html +0 -29
- data/rdoc/classes/Mu/Command/API.src/M000139.html +0 -18
- data/rdoc/classes/Mu/Command/API.src/M000140.html +0 -22
- data/rdoc/classes/Mu/Command/API.src/M000141.html +0 -19
- data/rdoc/classes/Mu/Command/API.src/M000142.html +0 -18
- data/rdoc/classes/Mu/Command/API.src/M000143.html +0 -18
- data/rdoc/classes/Mu/Command/API.src/M000144.html +0 -17
- data/rdoc/classes/Mu/Command/Cmd_appid.src/M000053.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_appid.src/M000054.html +0 -30
- data/rdoc/classes/Mu/Command/Cmd_appid.src/M000055.html +0 -39
- data/rdoc/classes/Mu/Command/Cmd_appid.src/M000056.html +0 -50
- data/rdoc/classes/Mu/Command/Cmd_appid.src/M000145.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_appid.src/M000146.html +0 -30
- data/rdoc/classes/Mu/Command/Cmd_appid.src/M000147.html +0 -39
- data/rdoc/classes/Mu/Command/Cmd_appid.src/M000148.html +0 -50
- data/rdoc/classes/Mu/Command/Cmd_cli.src/M000200.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_cli.src/M000201.html +0 -19
- data/rdoc/classes/Mu/Command/Cmd_cli.src/M000202.html +0 -19
- data/rdoc/classes/Mu/Command/Cmd_cli.src/M000203.html +0 -19
- data/rdoc/classes/Mu/Command/Cmd_cli.src/M000204.html +0 -20
- data/rdoc/classes/Mu/Command/Cmd_cli.src/M000205.html +0 -20
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000101.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000102.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000103.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000104.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000105.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000106.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000107.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000108.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000109.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000110.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000111.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000112.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000113.html +0 -43
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000114.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000115.html +0 -38
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000116.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000117.html +0 -38
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000118.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000119.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000120.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000121.html +0 -24
- data/rdoc/classes/Mu/Command/Cmd_ddt.src/M000122.html +0 -24
- data/rdoc/classes/Mu/Command/Cmd_homepage.src/M000206.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_homepage.src/M000207.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_homepage.src/M000208.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_homepage.src/M000209.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_homepage.src/M000210.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_homepage.src/M000211.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000164.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000165.html +0 -27
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000166.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000167.html +0 -27
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000168.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000169.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000170.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000171.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000172.html +0 -28
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000173.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000174.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000175.html +0 -28
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000176.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000177.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000178.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000179.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_muapi.src/M000180.html +0 -24
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000060.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000061.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000062.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000063.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000064.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000065.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000066.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000067.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000068.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000069.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000070.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000071.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000152.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000153.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000154.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000155.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000156.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000157.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000158.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000159.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000160.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000161.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000162.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_netconfig.src/M000163.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_runscale.src/M000003.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_runscale.src/M000004.html +0 -51
- data/rdoc/classes/Mu/Command/Cmd_runscale.src/M000005.html +0 -50
- data/rdoc/classes/Mu/Command/Cmd_runscale.src/M000057.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_runscale.src/M000058.html +0 -51
- data/rdoc/classes/Mu/Command/Cmd_runscale.src/M000059.html +0 -50
- data/rdoc/classes/Mu/Command/Cmd_runscale.src/M000149.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_runscale.src/M000150.html +0 -51
- data/rdoc/classes/Mu/Command/Cmd_runscale.src/M000151.html +0 -50
- data/rdoc/classes/Mu/Command/Cmd_runscenario.src/M000128.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_runscenario.src/M000129.html +0 -144
- data/rdoc/classes/Mu/Command/Cmd_runverify.src/M000198.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_runverify.src/M000199.html +0 -200
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000181.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000182.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000183.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000184.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000185.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000186.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000187.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000188.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000189.html +0 -23
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000190.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000191.html +0 -29
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000192.html +0 -27
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000193.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000194.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000195.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000196.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_scale.src/M000197.html +0 -22
- data/rdoc/classes/Mu/Command/Cmd_system.src/M000097.html +0 -18
- data/rdoc/classes/Mu/Command/Cmd_system.src/M000098.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_system.src/M000099.html +0 -21
- data/rdoc/classes/Mu/Command/Cmd_system.src/M000100.html +0 -21
- data/rdoc/classes/Mu/Command/Curl.src/M000124.html +0 -18
- data/rdoc/classes/Mu/Command/Curl.src/M000125.html +0 -21
- data/rdoc/classes/Mu/Command/Curl.src/M000126.html +0 -26
- data/rdoc/classes/Mu/Command/Help.src/M000123.html +0 -38
- data/rdoc/classes/Mu/Curl/Error.src/M000063.html +0 -18
- data/rdoc/classes/Mu/Curl/Error/Authorize.src/M000065.html +0 -22
- data/rdoc/classes/Mu/Curl/Error/Connect.src/M000068.html +0 -19
- data/rdoc/classes/Mu/Curl/Error/Region.src/M000066.html +0 -19
- data/rdoc/classes/Mu/Curl/Error/Status.src/M000064.html +0 -19
- data/rdoc/classes/Mu/Curl/Error/Timeout.src/M000067.html +0 -19
- data/rdoc/classes/Mu/Curl/Verify.src/M000055.html +0 -29
- data/rdoc/classes/Mu/Curl/Verify.src/M000056.html +0 -18
- data/rdoc/classes/Mu/Curl/Verify.src/M000057.html +0 -46
- data/rdoc/classes/Mu/Curl/Verify.src/M000058.html +0 -18
- data/rdoc/classes/Mu/Curl/Verify/Request.src/M000061.html +0 -35
- data/rdoc/classes/Mu/Curl/Verify/Request.src/M000062.html +0 -23
- data/rdoc/classes/Mu/Curl/Verify/Response.src/M000059.html +0 -24
- data/rdoc/classes/Mu/Curl/Verify/Result.src/M000060.html +0 -25
- data/rdoc/classes/Mu/Ddt.src/M000242.html +0 -24
- data/rdoc/classes/Mu/Ddt.src/M000243.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000244.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000245.html +0 -23
- data/rdoc/classes/Mu/Ddt.src/M000246.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000247.html +0 -32
- data/rdoc/classes/Mu/Ddt.src/M000248.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000249.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000250.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000251.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000252.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000253.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000254.html +0 -25
- data/rdoc/classes/Mu/Ddt.src/M000255.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000256.html +0 -24
- data/rdoc/classes/Mu/Ddt.src/M000257.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000258.html +0 -24
- data/rdoc/classes/Mu/Ddt.src/M000259.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000260.html +0 -35
- data/rdoc/classes/Mu/Ddt.src/M000261.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000262.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000263.html +0 -20
- data/rdoc/classes/Mu/Ddt.src/M000264.html +0 -22
- data/rdoc/classes/Mu/Homepage.src/M000236.html +0 -25
- data/rdoc/classes/Mu/Homepage.src/M000237.html +0 -20
- data/rdoc/classes/Mu/Homepage.src/M000238.html +0 -20
- data/rdoc/classes/Mu/Homepage.src/M000239.html +0 -20
- data/rdoc/classes/Mu/Homepage.src/M000240.html +0 -20
- data/rdoc/classes/Mu/Homepage.src/M000241.html +0 -20
- data/rdoc/classes/Mu/HttpHelper.src/M000069.html +0 -22
- data/rdoc/classes/Mu/HttpHelper.src/M000070.html +0 -25
- data/rdoc/classes/Mu/HttpHelper.src/M000071.html +0 -34
- data/rdoc/classes/Mu/HttpHelper.src/M000072.html +0 -39
- data/rdoc/classes/Mu/HttpHelper.src/M000073.html +0 -36
- data/rdoc/classes/Mu/HttpHelper.src/M000074.html +0 -34
- data/rdoc/classes/Mu/HttpHelper.src/M000075.html +0 -46
- data/rdoc/classes/Mu/HttpHelper.src/M000076.html +0 -24
- data/rdoc/classes/Mu/HttpHelper.src/M000077.html +0 -19
- data/rdoc/classes/Mu/HttpHelper.src/M000078.html +0 -33
- data/rdoc/classes/Mu/HttpHelper.src/M000079.html +0 -29
- data/rdoc/classes/Mu/Muapi.src/M000080.html +0 -25
- data/rdoc/classes/Mu/Muapi.src/M000081.html +0 -27
- data/rdoc/classes/Mu/Muapi.src/M000082.html +0 -24
- data/rdoc/classes/Mu/Muapi.src/M000083.html +0 -27
- data/rdoc/classes/Mu/Muapi.src/M000084.html +0 -23
- data/rdoc/classes/Mu/Muapi.src/M000085.html +0 -23
- data/rdoc/classes/Mu/Muapi.src/M000086.html +0 -23
- data/rdoc/classes/Mu/Muapi.src/M000087.html +0 -23
- data/rdoc/classes/Mu/Muapi.src/M000088.html +0 -23
- data/rdoc/classes/Mu/Muapi.src/M000089.html +0 -22
- data/rdoc/classes/Mu/Muapi.src/M000090.html +0 -21
- data/rdoc/classes/Mu/Muapi.src/M000091.html +0 -19
- data/rdoc/classes/Mu/Muapi.src/M000092.html +0 -18
- data/rdoc/classes/Mu/Muapi.src/M000093.html +0 -18
- data/rdoc/classes/Mu/Muapi.src/M000094.html +0 -36
- data/rdoc/classes/Mu/Muapi.src/M000095.html +0 -34
- data/rdoc/classes/Mu/Muapi.src/M000096.html +0 -34
- data/rdoc/classes/Mu/Netconfig.src/M000072.html +0 -25
- data/rdoc/classes/Mu/Netconfig.src/M000073.html +0 -20
- data/rdoc/classes/Mu/Netconfig.src/M000074.html +0 -21
- data/rdoc/classes/Mu/Netconfig.src/M000075.html +0 -24
- data/rdoc/classes/Mu/Netconfig.src/M000076.html +0 -20
- data/rdoc/classes/Mu/Netconfig.src/M000077.html +0 -36
- data/rdoc/classes/Mu/Netconfig.src/M000078.html +0 -22
- data/rdoc/classes/Mu/Netconfig.src/M000079.html +0 -22
- data/rdoc/classes/Mu/Netconfig.src/M000080.html +0 -39
- data/rdoc/classes/Mu/Netconfig.src/M000081.html +0 -21
- data/rdoc/classes/Mu/Netconfig.src/M000082.html +0 -23
- data/rdoc/classes/Mu/Netconfig.src/M000083.html +0 -26
- data/rdoc/classes/Mu/Netconfig.src/M000084.html +0 -23
- data/rdoc/classes/Mu/Netconfig.src/M000085.html +0 -22
- data/rdoc/classes/Mu/Netconfig.src/M000086.html +0 -19
- data/rdoc/classes/Mu/Netconfig.src/M000217.html +0 -25
- data/rdoc/classes/Mu/Netconfig.src/M000218.html +0 -20
- data/rdoc/classes/Mu/Netconfig.src/M000219.html +0 -21
- data/rdoc/classes/Mu/Netconfig.src/M000220.html +0 -24
- data/rdoc/classes/Mu/Netconfig.src/M000221.html +0 -20
- data/rdoc/classes/Mu/Netconfig.src/M000222.html +0 -36
- data/rdoc/classes/Mu/Netconfig.src/M000223.html +0 -22
- data/rdoc/classes/Mu/Netconfig.src/M000224.html +0 -22
- data/rdoc/classes/Mu/Netconfig.src/M000225.html +0 -37
- data/rdoc/classes/Mu/Netconfig.src/M000226.html +0 -21
- data/rdoc/classes/Mu/Netconfig.src/M000227.html +0 -23
- data/rdoc/classes/Mu/Netconfig.src/M000228.html +0 -26
- data/rdoc/classes/Mu/Netconfig.src/M000229.html +0 -23
- data/rdoc/classes/Mu/Netconfig.src/M000230.html +0 -22
- data/rdoc/classes/Mu/Netconfig.src/M000231.html +0 -19
- data/rdoc/classes/Mu/Scale.src/M000006.html +0 -47
- data/rdoc/classes/Mu/Scale.src/M000007.html +0 -27
- data/rdoc/classes/Mu/Scale.src/M000008.html +0 -22
- data/rdoc/classes/Mu/Scale.src/M000009.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000010.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000011.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000012.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000013.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000014.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000015.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000016.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000017.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000018.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000019.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000020.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000021.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000022.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000023.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000024.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000025.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000265.html +0 -46
- data/rdoc/classes/Mu/Scale.src/M000266.html +0 -27
- data/rdoc/classes/Mu/Scale.src/M000267.html +0 -22
- data/rdoc/classes/Mu/Scale.src/M000268.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000269.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000270.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000271.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000272.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000273.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000274.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000275.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000276.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000277.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000278.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000279.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000280.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000281.html +0 -20
- data/rdoc/classes/Mu/Scale.src/M000282.html +0 -20
- data/rdoc/classes/Mu/System.src/M000232.html +0 -25
- data/rdoc/classes/Mu/System.src/M000233.html +0 -20
- data/rdoc/classes/Mu/System.src/M000234.html +0 -20
- data/rdoc/classes/Mu/System.src/M000235.html +0 -20
- data/rdoc/classes/Object.src/M000052.html +0 -18
- data/rdoc/classes/TCTestMu.src/M000001.html +0 -24
- data/rdoc/classes/TCTestMu.src/M000002.html +0 -18
- data/rdoc/classes/TCTestMu.src/M000003.html +0 -32
- data/rdoc/classes/TCTestMu.src/M000004.html +0 -33
- data/rdoc/classes/TCTestMu.src/M000005.html +0 -21
- data/rdoc/classes/TCTestMu.src/M000006.html +0 -21
- data/rdoc/classes/TCTestMu.src/M000007.html +0 -26
- data/rdoc/classes/TCTestMu.src/M000008.html +0 -29
- data/rdoc/classes/TCTestMu.src/M000009.html +0 -39
- data/rdoc/classes/TCTestMu.src/M000010.html +0 -38
- data/rdoc/classes/TCTestMu.src/M000011.html +0 -38
- data/rdoc/classes/TCTestMu.src/M000012.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000013.html +0 -25
- data/rdoc/classes/TCTestMu.src/M000014.html +0 -25
- data/rdoc/classes/TCTestMu.src/M000015.html +0 -33
- data/rdoc/classes/TCTestMu.src/M000016.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000017.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000018.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000019.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000020.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000021.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000022.html +0 -23
- data/rdoc/classes/TCTestMu.src/M000023.html +0 -23
- data/rdoc/classes/TCTestMu.src/M000024.html +0 -44
- data/rdoc/classes/TCTestMu.src/M000025.html +0 -53
- data/rdoc/classes/TCTestMu.src/M000026.html +0 -22
- data/rdoc/classes/TCTestMu.src/M000027.html +0 -49
- data/rdoc/classes/TCTestMu.src/M000028.html +0 -40
- data/rdoc/classes/TCTestMu.src/M000029.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000030.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000031.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000032.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000033.html +0 -27
- data/rdoc/classes/TCTestMu.src/M000034.html +0 -32
- data/rdoc/classes/TCTestMu.src/M000035.html +0 -23
- data/rdoc/classes/TCTestMu.src/M000036.html +0 -41
- data/rdoc/classes/TCTestMu.src/M000037.html +0 -23
- data/rdoc/classes/TCTestMu.src/M000038.html +0 -24
- data/rdoc/classes/TCTestMu.src/M000039.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000040.html +0 -32
- data/rdoc/classes/TCTestMu.src/M000041.html +0 -32
- data/rdoc/classes/TCTestMu.src/M000042.html +0 -26
- data/rdoc/classes/TCTestMu.src/M000043.html +0 -28
- data/rdoc/classes/TCTestMu.src/M000044.html +0 -21
- data/rdoc/classes/TCTestMu.src/M000045.html +0 -23
- data/rdoc/classes/TCTestMu.src/M000046.html +0 -21
- data/rdoc/classes/TCTestMu.src/M000047.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000048.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000049.html +0 -22
- data/rdoc/classes/TCTestMu.src/M000050.html +0 -20
- data/rdoc/classes/TCTestMu.src/M000051.html +0 -35
- data/test/helper.rb +0 -18
- data/test/tc_test_mu.rb +0 -720
data/rdoc/Mu/Scale.html
ADDED
|
@@ -0,0 +1,1359 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
5
|
+
<head>
|
|
6
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
|
7
|
+
|
|
8
|
+
<title>Class: Mu::Scale</title>
|
|
9
|
+
|
|
10
|
+
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
|
|
11
|
+
|
|
12
|
+
<script src="../js/jquery.js" type="text/javascript"
|
|
13
|
+
charset="utf-8"></script>
|
|
14
|
+
<script src="../js/thickbox-compressed.js" type="text/javascript"
|
|
15
|
+
charset="utf-8"></script>
|
|
16
|
+
<script src="../js/quicksearch.js" type="text/javascript"
|
|
17
|
+
charset="utf-8"></script>
|
|
18
|
+
<script src="../js/darkfish.js" type="text/javascript"
|
|
19
|
+
charset="utf-8"></script>
|
|
20
|
+
|
|
21
|
+
</head>
|
|
22
|
+
<body class="class">
|
|
23
|
+
|
|
24
|
+
<div id="metadata">
|
|
25
|
+
<div id="home-metadata">
|
|
26
|
+
<div id="home-section" class="section">
|
|
27
|
+
<h3 class="section-header">
|
|
28
|
+
<a href="../index.html">Home</a>
|
|
29
|
+
<a href="../index.html#classes">Classes</a>
|
|
30
|
+
<a href="../index.html#methods">Methods</a>
|
|
31
|
+
</h3>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div id="file-metadata">
|
|
36
|
+
<div id="file-list-section" class="section">
|
|
37
|
+
<h3 class="section-header">In Files</h3>
|
|
38
|
+
<div class="section-body">
|
|
39
|
+
<ul>
|
|
40
|
+
|
|
41
|
+
<li><a href="../lib/mu/api/scale_rb.html?TB_iframe=true&height=550&width=785"
|
|
42
|
+
class="thickbox" title="lib/mu/api/scale.rb">lib/mu/api/scale.rb</a></li>
|
|
43
|
+
|
|
44
|
+
</ul>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
<div id="class-metadata">
|
|
52
|
+
|
|
53
|
+
<!-- Parent Class -->
|
|
54
|
+
|
|
55
|
+
<div id="parent-class-section" class="section">
|
|
56
|
+
<h3 class="section-header">Parent</h3>
|
|
57
|
+
|
|
58
|
+
<p class="link"><a href="../Object.html">Object</a></p>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
<!-- Namespace Contents -->
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
<!-- Method Quickref -->
|
|
67
|
+
|
|
68
|
+
<div id="method-list-section" class="section">
|
|
69
|
+
<h3 class="section-header">Methods</h3>
|
|
70
|
+
<ul class="link-list">
|
|
71
|
+
|
|
72
|
+
<li><a href="#method-c-new">::new</a></li>
|
|
73
|
+
|
|
74
|
+
<li><a href="#method-i-about">#about</a></li>
|
|
75
|
+
|
|
76
|
+
<li><a href="#method-i-configure">#configure</a></li>
|
|
77
|
+
|
|
78
|
+
<li><a href="#method-i-data">#data</a></li>
|
|
79
|
+
|
|
80
|
+
<li><a href="#method-i-delete_scale_engine">#delete_scale_engine</a></li>
|
|
81
|
+
|
|
82
|
+
<li><a href="#method-i-get">#get</a></li>
|
|
83
|
+
|
|
84
|
+
<li><a href="#method-i-list">#list</a></li>
|
|
85
|
+
|
|
86
|
+
<li><a href="#method-i-pattern">#pattern</a></li>
|
|
87
|
+
|
|
88
|
+
<li><a href="#method-i-pcap">#pcap</a></li>
|
|
89
|
+
|
|
90
|
+
<li><a href="#method-i-post">#post</a></li>
|
|
91
|
+
|
|
92
|
+
<li><a href="#method-i-release">#release</a></li>
|
|
93
|
+
|
|
94
|
+
<li><a href="#method-i-release_scale_engine">#release_scale_engine</a></li>
|
|
95
|
+
|
|
96
|
+
<li><a href="#method-i-reserve_scale_engine">#reserve_scale_engine</a></li>
|
|
97
|
+
|
|
98
|
+
<li><a href="#method-i-session">#session</a></li>
|
|
99
|
+
|
|
100
|
+
<li><a href="#method-i-start">#start</a></li>
|
|
101
|
+
|
|
102
|
+
<li><a href="#method-i-start_n">#start_n</a></li>
|
|
103
|
+
|
|
104
|
+
<li><a href="#method-i-status">#status</a></li>
|
|
105
|
+
|
|
106
|
+
<li><a href="#method-i-statuses">#statuses</a></li>
|
|
107
|
+
|
|
108
|
+
<li><a href="#method-i-stop">#stop</a></li>
|
|
109
|
+
|
|
110
|
+
<li><a href="#method-i-update">#update</a></li>
|
|
111
|
+
|
|
112
|
+
<li><a href="#method-i-verify">#verify</a></li>
|
|
113
|
+
|
|
114
|
+
<li><a href="#method-i-verify_n">#verify_n</a></li>
|
|
115
|
+
|
|
116
|
+
</ul>
|
|
117
|
+
</div>
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
<!-- Included Modules -->
|
|
121
|
+
|
|
122
|
+
<div id="includes-section" class="section">
|
|
123
|
+
<h3 class="section-header">Included Modules</h3>
|
|
124
|
+
<ul class="link-list">
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
<li><span class="include">Helper</span></li>
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
</ul>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
<div id="project-metadata">
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
<div id="fileindex-section" class="section project-section">
|
|
139
|
+
<h3 class="section-header">Files</h3>
|
|
140
|
+
<ul>
|
|
141
|
+
|
|
142
|
+
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
|
|
143
|
+
|
|
144
|
+
<li class="file"><a href="../LICENSE_txt.html">LICENSE.txt</a></li>
|
|
145
|
+
|
|
146
|
+
<li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
|
|
147
|
+
|
|
148
|
+
<li class="file"><a href="../Rakefile.html">Rakefile</a></li>
|
|
149
|
+
|
|
150
|
+
<li class="file"><a href="../VERSION.html">VERSION</a></li>
|
|
151
|
+
|
|
152
|
+
</ul>
|
|
153
|
+
</div>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
<div id="classindex-section" class="section project-section">
|
|
157
|
+
<h3 class="section-header">Class Index
|
|
158
|
+
<span class="search-toggle"><img src="../images/find.png"
|
|
159
|
+
height="16" width="16" alt="[+]"
|
|
160
|
+
title="show/hide quicksearch" /></span></h3>
|
|
161
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
|
162
|
+
<fieldset>
|
|
163
|
+
<legend>Quicksearch</legend>
|
|
164
|
+
<input type="text" name="quicksearch" value=""
|
|
165
|
+
class="quicksearch-field" />
|
|
166
|
+
</fieldset>
|
|
167
|
+
</form>
|
|
168
|
+
|
|
169
|
+
<ul class="link-list">
|
|
170
|
+
|
|
171
|
+
<li><a href="../Mu.html">Mu</a></li>
|
|
172
|
+
|
|
173
|
+
<li><a href="../Mu/Client.html">Mu::Client</a></li>
|
|
174
|
+
|
|
175
|
+
<li><a href="../Mu/Command.html">Mu::Command</a></li>
|
|
176
|
+
|
|
177
|
+
<li><a href="../Mu/Command/API.html">Mu::Command::API</a></li>
|
|
178
|
+
|
|
179
|
+
<li><a href="../Mu/Command/API.html">Mu::Command::API</a></li>
|
|
180
|
+
|
|
181
|
+
<li><a href="../Mu/Command/Cmd_appid.html">Mu::Command::Cmd_appid</a></li>
|
|
182
|
+
|
|
183
|
+
<li><a href="../Mu/Command/Cmd_cli.html">Mu::Command::Cmd_cli</a></li>
|
|
184
|
+
|
|
185
|
+
<li><a href="../Mu/Command/Cmd_ddt.html">Mu::Command::Cmd_ddt</a></li>
|
|
186
|
+
|
|
187
|
+
<li><a href="../Mu/Command/Cmd_homepage.html">Mu::Command::Cmd_homepage</a></li>
|
|
188
|
+
|
|
189
|
+
<li><a href="../Mu/Command/Cmd_muapi.html">Mu::Command::Cmd_muapi</a></li>
|
|
190
|
+
|
|
191
|
+
<li><a href="../Mu/Command/Cmd_netconfig.html">Mu::Command::Cmd_netconfig</a></li>
|
|
192
|
+
|
|
193
|
+
<li><a href="../Mu/Command/Cmd_runscale.html">Mu::Command::Cmd_runscale</a></li>
|
|
194
|
+
|
|
195
|
+
<li><a href="../Mu/Command/Cmd_runscenario.html">Mu::Command::Cmd_runscenario</a></li>
|
|
196
|
+
|
|
197
|
+
<li><a href="../Mu/Command/Cmd_runverify.html">Mu::Command::Cmd_runverify</a></li>
|
|
198
|
+
|
|
199
|
+
<li><a href="../Mu/Command/Cmd_scale.html">Mu::Command::Cmd_scale</a></li>
|
|
200
|
+
|
|
201
|
+
<li><a href="../Mu/Command/Cmd_system.html">Mu::Command::Cmd_system</a></li>
|
|
202
|
+
|
|
203
|
+
<li><a href="../Mu/Command/Curl.html">Mu::Command::Curl</a></li>
|
|
204
|
+
|
|
205
|
+
<li><a href="../Mu/Command/Help.html">Mu::Command::Help</a></li>
|
|
206
|
+
|
|
207
|
+
<li><a href="../Mu/Curl.html">Mu::Curl</a></li>
|
|
208
|
+
|
|
209
|
+
<li><a href="../Mu/Curl/Error.html">Mu::Curl::Error</a></li>
|
|
210
|
+
|
|
211
|
+
<li><a href="../Mu/Curl/Error/Authorize.html">Mu::Curl::Error::Authorize</a></li>
|
|
212
|
+
|
|
213
|
+
<li><a href="../Mu/Curl/Error/Connect.html">Mu::Curl::Error::Connect</a></li>
|
|
214
|
+
|
|
215
|
+
<li><a href="../Mu/Curl/Error/DNS.html">Mu::Curl::Error::DNS</a></li>
|
|
216
|
+
|
|
217
|
+
<li><a href="../Mu/Curl/Error/Region.html">Mu::Curl::Error::Region</a></li>
|
|
218
|
+
|
|
219
|
+
<li><a href="../Mu/Curl/Error/Status.html">Mu::Curl::Error::Status</a></li>
|
|
220
|
+
|
|
221
|
+
<li><a href="../Mu/Curl/Error/Timeout.html">Mu::Curl::Error::Timeout</a></li>
|
|
222
|
+
|
|
223
|
+
<li><a href="../Mu/Curl/Verify.html">Mu::Curl::Verify</a></li>
|
|
224
|
+
|
|
225
|
+
<li><a href="../Mu/Curl/Verify/Request.html">Mu::Curl::Verify::Request</a></li>
|
|
226
|
+
|
|
227
|
+
<li><a href="../Mu/Curl/Verify/Response.html">Mu::Curl::Verify::Response</a></li>
|
|
228
|
+
|
|
229
|
+
<li><a href="../Mu/Curl/Verify/Result.html">Mu::Curl::Verify::Result</a></li>
|
|
230
|
+
|
|
231
|
+
<li><a href="../Mu/Ddt.html">Mu::Ddt</a></li>
|
|
232
|
+
|
|
233
|
+
<li><a href="../Mu/Helper.html">Mu::Helper</a></li>
|
|
234
|
+
|
|
235
|
+
<li><a href="../Mu/Homepage.html">Mu::Homepage</a></li>
|
|
236
|
+
|
|
237
|
+
<li><a href="../Mu/HttpHelper.html">Mu::HttpHelper</a></li>
|
|
238
|
+
|
|
239
|
+
<li><a href="../Mu/Muapi.html">Mu::Muapi</a></li>
|
|
240
|
+
|
|
241
|
+
<li><a href="../Mu/Netconfig.html">Mu::Netconfig</a></li>
|
|
242
|
+
|
|
243
|
+
<li><a href="../Mu/Scale.html">Mu::Scale</a></li>
|
|
244
|
+
|
|
245
|
+
<li><a href="../Mu/System.html">Mu::System</a></li>
|
|
246
|
+
|
|
247
|
+
<li><a href="../Test.html">Test</a></li>
|
|
248
|
+
|
|
249
|
+
<li><a href="../Test/Unit.html">Test::Unit</a></li>
|
|
250
|
+
|
|
251
|
+
<li><a href="../Test/Unit/TestCase.html">Test::Unit::TestCase</a></li>
|
|
252
|
+
|
|
253
|
+
<li><a href="../Object.html">Object</a></li>
|
|
254
|
+
|
|
255
|
+
<li><a href="../TCTestMu.html">TCTestMu</a></li>
|
|
256
|
+
|
|
257
|
+
</ul>
|
|
258
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
|
259
|
+
</div>
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
</div>
|
|
263
|
+
</div>
|
|
264
|
+
|
|
265
|
+
<div id="documentation">
|
|
266
|
+
<h1 class="class">Mu::Scale</h1>
|
|
267
|
+
|
|
268
|
+
<div id="description">
|
|
269
|
+
|
|
270
|
+
</div>
|
|
271
|
+
|
|
272
|
+
<!-- Constants -->
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
<!-- Attributes -->
|
|
276
|
+
|
|
277
|
+
<div id="attribute-method-details" class="method-section section">
|
|
278
|
+
<h3 class="section-header">Attributes</h3>
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
<div id="host-attribute-method" class="method-detail">
|
|
282
|
+
<a name="host"></a>
|
|
283
|
+
|
|
284
|
+
<a name="host="></a>
|
|
285
|
+
|
|
286
|
+
<div class="method-heading attribute-method-heading">
|
|
287
|
+
<span class="method-name">host</span><span
|
|
288
|
+
class="attribute-access-type">[RW]</span>
|
|
289
|
+
</div>
|
|
290
|
+
|
|
291
|
+
<div class="method-description">
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
</div>
|
|
296
|
+
</div>
|
|
297
|
+
|
|
298
|
+
<div id="username-attribute-method" class="method-detail">
|
|
299
|
+
<a name="username"></a>
|
|
300
|
+
|
|
301
|
+
<a name="username="></a>
|
|
302
|
+
|
|
303
|
+
<div class="method-heading attribute-method-heading">
|
|
304
|
+
<span class="method-name">username</span><span
|
|
305
|
+
class="attribute-access-type">[RW]</span>
|
|
306
|
+
</div>
|
|
307
|
+
|
|
308
|
+
<div class="method-description">
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
</div>
|
|
313
|
+
</div>
|
|
314
|
+
|
|
315
|
+
<div id="password-attribute-method" class="method-detail">
|
|
316
|
+
<a name="password"></a>
|
|
317
|
+
|
|
318
|
+
<a name="password="></a>
|
|
319
|
+
|
|
320
|
+
<div class="method-heading attribute-method-heading">
|
|
321
|
+
<span class="method-name">password</span><span
|
|
322
|
+
class="attribute-access-type">[RW]</span>
|
|
323
|
+
</div>
|
|
324
|
+
|
|
325
|
+
<div class="method-description">
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
</div>
|
|
330
|
+
</div>
|
|
331
|
+
|
|
332
|
+
<div id="docroot-attribute-method" class="method-detail">
|
|
333
|
+
<a name="docroot"></a>
|
|
334
|
+
|
|
335
|
+
<a name="docroot="></a>
|
|
336
|
+
|
|
337
|
+
<div class="method-heading attribute-method-heading">
|
|
338
|
+
<span class="method-name">docroot</span><span
|
|
339
|
+
class="attribute-access-type">[RW]</span>
|
|
340
|
+
</div>
|
|
341
|
+
|
|
342
|
+
<div class="method-description">
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
</div>
|
|
347
|
+
</div>
|
|
348
|
+
|
|
349
|
+
<div id="configuration-attribute-method" class="method-detail">
|
|
350
|
+
<a name="configuration"></a>
|
|
351
|
+
|
|
352
|
+
<a name="configuration="></a>
|
|
353
|
+
|
|
354
|
+
<div class="method-heading attribute-method-heading">
|
|
355
|
+
<span class="method-name">configuration</span><span
|
|
356
|
+
class="attribute-access-type">[RW]</span>
|
|
357
|
+
</div>
|
|
358
|
+
|
|
359
|
+
<div class="method-description">
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
</div>
|
|
364
|
+
</div>
|
|
365
|
+
|
|
366
|
+
<div id="config-file-attribute-method" class="method-detail">
|
|
367
|
+
<a name="config_file"></a>
|
|
368
|
+
|
|
369
|
+
<a name="config_file="></a>
|
|
370
|
+
|
|
371
|
+
<div class="method-heading attribute-method-heading">
|
|
372
|
+
<span class="method-name">config_file</span><span
|
|
373
|
+
class="attribute-access-type">[RW]</span>
|
|
374
|
+
</div>
|
|
375
|
+
|
|
376
|
+
<div class="method-description">
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
</div>
|
|
381
|
+
</div>
|
|
382
|
+
|
|
383
|
+
<div id="uuid-attribute-method" class="method-detail">
|
|
384
|
+
<a name="uuid"></a>
|
|
385
|
+
|
|
386
|
+
<a name="uuid="></a>
|
|
387
|
+
|
|
388
|
+
<div class="method-heading attribute-method-heading">
|
|
389
|
+
<span class="method-name">uuid</span><span
|
|
390
|
+
class="attribute-access-type">[RW]</span>
|
|
391
|
+
</div>
|
|
392
|
+
|
|
393
|
+
<div class="method-description">
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
</div>
|
|
398
|
+
</div>
|
|
399
|
+
|
|
400
|
+
<div id="tracks-attribute-method" class="method-detail">
|
|
401
|
+
<a name="tracks"></a>
|
|
402
|
+
|
|
403
|
+
<a name="tracks="></a>
|
|
404
|
+
|
|
405
|
+
<div class="method-heading attribute-method-heading">
|
|
406
|
+
<span class="method-name">tracks</span><span
|
|
407
|
+
class="attribute-access-type">[RW]</span>
|
|
408
|
+
</div>
|
|
409
|
+
|
|
410
|
+
<div class="method-description">
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
</div>
|
|
415
|
+
</div>
|
|
416
|
+
|
|
417
|
+
</div>
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
<!-- Methods -->
|
|
421
|
+
|
|
422
|
+
<div id="public-class-method-details" class="method-section section">
|
|
423
|
+
<h3 class="section-header">Public Class Methods</h3>
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
<div id="new-method" class="method-detail ">
|
|
427
|
+
<a name="method-c-new"></a>
|
|
428
|
+
|
|
429
|
+
<div class="method-heading">
|
|
430
|
+
|
|
431
|
+
<span class="method-name">new</span><span
|
|
432
|
+
class="method-args">(host=ENV['MU_IP'], username=ENV['MU_ADMIN_USER'], password=ENV['MU_ADMIN_PASS'])</span>
|
|
433
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
434
|
+
|
|
435
|
+
</div>
|
|
436
|
+
|
|
437
|
+
<div class="method-description">
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
<div class="method-source-code"
|
|
444
|
+
id="new-source">
|
|
445
|
+
<pre>
|
|
446
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 7</span>
|
|
447
|
+
7: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">host</span>=<span class="ruby-constant">ENV</span>[<span class="ruby-value str">'MU_IP'</span>], <span class="ruby-identifier">username</span>=<span class="ruby-constant">ENV</span>[<span class="ruby-value str">'MU_ADMIN_USER'</span>], <span class="ruby-identifier">password</span>=<span class="ruby-constant">ENV</span>[<span class="ruby-value str">'MU_ADMIN_PASS'</span>])
|
|
448
|
+
8: <span class="ruby-ivar">@host</span> = <span class="ruby-identifier">host</span>
|
|
449
|
+
9: <span class="ruby-ivar">@username</span> = <span class="ruby-identifier">username</span>
|
|
450
|
+
10: <span class="ruby-ivar">@password</span> = <span class="ruby-identifier">password</span>
|
|
451
|
+
11: <span class="ruby-ivar">@docroot</span> = <span class="ruby-value str">"/api/v5/scale/"</span>
|
|
452
|
+
12: <span class="ruby-ivar">@uuid</span> = <span class="ruby-keyword kw">nil</span>
|
|
453
|
+
13: <span class="ruby-ivar">@tracks</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span> <span class="ruby-comment cmt"># an array of @configuration objects for multi-track execution</span>
|
|
454
|
+
14: <span class="ruby-ivar">@http</span> = <span class="ruby-constant">HttpHelper</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@host</span>, <span class="ruby-ivar">@username</span>, <span class="ruby-ivar">@password</span>, <span class="ruby-ivar">@docroot</span>)
|
|
455
|
+
15: <span class="ruby-ivar">@config_file</span> = (<span class="ruby-constant">ENV</span>[<span class="ruby-value str">'SCALE_CONFIG_FILE'</span>].<span class="ruby-identifier">nil?</span>) <span class="ruby-operator">?</span> <span class="ruby-value str">"scale.json"</span> <span class="ruby-operator">:</span> <span class="ruby-constant">ENV</span>[<span class="ruby-value str">'SCALE_CONFIG_FILE'</span>]
|
|
456
|
+
16: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">readable?</span> <span class="ruby-ivar">@config_file</span>
|
|
457
|
+
17: <span class="ruby-identifier">msg</span> <span class="ruby-node">"reading config file: #{@config_file}"</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
458
|
+
18: <span class="ruby-ivar">@configuration</span> = <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">parse</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-ivar">@config_file</span>)
|
|
459
|
+
19: <span class="ruby-keyword kw">else</span>
|
|
460
|
+
20: <span class="ruby-ivar">@configuration</span> = {
|
|
461
|
+
21: <span class="ruby-value str">"hosts"</span>=<span class="ruby-operator">></span> {
|
|
462
|
+
22: <span class="ruby-value str">"host_0"</span>=<span class="ruby-operator">></span> <span class="ruby-value str">"a1/*"</span>,
|
|
463
|
+
23: <span class="ruby-value str">"host_1"</span>=<span class="ruby-operator">></span> <span class="ruby-value str">"a2/*"</span>
|
|
464
|
+
24: },
|
|
465
|
+
25: <span class="ruby-value str">"timeout"</span>=<span class="ruby-operator">></span> <span class="ruby-value">5000</span>,
|
|
466
|
+
26: <span class="ruby-value str">"delay"</span>=<span class="ruby-operator">></span> <span class="ruby-value">0</span>,
|
|
467
|
+
27: <span class="ruby-value str">"volume"</span>=<span class="ruby-operator">></span> <span class="ruby-value">1</span>,
|
|
468
|
+
28: <span class="ruby-value str">"holdConcurrency"</span>=<span class="ruby-operator">></span> <span class="ruby-keyword kw">true</span>,
|
|
469
|
+
29: <span class="ruby-value str">"limitConcurrency"</span>=<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span>,
|
|
470
|
+
30: <span class="ruby-value str">"vectorAddressPairing"</span>=<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span>,
|
|
471
|
+
31: <span class="ruby-value str">"musl"</span> =<span class="ruby-operator">></span> <span class="ruby-value str">""</span>,
|
|
472
|
+
32: <span class="ruby-value str">"csv"</span> =<span class="ruby-operator">></span> <span class="ruby-value str">""</span>,
|
|
473
|
+
33: <span class="ruby-value str">"pattern"</span> =<span class="ruby-operator">></span> {}
|
|
474
|
+
34: }
|
|
475
|
+
35: <span class="ruby-keyword kw">end</span>
|
|
476
|
+
36: <span class="ruby-ivar">@uuid</span> = <span class="ruby-identifier">session</span>
|
|
477
|
+
37: <span class="ruby-identifier">msg</span> <span class="ruby-node">"Created Scale Api session [#{@uuid}] on :#{@host}"</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
478
|
+
38: <span class="ruby-keyword kw">end</span></pre>
|
|
479
|
+
</div>
|
|
480
|
+
|
|
481
|
+
</div>
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
</div>
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
</div>
|
|
490
|
+
|
|
491
|
+
<div id="public-instance-method-details" class="method-section section">
|
|
492
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
<div id="about-method" class="method-detail ">
|
|
496
|
+
<a name="method-i-about"></a>
|
|
497
|
+
|
|
498
|
+
<div class="method-heading">
|
|
499
|
+
|
|
500
|
+
<span class="method-name">about</span><span
|
|
501
|
+
class="method-args">()</span>
|
|
502
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
503
|
+
|
|
504
|
+
</div>
|
|
505
|
+
|
|
506
|
+
<div class="method-description">
|
|
507
|
+
|
|
508
|
+
<p>
|
|
509
|
+
lists information about the the <a href="Scale.html">Scale</a> Player and
|
|
510
|
+
all active and inactive <a href="Scale.html">Scale</a> Engines
|
|
511
|
+
</p>
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
<div class="method-source-code"
|
|
516
|
+
id="about-source">
|
|
517
|
+
<pre>
|
|
518
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 116</span>
|
|
519
|
+
116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">about</span>
|
|
520
|
+
117: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"about"</span>
|
|
521
|
+
118: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
522
|
+
119: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
523
|
+
120: <span class="ruby-keyword kw">end</span></pre>
|
|
524
|
+
</div>
|
|
525
|
+
|
|
526
|
+
</div>
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
</div>
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
<div id="configure-method" class="method-detail ">
|
|
535
|
+
<a name="method-i-configure"></a>
|
|
536
|
+
|
|
537
|
+
<div class="method-heading">
|
|
538
|
+
|
|
539
|
+
<span class="method-name">configure</span><span
|
|
540
|
+
class="method-args">(param, value)</span>
|
|
541
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
542
|
+
|
|
543
|
+
</div>
|
|
544
|
+
|
|
545
|
+
<div class="method-description">
|
|
546
|
+
|
|
547
|
+
<p>
|
|
548
|
+
configures a parameter in the class @configuration object
|
|
549
|
+
</p>
|
|
550
|
+
<pre>
|
|
551
|
+
* param = the parameter to configure (e.g. volume)
|
|
552
|
+
* value = the parameter's value ( e.g. 100)</pre>
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
<div class="method-source-code"
|
|
557
|
+
id="configure-source">
|
|
558
|
+
<pre>
|
|
559
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 57</span>
|
|
560
|
+
57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span>(<span class="ruby-identifier">param</span>, <span class="ruby-identifier">value</span>)
|
|
561
|
+
58: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">param</span> <span class="ruby-operator">==</span> <span class="ruby-value str">"pattern"</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>)
|
|
562
|
+
59: <span class="ruby-identifier">value</span> = <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">value</span>)
|
|
563
|
+
60: <span class="ruby-keyword kw">end</span>
|
|
564
|
+
61: <span class="ruby-ivar">@configuration</span>[<span class="ruby-identifier">param</span>] = <span class="ruby-identifier">value</span>
|
|
565
|
+
62: <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-ivar">@config_file</span>,<span class="ruby-value str">'w'</span>){<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">write</span>(<span class="ruby-constant">JSON</span>.<span class="ruby-identifier">pretty_generate</span>(<span class="ruby-ivar">@configuration</span>))}
|
|
566
|
+
63: <span class="ruby-keyword kw">end</span></pre>
|
|
567
|
+
</div>
|
|
568
|
+
|
|
569
|
+
</div>
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
</div>
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
<div id="data-method" class="method-detail ">
|
|
578
|
+
<a name="method-i-data"></a>
|
|
579
|
+
|
|
580
|
+
<div class="method-heading">
|
|
581
|
+
|
|
582
|
+
<span class="method-name">data</span><span
|
|
583
|
+
class="method-args">(view='TIMELINE', zoom="0", position="0", bot_id="")</span>
|
|
584
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
585
|
+
|
|
586
|
+
</div>
|
|
587
|
+
|
|
588
|
+
<div class="method-description">
|
|
589
|
+
|
|
590
|
+
<p>
|
|
591
|
+
gets chart data for the <a href="Scale.html">Scale</a> test
|
|
592
|
+
</p>
|
|
593
|
+
<pre>
|
|
594
|
+
* view = the TIMELINE or CALLGRAPH chart.
|
|
595
|
+
* zoom = the zoom level (0 to 1). 1 returns data for 100% of the time range, 0.5 returns data for 50% of the time range, and 0 returns only the last minute of data
|
|
596
|
+
* position = 0.
|
|
597
|
+
* bot_id = the scale engine id</pre>
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
<div class="method-source-code"
|
|
602
|
+
id="data-source">
|
|
603
|
+
<pre>
|
|
604
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 143</span>
|
|
605
|
+
143: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">data</span>(<span class="ruby-identifier">view</span>=<span class="ruby-value str">'TIMELINE'</span>, <span class="ruby-identifier">zoom</span>=<span class="ruby-value str">"0"</span>, <span class="ruby-identifier">position</span>=<span class="ruby-value str">"0"</span>, <span class="ruby-identifier">bot_id</span>=<span class="ruby-value str">""</span>)
|
|
606
|
+
144: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"data"</span>, <span class="ruby-node">"view=#{view.upcase}&zoom=#{zoom}&position=#{position}&bot_id=#{bot_id}"</span>
|
|
607
|
+
145: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
608
|
+
146: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
609
|
+
147: <span class="ruby-keyword kw">end</span></pre>
|
|
610
|
+
</div>
|
|
611
|
+
|
|
612
|
+
</div>
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
</div>
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
<div id="delete-scale-engine-method" class="method-detail ">
|
|
621
|
+
<a name="method-i-delete_scale_engine"></a>
|
|
622
|
+
|
|
623
|
+
<div class="method-heading">
|
|
624
|
+
|
|
625
|
+
<span class="method-name">delete_scale_engine</span><span
|
|
626
|
+
class="method-args">(bot_id)</span>
|
|
627
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
628
|
+
|
|
629
|
+
</div>
|
|
630
|
+
|
|
631
|
+
<div class="method-description">
|
|
632
|
+
|
|
633
|
+
<p>
|
|
634
|
+
removes a <a href="Scale.html">Scale</a> engine from the list of available
|
|
635
|
+
engines
|
|
636
|
+
</p>
|
|
637
|
+
<pre>
|
|
638
|
+
* bot_id = the scale engine id</pre>
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
<div class="method-source-code"
|
|
643
|
+
id="delete-scale-engine-source">
|
|
644
|
+
<pre>
|
|
645
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 191</span>
|
|
646
|
+
191: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_scale_engine</span>(<span class="ruby-identifier">bot_id</span>)
|
|
647
|
+
192: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"deleteScaleEngine"</span>, <span class="ruby-node">"botId=#{bot_id}"</span>
|
|
648
|
+
193: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
649
|
+
194: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
650
|
+
195: <span class="ruby-keyword kw">end</span></pre>
|
|
651
|
+
</div>
|
|
652
|
+
|
|
653
|
+
</div>
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
</div>
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
<div id="list-method" class="method-detail ">
|
|
662
|
+
<a name="method-i-list"></a>
|
|
663
|
+
|
|
664
|
+
<div class="method-heading">
|
|
665
|
+
|
|
666
|
+
<span class="method-name">list</span><span
|
|
667
|
+
class="method-args">()</span>
|
|
668
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
669
|
+
|
|
670
|
+
</div>
|
|
671
|
+
|
|
672
|
+
<div class="method-description">
|
|
673
|
+
|
|
674
|
+
<p>
|
|
675
|
+
returns the current <a href="Scale.html">Scale</a> Player’s session
|
|
676
|
+
id
|
|
677
|
+
</p>
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
<div class="method-source-code"
|
|
682
|
+
id="list-source">
|
|
683
|
+
<pre>
|
|
684
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 109</span>
|
|
685
|
+
109: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">list</span>
|
|
686
|
+
110: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"list"</span>
|
|
687
|
+
111: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
688
|
+
112: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
689
|
+
113: <span class="ruby-keyword kw">end</span></pre>
|
|
690
|
+
</div>
|
|
691
|
+
|
|
692
|
+
</div>
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
</div>
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
<div id="pattern-method" class="method-detail ">
|
|
701
|
+
<a name="method-i-pattern"></a>
|
|
702
|
+
|
|
703
|
+
<div class="method-heading">
|
|
704
|
+
|
|
705
|
+
<span class="method-name">pattern</span><span
|
|
706
|
+
class="method-args">(zoom="0", position="0")</span>
|
|
707
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
708
|
+
|
|
709
|
+
</div>
|
|
710
|
+
|
|
711
|
+
<div class="method-description">
|
|
712
|
+
|
|
713
|
+
<p>
|
|
714
|
+
returns scale test data for charting
|
|
715
|
+
</p>
|
|
716
|
+
<pre>
|
|
717
|
+
* command-line args require a zoom level and position(0)
|
|
718
|
+
* zoom = the zoom level (0 to 1). 1 returns data for 100% of the time range, 0.5 returns data for 50% of the time range, and 0 returns only the last minute of data
|
|
719
|
+
* position = 0.</pre>
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
<div class="method-source-code"
|
|
724
|
+
id="pattern-source">
|
|
725
|
+
<pre>
|
|
726
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 153</span>
|
|
727
|
+
153: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pattern</span>(<span class="ruby-identifier">zoom</span>=<span class="ruby-value str">"0"</span>, <span class="ruby-identifier">position</span>=<span class="ruby-value str">"0"</span>)
|
|
728
|
+
154: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"pattern"</span>, <span class="ruby-node">"zoom=#{zoom}&position=#{position}"</span>
|
|
729
|
+
155: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
730
|
+
156: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
731
|
+
157: <span class="ruby-keyword kw">end</span></pre>
|
|
732
|
+
</div>
|
|
733
|
+
|
|
734
|
+
</div>
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
</div>
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
<div id="pcap-method" class="method-detail ">
|
|
743
|
+
<a name="method-i-pcap"></a>
|
|
744
|
+
|
|
745
|
+
<div class="method-heading">
|
|
746
|
+
|
|
747
|
+
<span class="method-name">pcap</span><span
|
|
748
|
+
class="method-args">(bot_id, file)</span>
|
|
749
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
750
|
+
|
|
751
|
+
</div>
|
|
752
|
+
|
|
753
|
+
<div class="method-description">
|
|
754
|
+
|
|
755
|
+
<p>
|
|
756
|
+
returns a packet capture file from scale verify
|
|
757
|
+
</p>
|
|
758
|
+
<pre>
|
|
759
|
+
* bot_id = the id of the scale engine
|
|
760
|
+
* file = the name of the pcap file to retrieve</pre>
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
<div class="method-source-code"
|
|
765
|
+
id="pcap-source">
|
|
766
|
+
<pre>
|
|
767
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 125</span>
|
|
768
|
+
125: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pcap</span>(<span class="ruby-identifier">bot_id</span>, <span class="ruby-identifier">file</span>)
|
|
769
|
+
126: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"pcap"</span>, <span class="ruby-node">"botId=#{bot_id}&file=#{file}"</span>
|
|
770
|
+
127: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
771
|
+
128: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
772
|
+
129: <span class="ruby-keyword kw">end</span></pre>
|
|
773
|
+
</div>
|
|
774
|
+
|
|
775
|
+
</div>
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
</div>
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
<div id="release-method" class="method-detail ">
|
|
784
|
+
<a name="method-i-release"></a>
|
|
785
|
+
|
|
786
|
+
<div class="method-heading">
|
|
787
|
+
|
|
788
|
+
<span class="method-name">release</span><span
|
|
789
|
+
class="method-args">()</span>
|
|
790
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
791
|
+
|
|
792
|
+
</div>
|
|
793
|
+
|
|
794
|
+
<div class="method-description">
|
|
795
|
+
|
|
796
|
+
<p>
|
|
797
|
+
releases the scale player
|
|
798
|
+
</p>
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
<div class="method-source-code"
|
|
803
|
+
id="release-source">
|
|
804
|
+
<pre>
|
|
805
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 167</span>
|
|
806
|
+
167: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">release</span>
|
|
807
|
+
168: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"release"</span>
|
|
808
|
+
169: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
809
|
+
170: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
810
|
+
171: <span class="ruby-keyword kw">end</span></pre>
|
|
811
|
+
</div>
|
|
812
|
+
|
|
813
|
+
</div>
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
</div>
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
<div id="release-scale-engine-method" class="method-detail ">
|
|
822
|
+
<a name="method-i-release_scale_engine"></a>
|
|
823
|
+
|
|
824
|
+
<div class="method-heading">
|
|
825
|
+
|
|
826
|
+
<span class="method-name">release_scale_engine</span><span
|
|
827
|
+
class="method-args">(bot_id)</span>
|
|
828
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
829
|
+
|
|
830
|
+
</div>
|
|
831
|
+
|
|
832
|
+
<div class="method-description">
|
|
833
|
+
|
|
834
|
+
<p>
|
|
835
|
+
marks the specified <a href="Scale.html">Scale</a> Engine as inactive (will
|
|
836
|
+
not participate in a <a href="Scale.html">Scale</a> test)
|
|
837
|
+
</p>
|
|
838
|
+
<pre>
|
|
839
|
+
* bot_id = the scale engine id</pre>
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
<div class="method-source-code"
|
|
844
|
+
id="release-scale-engine-source">
|
|
845
|
+
<pre>
|
|
846
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 183</span>
|
|
847
|
+
183: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">release_scale_engine</span>(<span class="ruby-identifier">bot_id</span>)
|
|
848
|
+
184: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"releaseScaleEngine"</span>, <span class="ruby-node">"botId=#{bot_id}"</span>
|
|
849
|
+
185: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
850
|
+
186: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
851
|
+
187: <span class="ruby-keyword kw">end</span></pre>
|
|
852
|
+
</div>
|
|
853
|
+
|
|
854
|
+
</div>
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
</div>
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
<div id="reserve-scale-engine-method" class="method-detail ">
|
|
863
|
+
<a name="method-i-reserve_scale_engine"></a>
|
|
864
|
+
|
|
865
|
+
<div class="method-heading">
|
|
866
|
+
|
|
867
|
+
<span class="method-name">reserve_scale_engine</span><span
|
|
868
|
+
class="method-args">(bot_id)</span>
|
|
869
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
870
|
+
|
|
871
|
+
</div>
|
|
872
|
+
|
|
873
|
+
<div class="method-description">
|
|
874
|
+
|
|
875
|
+
<p>
|
|
876
|
+
marks the specified <a href="Scale.html">Scale</a> Engine as active (will
|
|
877
|
+
participate in a <a href="Scale.html">Scale</a> test
|
|
878
|
+
</p>
|
|
879
|
+
<pre>
|
|
880
|
+
* bot_id = the scale engine id</pre>
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
<div class="method-source-code"
|
|
885
|
+
id="reserve-scale-engine-source">
|
|
886
|
+
<pre>
|
|
887
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 175</span>
|
|
888
|
+
175: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reserve_scale_engine</span>(<span class="ruby-identifier">bot_id</span>)
|
|
889
|
+
176: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"reserveScaleEngine"</span>, <span class="ruby-node">"botId=#{bot_id}"</span>
|
|
890
|
+
177: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
891
|
+
178: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
892
|
+
179: <span class="ruby-keyword kw">end</span></pre>
|
|
893
|
+
</div>
|
|
894
|
+
|
|
895
|
+
</div>
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
</div>
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
<div id="session-method" class="method-detail ">
|
|
904
|
+
<a name="method-i-session"></a>
|
|
905
|
+
|
|
906
|
+
<div class="method-heading">
|
|
907
|
+
|
|
908
|
+
<span class="method-name">session</span><span
|
|
909
|
+
class="method-args">()</span>
|
|
910
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
911
|
+
|
|
912
|
+
</div>
|
|
913
|
+
|
|
914
|
+
<div class="method-description">
|
|
915
|
+
|
|
916
|
+
<p>
|
|
917
|
+
creates a new Studio <a href="Scale.html">Scale</a> session, returning the
|
|
918
|
+
session id
|
|
919
|
+
</p>
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
<div class="method-source-code"
|
|
924
|
+
id="session-source">
|
|
925
|
+
<pre>
|
|
926
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 41</span>
|
|
927
|
+
41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">session</span>
|
|
928
|
+
42: <span class="ruby-identifier">uuid</span> = <span class="ruby-keyword kw">nil</span>
|
|
929
|
+
43: <span class="ruby-identifier">list</span> = <span class="ruby-identifier">get</span>(<span class="ruby-value str">"list"</span>)
|
|
930
|
+
44: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">list</span>.<span class="ruby-identifier">empty?</span>
|
|
931
|
+
45: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">list</span>
|
|
932
|
+
46: <span class="ruby-identifier">uuid</span> = <span class="ruby-identifier">list</span>[<span class="ruby-value">0</span>] <span class="ruby-comment cmt"># return existing session identifier if there is one</span>
|
|
933
|
+
47: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">uuid</span>
|
|
934
|
+
48: <span class="ruby-keyword kw">end</span>
|
|
935
|
+
49: <span class="ruby-identifier">uuid</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"new"</span> <span class="ruby-comment cmt"># return a new session identifier</span>
|
|
936
|
+
50: <span class="ruby-identifier">msg</span> <span class="ruby-node">"uuid from /new = #{uuid}"</span>
|
|
937
|
+
51: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">uuid</span>
|
|
938
|
+
52: <span class="ruby-keyword kw">end</span></pre>
|
|
939
|
+
</div>
|
|
940
|
+
|
|
941
|
+
</div>
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
</div>
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
<div id="start-method" class="method-detail ">
|
|
950
|
+
<a name="method-i-start"></a>
|
|
951
|
+
|
|
952
|
+
<div class="method-heading">
|
|
953
|
+
|
|
954
|
+
<span class="method-name">start</span><span
|
|
955
|
+
class="method-args">()</span>
|
|
956
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
957
|
+
|
|
958
|
+
</div>
|
|
959
|
+
|
|
960
|
+
<div class="method-description">
|
|
961
|
+
|
|
962
|
+
<p>
|
|
963
|
+
starts a scale test with the class @configuration object
|
|
964
|
+
</p>
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
<div class="method-source-code"
|
|
969
|
+
id="start-source">
|
|
970
|
+
<pre>
|
|
971
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 66</span>
|
|
972
|
+
66: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start</span>
|
|
973
|
+
67: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">post</span> <span class="ruby-value str">"start"</span>, {<span class="ruby-value str">"request"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@configuration</span>}
|
|
974
|
+
68: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
975
|
+
69: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
976
|
+
70: <span class="ruby-keyword kw">end</span></pre>
|
|
977
|
+
</div>
|
|
978
|
+
|
|
979
|
+
</div>
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
</div>
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
<div id="start-n-method" class="method-detail ">
|
|
988
|
+
<a name="method-i-start_n"></a>
|
|
989
|
+
|
|
990
|
+
<div class="method-heading">
|
|
991
|
+
|
|
992
|
+
<span class="method-name">start_n</span><span
|
|
993
|
+
class="method-args">()</span>
|
|
994
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
995
|
+
|
|
996
|
+
</div>
|
|
997
|
+
|
|
998
|
+
<div class="method-description">
|
|
999
|
+
|
|
1000
|
+
<p>
|
|
1001
|
+
starts a multi-track scale test with the class @tracks object
|
|
1002
|
+
</p>
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
<div class="method-source-code"
|
|
1007
|
+
id="start-n-source">
|
|
1008
|
+
<pre>
|
|
1009
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 73</span>
|
|
1010
|
+
73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_n</span>
|
|
1011
|
+
74: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">post</span> <span class="ruby-value str">"start_n"</span>, {<span class="ruby-value str">"request"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@tracks</span>}
|
|
1012
|
+
75: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
1013
|
+
76: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
1014
|
+
77: <span class="ruby-keyword kw">end</span></pre>
|
|
1015
|
+
</div>
|
|
1016
|
+
|
|
1017
|
+
</div>
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
</div>
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
<div id="status-method" class="method-detail ">
|
|
1026
|
+
<a name="method-i-status"></a>
|
|
1027
|
+
|
|
1028
|
+
<div class="method-heading">
|
|
1029
|
+
|
|
1030
|
+
<span class="method-name">status</span><span
|
|
1031
|
+
class="method-args">()</span>
|
|
1032
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
1033
|
+
|
|
1034
|
+
</div>
|
|
1035
|
+
|
|
1036
|
+
<div class="method-description">
|
|
1037
|
+
|
|
1038
|
+
<p>
|
|
1039
|
+
gets information about the currently running <a href="Scale.html">Scale</a>
|
|
1040
|
+
test.
|
|
1041
|
+
</p>
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
<div class="method-source-code"
|
|
1046
|
+
id="status-source">
|
|
1047
|
+
<pre>
|
|
1048
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 102</span>
|
|
1049
|
+
102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">status</span>
|
|
1050
|
+
103: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"status"</span>
|
|
1051
|
+
104: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
1052
|
+
105: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
1053
|
+
106: <span class="ruby-keyword kw">end</span></pre>
|
|
1054
|
+
</div>
|
|
1055
|
+
|
|
1056
|
+
</div>
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
</div>
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
<div id="statuses-method" class="method-detail ">
|
|
1065
|
+
<a name="method-i-statuses"></a>
|
|
1066
|
+
|
|
1067
|
+
<div class="method-heading">
|
|
1068
|
+
|
|
1069
|
+
<span class="method-name">statuses</span><span
|
|
1070
|
+
class="method-args">()</span>
|
|
1071
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
1072
|
+
|
|
1073
|
+
</div>
|
|
1074
|
+
|
|
1075
|
+
<div class="method-description">
|
|
1076
|
+
|
|
1077
|
+
<p>
|
|
1078
|
+
gets the status of all active and inactive <a href="Scale.html">Scale</a>
|
|
1079
|
+
engines
|
|
1080
|
+
</p>
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
<div class="method-source-code"
|
|
1085
|
+
id="statuses-source">
|
|
1086
|
+
<pre>
|
|
1087
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 132</span>
|
|
1088
|
+
132: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">statuses</span>
|
|
1089
|
+
133: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"statuses"</span>
|
|
1090
|
+
134: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
1091
|
+
135: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
1092
|
+
136: <span class="ruby-keyword kw">end</span></pre>
|
|
1093
|
+
</div>
|
|
1094
|
+
|
|
1095
|
+
</div>
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
</div>
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
<div id="stop-method" class="method-detail ">
|
|
1104
|
+
<a name="method-i-stop"></a>
|
|
1105
|
+
|
|
1106
|
+
<div class="method-heading">
|
|
1107
|
+
|
|
1108
|
+
<span class="method-name">stop</span><span
|
|
1109
|
+
class="method-args">()</span>
|
|
1110
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
1111
|
+
|
|
1112
|
+
</div>
|
|
1113
|
+
|
|
1114
|
+
<div class="method-description">
|
|
1115
|
+
|
|
1116
|
+
<p>
|
|
1117
|
+
stops a scale test
|
|
1118
|
+
</p>
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
<div class="method-source-code"
|
|
1123
|
+
id="stop-source">
|
|
1124
|
+
<pre>
|
|
1125
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 160</span>
|
|
1126
|
+
160: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stop</span>
|
|
1127
|
+
161: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"stop"</span>
|
|
1128
|
+
162: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
1129
|
+
163: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
1130
|
+
164: <span class="ruby-keyword kw">end</span></pre>
|
|
1131
|
+
</div>
|
|
1132
|
+
|
|
1133
|
+
</div>
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
</div>
|
|
1139
|
+
|
|
1140
|
+
|
|
1141
|
+
<div id="update-method" class="method-detail ">
|
|
1142
|
+
<a name="method-i-update"></a>
|
|
1143
|
+
|
|
1144
|
+
<div class="method-heading">
|
|
1145
|
+
|
|
1146
|
+
<span class="method-name">update</span><span
|
|
1147
|
+
class="method-args">(params)</span>
|
|
1148
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
1149
|
+
|
|
1150
|
+
</div>
|
|
1151
|
+
|
|
1152
|
+
<div class="method-description">
|
|
1153
|
+
|
|
1154
|
+
<p>
|
|
1155
|
+
updates a running scale test, as long as the test pattern is
|
|
1156
|
+
‘none’
|
|
1157
|
+
</p>
|
|
1158
|
+
<pre>
|
|
1159
|
+
* params = a json object containing the information to update, such as { "volume" : 100 }</pre>
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
<div class="method-source-code"
|
|
1164
|
+
id="update-source">
|
|
1165
|
+
<pre>
|
|
1166
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 95</span>
|
|
1167
|
+
95: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span>(<span class="ruby-identifier">params</span>)
|
|
1168
|
+
96: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">get</span> <span class="ruby-value str">"update"</span>, <span class="ruby-identifier">params</span>
|
|
1169
|
+
97: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
1170
|
+
98: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
1171
|
+
99: <span class="ruby-keyword kw">end</span></pre>
|
|
1172
|
+
</div>
|
|
1173
|
+
|
|
1174
|
+
</div>
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
</div>
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
<div id="verify-method" class="method-detail ">
|
|
1183
|
+
<a name="method-i-verify"></a>
|
|
1184
|
+
|
|
1185
|
+
<div class="method-heading">
|
|
1186
|
+
|
|
1187
|
+
<span class="method-name">verify</span><span
|
|
1188
|
+
class="method-args">()</span>
|
|
1189
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
1190
|
+
|
|
1191
|
+
</div>
|
|
1192
|
+
|
|
1193
|
+
<div class="method-description">
|
|
1194
|
+
|
|
1195
|
+
<p>
|
|
1196
|
+
verifies the class @configuration object
|
|
1197
|
+
</p>
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
<div class="method-source-code"
|
|
1202
|
+
id="verify-source">
|
|
1203
|
+
<pre>
|
|
1204
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 80</span>
|
|
1205
|
+
80: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">verify</span>
|
|
1206
|
+
81: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">post</span> <span class="ruby-value str">"verify"</span>, {<span class="ruby-value str">"request"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@configuration</span>}
|
|
1207
|
+
82: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
1208
|
+
83: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
1209
|
+
84: <span class="ruby-keyword kw">end</span></pre>
|
|
1210
|
+
</div>
|
|
1211
|
+
|
|
1212
|
+
</div>
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
</div>
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
<div id="verify-n-method" class="method-detail ">
|
|
1221
|
+
<a name="method-i-verify_n"></a>
|
|
1222
|
+
|
|
1223
|
+
<div class="method-heading">
|
|
1224
|
+
|
|
1225
|
+
<span class="method-name">verify_n</span><span
|
|
1226
|
+
class="method-args">()</span>
|
|
1227
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
1228
|
+
|
|
1229
|
+
</div>
|
|
1230
|
+
|
|
1231
|
+
<div class="method-description">
|
|
1232
|
+
|
|
1233
|
+
<p>
|
|
1234
|
+
verifies the multi-track class @tracks object
|
|
1235
|
+
</p>
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
<div class="method-source-code"
|
|
1240
|
+
id="verify-n-source">
|
|
1241
|
+
<pre>
|
|
1242
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 87</span>
|
|
1243
|
+
87: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">verify_n</span>
|
|
1244
|
+
88: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">post</span> <span class="ruby-value str">"verify_n"</span>, {<span class="ruby-value str">"request"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@tracks</span>}
|
|
1245
|
+
89: <span class="ruby-identifier">msg</span> <span class="ruby-identifier">response</span>, <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>
|
|
1246
|
+
90: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
|
|
1247
|
+
91: <span class="ruby-keyword kw">end</span></pre>
|
|
1248
|
+
</div>
|
|
1249
|
+
|
|
1250
|
+
</div>
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
</div>
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
</div>
|
|
1259
|
+
|
|
1260
|
+
<div id="private-instance-method-details" class="method-section section">
|
|
1261
|
+
<h3 class="section-header">Private Instance Methods</h3>
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
<div id="get-method" class="method-detail ">
|
|
1265
|
+
<a name="method-i-get"></a>
|
|
1266
|
+
|
|
1267
|
+
<div class="method-heading">
|
|
1268
|
+
|
|
1269
|
+
<span class="method-name">get</span><span
|
|
1270
|
+
class="method-args">(e=@element, params=nil)</span>
|
|
1271
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
1272
|
+
|
|
1273
|
+
</div>
|
|
1274
|
+
|
|
1275
|
+
<div class="method-description">
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
<div class="method-source-code"
|
|
1282
|
+
id="get-source">
|
|
1283
|
+
<pre>
|
|
1284
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 199</span>
|
|
1285
|
+
199: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">e</span>=<span class="ruby-ivar">@element</span>, <span class="ruby-identifier">params</span>=<span class="ruby-keyword kw">nil</span>)
|
|
1286
|
+
200: <span class="ruby-identifier">element</span> = <span class="ruby-identifier">e</span>
|
|
1287
|
+
201: <span class="ruby-identifier">element</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"?uuid=#{@uuid}"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@uuid</span>.<span class="ruby-identifier">nil?</span>
|
|
1288
|
+
202: <span class="ruby-identifier">element</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"&#{params}"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">params</span>.<span class="ruby-identifier">nil?</span>
|
|
1289
|
+
203: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@http</span>.<span class="ruby-identifier">get_json</span>(<span class="ruby-identifier">element</span>)
|
|
1290
|
+
204: <span class="ruby-keyword kw">end</span></pre>
|
|
1291
|
+
</div>
|
|
1292
|
+
|
|
1293
|
+
</div>
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
</div>
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
<div id="post-method" class="method-detail ">
|
|
1302
|
+
<a name="method-i-post"></a>
|
|
1303
|
+
|
|
1304
|
+
<div class="method-heading">
|
|
1305
|
+
|
|
1306
|
+
<span class="method-name">post</span><span
|
|
1307
|
+
class="method-args">(e, json='{}')</span>
|
|
1308
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
1309
|
+
|
|
1310
|
+
</div>
|
|
1311
|
+
|
|
1312
|
+
<div class="method-description">
|
|
1313
|
+
|
|
1314
|
+
<p>
|
|
1315
|
+
POST method
|
|
1316
|
+
</p>
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
<div class="method-source-code"
|
|
1321
|
+
id="post-source">
|
|
1322
|
+
<pre>
|
|
1323
|
+
<span class="ruby-comment cmt"># File lib/mu/api/scale.rb, line 207</span>
|
|
1324
|
+
207: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span>(<span class="ruby-identifier">e</span>, <span class="ruby-identifier">json</span>=<span class="ruby-value str">'{}'</span>)
|
|
1325
|
+
208: <span class="ruby-identifier">element</span> = <span class="ruby-identifier">e</span>
|
|
1326
|
+
209: <span class="ruby-identifier">element</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"?uuid=#{@uuid}"</span>
|
|
1327
|
+
210: <span class="ruby-ivar">@http</span>.<span class="ruby-identifier">post_json</span>(<span class="ruby-identifier">element</span>, <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">generate</span>(<span class="ruby-identifier">json</span>))
|
|
1328
|
+
211: <span class="ruby-keyword kw">end</span></pre>
|
|
1329
|
+
</div>
|
|
1330
|
+
|
|
1331
|
+
</div>
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
</div>
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
</div>
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
</div>
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
|
1346
|
+
|
|
1347
|
+
<p>Disabled; run with --debug to generate this.</p>
|
|
1348
|
+
|
|
1349
|
+
</div>
|
|
1350
|
+
|
|
1351
|
+
<div id="validator-badges">
|
|
1352
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
1353
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
|
1354
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
|
1355
|
+
</div>
|
|
1356
|
+
|
|
1357
|
+
</body>
|
|
1358
|
+
</html>
|
|
1359
|
+
|