79e7636b66
MXS-3360: Use correct field
2021-01-07 15:24:30 +02:00
df36ef86d0
2.4.14 Update Change Date
2020-11-16 14:23:26 +02:00
faaf7f483e
2.4.13 Update Change Date
2020-10-14 09:15:46 +03:00
babcda3eca
2.4.12 Update Change Date
2020-08-24 09:42:48 +03:00
fc9c9fcd77
2.4.11 Update change date
2020-07-07 10:01:38 +03:00
5ebae9be90
Merge branch '2.3' into 2.4
2020-06-05 09:36:24 +03:00
aa11c960b1
2.3.20 Update change date
2020-06-05 09:31:45 +03:00
727aeb4a08
Merge branch '2.3' into 2.4
2020-06-02 10:53:05 +03:00
ce437bc779
MXS-3016: Rename --monitors to --monitor
...
Renamed the option and changed the type to a string argument. The alias
for --monitors still allows old code to use the same format.
2020-06-01 12:26:26 +03:00
0f1f9426c3
MXS-2983: Document list option formats
...
The options that take lists of objects as arguments did not properly
document the expected format.
2020-06-01 12:26:26 +03:00
62052edbc9
Merge branch '2.3' into 2.4
2020-05-14 09:45:28 +03:00
7c011b4081
MXS-2998: Fix key-value parsing
...
The code assumed that no value would hold an equals sign which is
wrong. Added a test case that reproduces the problem and verifies the fix.
2020-05-14 09:34:25 +03:00
d3d7054639
Merge branch '2.3' into 2.4
2020-04-24 16:09:20 +03:00
f527a8f2e6
2.3.19 Update Change Date
2020-04-23 14:23:57 +03:00
d0ab797938
Merge branch '2.3' into 2.4
2020-03-12 10:33:57 +02:00
e0cd6adb26
Update change date for 2.3.18
2020-03-10 10:45:47 +02:00
5b45796da4
Add missing maxctrl test cases
...
Code coverage revealed that some parts of the code could be easily
tested. Added these missing test cases and removed some dead code.
2020-03-05 21:13:39 +02:00
6aab4ed416
MXS-2893: Fix parameter validation
...
The code assumed all parameters were string values. Encasing the code in a
try-catch block solves it.
2020-03-05 09:06:36 +02:00
8b763fb88b
Merge branch '2.3' into 2.4
2020-02-12 08:27:48 +02:00
cfb3f79b54
Update 2.3.17 Change Date
2020-02-10 15:28:38 +02:00
a7e0142224
Merge branch '2.3' into 2.4
2020-01-15 11:29:37 +02:00
790d90f229
Update 2.3.16 Change Date
2020-01-15 11:08:51 +02:00
b555115fa2
Merge branch '2.3' into 2.4
2020-01-07 11:12:02 +02:00
edb49d6f35
MXS-2824: Document basic user privileges
...
The documentation was not clear on what the difference between admin and
basic accounts is.
2020-01-07 10:40:41 +02:00
a9a2b753c0
Update 2.4.5 change date
2019-12-18 13:25:03 +02:00
f6731a898d
Update change date
2019-11-13 08:37:17 +02:00
fdfbf3e133
Update 2.4.3 change date
2019-11-05 12:21:00 +02:00
861e27eb00
Merge branch '2.3' into 2.4
2019-10-29 14:04:31 +02:00
df6c56e7ca
Update 2.3.13 Change Date
2019-10-29 12:51:31 +02:00
0ba779d5a2
Update 2.4.0 Change Date
2019-06-25 10:11:55 +03:00
aeebf941f6
Merge branch '2.3' into develop
2019-06-19 13:28:58 +03:00
96d5c575f8
Document required create service
parameters
...
When a service is created via MaxCtrl, the `user` and `password`
parameters must be defined. This was not documented in the command help
output.
2019-06-19 10:44:16 +03:00
cb77cffdf2
Separate MaxCtrl create options
...
The options for each command are now declared "inside" the command. This
makes the help output a lot clearer and only displays the options relevant
for the command in question.
2019-05-28 14:34:50 +03:00
4186f39616
Merge branch '2.3' into develop
2019-04-23 12:11:09 +03:00
163b3a2da5
Fix unhandled promise rejection in create monitor
...
If a monitor was created with an argument that was not a key-value type, a
promise would be rejected outside of the main maxctrl function. Added a
test case that covers this and fixed a few other test coverage problems
that were present.
2019-04-17 11:17:33 +03:00
df3950dbc0
MXS-2349: Amend create server
documentation
...
The explanation for the socket behavior was missing.
2019-04-16 11:52:38 +03:00
0cd00e888e
MXS-2349: Add socket support for maxctrl
...
A server can now be created with a socket.
2019-04-16 11:52:37 +03:00
befb25a14a
MXS-1929: Add parameters to maxctrl create monitor
...
The parameters for the monitor can now be defined when the monitor is
created. This makes the filter, monitor and service creation consistent.
2018-08-23 15:46:46 +03:00
50c20e79ee
MXS-1929: Reject promise on invalid input
...
If a value that is not of key-value format was given to the create
commands, the code previously threw an exception. This causes tests to
misbehave so changing it to a rejected promise is more appropriate.
2018-08-09 12:56:52 +03:00
25bc385db2
MXS-1929: Check presence of filter parameters
...
The parameters were made optional as not all filters require parameters.
2018-08-09 12:54:10 +03:00
8cb3a85afd
MXS-1929: Fix MaxCtrl errors
...
The filter parameters were a mandatory argument even for filters that
don't need parameters. Also fixed the usage information.
2018-08-06 21:20:29 +03:00
3f338c8672
MXS-1929: Add create/destroy filter commands
...
Added the creation and destruction commands for filters to MaxCtrl.
2018-07-31 09:41:10 +03:00
fb3101f7c4
MXS-1929: Improve JSON type error messages
...
If an invalid value or type is given to the REST API, having the expected
type as well as the given type make problem resolution easier.
Also added a value check into MaxCtrl for listener ports.
2018-07-31 09:41:10 +03:00
146fe76c7a
MXS-1929: Add create/destroy service MaxCtrl commands
...
Added commands for creating and destroying services. The create command
allows server and filter relationships to be defined but they are not yet
processed by MaxScale. This will be done once the use of filters is made
dynamic.
2018-07-31 09:41:07 +03:00
cc0299aee6
Update change date of 2.3
2018-06-25 10:07:52 +03:00
f102a563e9
Add explicit usage to each command
...
The yargs framework combined with the pkg packaging causes the executable
name to be mangled on installation. For this reason, the usage should be
explicitly added to each command.
2017-09-28 12:40:51 +03:00
b5202a99f4
Move create
TLS parameters to common section
...
The TLS parameters are now shared by both servers and listeners.
2017-09-11 12:49:11 +03:00
c34bc24a8b
MXS-1390: Fix create user
documentation
...
The documentation stated that the users are created with administrative
privileges by default when in fact they were created with read-only
privileges.
2017-09-07 10:02:14 +03:00
c8490df566
MXS-1390: Add detailed MaxCtrl documentation
...
Added a more detailed description for commands that needed it.
2017-09-07 10:02:14 +03:00
0d8e51c8f1
Move create monitor
options under the correct header
...
The options were under the generic options header instead of the monitor
creation one.
2017-09-07 10:02:14 +03:00