mohitsoni / marathon-client

Java API client for Mesosphere's Marathon.
Apache License 2.0
50 stars 89 forks source link

Extend updateApp with force argument #21

Open yuriksan opened 9 years ago

yuriksan commented 9 years ago

PUT /v2/apps/{appId}

Change parameters of a running application. The new application parameters apply only to subsequently created tasks. Currently running tasks are restarted, while maintaining the minimumHealthCapacity

Parameters Name Type Description force boolean If the app is affected by a running deployment, then the update operation will fail. The current deployment can be overridden by setting the force query parameter. Default: false.

@RequestLine("PUT /v2/apps/{app_id}")
void updateApp(@Named("app_id") String appId, App app);