cp_oraclecloud 0.1.9 → 0.1.10

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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +118 -46
  3. data/app/controllers/cp_oraclecloud/compute_components_controller.rb +8 -8
  4. data/app/controllers/cp_oraclecloud/compute_instances_controller.rb +5 -5
  5. data/app/controllers/cp_oraclecloud/database_components_controller.rb +8 -8
  6. data/app/controllers/cp_oraclecloud/database_instances_controller.rb +11 -11
  7. data/app/controllers/cp_oraclecloud/java_components_controller.rb +8 -8
  8. data/app/controllers/cp_oraclecloud/java_instances_controller.rb +5 -5
  9. data/app/controllers/cp_oraclecloud/soa_components_controller.rb +8 -8
  10. data/app/controllers/cp_oraclecloud/soa_instances_controller.rb +5 -5
  11. data/app/controllers/cp_oraclecloud/ssh_keys_controller.rb +68 -68
  12. data/app/models/cp_oraclecloud/compute_component.rb +44 -44
  13. data/app/models/cp_oraclecloud/compute_instance.rb +55 -55
  14. data/app/models/cp_oraclecloud/database_component.rb +41 -41
  15. data/app/models/cp_oraclecloud/database_instance.rb +55 -55
  16. data/app/models/cp_oraclecloud/java_component.rb +78 -78
  17. data/app/models/cp_oraclecloud/java_instance.rb +55 -55
  18. data/app/models/cp_oraclecloud/soa_component.rb +58 -58
  19. data/app/models/cp_oraclecloud/soa_instance.rb +55 -55
  20. data/app/models/cp_oraclecloud/ssh_key.rb +61 -61
  21. data/app/policies/cp_oraclecloud/compute_component_policy.rb +4 -4
  22. data/app/policies/cp_oraclecloud/compute_instance_policy.rb +4 -4
  23. data/app/policies/cp_oraclecloud/database_component_policy.rb +4 -4
  24. data/app/policies/cp_oraclecloud/database_instance_policy.rb +4 -4
  25. data/app/policies/cp_oraclecloud/java_component_policy.rb +4 -4
  26. data/app/policies/cp_oraclecloud/java_instance_policy.rb +4 -4
  27. data/app/policies/cp_oraclecloud/soa_component_policy.rb +4 -4
  28. data/app/policies/cp_oraclecloud/soa_instance_policy.rb +4 -4
  29. data/app/policies/cp_oraclecloud/ssh_key_policy.rb +25 -25
  30. data/app/views/cp_oraclecloud/compute_components/_fields.html.erb +4 -4
  31. data/app/views/cp_oraclecloud/compute_instances/_show.html.erb +8 -8
  32. data/app/views/cp_oraclecloud/database_components/_fields.html.erb +11 -11
  33. data/app/views/cp_oraclecloud/database_instances/_show.html.erb +112 -112
  34. data/app/views/cp_oraclecloud/java_components/_fields.html.erb +67 -67
  35. data/app/views/cp_oraclecloud/java_instances/_show.html.erb +36 -36
  36. data/app/views/cp_oraclecloud/soa_components/_fields.html.erb +36 -36
  37. data/app/views/cp_oraclecloud/soa_instances/_show.html.erb +8 -8
  38. data/app/views/cp_oraclecloud/ssh_keys/_form.html.erb +8 -8
  39. data/app/views/cp_oraclecloud/ssh_keys/edit.html.erb +3 -3
  40. data/app/views/cp_oraclecloud/ssh_keys/index.html.erb +33 -33
  41. data/app/views/cp_oraclecloud/ssh_keys/new.html.erb +3 -3
  42. data/app/views/products/_cp_oraclecloud_component_menu.html.erb +17 -17
  43. data/config/routes.rb +22 -22
  44. data/lib/cp_oraclecloud.rb +21 -23
  45. data/lib/cp_oraclecloud/compute_mixin.rb +7 -7
  46. data/lib/cp_oraclecloud/database_mixin.rb +26 -26
  47. data/lib/cp_oraclecloud/engine.rb +4 -0
  48. data/lib/cp_oraclecloud/java_mixin.rb +27 -27
  49. data/lib/cp_oraclecloud/soa_mixin.rb +13 -13
  50. data/lib/cp_oraclecloud/version.rb +3 -3
  51. metadata +15 -15
