aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sweeney" <kevi...@apache.org>
Subject Re: Review Request 29731: Service status endpoint.
Date Thu, 08 Jan 2015 23:47:55 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29731/
-----------------------------------------------------------

(Updated Jan. 8, 2015, 3:47 p.m.)


Review request for Aurora, Joshua Cohen and Bill Farner.


Repository: aurora


Description
-------

Service status endpoint for debugging.


Diffs
-----

  src/main/java/org/apache/aurora/GuavaUtils.java f3fa8cd9f9200e32ab5a81d2a174184faa49d0a3

  src/main/java/org/apache/aurora/scheduler/SchedulerLifecycle.java e741913c5c91bc3aba0a790759420f13a9ce00bd

  src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java 8a7926b8c82b318e2eef3d6493b0e817d67c2a6f

  src/main/java/org/apache/aurora/scheduler/http/Services.java PRE-CREATION 
  src/main/resources/scheduler/assets/index.html 442f10b359b121660cbc0c74205441e1d738645f

  src/test/java/org/apache/aurora/scheduler/http/ServicesTest.java PRE-CREATION 

Diff: https://reviews.apache.org/r/29731/diff/


Testing (updated)
-------

./gradlew -Pq build

Inspected output with ./gradlew run

```
% curl http://localhost:8081/services | python -m json.tool
[
    {
        "name": "TaskTimeout",
        "state": "RUNNING"
    },
    {
        "name": "JobUpdateHistoryPruner",
        "state": "RUNNING"
    },
    {
        "name": "TaskStatUpdaterService",
        "state": "RUNNING"
    },
    {
        "name": "SlotSizeCounterService",
        "state": "RUNNING"
    },
    {
        "name": "SlaUpdater",
        "state": "RUNNING"
    },
    {
        "name": "CronLifecycle",
        "state": "RUNNING"
    },
    {
        "name": "TaskVars",
        "state": "RUNNING"
    },
    {
        "name": "RegisterGauges",
        "state": "RUNNING"
    },
    {
        "name": "RegisterSubscribers",
        "state": "RUNNING"
    },
    {
        "name": "RedirectMonitor",
        "state": "RUNNING"
    }
]
```


Thanks,

Kevin Sweeney


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message