rboss 0.5.6 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +1 -1
 - data/bin/jboss-profile +5 -1
 - data/bin/rboss-cli +142 -0
 - data/bin/twiddle +7 -3
 - data/lib/rboss.rb +2 -1
 - data/lib/rboss/bin/command_actions.rb +6 -7
 - data/lib/rboss/cli.rb +22 -0
 - data/lib/rboss/cli/colorizers.rb +22 -0
 - data/lib/rboss/cli/formatters.rb +17 -0
 - data/lib/rboss/cli/health_checkers.rb +43 -0
 - data/lib/rboss/cli/jboss_cli.rb +93 -0
 - data/lib/rboss/{table_builder.rb → cli/mappings.rb} +32 -47
 - data/lib/rboss/cli/mappings/resources/connector.yaml +75 -0
 - data/lib/rboss/cli/mappings/resources/datasource.yaml +113 -0
 - data/lib/rboss/cli/mappings/resources/jdbc_driver.yaml +13 -0
 - data/lib/rboss/cli/mappings/resources/server.yaml +74 -0
 - data/lib/rboss/cli/resource.rb +112 -0
 - data/lib/rboss/component_processor.rb +1 -1
 - data/lib/rboss/components/component.rb +1 -1
 - data/lib/rboss/components/datasource.rb +1 -1
 - data/lib/rboss/components/deploy_folder.rb +1 -1
 - data/lib/rboss/components/hypersonic_replacer.rb +1 -1
 - data/lib/rboss/components/jbossweb.rb +1 -1
 - data/lib/rboss/components/jmx.rb +1 -1
 - data/lib/rboss/components/mod_cluster.rb +1 -1
 - data/lib/rboss/components/org/6.0/deploy_folder.rb +1 -1
 - data/lib/rboss/components/org/jmx.rb +1 -1
 - data/lib/rboss/components/profile_folder.rb +1 -1
 - data/lib/rboss/components/resource.rb +1 -1
 - data/lib/rboss/components/restore_slimming.rb +1 -1
 - data/lib/rboss/components/run_conf.rb +1 -1
 - data/lib/rboss/components/service_script.rb +1 -1
 - data/lib/rboss/components/slimming.rb +1 -1
 - data/lib/rboss/components/soa-p/hypersonic_replacer.rb +1 -1
 - data/lib/rboss/components/soa-p/jmx.rb +1 -1
 - data/lib/rboss/components/xadatasource.rb +1 -1
 - data/lib/rboss/file_processor.rb +1 -1
 - data/lib/rboss/jboss_path.rb +1 -1
 - data/lib/rboss/jboss_profile.rb +1 -1
 - data/lib/rboss/twiddle.rb +1 -1
 - data/lib/rboss/twiddle/base_monitor.rb +1 -1
 - data/lib/rboss/twiddle/mbean.rb +1 -1
 - data/lib/rboss/twiddle/monitor.rb +57 -39
 - data/lib/rboss/twiddle/twiddle.rb +1 -1
 - data/lib/rboss/utils.rb +80 -1
 - data/lib/rboss/version.rb +2 -2
 - data/test/datasource_test.rb +1 -1
 - data/test/deploy_folder_test.rb +1 -1
 - data/test/jbossweb_test.rb +1 -1
 - data/test/mbean_test.rb +1 -1
 - data/test/test_helper.rb +1 -1
 - data/test/test_suite.rb +1 -1
 - metadata +16 -4
 
    
        data/lib/rboss/version.rb
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #                         The MIT License
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
     | 
    
         
            -
            # Copyright (c) 2011 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright (c) 2011-2012 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
       4 
4 
     | 
    
         
             
            #
         
     | 
| 
       5 
5 
     | 
    
         
             
            # Permission is hereby granted, free of charge, to any person obtaining a copy
         
     | 
| 
       6 
6 
     | 
    
         
             
            # of this software and associated documentation files (the "Software"), to deal
         
     | 
| 
         @@ -21,5 +21,5 @@ 
     | 
|
| 
       21 
21 
     | 
    
         
             
            # THE SOFTWARE.
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
23 
     | 
    
         
             
            module RBoss
         
     | 