@@ -1,5 +1,5 @@
1
- module CpOraclecloud
2
-
3
- class ComputeComponentPolicy < CloudComponentPolicy
4
- end
1
+ module CpOraclecloud
2
+
3
+ class ComputeComponentPolicy < CloudComponentPolicy
4
+ end
5
5
  end
@@ -1,5 +1,5 @@
1
- module CpOraclecloud
2
-
3
- class ComputeInstancePolicy < CloudInstancePolicy
4
- end
1
+ module CpOraclecloud
2
+
3
+ class ComputeInstancePolicy < CloudInstancePolicy
4
+ end
5
5
  end
@@ -1,5 +1,5 @@
1
- module CpOraclecloud
2
-
3
- class DatabaseComponentPolicy < CloudComponentPolicy
4
- end
1
+ module CpOraclecloud
2
+
3
+ class DatabaseComponentPolicy < CloudComponentPolicy
4
+ end
5
5
  end
@@ -1,5 +1,5 @@
1
- module CpOraclecloud
2
-
3
- class DatabaseInstancePolicy < CloudInstancePolicy
4
- end
1
+ module CpOraclecloud
2
+
3
+ class DatabaseInstancePolicy < CloudInstancePolicy
4
+ end
5
5
  end
@@ -1,5 +1,5 @@
1
- module CpOraclecloud
2
-
3
- class JavaComponentPolicy < CloudComponentPolicy
4
- end
1
+ module CpOraclecloud
2
+
3
+ class JavaComponentPolicy < CloudComponentPolicy
4
+ end
5
5
  end
@@ -1,5 +1,5 @@
1
- module CpOraclecloud
2
-
3
- class JavaInstancePolicy < CloudInstancePolicy
4
- end
1
+ module CpOraclecloud
2
+
3
+ class JavaInstancePolicy < CloudInstancePolicy
4
+ end
5
5
  end
@@ -1,5 +1,5 @@
1
- module CpOraclecloud
2
-
3
- class SoaComponentPolicy < CloudComponentPolicy
4
- end
1
+ module CpOraclecloud
2
+
3
+ class SoaComponentPolicy < CloudComponentPolicy
4
+ end
5
5
  end
@@ -1,5 +1,5 @@
1
- module CpOraclecloud
2
-
3
- class SoaInstancePolicy < CloudInstancePolicy
4
- end
1
+ module CpOraclecloud
2
+
3
+ class SoaInstancePolicy < CloudInstancePolicy
4
+ end
5
5
  end
@@ -1,26 +1,26 @@
1
- module CpOraclecloud
2
- class SshKeyPolicy < ApplicationPolicy
3
-
4
- def create?
5
- user.has_role? :admin
6
- end
7
-
8
- def update?
9
- user.has_role? :admin
10
- end
11
-
12
- def destroy?
13
- user.has_role? :admin
14
- end
15
-
16
- def index?
17
- user.has_role? :admin
18
- end
19
-
20
- class Scope < Scope
21
- def resolve
22
- scope.all
23
- end
24
- end
25
- end
1
+ module CpOraclecloud
2
+ class SshKeyPolicy < ApplicationPolicy
3
+
4
+ def create?
5
+ user.has_role? :admin
6
+ end
7
+
8
+ def update?
9
+ user.has_role? :admin
10
+ end
11
+
12
+ def destroy?
13
+ user.has_role? :admin
14
+ end
15
+
16
+ def index?
17
+ user.has_role? :admin
18
+ end
19
+
20
+ class Scope < Scope
21
+ def resolve
22
+ scope.all
23
+ end
24
+ end
25
+ end
26
26
  end
