wakame-vdc-webui 10.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (281) hide show
  1. data/INSTALL.txt +21 -0
  2. data/LICENSE +202 -0
  3. data/NOTICE +1 -0
  4. data/README +256 -0
  5. data/Rakefile +42 -0
  6. data/app/controllers/accounts_controller.rb +15 -0
  7. data/app/controllers/application_controller.rb +5 -0
  8. data/app/controllers/dialog_controller.rb +80 -0
  9. data/app/controllers/home_controller.rb +5 -0
  10. data/app/controllers/host_pools_controller.rb +26 -0
  11. data/app/controllers/images_controller.rb +28 -0
  12. data/app/controllers/information_controller.rb +10 -0
  13. data/app/controllers/instances_controller.rb +59 -0
  14. data/app/controllers/keypairs_controller.rb +64 -0
  15. data/app/controllers/security_groups_controller.rb +59 -0
  16. data/app/controllers/sessions_controller.rb +25 -0
  17. data/app/controllers/snapshots_controller.rb +48 -0
  18. data/app/controllers/storage_pools_controller.rb +27 -0
  19. data/app/controllers/users_controller.rb +3 -0
  20. data/app/controllers/volumes_controller.rb +86 -0
  21. data/app/helpers/accounts_helper.rb +2 -0
  22. data/app/helpers/application_helper.rb +23 -0
  23. data/app/helpers/dialog_helper.rb +2 -0
  24. data/app/helpers/home_helper.rb +2 -0
  25. data/app/helpers/host_pools_helper.rb +2 -0
  26. data/app/helpers/images_helper.rb +2 -0
  27. data/app/helpers/information_helper.rb +2 -0
  28. data/app/helpers/instances_helper.rb +2 -0
  29. data/app/helpers/keypairs_helper.rb +2 -0
  30. data/app/helpers/security_groups_helper.rb +2 -0
  31. data/app/helpers/sessions_helper.rb +2 -0
  32. data/app/helpers/snapshots_helper.rb +2 -0
  33. data/app/helpers/storage_pools_helper.rb +2 -0
  34. data/app/helpers/users_helper.rb +2 -0
  35. data/app/helpers/volumes_helper.rb +2 -0
  36. data/app/models/account.rb +104 -0
  37. data/app/models/authz.rb +102 -0
  38. data/app/models/base_new.rb +311 -0
  39. data/app/models/dcmgr_resource/account.rb +5 -0
  40. data/app/models/dcmgr_resource/base.rb +51 -0
  41. data/app/models/dcmgr_resource/host_pool.rb +11 -0
  42. data/app/models/dcmgr_resource/image.rb +11 -0
  43. data/app/models/dcmgr_resource/instance.rb +37 -0
  44. data/app/models/dcmgr_resource/mock.rb +15 -0
  45. data/app/models/dcmgr_resource/netfilter_group.rb +29 -0
  46. data/app/models/dcmgr_resource/ssh_key_pair.rb +25 -0
  47. data/app/models/dcmgr_resource/storage_pool.rb +11 -0
  48. data/app/models/dcmgr_resource/volume.rb +48 -0
  49. data/app/models/dcmgr_resource/volume_snapshot.rb +35 -0
  50. data/app/models/information.rb +9 -0
  51. data/app/models/schema.rb +51 -0
  52. data/app/models/tag.rb +121 -0
  53. data/app/models/tag_mapping.rb +25 -0
  54. data/app/models/user.rb +46 -0
  55. data/app/views/accounts/index.html.erb +68 -0
  56. data/app/views/dialog/attach_volume.html.erb +13 -0
  57. data/app/views/dialog/create_and_edit_security_group.html.erb +32 -0
  58. data/app/views/dialog/create_snapshot.html.erb +7 -0
  59. data/app/views/dialog/create_ssh_keypair.html.erb +15 -0
  60. data/app/views/dialog/create_volume.html.erb +18 -0
  61. data/app/views/dialog/create_volume_from_snapshot.html.erb +7 -0
  62. data/app/views/dialog/delete_security_group.html.erb +4 -0
  63. data/app/views/dialog/delete_snapshot.html.erb +7 -0
  64. data/app/views/dialog/delete_ssh_keypair.html.erb +4 -0
  65. data/app/views/dialog/delete_volume.html.erb +7 -0
  66. data/app/views/dialog/detach_volume.html.erb +7 -0
  67. data/app/views/dialog/launch_instance.html.erb +70 -0
  68. data/app/views/dialog/reboot_instances.html.erb +7 -0
  69. data/app/views/dialog/start_instances.html.erb +8 -0
  70. data/app/views/dialog/stop_instances.html.erb +7 -0
  71. data/app/views/dialog/terminate_instances.html.erb +7 -0
  72. data/app/views/home/index.html.erb +55 -0
  73. data/app/views/host_pools/index.html.erb +103 -0
  74. data/app/views/images/index.html.erb +126 -0
  75. data/app/views/information/index.html.erb +25 -0
  76. data/app/views/instances/index.html.erb +134 -0
  77. data/app/views/keypairs/index.html.erb +104 -0
  78. data/app/views/layouts/_footer.html.erb +4 -0
  79. data/app/views/layouts/_header.html.erb +14 -0
  80. data/app/views/layouts/_informationarea.html.erb +18 -0
  81. data/app/views/layouts/_login_header.erb +4 -0
  82. data/app/views/layouts/_service_health.erb +27 -0
  83. data/app/views/layouts/_sidemenu.html.erb +58 -0
  84. data/app/views/layouts/application.html.erb +34 -0
  85. data/app/views/layouts/login.html.erb +25 -0
  86. data/app/views/security_groups/index.html.erb +114 -0
  87. data/app/views/sessions/new.html.erb +27 -0
  88. data/app/views/snapshots/index.html.erb +110 -0
  89. data/app/views/storage_pools/index.html.erb +98 -0
  90. data/app/views/volumes/index.html.erb +117 -0
  91. data/config.ru +4 -0
  92. data/config/application.rb +48 -0
  93. data/config/boot.rb +13 -0
  94. data/config/database.yml +20 -0
  95. data/config/environment.rb +5 -0
  96. data/config/environments/development.rb +28 -0
  97. data/config/environments/production.rb +49 -0
  98. data/config/environments/test.rb +35 -0
  99. data/config/initializers/backtrace_silencers.rb +7 -0
  100. data/config/initializers/dcmgr_gui.rb +14 -0
  101. data/config/initializers/inflections.rb +10 -0
  102. data/config/initializers/mime_types.rb +5 -0
  103. data/config/initializers/secret_token.rb +7 -0
  104. data/config/initializers/session_store.rb +8 -0
  105. data/config/locales/en.yml +5 -0
  106. data/config/routes.rb +109 -0
  107. data/db/seeds.rb +7 -0
  108. data/extras/authentication.rb +94 -0
  109. data/extras/util.rb +5 -0
  110. data/lib/tasks/dcmgr_gui.rake +51 -0
  111. data/public/404.html +26 -0
  112. data/public/422.html +26 -0
  113. data/public/500.html +26 -0
  114. data/public/favicon.ico +0 -0
  115. data/public/images/app_active.gif +0 -0
  116. data/public/images/app_passive.gif +0 -0
  117. data/public/images/body_bg.gif +0 -0
  118. data/public/images/btn_change.gif +0 -0
  119. data/public/images/btn_create_security_group.gif +0 -0
  120. data/public/images/btn_create_snapshot.gif +0 -0
  121. data/public/images/btn_create_volume.gif +0 -0
  122. data/public/images/btn_createkey.gif +0 -0
  123. data/public/images/btn_de_register.gif +0 -0
  124. data/public/images/btn_delete_security_group.gif +0 -0
  125. data/public/images/btn_delete_snapshot.gif +0 -0
  126. data/public/images/btn_delete_volume.gif +0 -0
  127. data/public/images/btn_deletekey.gif +0 -0
  128. data/public/images/btn_healthdetail.gif +0 -0
  129. data/public/images/btn_hide.gif +0 -0
  130. data/public/images/btn_launch.gif +0 -0
  131. data/public/images/btn_next.gif +0 -0
  132. data/public/images/btn_prev.gif +0 -0
  133. data/public/images/btn_refresh.gif +0 -0
  134. data/public/images/btn_register_new_ami.gif +0 -0
  135. data/public/images/btn_savechange.gif +0 -0
  136. data/public/images/btn_show.gif +0 -0
  137. data/public/images/btn_show_accesskey.png +0 -0
  138. data/public/images/bup_btn_healthdetail.gif +0 -0
  139. data/public/images/bup_btn_refresh.gif +0 -0
  140. data/public/images/clear.gif +0 -0
  141. data/public/images/content_bg.png +0 -0
  142. data/public/images/content_foot_bg.gif +0 -0
  143. data/public/images/content_head_bg.gif +0 -0
  144. data/public/images/footer_bg.gif +0 -0
  145. data/public/images/head_gradation_bg.gif +0 -0
  146. data/public/images/header_logo.gif +0 -0
  147. data/public/images/icon_blockstore.gif +0 -0
  148. data/public/images/icon_caution.gif +0 -0
  149. data/public/images/icon_health.gif +0 -0
  150. data/public/images/icon_images.gif +0 -0
  151. data/public/images/icon_information.gif +0 -0
  152. data/public/images/icon_instances.gif +0 -0
  153. data/public/images/icon_resource.gif +0 -0
  154. data/public/images/icon_resource01.gif +0 -0
  155. data/public/images/icon_resource02.gif +0 -0
  156. data/public/images/icon_resource03.gif +0 -0
  157. data/public/images/icon_resource04.gif +0 -0
  158. data/public/images/icon_rss.gif +0 -0
  159. data/public/images/icon_security.gif +0 -0
  160. data/public/images/icon_service.gif +0 -0
  161. data/public/images/icon_service_stat.gif +0 -0
  162. data/public/images/icon_stop.gif +0 -0
  163. data/public/images/icon_summary.gif +0 -0
  164. data/public/images/icon_ttl_accskey.gif +0 -0
  165. data/public/images/icon_ttl_detail.gif +0 -0
  166. data/public/images/icon_ttl_instance.gif +0 -0
  167. data/public/images/icon_ttl_personal_inf.gif +0 -0
  168. data/public/images/infra_active.gif +0 -0
  169. data/public/images/infra_passive.gif +0 -0
  170. data/public/images/lastelement_bg.gif +0 -0
  171. data/public/images/lastelement_bg.png +0 -0
  172. data/public/images/listicon_useast.gif +0 -0
  173. data/public/images/loader_ball.gif +0 -0
  174. data/public/images/loader_boxes.gif +0 -0
  175. data/public/images/loading.gif +0 -0
  176. data/public/images/mainarea_bottom_bg.gif +0 -0
  177. data/public/images/mainarea_content_bg.gif +0 -0
  178. data/public/images/mainarea_h3_bg.gif +0 -0
  179. data/public/images/mainarea_wide_bottom_bg.gif +0 -0
  180. data/public/images/mainarea_wide_content_bg.gif +0 -0
  181. data/public/images/mainarea_wide_h3_bg.gif +0 -0
  182. data/public/images/menu_list_header.gif +0 -0
  183. data/public/images/menu_list_header_current.gif +0 -0
  184. data/public/images/plat_active.gif +0 -0
  185. data/public/images/plat_passive.gif +0 -0
  186. data/public/images/regionselect_bg.gif +0 -0
  187. data/public/images/select_bg_126.gif +0 -0
  188. data/public/images/select_bg_139.gif +0 -0
  189. data/public/images/sidemenu_bg.gif +0 -0
  190. data/public/images/sidemenu_bottom.gif +0 -0
  191. data/public/images/sidemenu_top.gif +0 -0
  192. data/public/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  193. data/public/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  194. data/public/images/ui-bg_flat_10_000000_40x100.png +0 -0
  195. data/public/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  196. data/public/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  197. data/public/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  198. data/public/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  199. data/public/images/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  200. data/public/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  201. data/public/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  202. data/public/images/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  203. data/public/images/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  204. data/public/images/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  205. data/public/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  206. data/public/images/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  207. data/public/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  208. data/public/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  209. data/public/images/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  210. data/public/images/ui-icons_222222_256x240.png +0 -0
  211. data/public/images/ui-icons_228ef1_256x240.png +0 -0
  212. data/public/images/ui-icons_808080_256x240.png +0 -0
  213. data/public/images/ui-icons_847e71_256x240.png +0 -0
  214. data/public/images/ui-icons_8dc262_256x240.png +0 -0
  215. data/public/images/ui-icons_cd0a0a_256x240.png +0 -0
  216. data/public/images/ui-icons_eeeeee_256x240.png +0 -0
  217. data/public/images/ui-icons_ef8c08_256x240.png +0 -0
  218. data/public/images/ui-icons_ffd27a_256x240.png +0 -0
  219. data/public/images/ui-icons_ffffff_256x240.png +0 -0
  220. data/public/images/vtip_arrow.png +0 -0
  221. data/public/javascripts/controls.js +965 -0
  222. data/public/javascripts/dcmgr_gui/application.js +91 -0
  223. data/public/javascripts/dcmgr_gui/core.js +539 -0
  224. data/public/javascripts/dcmgr_gui/dashboard_panel.js +34 -0
  225. data/public/javascripts/dcmgr_gui/host_pool_panel.js +83 -0
  226. data/public/javascripts/dcmgr_gui/image_panel.js +242 -0
  227. data/public/javascripts/dcmgr_gui/instance_panel.js +197 -0
  228. data/public/javascripts/dcmgr_gui/security_group_panel.js +196 -0
  229. data/public/javascripts/dcmgr_gui/snapshot_panel.js +168 -0
  230. data/public/javascripts/dcmgr_gui/sshkeypair_panel.js +161 -0
  231. data/public/javascripts/dcmgr_gui/storage_pool_panel.js +99 -0
  232. data/public/javascripts/dcmgr_gui/volume_panel.js +311 -0
  233. data/public/javascripts/dragdrop.js +974 -0
  234. data/public/javascripts/effects.js +1123 -0
  235. data/public/javascripts/jquery-1.4.2.min.js +154 -0
  236. data/public/javascripts/jquery-ui-1.8.4.custom.min.js +763 -0
  237. data/public/javascripts/jquery.loadmask.min.js +10 -0
  238. data/public/javascripts/jquery.tmpl.js +486 -0
  239. data/public/javascripts/jsdeferred.jquery.js +385 -0
  240. data/public/javascripts/prototype.js +6001 -0
  241. data/public/javascripts/rails.js +175 -0
  242. data/public/robots.txt +5 -0
  243. data/public/stylesheets/common.css +1236 -0
  244. data/public/stylesheets/dialog.css +67 -0
  245. data/public/stylesheets/jquery-ui-1.8.4.custom.css +572 -0
  246. data/public/stylesheets/jquery.loadmask.css +40 -0
  247. data/public/stylesheets/reset.css +71 -0
  248. data/public/stylesheets/style.css +7 -0
  249. data/public/stylesheets/vtip.css +28 -0
  250. data/script/rails +6 -0
  251. data/test/functional/accounts_controller_test.rb +8 -0
  252. data/test/functional/dialog_controller_test.rb +8 -0
  253. data/test/functional/home_controller_test.rb +8 -0
  254. data/test/functional/host_pools_controller_test.rb +8 -0
  255. data/test/functional/images_controller_test.rb +8 -0
  256. data/test/functional/information_controller_test.rb +8 -0
  257. data/test/functional/instances_controller_test.rb +8 -0
  258. data/test/functional/keypairs_controller_test.rb +8 -0
  259. data/test/functional/security_groups_controller_test.rb +8 -0
  260. data/test/functional/sessions_controller_test.rb +8 -0
  261. data/test/functional/snapshots_controller_test.rb +8 -0
  262. data/test/functional/storage_pools_controller_test.rb +8 -0
  263. data/test/functional/users_controller_test.rb +8 -0
  264. data/test/functional/volumes_controller_test.rb +8 -0
  265. data/test/performance/browsing_test.rb +9 -0
  266. data/test/test_helper.rb +13 -0
  267. data/test/unit/helpers/accounts_helper_test.rb +4 -0
  268. data/test/unit/helpers/dialog_helper_test.rb +4 -0
  269. data/test/unit/helpers/home_helper_test.rb +4 -0
  270. data/test/unit/helpers/host_pools_helper_test.rb +4 -0
  271. data/test/unit/helpers/images_helper_test.rb +4 -0
  272. data/test/unit/helpers/information_helper_test.rb +4 -0
  273. data/test/unit/helpers/instances_helper_test.rb +4 -0
  274. data/test/unit/helpers/keypairs_helper_test.rb +4 -0
  275. data/test/unit/helpers/security_groups_helper_test.rb +4 -0
  276. data/test/unit/helpers/sessions_helper_test.rb +4 -0
  277. data/test/unit/helpers/snapshots_helper_test.rb +4 -0
  278. data/test/unit/helpers/storage_pools_helper_test.rb +4 -0
  279. data/test/unit/helpers/users_helper_test.rb +4 -0
  280. data/test/unit/helpers/volumes_helper_test.rb +4 -0
  281. metadata +399 -0