| 
       24 
     | 
    
         
            -
              VERSION = "0. 
     | 
| 
      
 24 
     | 
    
         
            +
              VERSION = "0.6.0"
         
     | 
| 
       25 
25 
     | 
    
         
             
            end
         
     | 
    
        data/test/datasource_test.rb
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #                         The MIT License
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
     | 
    
         
            -
            # Copyright (c) 2011 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright (c) 2011-2012 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
       4 
4 
     | 
    
         
             
            #
         
     | 
| 
       5 
5 
     | 
    
         
             
            # Permission is hereby granted, free of charge, to any person obtaining a copy
         
     | 
| 
       6 
6 
     | 
    
         
             
            # of this software and associated documentation files (the "Software"), to deal
         
     | 
    
        data/test/deploy_folder_test.rb
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #                         The MIT License
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
     | 
    
         
            -
            # Copyright (c) 2011 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright (c) 2011-2012 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
       4 
4 
     | 
    
         
             
            #
         
     | 
| 
       5 
5 
     | 
    
         
             
            # Permission is hereby granted, free of charge, to any person obtaining a copy
         
     | 
| 
       6 
6 
     | 
    
         
             
            # of this software and associated documentation files (the "Software"), to deal
         
     | 
    
        data/test/jbossweb_test.rb
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #                         The MIT License
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
     | 
    
         
            -
            # Copyright (c) 2011 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright (c) 2011-2012 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
       4 
4 
     | 
    
         
             
            #
         
     | 
| 
       5 
5 
     | 
    
         
             
            # Permission is hereby granted, free of charge, to any person obtaining a copy
         
     | 
| 
       6 
6 
     | 
    
         
             
            # of this software and associated documentation files (the "Software"), to deal
         
     | 
    
        data/test/mbean_test.rb
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #                         The MIT License
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
     | 
    
         
            -
            # Copyright (c) 2011 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright (c) 2011-2012 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
       4 
4 
     | 
    
         
             
            #
         
     | 
| 
       5 
5 
     | 
    
         
             
            # Permission is hereby granted, free of charge, to any person obtaining a copy
         
     | 
| 
       6 
6 
     | 
    
         
             
            # of this software and associated documentation files (the "Software"), to deal
         
     | 
    
        data/test/test_helper.rb
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #                         The MIT License
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
     | 
    
         
            -
            # Copyright (c) 2011 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright (c) 2011-2012 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
       4 
4 
     | 
    
         
             
            #
         
     | 
| 
       5 
5 
     | 
    
         
             
            # Permission is hereby granted, free of charge, to any person obtaining a copy
         
     | 
| 
       6 
6 
     | 
    
         
             
            # of this software and associated documentation files (the "Software"), to deal
         
     | 
    
        data/test/test_suite.rb
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #                         The MIT License
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
     | 
    
         
            -
            # Copyright (c) 2011 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright (c) 2011-2012 Marcelo Guimarães <ataxexe@gmail.com>
         
     | 
| 
       4 
4 
     | 
    
         
             
            #
         
     | 
| 
       5 
5 
     | 
    
         
             
            # Permission is hereby granted, free of charge, to any person obtaining a copy
         
     | 
| 
       6 
6 
     | 
    
         
             
            # of this software and associated documentation files (the "Software"), to deal
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: rboss
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.6.0
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
         @@ -9,7 +9,7 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2012- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2012-07-13 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies: []
         
     | 
| 
       14 
14 
     | 
    
         
             
            description: ! "A tool to create profiles for JBoss Application Server and use\n twiddle
         
     | 
| 
       15 
15 
     | 
    
         
             
              to manage a running JBoss AS."
         
     | 
| 
         @@ -17,6 +17,7 @@ email: 
     | 
|
| 
       17 
17 
     | 
    
         
             
            - ataxexe@gmail.com
         
     | 
| 
       18 
18 
     | 
    
         
             
            executables:
         
     | 
| 
       19 
19 
     | 
    
         
             
            - jboss-profile
         
     | 
| 
      
 20 
     | 
    
         
            +
            - rboss-cli
         
     | 
| 
       20 
21 
     | 
    
         
             
            - twiddle
         
     | 