@@ -1,5 +1,5 @@
1
- <%= f.input :name %>
2
- <%= f.input :shape %>
3
- <%= f.input :imagelist, collection: @component.all_image_lists, value_method: lambda{|i| i.name} %>
4
- <%= f.input :label %>
1
+ <%= f.input :name %>
2
+ <%= f.input :shape %>
3
+ <%= f.input :imagelist, collection: @component.all_image_lists, value_method: lambda{|i| i.name} %>
4
+ <%= f.input :label %>
5
5
  <%= f.input :sshkeys, collection: @component.all_ssh_keys, value_method: lambda{|s| s.name}, hint: "#{link_to 'Manage SSH Keys', cp_oraclecloud_ssh_keys_path}".html_safe %>
@@ -1,8 +1,8 @@
1
- <dl class="dl-horizontal">
2
- <% ['name', 'shape'].each { |a| %>
3
- <% if instance.attr_get(a).present? then %>
4
- <dt><%= a.titleize() %></dt>
5
- <dd><%= instance.attr_get(a) %></dd>
6
- <% end %>
7
- <% } %>
8
- </dl>
1
+ <dl class="dl-horizontal">
2
+ <% ['name', 'shape'].each { |a| %>
3
+ <% if instance.attr_get(a).present? then %>
4
+ <dt><%= a.titleize() %></dt>
5
+ <dd><%= instance.attr_get(a) %></dd>
6
+ <% end %>
7
+ <% } %>
8
+ </dl>
@@ -1,11 +1,11 @@
1
- <%= f.input :service_name %>
2
- <%= f.input :description %>
3
- <%= f.input :edition, :label_method=> lambda { |item| "#{item.first.upcase}" } %>
4
- <%= f.input :shape %>
5
- <%= f.input :version %>
6
- <%= f.input :level, :label_method=> lambda { |item| "#{item.first.upcase}" } %>
7
- <%= f.input :subscription_type, :label_method=> lambda { |item| "#{item.first.upcase}" } %>
8
- <%= f.input :ssh_key %>
9
- <%= f.input :backup_destination %>
10
- <%= f.input :admin_password, input_html: { value: @component.admin_password } %>
11
-
1
+ <%= f.input :service_name %>
2
+ <%= f.input :description %>
3
+ <%= f.input :edition, :label_method=> lambda { |item| "#{item.first.upcase}" } %>
4
+ <%= f.input :shape %>
5
+ <%= f.input :version %>
6
+ <%= f.input :level, :label_method=> lambda { |item| "#{item.first.upcase}" } %>
7
+ <%= f.input :subscription_type, :label_method=> lambda { |item| "#{item.first.upcase}" } %>
8
+ <%= f.input :ssh_key %>
9
+ <%= f.input :backup_destination %>
10
+ <%= f.input :admin_password, input_html: { value: @component.admin_password } %>
11
+
@@ -1,113 +1,113 @@
1
- <dl class="dl-horizontal">
2
- <% ['description', 'status', 'shape', 'level', 'edition', 'sid', 'pdbName', 'em_url', 'service_uri'].each { |a| %>
3
- <% if instance.attr_get(a).present? then %>
4
- <dt><%= a.titleize() %></dt>
5
- <dd><%= instance.attr_get(a) %></dd>
6
- <% end %>
7
- <% } %>
8
- </dl>
9
-
10
- <ul class="nav nav-tabs">
11
- <li role="presentation" class="active"><a href="#servers" data-toggle="tab">Servers</a></li>
12
- <li role="presentation"><a href="#backups" data-toggle="tab">Backups</a></li>
13
- <li role="presentation"><a href="#patches" data-toggle="tab">Patches</a></li>
14
- </ul>
15
-
16
- <div class="tab-content ">
17
- <div class="tab-pane active" id="servers">
18
- <table class="table table-striped table-hover">
19
- <thead>
20
- <tr>
21
- <th>Hostname</th>
22
- <th>Status</th>
23
- <th>Shape</th>
24
- <th></th>
25
- </tr>
26
- </thead>
27
- <tbody>
28
- <% instance.fog.servers.each {|i| %>
29
- <tr>
30
- <td><%= i.hostname %></td>
31
- <td><%= i.status %></td>
32
- <td><%= i.shape %></td>
33
- <td></td>
34
- </tr>
35
- <% } %>
36
- </tbody>
37
- </table>
38
- </div>
39
- <div class="tab-pane" id="backups">
40
- <p></p>
41
- <div class="btn-group" role="group">
42
- <%= link_to "Backup", cp_oraclecloud_database_instance_backup_path(instance), method: :put, class: 'btn btn-default' %>
43
-
44
- <button type="button" class="btn btn-default">Restore</button>
45
- </div>
46
- <h3>Backups</h3>
47
- <table class="table table-striped table-hover">
48
- <thead>
49
- <tr>
50
- <th>Tag</th>
51
- <th>Status</th>
52
- <th>Date</th>
53
- <th></th>
54
- </tr>
55
- </thead>
56
- <tbody>
57
- <% instance.fog.backups.each {|i| %>
58
- <tr>
59
- <td><%= i.db_tag %></td>
60
- <td><%= i.status %></td>
61
- <td><%= i.backup_complete_date %></td>
62
- <td></td>
63
- </tr>
64
- <% } %>
65
- </tbody>
66
- </table>
67
- <h3>Restores</h3>
68
- <table class="table table-striped table-hover">
69
- <thead>
70
- <tr>
71
- <th>Tag</th>
72
- <th>Status</th>
73
- <th>Date</th>
74
- <th></th>
75
- </tr>
76
- </thead>
77
- <tbody>
78
- <% instance.fog.recoveries.each {|i| %>
79
- <tr>
80
- <td><%= i.db_tag %></td>
81
- <td><%= i.status %></td>
82
- <td><%= i.recovery_complete_date %></td>
83
- <td></td>
84
- </tr>
85
- <% } %>
86
- </tbody>
87
- </table>
88
- </div>
89
- <div class="tab-pane" id="patches">
90
- <h3>Patches</h3>
91
- <table class="table table-striped table-hover">
92
- <thead>
93
- <tr>
94
- <th>Id</th>
95
- <th>Category</th>
96
- <th>URL</th>
97
- <th></th>
98
- </tr>
99
- </thead>
100
- <tbody>
101
- <% instance.fog.patches.each {|i| %>
102
- <tr>
103
- <td><%= i.id %></td>
104
- <td><%= i.category %></td>
105
- <td><a href="<%= i.release_url %>"><%= i.release_url %></a></td>
106
- <td></td>
107
- </tr>
108
- <% } %>
109
- </tbody>
110
- </table>
111
- </div>
112
-
1
+ <dl class="dl-horizontal">
2
+ <% ['description', 'status', 'shape', 'level', 'edition', 'sid', 'pdbName', 'em_url', 'service_uri'].each { |a| %>
3
+ <% if instance.attr_get(a).present? then %>
4
+ <dt><%= a.titleize() %></dt>
5
+ <dd><%= instance.attr_get(a) %></dd>
6
+ <% end %>
7
+ <% } %>
8
+ </dl>
9
+
10
+ <ul class="nav nav-tabs">
11
+ <li role="presentation" class="active"><a href="#servers" data-toggle="tab">Servers</a></li>
12
+ <li role="presentation"><a href="#backups" data-toggle="tab">Backups</a></li>
13
+ <li role="presentation"><a href="#patches" data-toggle="tab">Patches</a></li>
14
+ </ul>
15
+
16
+ <div class="tab-content ">
17
+ <div class="tab-pane active" id="servers">
18
+ <table class="table table-striped table-hover">
19
+ <thead>
20
+ <tr>
21
+ <th>Hostname</th>
22
+ <th>Status</th>
23
+ <th>Shape</th>
24
+ <th></th>
25
+ </tr>
26
+ </thead>
27
+ <tbody>
28
+ <% instance.fog.servers.each {|i| %>
29
+ <tr>
30
+ <td><%= i.hostname %></td>
31
+ <td><%= i.status %></td>
32
+ <td><%= i.shape %></td>
33
+ <td></td>
34
+ </tr>
35
+ <% } %>
36
+ </tbody>
37
+ </table>
38
+ </div>
39
+ <div class="tab-pane" id="backups">
40
+ <p></p>
41
+ <div class="btn-group" role="group">
42
+ <%= link_to "Backup", cp_oraclecloud_database_instance_backup_path(instance), method: :put, class: 'btn btn-default' %>
43
+
44
+ <button type="button" class="btn btn-default">Restore</button>
45
+ </div>
46
+ <h3>Backups</h3>
47
+ <table class="table table-striped table-hover">
48
+ <thead>
49
+ <tr>
50
+ <th>Tag</th>
51
+ <th>Status</th>
52
+ <th>Date</th>
53
+ <th></th>
54
+ </tr>
55
+ </thead>
56
+ <tbody>
57
+ <% instance.fog.backups.each {|i| %>
58
+ <tr>
59
+ <td><%= i.db_tag %></td>
60
+ <td><%= i.status %></td>
61
+ <td><%= i.backup_complete_date %></td>
62
+ <td></td>
63
+ </tr>
64
+ <% } %>
65
+ </tbody>
66
+ </table>
67
+ <h3>Restores</h3>
68
+ <table class="table table-striped table-hover">
69
+ <thead>
70
+ <tr>
71
+ <th>Tag</th>
72
+ <th>Status</th>
73
+ <th>Date</th>
74
+ <th></th>
75
+ </tr>
76
+ </thead>
77
+ <tbody>
78
+ <% instance.fog.recoveries.each {|i| %>
79
+ <tr>
80
+ <td><%= i.db_tag %></td>
81
+ <td><%= i.status %></td>
82
+ <td><%= i.recovery_complete_date %></td>
83
+ <td></td>
84
+ </tr>
85
+ <% } %>
86
+ </tbody>
87
+ </table>
88
+ </div>
89
+ <div class="tab-pane" id="patches">
90
+ <h3>Patches</h3>
91
+ <table class="table table-striped table-hover">
92
+ <thead>
93
+ <tr>
94
+ <th>Id</th>
95
+ <th>Category</th>
96
+ <th>URL</th>
97
+ <th></th>
98
+ </tr>
99
+ </thead>
100
+ <tbody>
101
+ <% instance.fog.patches.each {|i| %>
102
+ <tr>
103
+ <td><%= i.id %></td>
104
+ <td><%= i.category %></td>
105
+ <td><a href="<%= i.release_url %>"><%= i.release_url %></a></td>
106
+ <td></td>
107
+ </tr>
108
+ <% } %>
109
+ </tbody>
110
+ </table>
111
+ </div>
112
+
113
113
  </div>
