ocket8888 commented on pull request #4644:
URL: https://github.com/apache/trafficcontrol/pull/4644#issuecomment-648329052


   So like I was saying before, this removes _support_ for `cacheurl`, but does 
not actually remove it from the API? I can still see it in v3:
   ```http
   GET /api/3.0/deliveryservices?limit=1 HTTP/1.1
   User-Agent: python-requests/2.22.0
   Accept-Encoding: gzip, deflate
   Accept: */*
   Connection: keep-alive
   Cookie: 
mojolicious=eyJhdXRoX2RhdGEiOiJhZG1pbiIsImV4cGlyZXMiOjE1OTI5NTcyNjgsImJ5IjoidHJhZmZpY2NvbnRyb2wtZ28tdG9jb29raWUifQ--625c11141971227d3862de47c92810086ebd7389
   
   HTTP/1.1 200 OK
   Access-Control-Allow-Credentials: true
   Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, 
Accept, Set-Cookie, Cookie
   Access-Control-Allow-Methods: POST,GET,OPTIONS,PUT,DELETE
   Access-Control-Allow-Origin: *
   Content-Encoding: gzip
   Content-Type: application/json
   Set-Cookie: 
mojolicious=eyJhdXRoX2RhdGEiOiJhZG1pbiIsImV4cGlyZXMiOjE1OTI5MzkyNjgsImJ5IjoidHJhZmZpY2NvbnRyb2wtZ28tdG9jb29raWUifQ--784bea340410815bda72048f7fa1c6cc6520e590;
 Path=/; Expires=Tue, 23 Jun 2020 19:07:48 GMT; Max-Age=3600; HttpOnly
   Vary: Accept-Encoding
   Whole-Content-Sha512: 
94qFFF5yps/vfOFe/E3M285fBWJzgmpylXwwdGf4xa8w/J32nPboY2jgd2Ehi52jt1pK0zYtOc+Vtud3f/rVSA==
   X-Server-Name: traffic_ops_golang/
   Date: Tue, 23 Jun 2020 18:07:48 GMT
   Content-Length: 806
   
   {
        "response": [
                {
                        "active": true,
                        "anonymousBlockingEnabled": false,
                        "cacheurl": null,
                        "ccrDnsTtl": null,
                        "cdnId": 2,
                        "cdnName": "CDN-in-a-Box",
                        "checkPath": null,
                        "displayName": "Demo 1",
                        "dnsBypassCname": null,
                        "dnsBypassIp": null,
                        "dnsBypassIp6": null,
                        "dnsBypassTtl": null,
                        "dscp": 0,
                        "edgeHeaderRewrite": null,
                        "geoLimit": 0,
                        "geoLimitCountries": null,
                        "geoLimitRedirectURL": null,
                        "geoProvider": 0,
                        "globalMaxMbps": null,
                        "globalMaxTps": null,
                        "httpBypassFqdn": null,
                        "id": 1,
                        "infoUrl": null,
                        "initialDispersion": 1,
                        "ipv6RoutingEnabled": true,
                        "lastUpdated": "2020-06-23 18:04:18+00",
                        "logsEnabled": true,
                        "longDesc": "Apachecon North America 2018",
                        "longDesc1": null,
                        "longDesc2": null,
                        "matchList": [
                                {
                                        "type": "HOST_REGEXP",
                                        "setNumber": 0,
                                        "pattern": ".*\\.demo1\\..*"
                                }
                        ],
                        "maxDnsAnswers": null,
                        "midHeaderRewrite": null,
                        "missLat": 42,
                        "missLong": -88,
                        "multiSiteOrigin": false,
                        "originShield": null,
                        "orgServerFqdn": "http://origin.infra.ciab.test";,
                        "profileDescription": null,
                        "profileId": null,
                        "profileName": null,
                        "protocol": 2,
                        "qstringIgnore": 0,
                        "rangeRequestHandling": 0,
                        "regexRemap": null,
                        "regionalGeoBlocking": false,
                        "remapText": null,
                        "routingName": "video",
                        "signed": false,
                        "sslKeyVersion": null,
                        "tenantId": 1,
                        "type": "HTTP",
                        "typeId": 1,
                        "xmlId": "demo1",
                        "exampleURLs": [
                                "http://video.demo1.mycdn.ciab.test";,
                                "https://video.demo1.mycdn.ciab.test";
                        ],
                        "deepCachingType": "NEVER",
                        "fqPacingRate": null,
                        "signingAlgorithm": null,
                        "tenant": "root",
                        "trResponseHeaders": null,
                        "trRequestHeaders": null,
                        "consistentHashRegex": null,
                        "consistentHashQueryParams": [
                                "abc",
                                "pdq",
                                "xxx",
                                "zyx"
                        ],
                        "maxOriginConnections": 0,
                        "ecsEnabled": false,
                        "rangeSliceBlockSize": null,
                        "topology": null
                }
        ]
   }
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to