Support for Marathon 0.9.0
Changes:
- Add
accepted_resource_role
field toMarathonApp
Critical fixes and @solarkennedy has been addded as a contributor!
Changes (all @solarkennedy - huge thanks):
- Fixed
MarathonApp
regex issue - Hooked up Travis CI
- Added integration tests
Support for Marathon 0.8.2
Changes:
- Tests (huge thanks @kevinschoon)
- Added support for Marathon EventBus (thanks @kevinschoon)
- Marathon app_id and group_id validation (thanks @mattrobenolt)
- Fixed bug in creation of deployment.steps list (thanks @AFriemann)
- Add
ignore_http1xx
onMarathonHealthCheck
(thanks @mrtheb)
Changes:
- Fix
force_pull_image
onMarathonDockerContainer
(thanks @mattrobenolt)
Changes:
- Add
force_pull_image
field toMarathonDockerContainer
(thanks @solarkennedy) - Add
kwargs
toMarathonDockerContainer
for better forward compatibility (thanks @g----) - Fix issue with
use_2to3
(thanks @vitan)
Support for Marathon 0.8.1
Changes:
- Better handling of nulls and empty collections (thanks @wndhydrnt)
- Updated object signatures to match 0.8.1 (thanks @pradeepchhetri)
Changes:
- Replace defunct
MarathonEndpoint
resource with a working helper object
Support for Marathon 0.8.0
Changes:
- Added
force
option todelete_deployment()
Changes:
- Added lastFailureCause field to app.lastTaskFailure
- Added
parameters
andprivileged
fields toMarathonContainer
Changes:
- (Temporarily) Added
apps
field toDeploymentAction
(d2iq-archive/marathon#802)
Changes:
- Updated
list_tasks()
andget_info()
to match latest Marathon response signature - Fixed
__repr__
forMarathonInfo()
and otherMarathonResources
without `id
Changes:
- Improved behavior of
MarathonClient.update_app()
to stripversion
from the passedapp
Changes:
- Fixed bug with
MarathonClient.scale_app()
and addforce
support
Support for Marathon 0.7.5
Changes:
- Added support for app.lastTaskFailure
- Added support for task.healthCheckResult
- Fixed support for app.upgradeStrategy
Changes:
- Added support for embedding tasks in get/list app results
- Switched to patch-style updates for apps and groups (send partial object)
Changes:
- Added support for service port in container port mappings (Marathon 0.7.3)
Changes:
- Added support for LIKE and UNLIKE constraint operators
- Added support for patch-style app and group updates
Changes:
- Fixed broken exception import
Mesos 0.20.1- and Marathon 0.7.1-compatible release.
Changes:
- Added bridge networking support
- Use common exception for all pick-from-a-list options (
InvalidChoiceError
).InvalidOperatorError
has been removed - Updated
MarathonObject.__repr__
to be more useful - Changed default HTTP request timeout from 5s to 10s
Changes:
- Added support for multiple Marathon servers (if a request to one fails for network reasons, try the next)
- Fixed a bug with HTTP 4xx response handling
Initial release compatible with Marathon 0.7.0 and Mesos 0.20.0.
Warning: this includes multiple breaking changes, both from Marathon and from this library
Changes:
- Added support for Deployments, Groups, native Docker containers, Queue, Server Info, Server Metrics, and Ping
- Updated object attributes to be at parity with Marathon 0.7.0 (RC2)
- Updated return types to be at parity with Marathon 0.7.0 (RC2)
- Updated method signatures to be more consistent
- HTTP 4xx errors other than 404 now throw
MarathonHttpError
instead ofNotFoundError
json_encode()
andjson_decode()
on MarathonResource have been renamed toto_json()
andfrom_json()
, respectively- Refactored serialization/deserialization to reduce boilerplate