@@ -0,0 +1,40 @@
1
+ .loadmask {
2
+ z-index: 100;
3
+ position: absolute;
4
+ top:0;
5
+ left:0;
6
+ -moz-opacity: 0.5;
7
+ opacity: .50;
8
+ filter: alpha(opacity=50);
9
+ background-color: #CCC;
10
+ width: 100%;
11
+ height: 100%;
12
+ zoom: 1;
13
+ }
14
+ .loadmask-msg {
15
+ z-index: 20001;
16
+ position: absolute;
17
+ top: 0;
18
+ left: 0;
19
+ border:1px solid #6593cf;
20
+ background: #c3daf9;
21
+ padding:2px;
22
+ }
23
+ .loadmask-msg div {
24
+ padding:5px 10px 5px 25px;
25
+ background: #fbfbfb url('../images/loading.gif') no-repeat 5px 5px;
26
+ line-height: 16px;
27
+ border:1px solid #a3bad9;
28
+ color:#222;
29
+ font:normal 11px tahoma, arial, helvetica, sans-serif;
30
+ cursor:wait;
31
+ }
32
+ .masked {
33
+ overflow: hidden !important;
34
+ }
35
+ .masked-relative {
36
+ position: relative !important;
37
+ }
38
+ .masked-hidden {
39
+ visibility: hidden !important;
40
+ }
@@ -0,0 +1,71 @@
1
+ /* CSS Document */
2
+
3
+ html, body, div, span, applet, object, iframe,
4
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
5
+ a, abbr, acronym, address, big, cite, code,
6
+ del, dfn, em, font, img, ins, kbd, q, s, samp,
7
+ small, strike, strong, sub, sup, tt, var,
8
+ b, u, i, center,
9
+ /* dl, dt, dd, ol, ul, li, */
10
+ fieldset, form, label, legend,
11
+ table, caption, tbody, tfoot, thead, tr, th, td {
12
+ margin: 0;
13
+ padding: 0;
14
+ border: 0;
15
+ outline: 0;
16
+ font-size: 98%;
17
+ vertical-align: baseline;
18
+ background: transparent;
19
+ text-decoration: none;
20
+ font-family: Helvetica, "Helvetica Neue", sans-serif;
21
+ }
22
+
23
+ html {
24
+ /*�X�N���[���o�[����ɕ\��*/
25
+ overflow-y: scroll;
26
+ overflow: -moz-scrollbars-vertical;
27
+ }
28
+
29
+ body {
30
+ line-height: 1;
31
+ color: #191919;
32
+ background: white;
33
+ }
34
+ ol, ul {
35
+ margin: 0;
36
+ padding: 0;
37
+ list-style: none;
38
+ }
39
+ blockquote, q {
40
+ quotes: none;
41
+ }
42
+
43
+ /* remember to define focus styles! */
44
+ :focus {
45
+ outline: 0;
46
+ }
47
+
48
+ /* remember to highlight inserts somehow! */
49
+ ins {
50
+ text-decoration: none;
51
+ }
52
+ del {
53
+ text-decoration: line-through;
54
+ }
55
+
56
+ /* tables still need 'cellspacing="0"' in the markup */
57
+ table {
58
+ border-collapse: separate;
59
+ border-spacing: 0;
60
+ }
61
+ caption, th, td {
62
+ text-align: left;
63
+ font-weight: normal;
64
+ }
65
+ blockquote:before, blockquote:after,
66
+ q:before, q:after {
67
+ content: "";
68
+ }
69
+ blockquote, q {
70
+ quotes: "" "";
71
+ }
@@ -0,0 +1,7 @@
1
+ @charset "utf-8";
2
+
3
+ /* reset */
4
+ @import url("reset.css");
5
+
6
+ /* clear and set p,a,strong,hr */
7
+ @import url("common.css");
@@ -0,0 +1,28 @@
1
+ #vtip {
2
+ display: none;
3
+ position: absolute;
4
+ z-index: 9999;
5
+ }
6
+
7
+ #vtip p{
8
+ padding: 10px;
9
+ left: 5px;
10
+ font-size: 0.8em;
11
+ background-color: white;
12
+ border: 1px solid #acd0dc;
13
+ -moz-border-radius: 5px;
14
+ -webkit-border-radius: 5px;
15
+ }
16
+ /*
17
+ #vtip img#vtipArrow {
18
+ position: absolute;
19
+ top: 10px;
20
+ left: 5px;
21
+ }
22
+ */
23
+ #vtip img#vtipArrow {
24
+ display: block;
25
+ position: absolute;
26
+ bottom: -9px;
27
+ left: 5px;
28
+ }
data/script/rails ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class AccountsControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class DialogControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class HomeControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class HostPoolsControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class ImagesControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class InformationControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class InstancesControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class KeypairsControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class SecurityGroupsControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class SessionsControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class SnapshotsControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class StoragePoolsControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class UsersControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class VolumesControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+ require 'rails/performance_test_help'
3
+
4
+ # Profiling results for each test method are written to tmp/performance.
5
+ class BrowsingTest < ActionDispatch::PerformanceTest
6
+ def test_homepage
7
+ get '/'
8
+ end
9
+ end
@@ -0,0 +1,13 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
7
+ #
8
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
9
+ # -- they do not yet inherit this setting
10
+ fixtures :all
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class AccountsHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class DialogHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class HomeHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class HostPoolsHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class ImagesHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class InformationHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class InstancesHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class KeypairsHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class SecurityGroupsHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class SessionsHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class SnapshotsHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class StoragePoolsHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class UsersHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class VolumesHelperTest < ActionView::TestCase
4
+ end
metadata ADDED
@@ -0,0 +1,399 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wakame-vdc-webui
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 10
7
+ - 11
8
+ - 0
9
+ version: 10.11.0
10
+ platform: ruby
11
+ authors:
12
+ - axsh Ltd.
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-11-19 00:00:00 +09:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ prerelease: false
22
+ name: rails
23
+ type: :runtime
24
+ version_requirements: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 3
30
+ - 0
31
+ - 0
32
+ version: 3.0.0
33
+ requirement: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ prerelease: false
36
+ name: mysql
37
+ type: :runtime
38
+ version_requirements: &id002 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "="
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 2
44
+ - 8
45
+ - 1
46
+ version: 2.8.1
47
+ requirement: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ prerelease: false
50
+ name: sequel
51
+ type: :runtime
52
+ version_requirements: &id003 !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "="
55
+ - !ruby/object:Gem::Version
56
+ segments:
57
+ - 3
58
+ - 15
59
+ - 0
60
+ version: 3.15.0
61
+ requirement: *id003
62
+ - !ruby/object:Gem::Dependency
63
+ prerelease: false
64
+ name: json
65
+ type: :runtime
66
+ version_requirements: &id004 !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "="
69
+ - !ruby/object:Gem::Version
70
+ segments:
71
+ - 1
72
+ - 4
73
+ - 6
74
+ version: 1.4.6
75
+ requirement: *id004
76
+ description:
77
+ email:
78
+ - dev@axsh.net
79
+ executables: []
80
+
81
+ extensions: []
82
+
83
+ extra_rdoc_files: []
84
+
85
+ files:
86
+ - app/controllers/application_controller.rb
87
+ - app/controllers/security_groups_controller.rb
88
+ - app/controllers/sessions_controller.rb
89
+ - app/controllers/keypairs_controller.rb
90
+ - app/controllers/volumes_controller.rb
91
+ - app/controllers/home_controller.rb
92
+ - app/controllers/users_controller.rb
93
+ - app/controllers/host_pools_controller.rb
94
+ - app/controllers/storage_pools_controller.rb
95
+ - app/controllers/accounts_controller.rb
96
+ - app/controllers/information_controller.rb
97
+ - app/controllers/instances_controller.rb
98
+ - app/controllers/images_controller.rb
99
+ - app/controllers/dialog_controller.rb
100
+ - app/controllers/snapshots_controller.rb
101
+ - app/helpers/security_groups_helper.rb
102
+ - app/helpers/application_helper.rb
103
+ - app/helpers/volumes_helper.rb
104
+ - app/helpers/sessions_helper.rb
105
+ - app/helpers/images_helper.rb
106
+ - app/helpers/instances_helper.rb
107
+ - app/helpers/host_pools_helper.rb
108
+ - app/helpers/dialog_helper.rb
109
+ - app/helpers/snapshots_helper.rb
110
+ - app/helpers/home_helper.rb
111
+ - app/helpers/accounts_helper.rb
112
+ - app/helpers/information_helper.rb
113
+ - app/helpers/users_helper.rb
114
+ - app/helpers/storage_pools_helper.rb
115
+ - app/helpers/keypairs_helper.rb
116
+ - app/models/information.rb
117
+ - app/models/user.rb
118
+ - app/models/schema.rb
119
+ - app/models/dcmgr_resource/storage_pool.rb
120
+ - app/models/dcmgr_resource/image.rb
121
+ - app/models/dcmgr_resource/base.rb
122
+ - app/models/dcmgr_resource/volume_snapshot.rb
123
+ - app/models/dcmgr_resource/instance.rb
124
+ - app/models/dcmgr_resource/mock.rb
125
+ - app/models/dcmgr_resource/volume.rb
126
+ - app/models/dcmgr_resource/host_pool.rb
127
+ - app/models/dcmgr_resource/ssh_key_pair.rb
128
+ - app/models/dcmgr_resource/account.rb
129
+ - app/models/dcmgr_resource/netfilter_group.rb
130
+ - app/models/authz.rb
131
+ - app/models/tag.rb
132
+ - app/models/base_new.rb
133
+ - app/models/tag_mapping.rb
134
+ - app/models/account.rb
135
+ - app/views/layouts/_footer.html.erb
136
+ - app/views/layouts/login.html.erb
137
+ - app/views/layouts/_service_health.erb
138
+ - app/views/layouts/_sidemenu.html.erb
139
+ - app/views/layouts/_informationarea.html.erb
140
+ - app/views/layouts/_header.html.erb
141
+ - app/views/layouts/application.html.erb
142
+ - app/views/layouts/_login_header.erb
143
+ - app/views/snapshots/index.html.erb
144
+ - app/views/volumes/index.html.erb
145
+ - app/views/security_groups/index.html.erb
146
+ - app/views/images/index.html.erb
147
+ - app/views/sessions/new.html.erb
148
+ - app/views/accounts/index.html.erb
149
+ - app/views/information/index.html.erb
150
+ - app/views/dialog/delete_security_group.html.erb
151
+ - app/views/dialog/delete_ssh_keypair.html.erb
152
+ - app/views/dialog/reboot_instances.html.erb
153
+ - app/views/dialog/create_volume_from_snapshot.html.erb
154
+ - app/views/dialog/delete_volume.html.erb
155
+ - app/views/dialog/attach_volume.html.erb
156
+ - app/views/dialog/delete_snapshot.html.erb
157
+ - app/views/dialog/stop_instances.html.erb
158
+ - app/views/dialog/create_and_edit_security_group.html.erb
159
+ - app/views/dialog/create_snapshot.html.erb
160
+ - app/views/dialog/create_volume.html.erb
161
+ - app/views/dialog/launch_instance.html.erb
162
+ - app/views/dialog/terminate_instances.html.erb
163
+ - app/views/dialog/start_instances.html.erb
164
+ - app/views/dialog/detach_volume.html.erb
165
+ - app/views/dialog/create_ssh_keypair.html.erb
166
+ - app/views/storage_pools/index.html.erb
167
+ - app/views/instances/index.html.erb
168
+ - app/views/home/index.html.erb
169
+ - app/views/host_pools/index.html.erb
170
+ - app/views/keypairs/index.html.erb
171
+ - config/environments/development.rb
172
+ - config/environments/production.rb
173
+ - config/environments/test.rb
174
+ - config/boot.rb
175
+ - config/environment.rb
176
+ - config/routes.rb
177
+ - config/application.rb
178
+ - config/initializers/mime_types.rb
179
+ - config/initializers/session_store.rb
180
+ - config/initializers/secret_token.rb
181
+ - config/initializers/dcmgr_gui.rb
182
+ - config/initializers/backtrace_silencers.rb
183
+ - config/initializers/inflections.rb
184
+ - config/locales/en.yml
185
+ - config/database.yml
186
+ - db/seeds.rb
187
+ - extras/authentication.rb
188
+ - extras/util.rb
189
+ - public/images/lastelement_bg.gif
190
+ - public/images/ui-bg_glass_100_f6f6f6_1x400.png
191
+ - public/images/btn_createkey.gif
192
+ - public/images/content_bg.png
193
+ - public/images/ui-icons_808080_256x240.png
194
+ - public/images/sidemenu_bg.gif
195
+ - public/images/btn_hide.gif
196
+ - public/images/ui-icons_8dc262_256x240.png
197
+ - public/images/ui-bg_inset-soft_15_2b2922_1x100.png
198
+ - public/images/btn_create_security_group.gif
199
+ - public/images/btn_healthdetail.gif
200
+ - public/images/bup_btn_healthdetail.gif
201
+ - public/images/ui-icons_222222_256x240.png
202
+ - public/images/icon_resource03.gif
203
+ - public/images/ui-bg_diagonals-thick_20_666666_40x40.png
204
+ - public/images/loader_boxes.gif
205
+ - public/images/icon_resource04.gif
206
+ - public/images/btn_show_accesskey.png
207
+ - public/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
208
+ - public/images/head_gradation_bg.gif
209
+ - public/images/ui-icons_847e71_256x240.png
210
+ - public/images/icon_ttl_personal_inf.gif
211
+ - public/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png
212
+ - public/images/icon_instances.gif
213
+ - public/images/content_head_bg.gif
214
+ - public/images/ui-bg_highlight-soft_25_67b021_1x100.png
215
+ - public/images/mainarea_wide_content_bg.gif
216
+ - public/images/clear.gif
217
+ - public/images/regionselect_bg.gif
218
+ - public/images/ui-icons_cd0a0a_256x240.png
219
+ - public/images/btn_launch.gif
220
+ - public/images/btn_next.gif
221
+ - public/images/mainarea_wide_h3_bg.gif
222
+ - public/images/menu_list_header.gif
223
+ - public/images/ui-bg_highlight-hard_100_fafaf4_1x100.png
224
+ - public/images/icon_resource.gif
225
+ - public/images/sidemenu_top.gif
226
+ - public/images/ui-bg_highlight-soft_95_ffedad_1x100.png
227
+ - public/images/mainarea_bottom_bg.gif
228
+ - public/images/ui-bg_highlight-hard_15_459e00_1x100.png
229
+ - public/images/icon_ttl_accskey.gif
230
+ - public/images/btn_create_volume.gif
231
+ - public/images/btn_de_register.gif
232
+ - public/images/btn_refresh.gif
233
+ - public/images/body_bg.gif
234
+ - public/images/vtip_arrow.png
235
+ - public/images/btn_create_snapshot.gif
236
+ - public/images/btn_delete_snapshot.gif
237
+ - public/images/ui-bg_gloss-wave_35_f6a828_500x100.png
238
+ - public/images/icon_resource01.gif
239
+ - public/images/ui-icons_ffd27a_256x240.png
240
+ - public/images/menu_list_header_current.gif
241
+ - public/images/ui-icons_ef8c08_256x240.png
242
+ - public/images/icon_summary.gif
243
+ - public/images/sidemenu_bottom.gif
244
+ - public/images/ui-bg_glass_100_fdf5ce_1x400.png
245
+ - public/images/btn_delete_security_group.gif
246
+ - public/images/ui-bg_gloss-wave_100_ece8da_500x100.png
247
+ - public/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
248
+ - public/images/btn_delete_volume.gif
249
+ - public/images/btn_prev.gif
250
+ - public/images/icon_ttl_detail.gif
251
+ - public/images/btn_show.gif
252
+ - public/images/icon_service_stat.gif
253
+ - public/images/icon_health.gif
254
+ - public/images/lastelement_bg.png
255
+ - public/images/select_bg_126.gif
256
+ - public/images/infra_passive.gif
257
+ - public/images/ui-bg_diagonals-thick_18_b81900_40x40.png
258
+ - public/images/icon_ttl_instance.gif
259
+ - public/images/icon_images.gif
260
+ - public/images/loader_ball.gif
261
+ - public/images/icon_blockstore.gif
262
+ - public/images/mainarea_h3_bg.gif
263
+ - public/images/app_passive.gif
264
+ - public/images/ui-bg_glass_65_ffffff_1x400.png
265
+ - public/images/loading.gif
266
+ - public/images/ui-icons_eeeeee_256x240.png
267
+ - public/images/infra_active.gif
268
+ - public/images/icon_information.gif
269
+ - public/images/plat_active.gif
270
+ - public/images/icon_rss.gif
271
+ - public/images/ui-icons_ffffff_256x240.png
272
+ - public/images/listicon_useast.gif
273
+ - public/images/mainarea_content_bg.gif
274
+ - public/images/ui-bg_highlight-hard_95_cccccc_1x100.png
275
+ - public/images/icon_stop.gif
276
+ - public/images/app_active.gif
277
+ - public/images/btn_savechange.gif
278
+ - public/images/btn_change.gif
279
+ - public/images/icon_service.gif
280
+ - public/images/select_bg_139.gif
281
+ - public/images/ui-bg_flat_10_000000_40x100.png
282
+ - public/images/header_logo.gif
283
+ - public/images/icon_caution.gif
284
+ - public/images/btn_register_new_ami.gif
285
+ - public/images/btn_deletekey.gif
286
+ - public/images/footer_bg.gif
287
+ - public/images/mainarea_wide_bottom_bg.gif
288
+ - public/images/bup_btn_refresh.gif
289
+ - public/images/content_foot_bg.gif
290
+ - public/images/ui-icons_228ef1_256x240.png
291
+ - public/images/ui-bg_glass_55_fcf0ba_1x400.png
292
+ - public/images/icon_resource02.gif
293
+ - public/images/plat_passive.gif
294
+ - public/images/icon_security.gif
295
+ - public/robots.txt
296
+ - public/500.html
297
+ - public/404.html
298
+ - public/422.html
299
+ - public/javascripts/jsdeferred.jquery.js
300
+ - public/javascripts/jquery.tmpl.js
301
+ - public/javascripts/jquery.loadmask.min.js
302
+ - public/javascripts/dragdrop.js
303
+ - public/javascripts/prototype.js
304
+ - public/javascripts/rails.js
305
+ - public/javascripts/effects.js
306
+ - public/javascripts/dcmgr_gui/sshkeypair_panel.js
307
+ - public/javascripts/dcmgr_gui/volume_panel.js
308
+ - public/javascripts/dcmgr_gui/snapshot_panel.js
309
+ - public/javascripts/dcmgr_gui/application.js
310
+ - public/javascripts/dcmgr_gui/host_pool_panel.js
311
+ - public/javascripts/dcmgr_gui/image_panel.js
312
+ - public/javascripts/dcmgr_gui/core.js
313
+ - public/javascripts/dcmgr_gui/instance_panel.js
314
+ - public/javascripts/dcmgr_gui/storage_pool_panel.js
315
+ - public/javascripts/dcmgr_gui/dashboard_panel.js
316
+ - public/javascripts/dcmgr_gui/security_group_panel.js
317
+ - public/javascripts/controls.js
318
+ - public/javascripts/jquery-1.4.2.min.js
319
+ - public/javascripts/jquery-ui-1.8.4.custom.min.js
320
+ - public/stylesheets/common.css
321
+ - public/stylesheets/dialog.css
322
+ - public/stylesheets/jquery.loadmask.css
323
+ - public/stylesheets/style.css
324
+ - public/stylesheets/vtip.css
325
+ - public/stylesheets/reset.css
326
+ - public/stylesheets/jquery-ui-1.8.4.custom.css
327
+ - public/favicon.ico
328
+ - lib/tasks/dcmgr_gui.rake
329
+ - test/unit/helpers/security_groups_helper_test.rb
330
+ - test/unit/helpers/snapshots_helper_test.rb
331
+ - test/unit/helpers/images_helper_test.rb
332
+ - test/unit/helpers/dialog_helper_test.rb
333
+ - test/unit/helpers/host_pools_helper_test.rb
334
+ - test/unit/helpers/keypairs_helper_test.rb
335
+ - test/unit/helpers/accounts_helper_test.rb
336
+ - test/unit/helpers/volumes_helper_test.rb
337
+ - test/unit/helpers/sessions_helper_test.rb
338
+ - test/unit/helpers/storage_pools_helper_test.rb
339
+ - test/unit/helpers/information_helper_test.rb
340
+ - test/unit/helpers/users_helper_test.rb
341
+ - test/unit/helpers/home_helper_test.rb
342
+ - test/unit/helpers/instances_helper_test.rb
343
+ - test/test_helper.rb
344
+ - test/performance/browsing_test.rb
345
+ - test/functional/sessions_controller_test.rb
346
+ - test/functional/instances_controller_test.rb
347
+ - test/functional/images_controller_test.rb
348
+ - test/functional/storage_pools_controller_test.rb
349
+ - test/functional/accounts_controller_test.rb
350
+ - test/functional/dialog_controller_test.rb
351
+ - test/functional/volumes_controller_test.rb
352
+ - test/functional/snapshots_controller_test.rb
353
+ - test/functional/users_controller_test.rb
354
+ - test/functional/keypairs_controller_test.rb
355
+ - test/functional/home_controller_test.rb
356
+ - test/functional/host_pools_controller_test.rb
357
+ - test/functional/security_groups_controller_test.rb
358
+ - test/functional/information_controller_test.rb
359
+ - script/rails
360
+ - Rakefile
361
+ - config.ru
362
+ - README
363
+ - LICENSE
364
+ - NOTICE
365
+ - INSTALL.txt
366
+ has_rdoc: true
367
+ homepage:
368
+ licenses: []
369
+
370
+ post_install_message:
371
+ rdoc_options: []
372
+
373
+ require_paths:
374
+ - lib
375
+ required_ruby_version: !ruby/object:Gem::Requirement
376
+ requirements:
377
+ - - ">="
378
+ - !ruby/object:Gem::Version
379
+ segments:
380
+ - 1
381
+ - 8
382
+ - 7
383
+ version: 1.8.7
384
+ required_rubygems_version: !ruby/object:Gem::Requirement
385
+ requirements:
386
+ - - ">="
387
+ - !ruby/object:Gem::Version
388
+ segments:
389
+ - 0
390
+ version: "0"
391
+ requirements: []
392
+
393
+ rubyforge_project:
394
+ rubygems_version: 1.3.6
395
+ signing_key:
396
+ specification_version: 3
397
+ summary: "Datacenter management toolkit for IaaS Cloud: UI frontend"
398
+ test_files: []
399
+