HomeMesosphereNo notifications. 4 unresolved issues.

Add a system controller which implements the functionality of SystemResource.
ClosedAll Users

Authored by aquamatthias on May 11 2017, 4:49 PM.

Details

Test Plan

Start Marathon with reStart --feature_akka_http_service_backend --master 127.0.0.1:5050
and access /ping /metrics /logging and /config

Diff Detail

Repository
rMARATHON marathon
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
aquamatthias created this revision.May 11 2017, 4:49 PM
jenkins requested changes to this revision.May 11 2017, 4:55 PM
This revision now requires changes to proceed.May 11 2017, 4:55 PM
This revision is now accepted and ready to land.May 11 2017, 6:32 PM

rebase to master

jenkins requested changes to this revision.May 12 2017, 11:38 AM
This revision now requires changes to proceed.May 12 2017, 11:38 AM
This revision is now accepted and ready to land.May 12 2017, 2:51 PM
timcharper accepted this revision.May 15 2017, 6:02 AM
timcharper added inline comments.
src/main/scala/mesosphere/marathon/api/akkahttp/SystemController.scala
121

looks like all of these routes are authenticated; does it make sense to extract out the authenticated directive call to this outer route?

aquamatthias added inline comments.May 15 2017, 1:25 PM
src/main/scala/mesosphere/marathon/api/akkahttp/SystemController.scala
121

ping does not.
Patch D783 introduces a authenticatedAndAuthorized directive, which would make sense here.
doing authenticate in route would mean to declare an implicit identity on every sub-route.

Closed by commit rMARATHONc8e4d007c147: Add a system controller which implements the functionality of SystemResource. (authored by aquamatthias, committed by Mesosphere CI Robot <mesosphere-ci@users.noreply.github.com>). · Explain WhyMay 15 2017, 1:48 PM
This revision was automatically updated to reflect the committed changes.