| 
       21 
22 
     | 
    
         
             
            extensions: []
         
     | 
| 
       22 
23 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
         @@ -26,9 +27,21 @@ files: 
     | 
|
| 
       26 
27 
     | 
    
         
             
            - README.md
         
     | 
| 
       27 
28 
     | 
    
         
             
            - Rakefile
         
     | 
| 
       28 
29 
     | 
    
         
             
            - bin/jboss-profile
         
     | 
| 
      
 30 
     | 
    
         
            +
            - bin/rboss-cli
         
     | 
| 
       29 
31 
     | 
    
         
             
            - bin/twiddle
         
     | 
| 
       30 
32 
     | 
    
         
             
            - lib/rboss.rb
         
     | 
| 
       31 
33 
     | 
    
         
             
            - lib/rboss/bin/command_actions.rb
         
     | 
| 
      
 34 
     | 
    
         
            +
            - lib/rboss/cli.rb
         
     | 
| 
      
 35 
     | 
    
         
            +
            - lib/rboss/cli/colorizers.rb
         
     | 
| 
      
 36 
     | 
    
         
            +
            - lib/rboss/cli/formatters.rb
         
     | 
| 
      
 37 
     | 
    
         
            +
            - lib/rboss/cli/health_checkers.rb
         
     | 
| 
      
 38 
     | 
    
         
            +
            - lib/rboss/cli/jboss_cli.rb
         
     | 
| 
      
 39 
     | 
    
         
            +
            - lib/rboss/cli/mappings.rb
         
     | 
| 
      
 40 
     | 
    
         
            +
            - lib/rboss/cli/mappings/resources/connector.yaml
         
     | 
| 
      
 41 
     | 
    
         
            +
            - lib/rboss/cli/mappings/resources/datasource.yaml
         
     | 
| 
      
 42 
     | 
    
         
            +
            - lib/rboss/cli/mappings/resources/jdbc_driver.yaml
         
     | 
| 
      
 43 
     | 
    
         
            +
            - lib/rboss/cli/mappings/resources/server.yaml
         
     | 
| 
      
 44 
     | 
    
         
            +
            - lib/rboss/cli/resource.rb
         
     | 
| 
       32 
45 
     | 
    
         
             
            - lib/rboss/component_processor.rb
         
     | 
| 
       33 
46 
     | 
    
         
             
            - lib/rboss/components/component.rb
         
     | 
| 
       34 
47 
     | 
    
         
             
            - lib/rboss/components/datasource.rb
         
     | 
| 
         @@ -57,7 +70,6 @@ files: 
     | 
|
| 
       57 
70 
     | 
    
         
             
            - lib/rboss/resources/mod_cluster.sar/META-INF/mod_cluster-jboss-beans.xml
         
     | 
| 
       58 
71 
     | 
    
         
             
            - lib/rboss/resources/mod_cluster.sar/mod_cluster-1.1.2.Final.jar
         
     | 
| 
       59 
72 
     | 
    
         
             
            - lib/rboss/resources/run.conf.erb
         
     | 
| 
       60 
     | 
    
         
            -
            - lib/rboss/table_builder.rb
         
     | 
| 
       61 
73 
     | 
    
         
             
            - lib/rboss/twiddle.rb
         
     | 
| 
       62 
74 
     | 
    
         
             
            - lib/rboss/twiddle/base_monitor.rb
         
     | 
| 
       63 
75 
     | 
    
         
             
            - lib/rboss/twiddle/mbean.rb
         
     | 
| 
         @@ -92,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       92 
104 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       93 
105 
     | 
    
         
             
            requirements: []
         
     | 
| 
       94 
106 
     | 
    
         
             
            rubyforge_project: rboss
         
     | 
| 
       95 
     | 
    
         
            -
            rubygems_version: 1.8. 
     | 
| 
      
 107 
     | 
    
         
            +
            rubygems_version: 1.8.24
         
     | 
| 
       96 
108 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       97 
109 
     | 
    
         
             
            specification_version: 3
         
     | 
| 
       98 
110 
     | 
    
         
             
            summary: A Ruby way to do a JBoss work!
         
     |