vagrant-ec-sandbox 0.1.0.Preview

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +7 -0
  2. data/lib/vagrant-ec-sandbox/action/base.rb +53 -0
  3. data/lib/vagrant-ec-sandbox/action/check_dir.rb +41 -0
  4. data/lib/vagrant-ec-sandbox/action/check_file.rb +41 -0
  5. data/lib/vagrant-ec-sandbox/action/code/install.rb +0 -0
  6. data/lib/vagrant-ec-sandbox/action/code/prepare_dist.rb +37 -0
  7. data/lib/vagrant-ec-sandbox/action/code/remove.rb +0 -0
  8. data/lib/vagrant-ec-sandbox/action/code.rb +15 -0
  9. data/lib/vagrant-ec-sandbox/action/dist/check_artifact.rb +26 -0
  10. data/lib/vagrant-ec-sandbox/action/dist/check_wildfly_installer.rb +28 -0
  11. data/lib/vagrant-ec-sandbox/action/dist/clear_contents.rb +34 -0
  12. data/lib/vagrant-ec-sandbox/action/dist/config_ec.rb +92 -0
  13. data/lib/vagrant-ec-sandbox/action/dist/deploy_ecapp.rb +44 -0
  14. data/lib/vagrant-ec-sandbox/action/dist/get_vbuild.rb +39 -0
  15. data/lib/vagrant-ec-sandbox/action/dist/get_vnexus.rb +65 -0
  16. data/lib/vagrant-ec-sandbox/action/dist/install_wildfly.rb +40 -0
  17. data/lib/vagrant-ec-sandbox/action/dist/make_contents.rb +36 -0
  18. data/lib/vagrant-ec-sandbox/action/dist.rb +44 -0
  19. data/lib/vagrant-ec-sandbox/action/init/env_config_confirm.rb +18 -0
  20. data/lib/vagrant-ec-sandbox/action/init/init_dir.rb +31 -0
  21. data/lib/vagrant-ec-sandbox/action/init/init_vagrant.rb +67 -0
  22. data/lib/vagrant-ec-sandbox/action/init.rb +11 -0
  23. data/lib/vagrant-ec-sandbox/action/select_db.rb +51 -0
  24. data/lib/vagrant-ec-sandbox/action/up_vagrant.rb +23 -0
  25. data/lib/vagrant-ec-sandbox/action/use_app_server.rb +27 -0
  26. data/lib/vagrant-ec-sandbox/action/wildfly/get_isinstalled.rb +50 -0
  27. data/lib/vagrant-ec-sandbox/action/wildfly/redirect_dirs.rb +56 -0
  28. data/lib/vagrant-ec-sandbox/action/wildfly/reload.rb +45 -0
  29. data/lib/vagrant-ec-sandbox/action/wildfly/reload_admin.rb +38 -0
  30. data/lib/vagrant-ec-sandbox/action/wildfly/remove.rb +32 -0
  31. data/lib/vagrant-ec-sandbox/action/wildfly/start.rb +42 -0
  32. data/lib/vagrant-ec-sandbox/action/wildfly/start_admin.rb +36 -0
  33. data/lib/vagrant-ec-sandbox/action/wildfly/status.rb +36 -0
  34. data/lib/vagrant-ec-sandbox/action/wildfly/stop.rb +42 -0
  35. data/lib/vagrant-ec-sandbox/action/wildfly/switch_db.rb +48 -0
  36. data/lib/vagrant-ec-sandbox/action/wildfly.rb +79 -0
  37. data/lib/vagrant-ec-sandbox/action.rb +129 -0
  38. data/lib/vagrant-ec-sandbox/command/as/config_db.rb +34 -0
  39. data/lib/vagrant-ec-sandbox/command/as/install.rb +34 -0
  40. data/lib/vagrant-ec-sandbox/command/as/restart.rb +33 -0
  41. data/lib/vagrant-ec-sandbox/command/as/show_status.rb +32 -0
  42. data/lib/vagrant-ec-sandbox/command/as/start.rb +33 -0
  43. data/lib/vagrant-ec-sandbox/command/as/stop.rb +32 -0
  44. data/lib/vagrant-ec-sandbox/command/as/test.rb +32 -0
  45. data/lib/vagrant-ec-sandbox/command/base.rb +52 -0
  46. data/lib/vagrant-ec-sandbox/command/init.rb +29 -0
  47. data/lib/vagrant-ec-sandbox/command/root.rb +101 -0
  48. data/lib/vagrant-ec-sandbox/communicator_extender.rb +45 -0
  49. data/lib/vagrant-ec-sandbox/config/sandbox_config.rb +235 -0
  50. data/lib/vagrant-ec-sandbox/db_selector/db_info.rb +8 -0
  51. data/lib/vagrant-ec-sandbox/db_selector/db_selector.rb +20 -0
  52. data/lib/vagrant-ec-sandbox/db_selector/direct_selector.rb +30 -0
  53. data/lib/vagrant-ec-sandbox/db_selector/direct_selector_config.rb +37 -0
  54. data/lib/vagrant-ec-sandbox/db_selector/manual_input_selector.rb +32 -0
  55. data/lib/vagrant-ec-sandbox/db_selector/oracle_db_info.rb +19 -0
  56. data/lib/vagrant-ec-sandbox/db_selector/selector_config.rb +22 -0
  57. data/lib/vagrant-ec-sandbox/dir_structure.rb +306 -0
  58. data/lib/vagrant-ec-sandbox/errors.rb +33 -0
  59. data/lib/vagrant-ec-sandbox/helpers.rb +11 -0
  60. data/lib/vagrant-ec-sandbox/plugin.rb +29 -0
  61. data/lib/vagrant-ec-sandbox/resource/hg_clone_provider.rb +46 -0
  62. data/lib/vagrant-ec-sandbox/resource/hg_clone_provider_config.rb +29 -0
  63. data/lib/vagrant-ec-sandbox/resource/local_provider.rb +19 -0
  64. data/lib/vagrant-ec-sandbox/resource/local_provider_config.rb +20 -0
  65. data/lib/vagrant-ec-sandbox/resource/maven_provider.rb +51 -0
  66. data/lib/vagrant-ec-sandbox/resource/maven_provider_config.rb +20 -0
  67. data/lib/vagrant-ec-sandbox/resource/provider_config.rb +10 -0
  68. data/lib/vagrant-ec-sandbox/resource/resource_provider.rb +20 -0
  69. data/lib/vagrant-ec-sandbox/server/app_server/as.rb +18 -0
  70. data/lib/vagrant-ec-sandbox/server/app_server/as_config.rb +38 -0
  71. data/lib/vagrant-ec-sandbox/server/server.rb +18 -0
  72. data/lib/vagrant-ec-sandbox/session.rb +146 -0
  73. data/lib/vagrant-ec-sandbox/util/host/dir_util.rb +39 -0
  74. data/lib/vagrant-ec-sandbox/util/host/file_util.rb +67 -0
  75. data/lib/vagrant-ec-sandbox/util/host/hg_clone.rb +32 -0
  76. data/lib/vagrant-ec-sandbox/util/host/mvn.rb +54 -0
  77. data/lib/vagrant-ec-sandbox/util/name.rb +22 -0
  78. data/lib/vagrant-ec-sandbox/util/output_buffer.rb +58 -0
  79. data/lib/vagrant-ec-sandbox/util/sandbox/get_user_processes.rb +85 -0
  80. data/lib/vagrant-ec-sandbox/util/sandbox/system_command.rb +91 -0
  81. data/lib/vagrant-ec-sandbox/util/sandbox/wildfly/add-user.rb +48 -0
  82. data/lib/vagrant-ec-sandbox/util/sandbox/wildfly/deploy.rb +34 -0
  83. data/lib/vagrant-ec-sandbox/util/sandbox/wildfly/response.rb +32 -0
  84. data/lib/vagrant-ec-sandbox/util/sandbox/wildfly/run_cli.rb +86 -0
  85. data/lib/vagrant-ec-sandbox/version.rb +5 -0
  86. data/lib/vagrant-ec-sandbox.rb +113 -0
  87. data/templates/action/dist/install_wildfly.sh.erb +23 -0
  88. data/templates/action/hello.sh.erb +1 -0
  89. data/templates/action/init/Vagrantfile.erb +91 -0
  90. data/templates/action/init/provision.sh.erb +71 -0
  91. data/templates/action/init/resources/settings.xml.erb +118 -0
  92. data/templates/action/wildfly/config_ec.sh.erb +5 -0
  93. data/templates/action/wildfly/deloy.cli.erb +0 -0
  94. data/templates/action/wildfly/open_interface.cli.erb +3 -0
  95. data/templates/action/wildfly/redirect_log.cli.erb +3 -0
  96. data/templates/action/wildfly/switch_db.cli.erb +43 -0
  97. data/templates/locales/en.yml +35 -0
  98. metadata +168 -0
