MXS-3013: Add reload service MaxCtrl command

The command currently reloads the users of a service but it can be used to
reload other parts of it as well (e.g. encryption keys).
This commit is contained in:
Markus Mäkelä
2020-05-29 09:27:13 +03:00
parent f013d3ccd9
commit d9fdf3adc1
3 changed files with 47 additions and 0 deletions

12
maxctrl/test/reload.js Normal file
View File

@ -0,0 +1,12 @@
require('../test_utils.js')()
describe("Reload Commands", function() {
before(startMaxScale)
it('reload service', function() {
return doCommand('reload service RW-Split-Router')
.should.be.fulfilled
});
after(stopMaxScale)
});