rboss 0.9.1 → 0.9.3
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.
- checksums.yaml +4 -4
- data/.idea/encodings.xml +5 -0
- data/.idea/misc.xml +5 -0
- data/.idea/modules.xml +9 -0
- data/.idea/rboss.iml +65 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.idea/vcs.xml +7 -0
- data/Gemfile +2 -2
- data/README.md +34 -397
- data/bin/rboss-cli +77 -28
- data/lib/rboss.rb +10 -12
- data/lib/rboss/cli/invoker.rb +31 -18
- data/lib/rboss/cli/mappings.rb +11 -10
- data/lib/rboss/cli/mappings/resources/connector.yaml +2 -2
- data/lib/rboss/cli/mappings/resources/datasource.yaml +5 -5
- data/lib/rboss/cli/mappings/resources/deployment-scanner.yaml +3 -3
- data/lib/rboss/cli/mappings/resources/interface.yaml +2 -2
- data/lib/rboss/cli/mappings/resources/jdbc-driver.yaml +12 -0
- data/lib/rboss/cli/mappings/resources/jms-queue.yaml +44 -0
- data/lib/rboss/cli/mappings/resources/runtime.yaml +34 -0
- data/lib/rboss/cli/mappings/resources/server.yaml +8 -8
- data/lib/rboss/cli/resource.rb +60 -37
- data/lib/rboss/cli/result_parser.rb +29 -5
- data/lib/rboss/plaftorm.rb +2 -25
- data/lib/rboss/utils.rb +2 -8
- data/lib/rboss/version.rb +1 -1
- data/lib/rboss/view/colorizers.rb +4 -2
- data/lib/rboss/view/formatters.rb +37 -0
- data/lib/rboss/view/table_builder.rb +2 -2
- data/rboss-cli-bash-completion +82 -0
- data/rboss.gemspec +12 -12
- data/rboss.iml +6 -7
- data/rboss.ipr +2 -11
- metadata +23 -53
- data/bin/rboss-profile +0 -125
- data/bin/rboss-twiddle +0 -204
- data/lib/rboss/bin/command_actions.rb +0 -125
- data/lib/rboss/cli/mappings/resources/jdbc_driver.yaml +0 -12
- data/lib/rboss/component_processor.rb +0 -179
- data/lib/rboss/components/component.rb +0 -58
- data/lib/rboss/components/datasource.rb +0 -179
- data/lib/rboss/components/deploy_folder.rb +0 -104
- data/lib/rboss/components/hypersonic_replacer.rb +0 -58
- data/lib/rboss/components/jbossweb.rb +0 -119
- data/lib/rboss/components/jmx.rb +0 -88
- data/lib/rboss/components/mod_cluster.rb +0 -81
- data/lib/rboss/components/org/6.0/deploy_folder.rb +0 -33
- data/lib/rboss/components/org/jmx.rb +0 -59
- data/lib/rboss/components/profile_folder.rb +0 -44
- data/lib/rboss/components/resource.rb +0 -52
- data/lib/rboss/components/restore_slimming.rb +0 -46
- data/lib/rboss/components/run_conf.rb +0 -90
- data/lib/rboss/components/run_conf.yaml +0 -22
- data/lib/rboss/components/service_script.rb +0 -55
- data/lib/rboss/components/slimming.rb +0 -107
- data/lib/rboss/components/slimming.yaml +0 -110
- data/lib/rboss/components/soa-p/hypersonic_replacer.rb +0 -79
- data/lib/rboss/components/soa-p/jmx.rb +0 -47
- data/lib/rboss/components/xadatasource.rb +0 -67
- data/lib/rboss/file_processor.rb +0 -111
- data/lib/rboss/jboss_path.rb +0 -74
- data/lib/rboss/jboss_profile.rb +0 -350
- data/lib/rboss/resources/jboss_init_redhat.sh.erb +0 -140
- data/lib/rboss/resources/mod_cluster.sar/META-INF/mod_cluster-jboss-beans.xml +0 -282
- data/lib/rboss/resources/mod_cluster.sar/mod_cluster-1.1.2.Final.jar +0 -0
- data/lib/rboss/resources/run.conf.bat.erb +0 -60
- data/lib/rboss/resources/run.conf.erb +0 -62
- data/lib/rboss/twiddle.rb +0 -25
- data/lib/rboss/twiddle/base_monitor.rb +0 -88
- data/lib/rboss/twiddle/mbean.rb +0 -148
- data/lib/rboss/twiddle/monitor.rb +0 -222
- data/lib/rboss/twiddle/twiddle.rb +0 -87
data/bin/rboss-cli
CHANGED
@@ -32,13 +32,14 @@ require 'yummi'
|
|
32
32
|
include RBoss::Platform
|
33
33
|
|
34
34
|
params = {}
|
35
|
-
@conf_dir = File.expand_path
|
36
|
-
servers_file = "
|
35
|
+
@conf_dir = File.expand_path '~/.rboss'
|
36
|
+
servers_file = "#{@conf_dir}/jboss-cli-servers.yaml"
|
37
37
|
@resources = {}
|
38
|
+
@last_resource = nil
|
38
39
|
@parameters = {}
|
39
40
|
@servers_file = File.expand_path(servers_file)
|
40
41
|
save = false
|
41
|
-
params[:jboss_home] = (ENV[
|
42
|
+
params[:jboss_home] = (ENV['RBOSS_CLI_HOME'] or Dir.pwd)
|
42
43
|
params[:host] = '127.0.0.1'
|
43
44
|
params[:port] = '9999'
|
44
45
|
|
@@ -49,15 +50,15 @@ end
|
|
49
50
|
|
50
51
|
opts = OptionParser::new
|
51
52
|
|
52
|
-
opts.separator
|
53
|
+
opts.separator 'Environment Options'.bold.white
|
53
54
|
|
54
|
-
opts.on('-j', '--jboss-home PATH', 'Defines the
|
55
|
+
opts.on('-j', '--jboss-home PATH', 'Defines the JBoss to use jboss-cli') do |home|
|
55
56
|
params[:jboss_home] = home
|
56
57
|
end
|
57
58
|
|
58
59
|
opts.separator "\nServer Options".bold.white
|
59
60
|
|
60
|
-
opts.on('-s URL', 'Defines the JBoss server') do |server|
|
61
|
+
opts.on('-s URL', 'Defines the JBoss server url') do |server|
|
61
62
|
params[:server] = server
|
62
63
|
end
|
63
64
|
opts.on('--host HOST', 'Defines the JBoss host') do |host|
|
@@ -75,13 +76,24 @@ end
|
|
75
76
|
opts.on('--save SERVER_NAME', "Saves the server configuration in #{servers_file}") do |server|
|
76
77
|
save = server
|
77
78
|
end
|
79
|
+
opts.on('--list-servers', 'List configured servers') do
|
80
|
+
load_yaml.each_key { |name| puts name }
|
81
|
+
exit
|
82
|
+
end
|
83
|
+
opts.on('--hosts', 'Shows the Domain Hosts available') do
|
84
|
+
@native = 'ls host'
|
85
|
+
end
|
86
|
+
opts.on('--servers', 'Shows the Domain Servers available') do
|
87
|
+
@native = "ls /host=#{@domain_host}/server"
|
88
|
+
end
|
78
89
|
|
79
90
|
opts.separator "\nCLI Options".bold.white
|
80
91
|
|
81
|
-
opts.on('--start-cli', 'Starts the JBoss Management CLI connected to the
|
92
|
+
opts.on('--start-cli', 'Starts the JBoss Management CLI connected to the
|
93
|
+
configured server in interactive mode') do
|
82
94
|
@start = true
|
83
95
|
end
|
84
|
-
opts.on('
|
96
|
+
opts.on('--connect SERVER_NAME',
|
85
97
|
"Uses a configured server in #{servers_file}") do |server|
|
86
98
|
config = load_yaml[server]
|
87
99
|
abort "No configuration for #{server}" unless config
|
@@ -89,13 +101,16 @@ opts.on('-c', '--connect SERVER_NAME',
|
|
89
101
|
params[key.to_sym] = value
|
90
102
|
end
|
91
103
|
end
|
92
|
-
opts.on('--native COMMANDS', Array, 'Executes the given commands
|
104
|
+
opts.on('--native COMMANDS', Array, 'Executes the given commands (comma
|
105
|
+
separated) using cli interface') do |commands|
|
93
106
|
@native = commands
|
94
107
|
end
|
95
|
-
opts.on('--domain-host DOMAIN_HOST',
|
108
|
+
opts.on('--domain-host DOMAIN_HOST',
|
109
|
+
'Sets the domain host (for using in domain mode)') do |host|
|
96
110
|
@domain_host = host
|
97
111
|
end
|
98
|
-
opts.on('--domain-server DOMAIN_HOST',
|
112
|
+
opts.on('--domain-server DOMAIN_HOST',
|
113
|
+
'Sets the domain server (for using in domain mode)') do |server|
|
99
114
|
@domain_server = server
|
100
115
|
end
|
101
116
|
opts.on('--script FILE', 'Executes the script in the cli interface') do |file|
|
@@ -108,6 +123,7 @@ RBoss::Cli::Mappings.resource_mappings.each do |name, config|
|
|
108
123
|
if config[:description]
|
109
124
|
if config[:scan]
|
110
125
|
opts.on("--#{name} [NAMES]", Array, config[:description]) do |resources|
|
126
|
+
@last_resource = name
|
111
127
|
@resources[name] = resources
|
112
128
|
end
|
113
129
|
else
|
@@ -118,7 +134,7 @@ RBoss::Cli::Mappings.resource_mappings.each do |name, config|
|
|
118
134
|
end
|
119
135
|
end
|
120
136
|
|
121
|
-
opts.separator
|
137
|
+
opts.separator ''
|
122
138
|
|
123
139
|
opts.on('--all', 'Display all available info') do
|
124
140
|
RBoss::Cli::Mappings.resource_mappings.each do |name, config|
|
@@ -128,22 +144,37 @@ end
|
|
128
144
|
|
129
145
|
opts.separator "\nResource Options".bold.white
|
130
146
|
|
131
|
-
opts.on('-l', '--list-operations', 'Lists the available operations
|
147
|
+
opts.on('-l', '--list-operations', 'Lists the available operations
|
148
|
+
for a resource') do
|
132
149
|
@operation = 'read-operation-names'
|
133
150
|
end
|
134
|
-
opts.on('-
|
151
|
+
opts.on('-n', '--list-resource-names', 'Lists the available names for a resource') do
|
152
|
+
@operation = 'list-resource-names'
|
153
|
+
@resources = {
|
154
|
+
@last_resource => nil
|
155
|
+
}
|
156
|
+
end
|
157
|
+
opts.on('-d', '--detail NAME', 'Shows the operation details') do |operation_name|
|
135
158
|
@operation = 'read-operation-description'
|
136
159
|
@parameters = {'name' => operation_name}
|
137
160
|
end
|
138
|
-
opts.on('-
|
139
|
-
|
140
|
-
@parameters =
|
161
|
+
opts.on('-r', '--attribute NAME', 'Reads the attribute') do |name|
|
162
|
+
@operation = 'read-attribute'
|
163
|
+
@parameters = {
|
164
|
+
'name' => name,
|
165
|
+
'include-defaults' => true
|
166
|
+
}
|
167
|
+
end
|
168
|
+
opts.on('-a', '--args PARAMETERS', Array, 'Specifies parameters in form of
|
169
|
+
(name=value) for use with operation') do |parameters|
|
170
|
+
@parameters = Hash[(parameters.collect { |p| p.split(/=/, 2) })]
|
141
171
|
end
|
142
172
|
opts.on('-o', '--operation NAME',
|
143
173
|
'Sets the operation to invoke (Defaults to "read-resource")') do |name|
|
144
174
|
@operation = name
|
145
175
|
end
|
146
|
-
opts.on('--skip-optional', 'Skips optional parameters while invoking
|
176
|
+
opts.on('--skip-optional', 'Skips optional parameters while invoking
|
177
|
+
a command ') do
|
147
178
|
params[:skip_optional] = true
|
148
179
|
end
|
149
180
|
|
@@ -153,15 +184,31 @@ opts.on('--loop INTERVAL', Float, 'Run inside a loop') do |interval|
|
|
153
184
|
@loop = true
|
154
185
|
@interval = interval
|
155
186
|
end
|
156
|
-
opts.on('--no-
|
157
|
-
|
187
|
+
opts.on('--no-colors', 'Do not colorize output') do
|
188
|
+
Yummi.no_colors
|
158
189
|
end
|
159
|
-
opts.on('
|
190
|
+
opts.on('--verbose', 'Displays jboss-cli commands and results') do
|
160
191
|
params[:log_level] = Logger::DEBUG
|
161
192
|
end
|
162
|
-
opts.on(
|
193
|
+
opts.on('-v', '--version', 'Shows rboss version') do
|
194
|
+
puts RBoss::VERSION; exit
|
195
|
+
end
|
196
|
+
opts.on('-h', '--help', 'Shows this help message') do
|
163
197
|
puts opts; exit
|
164
198
|
end
|
199
|
+
|
200
|
+
# Autocomplete options
|
201
|
+
case ARGV[0]
|
202
|
+
when 'options'
|
203
|
+
opts.top.short.each do |o|
|
204
|
+
puts "-#{o[0]}"
|
205
|
+
end
|
206
|
+
opts.top.long.each do |o|
|
207
|
+
puts "--#{o[0]}"
|
208
|
+
end
|
209
|
+
exit
|
210
|
+
end
|
211
|
+
|
165
212
|
opts.parse!(ARGV) rescue abort 'Invalid Option! Use --help or -h for usage help.'.red
|
166
213
|
|
167
214
|
@jboss_home = params[:jboss_home]
|
@@ -183,24 +230,24 @@ if save
|
|
183
230
|
f = File.open(@servers_file, 'w')
|
184
231
|
YAML::dump(config, f)
|
185
232
|
f.close
|
186
|
-
puts
|
233
|
+
puts 'Configuration saved!'.green
|
187
234
|
exit 0
|
188
235
|
end
|
189
236
|
|
190
237
|
if @start
|
191
|
-
puts
|
238
|
+
puts 'Starting JBoss Management CLI connecting to '.bold.white << "#{@jboss_cli.server}".bold.green
|
192
239
|
system "#{@jboss_cli.command} --connect"
|
193
240
|
exit 0
|
194
241
|
end
|
195
242
|
|
196
243
|
if @native
|
197
244
|
result = @jboss_cli.execute(@native)
|
198
|
-
puts result
|
245
|
+
puts result
|
199
246
|
exit 0
|
200
247
|
end
|
201
248
|
|
202
249
|
if @script
|
203
|
-
system "#{@jboss_cli.command} --connect --file
|
250
|
+
system "#{@jboss_cli.command} --connect --file='#{@script}'"
|
204
251
|
exit 0
|
205
252
|
end
|
206
253
|
|
@@ -216,10 +263,11 @@ def execute_actions
|
|
216
263
|
begin
|
217
264
|
content = @jboss_cli.invoke(@operation, @resources, @parameters)
|
218
265
|
system clear if @loop
|
219
|
-
puts Yummi.colorize(Time.now.strftime("At %H:%M:%S%n"), :white) if @loop
|
220
266
|
puts content.chomp
|
267
|
+
puts Time.now.strftime('%nAt %d-%m-%Y %H:%M:%S').bold.white if @loop
|
221
268
|
rescue RBoss::Cli::InvocationFailed => e
|
222
269
|
puts e.message.red
|
270
|
+
exit 1
|
223
271
|
end
|
224
272
|
end
|
225
273
|
|
@@ -234,4 +282,5 @@ begin
|
|
234
282
|
|
235
283
|
rescue Interrupt
|
236
284
|
puts "\nAborted!".colorize(:red)
|
237
|
-
|
285
|
+
exit 1
|
286
|
+
end
|
data/lib/rboss.rb
CHANGED
@@ -20,17 +20,15 @@
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
21
|
# THE SOFTWARE.
|
22
22
|
|
23
|
-
require_relative
|
24
|
-
require_relative
|
25
|
-
require_relative
|
26
|
-
require_relative
|
27
|
-
require_relative
|
28
|
-
require_relative
|
29
|
-
require_relative
|
30
|
-
require_relative
|
31
|
-
require_relative "rboss/cli/invoker"
|
32
|
-
require_relative "rboss/bin/command_actions"
|
23
|
+
require_relative 'rboss/version'
|
24
|
+
require_relative 'rboss/utils'
|
25
|
+
require_relative 'rboss/plaftorm'
|
26
|
+
require_relative 'rboss/view/colorizers'
|
27
|
+
require_relative 'rboss/view/formatters'
|
28
|
+
require_relative 'rboss/view/health_checkers'
|
29
|
+
require_relative 'rboss/view/table_builder'
|
30
|
+
require_relative 'rboss/cli/invoker'
|
33
31
|
|
34
|
-
file = File.expand_path(
|
32
|
+
file = File.expand_path('~/.rboss/rboss.rb')
|
35
33
|
|
36
|
-
eval File.read(file), binding, file if File.exist? file
|
34
|
+
eval File.read(file), binding, file if File.exist? file
|
data/lib/rboss/cli/invoker.rb
CHANGED
@@ -25,6 +25,7 @@ require_relative 'resource'
|
|
25
25
|
require_relative 'mappings'
|
26
26
|
|
27
27
|
require 'logger'
|
28
|
+
require 'io/console'
|
28
29
|
|
29
30
|
require 'yummi'
|
30
31
|
require 'yaml'
|
@@ -71,15 +72,26 @@ module RBoss
|
|
71
72
|
@domain_host = "/host=#{host}"
|
72
73
|
end
|
73
74
|
|
74
|
-
def domain_server=(
|
75
|
-
@domain_server = "/server=#{
|
75
|
+
def domain_server=(server)
|
76
|
+
@domain_server = "/server=#{server}"
|
77
|
+
end
|
78
|
+
|
79
|
+
def server
|
80
|
+
"#{@domain_host}#{@domain_server}"
|
76
81
|
end
|
77
82
|
|
78
83
|
def command
|
79
84
|
command = "#{jboss_cli} --connect"
|
80
85
|
command << " --controller=#@server" if @server
|
81
|
-
|
82
|
-
|
86
|
+
if @user
|
87
|
+
command << " --user='#@user'"
|
88
|
+
unless @password
|
89
|
+
puts 'Input server password: '.blue.bold
|
90
|
+
@password = STDIN.noecho(&:gets).chomp
|
91
|
+
puts 'Password saved for this session!'.green
|
92
|
+
end
|
93
|
+
command << " --password='#@password'"
|
94
|
+
end
|
83
95
|
command
|
84
96
|
end
|
85
97
|
|
@@ -104,7 +116,7 @@ module RBoss
|
|
104
116
|
props ||= {}
|
105
117
|
builder = CommandBuilder::new operation
|
106
118
|
help_printed = false
|
107
|
-
info =
|
119
|
+
info = 'Please input the requested parameters'.yellow
|
108
120
|
props.each do |name, detail|
|
109
121
|
next if (@skip_optional and (not detail['required'] or detail['default']))
|
110
122
|
parameter_type = detail['type']
|
@@ -112,45 +124,46 @@ module RBoss
|
|
112
124
|
unless input
|
113
125
|
puts info unless help_printed
|
114
126
|
help_printed = true
|
115
|
-
input_message =
|
127
|
+
input_message = name.bold.blue
|
116
128
|
required = detail['required']
|
117
129
|
default_value = detail['default']
|
118
130
|
input_message << ' | ' << RBoss::Colorizers.type(parameter_type).colorize(parameter_type)
|
119
|
-
input_message << ' | ' <<
|
120
|
-
input_message << ' | ' <<
|
121
|
-
input_message << ' | ' <<
|
122
|
-
input_message << "\n" <<
|
131
|
+
input_message << ' | ' << 'Required'.red if required
|
132
|
+
input_message << ' | ' << 'Optional'.cyan unless required
|
133
|
+
input_message << ' | ' << "[#{default_value}]".blue if default_value
|
134
|
+
input_message << "\n" << detail['description'].bold
|
123
135
|
puts input_message
|
124
136
|
input = get_input
|
125
137
|
while required and input.empty?
|
126
|
-
puts
|
138
|
+
puts 'Required parameter!'.red
|
127
139
|
input = get_input
|
128
140
|
end
|
129
141
|
end
|
130
142
|
if input.empty?
|
131
|
-
puts
|
143
|
+
puts 'Parameter skipped!'.yellow
|
132
144
|
next
|
133
145
|
end
|
134
146
|
begin
|
135
147
|
builder << {:name => name, :value => parameter_type.convert(input)}
|
136
148
|
rescue Exception => e
|
137
|
-
puts
|
138
|
-
puts
|
139
|
-
puts
|
149
|
+
puts 'Your input could not be converted:'.yellow
|
150
|
+
puts e.message.red
|
151
|
+
puts 'This will not affect other inputs, you can continue to input other values.'.yellow
|
140
152
|
puts 'Press ENTER to continue'
|
141
153
|
gets
|
142
154
|
end
|
143
155
|
end
|
144
156
|
result = result("#{path}:#{builder}")
|
145
|
-
|
146
|
-
YAML::dump(result).on_box
|
157
|
+
format result
|
147
158
|
end
|
148
159
|
|
149
160
|
def execute(commands)
|
150
161
|
commands = [commands] if commands.is_a? String
|
151
162
|
exec = "#{command} --command#{commands.size > 1 ? 's' : ''}=\"#{commands.join ','}\""
|
152
163
|
@logger.debug exec
|
153
|
-
`#{exec}`.chomp
|
164
|
+
result = `#{exec}`.chomp
|
165
|
+
@logger.debug result
|
166
|
+
result
|
154
167
|
end
|
155
168
|
|
156
169
|
def result(commands)
|
data/lib/rboss/cli/mappings.rb
CHANGED
@@ -37,17 +37,18 @@ module RBoss
|
|
37
37
|
mapping = YAML::load_file(file).symbolize_keys
|
38
38
|
@resource_mappings[name] = mapping
|
39
39
|
if mapping[:print]
|
40
|
-
mapping[:print].each do |
|
41
|
-
|
40
|
+
mapping[:print].each do |print|
|
41
|
+
print[:command] ||= '${path}:${read_resource}'
|
42
|
+
if print[:id]
|
42
43
|
new_mapping = mapping.dup
|
43
|
-
new_mapping[:print] = [
|
44
|
-
new_mapping[:description] =
|
44
|
+
new_mapping[:print] = [print]
|
45
|
+
new_mapping[:description] = print[:title]
|
45
46
|
new_mapping[:derived] = true
|
46
|
-
if
|
47
|
-
new_mapping[:path] =
|
48
|
-
|
47
|
+
if print[:path]
|
48
|
+
new_mapping[:path] = print[:path].gsub '${path}', mapping[:path]
|
49
|
+
print[:path] = new_mapping[:path]
|
49
50
|
end
|
50
|
-
new_key = "#{name}-#{
|
51
|
+
new_key = "#{name}-#{print[:id]}"
|
51
52
|
@resource_mappings[new_key] = new_mapping
|
52
53
|
end
|
53
54
|
end
|
@@ -63,12 +64,12 @@ module RBoss
|
|
63
64
|
|
64
65
|
def load_default_resources
|
65
66
|
load_resources File.join(File.dirname(__FILE__), 'mappings/resources')
|
66
|
-
file = File.expand_path(
|
67
|
+
file = File.expand_path('~/.rboss/rboss-cli/resources')
|
67
68
|
if File.exist? file
|
68
69
|
load_resources file
|
69
70
|
end
|
70
71
|
@resource_mappings[''] = {
|
71
|
-
|
72
|
+
:path => ''
|
72
73
|
}
|
73
74
|
end
|
74
75
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
description: Details Connectors
|
3
|
-
path: ${
|
4
|
-
scan: ls ${
|
3
|
+
path: ${server}/subsystem=web/connector=${name}
|
4
|
+
scan: ls ${server}/subsystem=web/connector
|
5
5
|
print:
|
6
6
|
- title: Connectors
|
7
7
|
layout: vertical
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
description: Datasource Information
|
3
|
-
path: ${
|
4
|
-
scan: ls ${
|
2
|
+
description: Details Datasource Information
|
3
|
+
path: ${server}/subsystem=datasources/data-source=${name}
|
4
|
+
scan: ls ${server}/subsystem=datasources/data-source
|
5
5
|
print:
|
6
6
|
- id: config
|
7
7
|
title: Datasource Details
|
@@ -40,7 +40,7 @@ print:
|
|
40
40
|
|
41
41
|
- id: pool
|
42
42
|
title: Datasource Pool Statistics
|
43
|
-
path: ${
|
43
|
+
path: ${path}/statistics=pool
|
44
44
|
layout: vertical
|
45
45
|
properties:
|
46
46
|
- ActiveCount
|
@@ -77,7 +77,7 @@ print:
|
|
77
77
|
|
78
78
|
- id: jdbc
|
79
79
|
title: Datasource JDBC Statistics
|
80
|
-
path: ${
|
80
|
+
path: ${path}/statistics=jdbc
|
81
81
|
properties:
|
82
82
|
- PreparedStatementCacheCurrentSize
|
83
83
|
- PreparedStatementCacheAccessCount
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
description: Details Deployment Scanner
|
3
|
-
path: ${
|
4
|
-
scan: ls ${
|
3
|
+
path: ${server}/subsystem=deployment-scanner/scanner=${name}
|
4
|
+
scan: ls ${server}/subsystem=deployment-scanner/scanner
|
5
5
|
print:
|
6
6
|
- title: Scanner
|
7
7
|
layout: vertical
|
@@ -13,7 +13,7 @@ print:
|
|
13
13
|
- path
|
14
14
|
- relative-to
|
15
15
|
- scan-enabled
|
16
|
-
- scan-
|
16
|
+
- scan-interval
|
17
17
|
header:
|
18
18
|
- Auto Deploy Exploded
|
19
19
|
- Auto Deploy XML
|