You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Jeremy Mitchell (JIRA)" <ji...@apache.org> on 2017/01/18 18:24:26 UTC

[jira] [Assigned] (TC-103) GET /update/:host_name should return boolean values

     [ https://issues.apache.org/jira/browse/TC-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Mitchell reassigned TC-103:
----------------------------------

    Assignee: Jeremy Mitchell

> GET /update/:host_name should return boolean values
> ---------------------------------------------------
>
>                 Key: TC-103
>                 URL: https://issues.apache.org/jira/browse/TC-103
>             Project: Traffic Control
>          Issue Type: Improvement
>          Components: Traffic Ops, Traffic Ops API, Traffic Ops ORT
>    Affects Versions: 2.0.0
>            Reporter: Jeremy Mitchell
>            Assignee: Jeremy Mitchell
>            Priority: Minor
>              Labels: postgres
>             Fix For: 2.0.0
>
>
> GET /update/:host_name returns
> `[
>     {
>         "upd_pending": 0,
>         "parent_pending": "0",
>         "status": "REPORTED",
>         "host_id": 22,
>         "host_name": "foo-bar"
>     }
> ]`
> it should return
> `[
>     {
>         "upd_pending": true|false,
>         "parent_pending": true|false,
>         "status": "REPORTED",
>         "host_id": 22,
>         "host_name": "foo-bar"
>     }
> ]`
> since TO ORT relies heavily on this endpoint, ensure that ORT can handle booleans as opposed to int/string 0|1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)