Closed jeffreyolchovy closed 7 years ago
For app restarts, use:
POST /v2/apps/{appId}/restart: Rolling restart of all tasks of the given app
Currently, we are sending an empty POST
request to the application instance URL, which, afaict, will just result with an unspecified failure. Our closed source plugin was executing this request correctly with the proper /restart
terminated URL.
For more info, see https://mesosphere.github.io/marathon/docs/rest-api.html#user-content-post-v2appsappidrestart.
This issue is the formal documentation and verification of the following error when invoking the
marathonServiceRestart
task:As far as I can tell, this regression was introduced when migrating logic from the internal plugin to the oss plugin.
This issue effects the current main line. Originally reported @ https://github.com/Tapad/sbt-marathon/pull/3#issuecomment-304919319 and verified against
v0.1.1
and theHEAD
ofmaster
.