MXS-2121: Allow destruction of static listeners

If a listener is defined in a static configuration file, it can now be
destroyed at runtime. If MaxScale is restarted, the listener will be
created again unless the configuration file is modified.
This commit is contained in:
Markus Mäkelä
2018-10-29 15:56:45 +02:00
parent 906d8cee5b
commit 47d2898818
3 changed files with 11 additions and 12 deletions

View File

@ -165,7 +165,7 @@ describe("Service", function() {
it("destroy a static listener", function() {
return request.delete(base_url + "/services/RW-Split-Router/listeners/RW-Split-Listener")
.should.be.rejected
.should.be.fulfilled
});
after(stopMaxScale)