@@ -1,68 +1,68 @@
1
- <em>Required fields are on the General and Database tabs. You can ignore the rest if needed</em>
2
- <ul class="nav nav-tabs">
3
- <li role="presentation" class="active"><a href="#general" data-toggle="tab">* General</a></li>
4
- <li role="presentation"><a href="#database" data-toggle="tab"> * Database</a></li>
5
- <li role="presentation"><a href="#storage" data-toggle="tab"> Storage</a></li>
6
- <li role="presentation"><a href="#networking" data-toggle="tab"> Networking</a></li>
7
- <li role="presentation"><a href="#config" data-toggle="tab">Server Config</a></li>
8
- </ul>
9
-
10
-
11
- <div class="tab-content ">
12
- <div class="tab-pane active" id="general">
13
- <%= f.input :service_name %>
14
- <%= f.input :description %>
15
- <%= f.input :edition, :label_method=> lambda { |item| "#{item.first.upcase}" } %>
16
- <%= f.input :shape %>
17
- <%= f.input :num_nodes, label: 'Managed Server Count', as: :integer, hint: 'Valid values: 1, 2, 4, 8' %>
18
- <%= f.input :version %>
19
- <%= f.input :level, :label_method=> lambda { |item| "#{item.first.upcase}" } %>
20
- <%= f.input :subscription_type, :label_method=> lambda { |item| "#{item.first.upcase}" } %>
21
- <%= f.input :ssh_key %>
22
- <%= f.input :admin_username %>
23
- <%= f.input :admin_password, input_html: { value: @component.admin_password } %>
24
- </div>
25
- <div class="tab-pane" id="storage">
26
- <em>If you leave these blank, the system will create a storage container with the name '%service_name%_backup'</em>
27
- <%= f.input :cloud_storage_container %>
28
- <%= f.input :cloud_storage_user %>
29
- <%= f.input :cloud_storage_pwd, input_html: { value: @component.cloud_storage_pwd }%>
30
- <%= f.input :cloud_storage_if_missing, as: :boolean, label: 'Create storage container if missing?' %>
31
- <%= f.input :backup_volume_size, hint: 'In bytes or GBs (with a G). Ie: 100000000000 or 10G' %>
32
- <%= f.input :domain_volume_size, hint: 'In bytes or GBs (with a G). Ie: 100000000000 or 10G' %>
33
-
34
- </div>
35
- <div class="tab-pane" id="database">
36
- <%= f.input :db_service_name %>
37
- <%= f.input :dba_name %>
38
- <%= f.input :dba_password, input_html: { value: @component.dba_password }%>
39
- <%= f.input :pdb_name, hint: 'Will use default PDB is not provided. Only valid for 12c databases' %>
40
-
41
- </div>
42
- <div class="tab-pane" id="networking">
43
- <%= f.input :enable_admin_console, as: :boolean, hint: 'Configures networking to the admin console' %>
44
- <%= f.input :provision_otd, as: :boolean %>
45
- <%= f.input :admin_port, input_html: { placeholder: 7001 } %>
46
- <%= f.input :content_port, input_html: { placeholder: 8001 } %>
47
- <%= f.input :wls_deployment_channel_port, input_html: { placeholder: 9001 }, label: 'Deployment Channel Port', hint: 'Port used for accessing admin server using WLST' %>
48
- <%= f.input :node_manager_port, input_html: { placeholder: 5556 } %>
49
- <%= f.input :secured_admin_port, input_html: { placeholder: 7002 } %>
50
- <%= f.input :secured_content_port, input_html: { placeholder: 8002 } %>
51
-
52
- </div>
53
- <div class="tab-pane" id="config">
54
- <%= f.input :cluster_name, hint: 'Leave blank to have %service_name%_cluster' %>
55
- <%= f.input :domain_name, hint: 'Leave blank to have %service_name%_domain' %>
56
- <%= f.input :domain_mode %>
57
- <%= f.input :domain_partition_count, as: :integer, hint: 'Valid values: 0, 1, 2, 4' %>
58
- <%= f.input :node_manager_username %>
59
- <%= f.input :node_manager_password, input_html: { value: @component.node_manager_password } %>
60
-
61
- <%= f.input :ms_initial_heap_mb %>
62
- <%= f.input :ms_jvm_args %>
63
- <%= f.input :ms_max_heap_mb %>
64
- <%= f.input :ms_max_perm_mb %>
65
- <%= f.input :overwrite_ms_jvm_args %>
66
- <%= f.input :sample_app_deployment_requested, as: :boolean %>
67
- </div>
1
+ <em>Required fields are on the General and Database tabs. You can ignore the rest if needed</em>
2
+ <ul class="nav nav-tabs">
3
+ <li role="presentation" class="active"><a href="#general" data-toggle="tab">* General</a></li>
4
+ <li role="presentation"><a href="#database" data-toggle="tab"> * Database</a></li>
5
+ <li role="presentation"><a href="#storage" data-toggle="tab"> Storage</a></li>
6
+ <li role="presentation"><a href="#networking" data-toggle="tab"> Networking</a></li>
7
+ <li role="presentation"><a href="#config" data-toggle="tab">Server Config</a></li>
8
+ </ul>
9
+
10
+
11
+ <div class="tab-content ">
12
+ <div class="tab-pane active" id="general">
13
+ <%= f.input :service_name %>
14
+ <%= f.input :description %>
15
+ <%= f.input :edition, :label_method=> lambda { |item| "#{item.first.upcase}" } %>
16
+ <%= f.input :shape %>
17
+ <%= f.input :num_nodes, label: 'Managed Server Count', as: :integer, hint: 'Valid values: 1, 2, 4, 8' %>
18
+ <%= f.input :version %>
19
+ <%= f.input :level, :label_method=> lambda { |item| "#{item.first.upcase}" } %>
20
+ <%= f.input :subscription_type, :label_method=> lambda { |item| "#{item.first.upcase}" } %>
21
+ <%= f.input :ssh_key %>
22
+ <%= f.input :admin_username %>
23
+ <%= f.input :admin_password, input_html: { value: @component.admin_password } %>
24
+ </div>
25
+ <div class="tab-pane" id="storage">
26
+ <em>If you leave these blank, the system will create a storage container with the name '%service_name%_backup'</em>
27
+ <%= f.input :cloud_storage_container %>
28
+ <%= f.input :cloud_storage_user %>
29
+ <%= f.input :cloud_storage_pwd, input_html: { value: @component.cloud_storage_pwd }%>
30
+ <%= f.input :cloud_storage_if_missing, as: :boolean, label: 'Create storage container if missing?' %>
31
+ <%= f.input :backup_volume_size, hint: 'In bytes or GBs (with a G). Ie: 100000000000 or 10G' %>
32
+ <%= f.input :domain_volume_size, hint: 'In bytes or GBs (with a G). Ie: 100000000000 or 10G' %>
33
+
34
+ </div>
35
+ <div class="tab-pane" id="database">
36
+ <%= f.input :db_service_name %>
37
+ <%= f.input :dba_name %>
38
+ <%= f.input :dba_password, input_html: { value: @component.dba_password }%>
39
+ <%= f.input :pdb_name, hint: 'Will use default PDB is not provided. Only valid for 12c databases' %>
40
+
41
+ </div>
42
+ <div class="tab-pane" id="networking">
43
+ <%= f.input :enable_admin_console, as: :boolean, hint: 'Configures networking to the admin console' %>
44
+ <%= f.input :provision_otd, as: :boolean %>
45
+ <%= f.input :admin_port, input_html: { placeholder: 7001 } %>
46
+ <%= f.input :content_port, input_html: { placeholder: 8001 } %>
47
+ <%= f.input :wls_deployment_channel_port, input_html: { placeholder: 9001 }, label: 'Deployment Channel Port', hint: 'Port used for accessing admin server using WLST' %>
48
+ <%= f.input :node_manager_port, input_html: { placeholder: 5556 } %>
49
+ <%= f.input :secured_admin_port, input_html: { placeholder: 7002 } %>
50
+ <%= f.input :secured_content_port, input_html: { placeholder: 8002 } %>
51
+
52
+ </div>
53
+ <div class="tab-pane" id="config">
54
+ <%= f.input :cluster_name, hint: 'Leave blank to have %service_name%_cluster' %>
55
+ <%= f.input :domain_name, hint: 'Leave blank to have %service_name%_domain' %>
56
+ <%= f.input :domain_mode %>
57
+ <%= f.input :domain_partition_count, as: :integer, hint: 'Valid values: 0, 1, 2, 4' %>
58
+ <%= f.input :node_manager_username %>
59
+ <%= f.input :node_manager_password, input_html: { value: @component.node_manager_password } %>
60
+
61
+ <%= f.input :ms_initial_heap_mb %>
62
+ <%= f.input :ms_jvm_args %>
63
+ <%= f.input :ms_max_heap_mb %>
64
+ <%= f.input :ms_max_perm_mb %>
65
+ <%= f.input :overwrite_ms_jvm_args %>
66
+ <%= f.input :sample_app_deployment_requested, as: :boolean %>
67
+ </div>
68
68
  </div>