Markus Mäkelä
aac0ecc373
MXS-2574: Add PATCH for /users/inet endpoint
...
The alteration of user passwords is now done inside MaxScale. This
prevents the possibility of a user locking themselves out.
2019-06-25 08:23:17 +03:00
Markus Mäkelä
f4e04f5c42
Merge branch '2.3' into 2.4
2019-06-24 13:10:20 +03:00
Markus Mäkelä
7117ab4719
MXS-2574: Prevent alterations to current user
...
Due to the fact that the alteration is emulated by deletion and creation
of the user in question, the current user cannot be altered.
2019-06-24 13:06:40 +03:00
Markus Mäkelä
006b87cebe
MXS-2307: Extend alter test cases
...
The tests now check that multiple parameters work as expected. Also fixed
a few defects found while writing the tests, namely the fact that null or
empty values weren't detected.
2019-05-28 14:34:51 +03:00
Markus Mäkelä
aca3d65bbb
MXS-2381: Add alter user
...
The `alter user` command makes password changes easier and keeps the usage
consistent across types in MaxScale.
2019-04-17 16:07:04 +03:00
Markus Mäkelä
390c749d4a
Test runtime size validation
...
Added tests into the MaxCtrl test suite that confirm size types are
properly handled.
2018-08-10 09:50:56 +03:00
Markus Mäkelä
f6cd8b6454
Fill the gaps in MaxCtrl testing
...
The MaxCtrl test suite now covers most of the code that can be tested
within reasonable limits. Also removed some dead code in `list servers`.
2018-08-09 12:56:53 +03:00
Markus Mäkelä
ccebf38bc0
Update test configuration files
...
Updated the REST API and MaxCtrl configuration files with new object
names. Updated tests with new object names.
2018-01-22 15:29:21 +02:00
Markus Mäkelä
80569dd5a9
MXS-1300: Correct test case descriptions
...
The test descriptions now describe the expected logical outcome of the
test, not the operation being done.
2017-08-09 11:39:25 +03:00
Markus Mäkelä
c9f3d014d6
MXS-1300: Improve test coverage
...
The tests now cover 100% of all source files with the exception of the
call.js and common.js source files.
2017-07-23 08:21:00 +03:00
Markus Mäkelä
e76dc80e47
MXS-1300: Reorganize and refactor tests
...
The tests are now sorted by command type. This allows for more consistent
test creation as tests can be done per source code file instead of per
object type.
Added helper functions for common testing operations. The two main ones
are doCommand, which executes a MaxCtrl command and returns a result, and
verifyCommand, that executes a command and verifies the result via the
REST API.
2017-07-23 08:21:00 +03:00