Michael Klishin
|
15565ec1d7
|
rabbitmq-plugins set: switch to validate_execution_environment/2
|
2017-08-07 16:44:19 +03:00 |
Michael Klishin
|
2e64c90913
|
rabbitmq-plugins enable: switch to validate_execution_environment/2
|
2017-08-07 16:04:30 +03:00 |
Michael Klishin
|
770258ea65
|
rabbitmq-plugins disable: switch to validate_execution_environment/2
|
2017-08-07 14:47:17 +03:00 |
Michael Klishin
|
4b6978f26d
|
Squash a couple more warnings
|
2017-08-04 22:41:12 +03:00 |
Daniil Fedotov
|
59c1a54cad
|
Do not format errors using to_string. Let rabbitmqctl core do the formatting
|
2017-07-31 15:57:10 +01:00 |
Michael Klishin
|
b7b5223a39
|
list_vhost_limits: handle errors before serialising results
Also update tests and format no_such_vhost errors in a more sensible
way.
|
2017-06-30 14:43:09 +03:00 |
Daniil Fedotov
|
ee8c2f133c
|
Support Elixir-1.5.0-rc.0
|
2017-06-26 11:59:46 +01:00 |
kjnilsson
|
93b42d5e31
|
Log enabled and disabled plugins in offline mode.
This ensures that the enabled/disabled plugins are logged
in offline mode.
[#146384227]
|
2017-06-13 10:01:32 +01:00 |
Daniil Fedotov
|
858b79d603
|
Use plugins formatter as default formatter for plugins list command
|
2017-06-09 12:24:38 +01:00 |
Michael Klishin
|
ef98536ab4
|
rabbitmqctl hipe_compile WIP
|
2017-03-10 01:01:03 +03:00 |
Jean-Sébastien Pédron
|
89e12a1ac7
|
lib/rabbitmq/cli/plugins/plugins_helpers.ex: Remove dead code
The same function call is made the line after.
|
2017-02-28 16:16:27 +01:00 |
Jean-Sébastien Pédron
|
12c34a78c4
|
lib/rabbitmq/cli/plugins/plugins_helpers.ex: Use `deps` to filter plugins
... in validate_plugins(). This variable was computed but not used. The
initial `plugins` variable was used but it lacked dependencies.
|
2017-02-28 16:15:08 +01:00 |
Jean-Sébastien Pédron
|
1f68c5a89d
|
Mark unused variables with '_'
Obviously, this fixes sevearl "unused variable" warnings.
|
2017-02-28 16:12:34 +01:00 |
Diana Corbacho
|
74ffe46fb3
|
Rename function
|
2017-02-27 16:23:57 +00:00 |
Diana Corbacho
|
87331bb95e
|
Exclude applications that are not RabbitMQ plugins from the list of plugins
|
2017-02-27 14:52:40 +00:00 |
Michael Klishin
|
2a9c24af2c
|
Merge branch 'master' into rabbitmq-server-release-12
|
2017-01-27 18:33:19 +03:00 |
Daniil Fedotov
|
0e13568ec3
|
Move plugin validation from `validate` to `run`
|
2017-01-27 14:55:09 +00:00 |
Daniil Fedotov
|
8038f583e0
|
Validate all plugins if `all` flag is present
|
2017-01-26 16:21:44 +00:00 |
Daniil Fedotov
|
52ad0d2a39
|
Validate enabled plugins version requirements
|
2017-01-26 12:21:20 +00:00 |
Daniil Fedotov
|
6288d75472
|
Cleanup compiler warnings
|
2017-01-24 09:59:00 +00:00 |
Jean-Sébastien Pédron
|
5905f1c40a
|
Update copyright line to year 2017
|
2017-01-10 15:42:40 +01:00 |
Jean-Sébastien Pédron
|
530a9c7d83
|
{disable,enable}_command.ex: Support --all to enable/disable all plugins
[#136769947]
|
2016-12-29 11:47:48 +01:00 |
Jean-Sébastien Pédron
|
77a23a9a72
|
Move plugin_names() from list_command.ex to plugins_helpers.ex
[#136769947]
|
2016-12-29 11:46:17 +01:00 |
Daniil Fedotov
|
7d41df5d8d
|
Fix sorting and plugin name access for plugin management commands
|
2016-12-22 16:19:17 +00:00 |
Daniil Fedotov
|
6846cfa258
|
Remove useless output
|
2016-12-06 16:18:54 +00:00 |
Diana Corbacho
|
28d8259450
|
Real time output in enable/disable/set commands
|
2016-12-06 15:12:47 +00:00 |
Michael Klishin
|
ba0efb56b0
|
Merge pull request #133 from rabbitmq/rabbitmq-cli-129
Load command specific options from a single command
|
2016-12-03 11:32:44 +03:00 |
Daniil Fedotov
|
c62d48380a
|
Load command specific options from a single command
|
2016-11-30 16:51:59 +00:00 |
Arnaud Cogoluègnes
|
409f8e3b00
|
Use 1 RPC call to get running plugins
|
2016-11-30 17:19:13 +01:00 |
Arnaud Cogoluègnes
|
fd07c8b70b
|
Support several versions of plugins in directories
References #131
|
2016-11-29 17:33:41 +01:00 |
Arnaud Cogoluègnes
|
304ab703f4
|
Support multiple plugins directories
References #131
|
2016-11-29 15:26:57 +01:00 |
Daniil Fedotov
|
e3289ed454
|
Remove empty switches and aliases
|
2016-11-22 18:32:12 +00:00 |
Michael Klishin
|
e92022da11
|
Revert "Merge pull request #124 from rabbitmq/rabbitmq-cli-120"
This reverts commit c087a635c0 , reversing
changes made to 59225a551d .
See https://github.com/rabbitmq/rabbitmq-cli/issues/126, which exposed
a serious flaw in the option parser split which was introduced
as part of #124.
Reopens #120.
|
2016-11-22 14:07:58 +03:00 |
Daniil Fedotov
|
5607b92e32
|
Remove empty switches/0 and aliases/0 callbacks
|
2016-11-21 11:26:40 +00:00 |
Daniil Fedotov
|
59225a551d
|
Remove `flags/0` callback. Remove command modules helpers from helpers to command_modules
|
2016-11-18 14:12:53 +00:00 |
Daniil Fedotov
|
ccb6bf116c
|
Namespace refactoring
|
2016-11-14 17:52:08 +00:00 |
Daniil Fedotov
|
9ebf876c9a
|
Do not require ENABLED_PLUGINS_FILE to run ctl, still print an error
|
2016-11-08 14:45:59 +00:00 |
Daniil Fedotov
|
4d0f9b1fb5
|
Load commands from plugins
|
2016-11-08 14:25:14 +00:00 |
Daniil Fedotov
|
ad90e60121
|
script name is overridable via argument
|
2016-11-08 14:21:31 +00:00 |
Daniil Fedotov
|
3e3d8f3f0b
|
Fix tests for plugins commands
|
2016-11-08 14:19:11 +00:00 |
Daniil Fedotov
|
b8c7360b14
|
Plugins enable/disable command formatter
|
2016-11-08 14:19:11 +00:00 |
Daniil Fedotov
|
b98470288d
|
List plugins formatter
|
2016-11-08 14:19:11 +00:00 |
Daniil Fedotov
|
837226430b
|
Coordinate environment with config module
|
2016-11-07 22:03:09 +03:00 |
Michael Klishin
|
59a57a8d37
|
Merge branch 'master' into rabbitmq-cli-90
|
2016-09-05 12:44:18 +03:00 |
Daniil Fedotov
|
616476cc66
|
Remove duplicate require_rabbit function
|
2016-08-18 17:55:29 +01:00 |
Daniil Fedotov
|
35fc3d12cd
|
Default output formatting and exit code selection. Inspect printer
|
2016-08-18 15:35:49 +01:00 |
Michael Klishin
|
b57e8e16cc
|
Don't rely on rabbit_control_main; coerce node names to atoms
`rabbit_control_main` is going away due to the very existence of
these new CLI tools.
|
2016-08-12 04:46:26 +03:00 |
Michael Klishin
|
7525ee3373
|
Cosmetics
|
2016-08-11 09:52:37 +03:00 |
Michael Klishin
|
76fb17d8f2
|
Use MapSet.difference/2 here, too
|
2016-08-11 09:37:48 +03:00 |
Michael Klishin
|
30e0c66127
|
Use sets in more places; rabbit_plugins:ensure/1 expects an Erlang list
Both CLI and tests now generally work as expected.
|
2016-08-11 01:44:27 +03:00 |
Michael Klishin
|
05db449187
|
Handle duplicates on plugin lists, be more defensive with defaults
Makes CLI invocations of `rabbitmq-plugins {enable, disable, list}`
mostly work.
|
2016-08-11 01:27:13 +03:00 |
Michael Klishin
|
bec4e6f4f9
|
Drop rabbitmq-plugins active_plugins
`rabbitmq-plugins list` with flags can do the same thing.
Per discussion with @hairyhum.
|
2016-08-09 13:46:20 +03:00 |
Michael Klishin
|
eef1c36024
|
Drop _plugins from plugin management module names
|
2016-08-09 00:03:58 +03:00 |
Michael Klishin
|
786ec7672d
|
Rename
|
2016-07-10 21:36:12 +03:00 |
Michael Klishin
|
09fc873a34
|
Improve a couple of error atoms
|
2016-07-10 19:47:27 +03:00 |
Daniil Fedotov
|
5c5f4d4414
|
Plugins command tests
|
2016-06-23 10:50:01 +01:00 |
Daniil Fedotov
|
eda1e7cac2
|
Tests for list plugins command
|
2016-06-23 10:50:01 +01:00 |
Daniil Fedotov
|
963f6a2ff9
|
tests for list plugins command
|
2016-06-23 10:50:01 +01:00 |
Daniil Fedotov
|
2415ee58aa
|
Plugin management commands
|
2016-06-23 10:50:01 +01:00 |
Daniil Fedotov
|
75d8632d87
|
Aliases in behaviour. List plugins command
|
2016-06-23 10:50:01 +01:00 |
Daniil Fedotov
|
0d026a5f4a
|
Example plugins command
|
2016-06-23 10:50:01 +01:00 |