gbkannan89 opened a new pull request, #7660:
URL: https://github.com/apache/trafficcontrol/pull/7660

   
   Related:[#5911 ]( https://github.com/apache/trafficcontrol/issues/5911)
   
   <hr/>
   
   ## Which Traffic Control components are affected by this PR?
   - Documentation
   - Traffic Ops
   
   ## What is the best way to verify this PR?
   Response object with date must be in RFC3339-format date strings.
   
   In deliveryservices/{{ID}}/servers - expected lastUpdated response in 
RFC3339-format date strings.
   
   ```
   curl --request GET \
     --url https://localhost:8443/api/5.0/deliveryservices/{{ID}}/servers
   
   {
        "response": [{
                "cachegroup": "CDN_in_a_Box_Edge",
                "cachegroupId": 7,
                "cdnId": 2,
                "cdnName": "CDN-in-a-Box",
                "domainName": "infra.ciab.test",
                "guid": null,
                "hostName": "edge",
                "httpsPort": 443,
                "id": 10,
                "iloIpAddress": "",
                "iloIpGateway": "",
                "iloIpNetmask": "",
                "iloPassword": "",
                "iloUsername": "",
                "lastUpdated": "2018-11-14T21:50:03.009954Z",
                "mgmtIpAddress": "",
                "mgmtIpGateway": "",
                "mgmtIpNetmask": "",
                "offlineReason": "",
                "physLocation": "Apachecon North America 2018",
                "physLocationId": 1,
                "profileNames": ["ATS_EDGE_TIER_CACHE"],
                "rack": "",
                "routerHostName": "",
                "routerPortName": "",
                "status": "REPORTED",
                "statusId": 3,
                "tcpPort": 80,
                "type": "EDGE",
                "typeId": 11,
                "updPending": false,
                "interfaces": [{
                        "ipAddresses": [{
                                        "address": "172.16.239.100",
                                        "gateway": "172.16.239.1",
                                        "service_address": true
                                },
                                {
                                        "address": "fc01:9400:1000:8::100",
                                        "gateway": "fc01:9400:1000:8::1",
                                        "service_address": true
                                }
                        ],
                        "max_bandwidth": 0,
                        "monitor": true,
                        "mtu": 1500,
                        "name": "eth0"
                }]
        }]
   }
   
   ```
   
   In deliveryservices/{{ID}}/servers/eligible - expected lastUpdated in 
response RFC3339-format date strings.
   
   ```
   curl --request GET \
     --url 
https://localhost:8443/api/5.0/deliveryservices/{{ID}}/servers/eligible
   
   { "response": [
       {
           "cachegroup": "CDN_in_a_Box_Edge",
           "cachegroupId": 7,
           "cdnId": 2,
           "cdnName": "CDN-in-a-Box",
           "domainName": "infra.ciab.test",
           "guid": null,
           "hostName": "edge",
           "httpsPort": 443,
           "id": 10,
           "iloIpAddress": "",
           "iloIpGateway": "",
           "iloIpNetmask": "",
           "iloPassword": "",
           "iloUsername": "",
           "lastUpdated": "2018-10-30T21:50:03.009954Z",
           "mgmtIpAddress": "",
           "mgmtIpGateway": "",
           "mgmtIpNetmask": "",
           "offlineReason": "",
           "physLocation": "Apachecon North America 2018",
           "physLocationId": 1,
           "profile": "ATS_EDGE_TIER_CACHE",
           "profileDesc": "Edge Cache - Apache Traffic Server",
           "profileId": 9,
           "rack": "",
           "routerHostName": "",
           "routerPortName": "",
           "status": "REPORTED",
           "statusId": 3,
           "tcpPort": 80,
           "type": "EDGE",
           "typeId": 11,
           "updPending": false,
           "interfaces": [{
               "ipAddresses": [
                   {
                       "address": "172.16.239.100",
                       "gateway": "172.16.239.1",
                       "service_address": true
                   },
                   {
                       "address": "fc01:9400:1000:8::100",
                       "gateway": "fc01:9400:1000:8::1",
                       "service_address": true
                   }
               ],
               "max_bandwidth": 0,
               "monitor": true,
               "mtu": 1500,
               "name": "eth0"
           }]
       }
   ]}
   ```
   
   
   
   ## If this is a bugfix, which Traffic Control versions contained the bug?
   - 7.0.x
   
   ## PR submission checklist
   - [x] This PR has tests <!-- If not, please delete this text and explain why 
this PR does not need tests. -->
   - [x] This PR has documentation <!-- If not, please delete this text and 
explain why this PR does not need documentation. -->
   - [x] This PR has a CHANGELOG.md entry <!-- A fix for a bug from an ATC 
release, an improvement, or a new feature should have a changelog entry. -->
   - [x] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY** (see [the 
Apache Software Foundation's security guidelines](https://apache.org/security) 
for details)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to