MXS-1782: Take getCollectionAsResource into use

Each `show` type command that takes a resource name now also has a version
that prints all resources of that type.

Added test cases for newly added commands.
This commit is contained in:
Markus Mäkelä
2018-04-15 11:19:21 +03:00
parent 87ce1f6dab
commit fff727e0c2
2 changed files with 125 additions and 57 deletions

View File

@ -10,6 +10,14 @@ var tests = [
'list modules',
'list users',
'list commands',
'show servers',
'show services',
'show monitors',
'show sessions',
'show filters',
'show modules',
'show maxscale',
'show logging',
'show server server1',
'show service RW-Split-Router',
'show monitor MariaDB-Monitor',