metadata ADDED
@@ -0,0 +1,168 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vagrant-ec-sandbox
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0.Preview
5
+ platform: ruby
6
+ authors:
7
+ - Han Yi
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-05-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 1.7.13
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.7.13
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: A Vagrant plugin for managing Energy Components sandboxes.
42
+ email:
43
+ - me@royhan.net
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - lib/vagrant-ec-sandbox.rb
49
+ - lib/vagrant-ec-sandbox/action.rb
50
+ - lib/vagrant-ec-sandbox/action/base.rb
51
+ - lib/vagrant-ec-sandbox/action/check_dir.rb
52
+ - lib/vagrant-ec-sandbox/action/check_file.rb
53
+ - lib/vagrant-ec-sandbox/action/code.rb
54
+ - lib/vagrant-ec-sandbox/action/code/install.rb
55
+ - lib/vagrant-ec-sandbox/action/code/prepare_dist.rb
56
+ - lib/vagrant-ec-sandbox/action/code/remove.rb
57
+ - lib/vagrant-ec-sandbox/action/dist.rb
58
+ - lib/vagrant-ec-sandbox/action/dist/check_artifact.rb
59
+ - lib/vagrant-ec-sandbox/action/dist/check_wildfly_installer.rb
60
+ - lib/vagrant-ec-sandbox/action/dist/clear_contents.rb
61
+ - lib/vagrant-ec-sandbox/action/dist/config_ec.rb
62
+ - lib/vagrant-ec-sandbox/action/dist/deploy_ecapp.rb
63
+ - lib/vagrant-ec-sandbox/action/dist/get_vbuild.rb
64
+ - lib/vagrant-ec-sandbox/action/dist/get_vnexus.rb
65
+ - lib/vagrant-ec-sandbox/action/dist/install_wildfly.rb
66
+ - lib/vagrant-ec-sandbox/action/dist/make_contents.rb
67
+ - lib/vagrant-ec-sandbox/action/init.rb
68
+ - lib/vagrant-ec-sandbox/action/init/env_config_confirm.rb
69
+ - lib/vagrant-ec-sandbox/action/init/init_dir.rb
70
+ - lib/vagrant-ec-sandbox/action/init/init_vagrant.rb
71
+ - lib/vagrant-ec-sandbox/action/select_db.rb
72
+ - lib/vagrant-ec-sandbox/action/up_vagrant.rb
73
+ - lib/vagrant-ec-sandbox/action/use_app_server.rb
74
+ - lib/vagrant-ec-sandbox/action/wildfly.rb
75
+ - lib/vagrant-ec-sandbox/action/wildfly/get_isinstalled.rb
76
+ - lib/vagrant-ec-sandbox/action/wildfly/redirect_dirs.rb
77
+ - lib/vagrant-ec-sandbox/action/wildfly/reload.rb
78
+ - lib/vagrant-ec-sandbox/action/wildfly/reload_admin.rb
79
+ - lib/vagrant-ec-sandbox/action/wildfly/remove.rb
80
+ - lib/vagrant-ec-sandbox/action/wildfly/start.rb
81
+ - lib/vagrant-ec-sandbox/action/wildfly/start_admin.rb
82
+ - lib/vagrant-ec-sandbox/action/wildfly/status.rb
83
+ - lib/vagrant-ec-sandbox/action/wildfly/stop.rb
84
+ - lib/vagrant-ec-sandbox/action/wildfly/switch_db.rb
85
+ - lib/vagrant-ec-sandbox/command/as/config_db.rb
86
+ - lib/vagrant-ec-sandbox/command/as/install.rb
87
+ - lib/vagrant-ec-sandbox/command/as/restart.rb
88
+ - lib/vagrant-ec-sandbox/command/as/show_status.rb
89
+ - lib/vagrant-ec-sandbox/command/as/start.rb
90
+ - lib/vagrant-ec-sandbox/command/as/stop.rb
91
+ - lib/vagrant-ec-sandbox/command/as/test.rb
92
+ - lib/vagrant-ec-sandbox/command/base.rb
93
+ - lib/vagrant-ec-sandbox/command/init.rb
94
+ - lib/vagrant-ec-sandbox/command/root.rb
95
+ - lib/vagrant-ec-sandbox/communicator_extender.rb
96
+ - lib/vagrant-ec-sandbox/config/sandbox_config.rb
97
+ - lib/vagrant-ec-sandbox/db_selector/db_info.rb
98
+ - lib/vagrant-ec-sandbox/db_selector/db_selector.rb
99
+ - lib/vagrant-ec-sandbox/db_selector/direct_selector.rb
100
+ - lib/vagrant-ec-sandbox/db_selector/direct_selector_config.rb
101
+ - lib/vagrant-ec-sandbox/db_selector/manual_input_selector.rb
102
+ - lib/vagrant-ec-sandbox/db_selector/oracle_db_info.rb
103
+ - lib/vagrant-ec-sandbox/db_selector/selector_config.rb
104
+ - lib/vagrant-ec-sandbox/dir_structure.rb
105
+ - lib/vagrant-ec-sandbox/errors.rb
106
+ - lib/vagrant-ec-sandbox/helpers.rb
107
+ - lib/vagrant-ec-sandbox/plugin.rb
108
+ - lib/vagrant-ec-sandbox/resource/hg_clone_provider.rb
109
+ - lib/vagrant-ec-sandbox/resource/hg_clone_provider_config.rb
110
+ - lib/vagrant-ec-sandbox/resource/local_provider.rb
111
+ - lib/vagrant-ec-sandbox/resource/local_provider_config.rb
112
+ - lib/vagrant-ec-sandbox/resource/maven_provider.rb
113
+ - lib/vagrant-ec-sandbox/resource/maven_provider_config.rb
114
+ - lib/vagrant-ec-sandbox/resource/provider_config.rb
115
+ - lib/vagrant-ec-sandbox/resource/resource_provider.rb
116
+ - lib/vagrant-ec-sandbox/server/app_server/as.rb
117
+ - lib/vagrant-ec-sandbox/server/app_server/as_config.rb
118
+ - lib/vagrant-ec-sandbox/server/server.rb
119
+ - lib/vagrant-ec-sandbox/session.rb
120
+ - lib/vagrant-ec-sandbox/util/host/dir_util.rb
121
+ - lib/vagrant-ec-sandbox/util/host/file_util.rb
122
+ - lib/vagrant-ec-sandbox/util/host/hg_clone.rb
123
+ - lib/vagrant-ec-sandbox/util/host/mvn.rb
124
+ - lib/vagrant-ec-sandbox/util/name.rb
125
+ - lib/vagrant-ec-sandbox/util/output_buffer.rb
126
+ - lib/vagrant-ec-sandbox/util/sandbox/get_user_processes.rb
127
+ - lib/vagrant-ec-sandbox/util/sandbox/system_command.rb
128
+ - lib/vagrant-ec-sandbox/util/sandbox/wildfly/add-user.rb
129
+ - lib/vagrant-ec-sandbox/util/sandbox/wildfly/deploy.rb
130
+ - lib/vagrant-ec-sandbox/util/sandbox/wildfly/response.rb
131
+ - lib/vagrant-ec-sandbox/util/sandbox/wildfly/run_cli.rb
132
+ - lib/vagrant-ec-sandbox/version.rb
133
+ - templates/action/dist/install_wildfly.sh.erb
134
+ - templates/action/hello.sh.erb
135
+ - templates/action/init/Vagrantfile.erb
136
+ - templates/action/init/provision.sh.erb
137
+ - templates/action/init/resources/settings.xml.erb
138
+ - templates/action/wildfly/config_ec.sh.erb
139
+ - templates/action/wildfly/deloy.cli.erb
140
+ - templates/action/wildfly/open_interface.cli.erb
141
+ - templates/action/wildfly/redirect_log.cli.erb
142
+ - templates/action/wildfly/switch_db.cli.erb
143
+ - templates/locales/en.yml
144
+ homepage: https://bitbucket.org/revenue_fedex/ec-vagrant-plug-in
145
+ licenses:
146
+ - MIT
147
+ metadata: {}
148
+ post_install_message:
149
+ rdoc_options: []
150
+ require_paths:
151
+ - lib
152
+ required_ruby_version: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ required_rubygems_version: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - ">"
160
+ - !ruby/object:Gem::Version
161
+ version: 1.3.1
162
+ requirements: []
163
+ rubyforge_project:
164
+ rubygems_version: 2.2.2
165
+ signing_key:
166
+ specification_version: 4
167
+ summary: Energy Components Sandbox
168
+ test_files: []