You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "jagan-parthiban (via GitHub)" <gi...@apache.org> on 2023/06/09 09:37:50 UTC
[GitHub] [trafficcontrol] jagan-parthiban opened a new pull request, #7572: Fixes Delivery Service Requests V5 apis to respond with RFC3339 date/time Forma
jagan-parthiban opened a new pull request, #7572:
URL: https://github.com/apache/trafficcontrol/pull/7572
Closes: #7544
Related: #5911
<!-- **^ Add meaningful description above** --><hr/>
- Documentation
## What is the best way to verify this PR?
Documentation Changes only.
## If this is a bugfix, which Traffic Control versions contained the bug?
- 7.0.1
## 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)
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
--
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-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] rimashah25 commented on pull request #7572: Fixes Delivery Service Requests V5 apis docs with RFC3339 date/time Format
Posted by "rimashah25 (via GitHub)" <gi...@apache.org>.
rimashah25 commented on PR #7572:
URL: https://github.com/apache/trafficcontrol/pull/7572#issuecomment-1589822198
I can merge once conflicts are resolved.
--
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-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] jagan-parthiban commented on a diff in pull request #7572: Fixes Delivery Service Requests V5 apis docs with RFC3339 date/time Format
Posted by "jagan-parthiban (via GitHub)" <gi...@apache.org>.
jagan-parthiban commented on code in PR #7572:
URL: https://github.com/apache/trafficcontrol/pull/7572#discussion_r1227848175
##########
docs/source/api/v5/deliveryservice_requests.rst:
##########
@@ -344,7 +262,7 @@ The request must be a well-formed representation of a :term:`Delivery Service Re
"innerHeaderRewrite": null,
"ipv6RoutingEnabled": true,
"lastHeaderRewrite": null,
- "lastUpdated": "2020-02-13T16:43:54Z",
+ "lastUpdated": "2023-06-09T10:51:00+05:30",
Review Comment:
This is the Http Post Body Data. Milliseconds doesn't apply in this case.
--
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-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] jagan-parthiban commented on a diff in pull request #7572: Fixes Delivery Service Requests V5 apis docs with RFC3339 date/time Format
Posted by "jagan-parthiban (via GitHub)" <gi...@apache.org>.
jagan-parthiban commented on code in PR #7572:
URL: https://github.com/apache/trafficcontrol/pull/7572#discussion_r1227850882
##########
docs/source/api/v5/deliveryservice_requests_id_assign.rst:
##########
@@ -260,7 +260,7 @@ The response contains a full representation of the newly assigned :term:`Deliver
"innerHeaderRewrite": null,
"ipv6RoutingEnabled": null,
"lastHeaderRewrite": null,
- "lastUpdated": "0001-01-01T00:00:00Z",
+ "lastUpdated": "2022-09-29T22:23:28-6:00",
Review Comment:
This is the Http Post Body Data. We cannot add milliseconds in this case. This data is part of requested {} data that is returned to http operations.
##########
docs/source/api/v5/deliveryservice_requests_id_status.rst:
##########
@@ -261,7 +261,7 @@ The response is a full representation of the modified :term:`DSR`.
"innerHeaderRewrite": null,
"ipv6RoutingEnabled": null,
"lastHeaderRewrite": null,
- "lastUpdated": "0001-01-01T00:00:00Z",
+ "lastUpdated": "2022-09-29T20:58:53-6:00",
Review Comment:
This is the Http Post Body Data. We cannot add milliseconds in this case. This data is part of requested {} data that is returned to http operations.
--
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-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] rimashah25 merged pull request #7572: Fixes Delivery Service Requests V5 apis docs with RFC3339 date/time Format
Posted by "rimashah25 (via GitHub)" <gi...@apache.org>.
rimashah25 merged PR #7572:
URL: https://github.com/apache/trafficcontrol/pull/7572
--
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-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] rimashah25 commented on a diff in pull request #7572: Fixes Delivery Service Requests V5 apis docs with RFC3339 date/time Format
Posted by "rimashah25 (via GitHub)" <gi...@apache.org>.
rimashah25 commented on code in PR #7572:
URL: https://github.com/apache/trafficcontrol/pull/7572#discussion_r1227501188
##########
docs/source/api/v5/deliveryservice_requests.rst:
##########
@@ -344,7 +262,7 @@ The request must be a well-formed representation of a :term:`Delivery Service Re
"innerHeaderRewrite": null,
"ipv6RoutingEnabled": true,
"lastHeaderRewrite": null,
- "lastUpdated": "2020-02-13T16:43:54Z",
+ "lastUpdated": "2023-06-09T10:51:00+05:30",
Review Comment:
Do we not need milliseconds?
##########
docs/source/api/v5/deliveryservice_requests_id_assign.rst:
##########
@@ -260,7 +260,7 @@ The response contains a full representation of the newly assigned :term:`Deliver
"innerHeaderRewrite": null,
"ipv6RoutingEnabled": null,
"lastHeaderRewrite": null,
- "lastUpdated": "0001-01-01T00:00:00Z",
+ "lastUpdated": "2022-09-29T22:23:28-6:00",
Review Comment:
Do we not need milliseconds?
##########
docs/source/api/v5/deliveryservice_requests.rst:
##########
@@ -567,7 +485,7 @@ The response will be a representation of the created :term:`Delivery Service Req
"innerHeaderRewrite": null,
"ipv6RoutingEnabled": true,
"lastHeaderRewrite": null,
- "lastUpdated": "2020-02-13T16:43:54Z",
+ "lastUpdated": "2023-06-09T10:51:00+05:30",
Review Comment:
Do we not need milliseconds?
##########
docs/source/api/v5/deliveryservice_requests_id_status.rst:
##########
@@ -261,7 +261,7 @@ The response is a full representation of the modified :term:`DSR`.
"innerHeaderRewrite": null,
"ipv6RoutingEnabled": null,
"lastHeaderRewrite": null,
- "lastUpdated": "0001-01-01T00:00:00Z",
+ "lastUpdated": "2022-09-29T20:58:53-6:00",
Review Comment:
Do we not need milliseconds?
--
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-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] jagan-parthiban commented on a diff in pull request #7572: Fixes Delivery Service Requests V5 apis docs with RFC3339 date/time Format
Posted by "jagan-parthiban (via GitHub)" <gi...@apache.org>.
jagan-parthiban commented on code in PR #7572:
URL: https://github.com/apache/trafficcontrol/pull/7572#discussion_r1227850368
##########
docs/source/api/v5/deliveryservice_requests.rst:
##########
@@ -567,7 +485,7 @@ The response will be a representation of the created :term:`Delivery Service Req
"innerHeaderRewrite": null,
"ipv6RoutingEnabled": true,
"lastHeaderRewrite": null,
- "lastUpdated": "2020-02-13T16:43:54Z",
+ "lastUpdated": "2023-06-09T10:51:00+05:30",
Review Comment:
Again This is the Http Post Body Data. We cannot add milliseconds in this case. This data is part of requested {} data that is returned to http operations.
--
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-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] rimashah25 commented on a diff in pull request #7572: Fixes Delivery Service Requests V5 apis docs with RFC3339 date/time Format
Posted by "rimashah25 (via GitHub)" <gi...@apache.org>.
rimashah25 commented on code in PR #7572:
URL: https://github.com/apache/trafficcontrol/pull/7572#discussion_r1228431245
##########
docs/source/api/v5/deliveryservice_requests.rst:
##########
@@ -94,196 +94,114 @@ The response is an array of representations of :term:`Delivery Service Requests`
Content-Encoding: gzip
Content-Type: application/json
Permissions-Policy: interest-cohort=()
- Set-Cookie: mojolicious=...; Path=/; Expires=Thu, 29 Sep 2022 23:10:56 GMT; Max-Age=3600; HttpOnly, access_token=...; Path=/; Expires=Thu, 29 Sep 2022 23:10:56 GMT; Max-Age=3600; HttpOnly
+ Set-Cookie: mojolicious=...; Path=/; Expires=Fri, 09 Jun 2023 06:32:57 GMT; Max-Age=3600; HttpOnly
Vary: Accept-Encoding
X-Server-Name: traffic_ops_golang/
- Date: Thu, 29 Sep 2022 22:10:56 GMT
+ Date: Fri, 09 Jun 2023 05:32:57 GMT
Content-Length: 988
- { "response": [{
- "assignee": null,
- "author": "admin",
- "changeType": "update",
- "createdAt": "2022-09-29T22:07:15.008503Z",
- "id": 1,
- "lastEditedBy": "admin",
- "lastUpdated": "2022-09-29T22:07:15.008503Z",
- "original": {
- "active": "ACTIVE",
- "anonymousBlockingEnabled": false,
- "ccrDnsTtl": null,
- "cdnId": 2,
- "cdnName": "CDN-in-a-Box",
- "checkPath": null,
- "consistentHashQueryParams": [
- "abc",
- "pdq",
- "xxx",
- "zyx"
- ],
- "consistentHashRegex": null,
- "deepCachingType": "NEVER",
- "displayName": "Demo 1",
- "dnsBypassCname": null,
- "dnsBypassIp": null,
- "dnsBypassIp6": null,
- "dnsBypassTtl": null,
- "dscp": 0,
- "ecsEnabled": false,
- "edgeHeaderRewrite": null,
- "exampleURLs": [
- "http://video.demo1.mycdn.ciab.test",
- "https://video.demo1.mycdn.ciab.test"
- ],
- "firstHeaderRewrite": null,
- "fqPacingRate": null,
- "geoLimit": 0,
- "geoLimitCountries": null,
- "geoLimitRedirectURL": null,
- "geoProvider": 0,
- "globalMaxMbps": null,
- "globalMaxTps": null,
- "httpBypassFqdn": null,
- "id": 1,
- "infoUrl": null,
- "initialDispersion": 1,
- "innerHeaderRewrite": null,
- "ipv6RoutingEnabled": true,
- "lastHeaderRewrite": null,
- "lastUpdated": "2022-09-29T20:58:53.07251Z",
- "logsEnabled": true,
- "longDesc": "Apachecon North America 2018",
- "matchList": [
- {
- "type": "HOST_REGEXP",
- "setNumber": 0,
- "pattern": ".*\\.demo1\\..*"
- }
- ],
- "maxDnsAnswers": null,
- "maxOriginConnections": 0,
- "maxRequestHeaderBytes": 0,
- "midHeaderRewrite": null,
- "missLat": 42,
- "missLong": -88,
- "multiSiteOrigin": true,
- "originShield": null,
- "orgServerFqdn": "http://origin.infra.ciab.test",
- "profileDescription": null,
- "profileId": null,
- "profileName": null,
- "protocol": 2,
- "qstringIgnore": 0,
- "rangeRequestHandling": 0,
- "rangeSliceBlockSize": null,
- "regexRemap": null,
- "regional": false,
- "regionalGeoBlocking": false,
- "remapText": null,
- "routingName": "video",
- "serviceCategory": null,
- "signed": false,
- "signingAlgorithm": null,
- "sslKeyVersion": 1,
- "tenant": "root",
- "tenantId": 1,
- "tlsVersions": null,
- "topology": "demo1-top",
- "trResponseHeaders": null,
- "trRequestHeaders": null,
- "type": "HTTP",
- "typeId": 1,
- "xmlId": "demo1"
- },
- "requested": {
Review Comment:
Why was this deleted? It is part of response.
--
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-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org