You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by rs...@apache.org on 2023/06/14 02:30:36 UTC

[trafficcontrol] branch master updated: Fixes Delivery Service Requests V5 apis docs with RFC3339 date/time Format (#7572)

This is an automated email from the ASF dual-hosted git repository.

rshah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new b57032abea Fixes Delivery Service Requests V5 apis docs with RFC3339 date/time Format (#7572)
b57032abea is described below

commit b57032abea5eaa57db35a4023ce45cbe96a42d69
Author: Jagan Parthiban <33...@users.noreply.github.com>
AuthorDate: Wed Jun 14 08:00:30 2023 +0530

    Fixes Delivery Service Requests V5 apis docs with RFC3339 date/time Format (#7572)
    
    * Fixed documentation for https://github.com/apache/trafficcontrol/issues/7571
    
    * Updated CHANGELOG.md for https://github.com/apache/trafficcontrol/issues/7571
    
    * Fixed PR Review comments
---
 CHANGELOG.md                                       |  1 +
 docs/source/api/v5/deliveryservice_requests.rst    | 46 +++++++++++-----------
 .../api/v5/deliveryservice_requests_id_assign.rst  |  8 ++--
 .../api/v5/deliveryservice_requests_id_status.rst  |  8 ++--
 4 files changed, 32 insertions(+), 31 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 11abdb17a7..2e578712b8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -58,6 +58,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
 
 ### Fixed
 - [#7312](https://github.com/apache/trafficcontrol/issues/7312) *Docs* Changing docs for CDN locks for DELETE response structure v4 and v5. 
+- [#7572](https://github.com/apache/trafficcontrol/pull/7572) *Traffic Ops* Fixes Delivery Service Requests V5 apis docs with RFC3339 date/time Format
 - [#7539](https://github.com/apache/trafficcontrol/pull/7539) *Traffic Monitor* Use stats_over_http timestamp to calculate bandwidth for TM's health. 
 - [#7542](https://github.com/apache/trafficcontrol/pull/7542) *Traffic Ops* Fixed `CDN Locks` documentation to reflect the correct RFC3339 timestamps.
 - [#6340](https://github.com/apache/trafficcontrol/issues/6340) *Traffic Ops* Fixed alert messages for POST and PUT invalidation job APIs.
diff --git a/docs/source/api/v5/deliveryservice_requests.rst b/docs/source/api/v5/deliveryservice_requests.rst
index b95920c902..1bea50fa4f 100644
--- a/docs/source/api/v5/deliveryservice_requests.rst
+++ b/docs/source/api/v5/deliveryservice_requests.rst
@@ -94,20 +94,20 @@ 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: Tue, 13 Jun 2023 17:01:41 GMT
 	Content-Length: 988
 
 	{ "response": [{
 		"assignee": null,
 		"author": "admin",
 		"changeType": "update",
-		"createdAt": "2022-09-29T22:07:15.008503Z",
+		"createdAt": "2023-06-09T10:55:00.918782+05:30",
 		"id": 1,
 		"lastEditedBy": "admin",
-		"lastUpdated": "2022-09-29T22:07:15.008503Z",
+		"lastUpdated": "2023-06-13T22:31:30.122247+05:30",
 		"original": {
 			"active": "ACTIVE",
 			"anonymousBlockingEnabled": false,
@@ -150,7 +150,7 @@ The response is an array of representations of :term:`Delivery Service Requests`
 			"innerHeaderRewrite": null,
 			"ipv6RoutingEnabled": true,
 			"lastHeaderRewrite": null,
-			"lastUpdated": "2022-09-29T20:58:53.07251Z",
+			"lastUpdated": "2023-05-19T09:52:13.3131+05:30",
 			"logsEnabled": true,
 			"longDesc": "Apachecon North America 2018",
 			"matchList": [
@@ -237,7 +237,7 @@ The response is an array of representations of :term:`Delivery Service Requests`
 			"innerHeaderRewrite": null,
 			"ipv6RoutingEnabled": true,
 			"lastHeaderRewrite": null,
-			"lastUpdated": "2020-02-13T16:43:54Z",
+			"lastUpdated": "2023-05-19T08:40:13Z",
 			"logsEnabled": true,
 			"longDesc": "Apachecon North America 2018",
 			"matchList": [
@@ -344,7 +344,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",
 			"logsEnabled": true,
 			"longDesc": "Apachecon North America 2018",
 			"matchList": [
@@ -420,10 +420,10 @@ The response will be a representation of the created :term:`Delivery Service Req
 	Content-Type: application/json
 	Location: /api/5.0/deliveryservice_requests/1
 	Permissions-Policy: interest-cohort=()
-	Set-Cookie: mojolicious=...; Path=/; Expires=Thu, 29 Sep 2022 23:07:15 GMT; Max-Age=3600; HttpOnly, access_token=...; Path=/; Expires=Thu, 29 Sep 2022 23:07:15 GMT; Max-Age=3600; HttpOnly
+	Set-Cookie: mojolicious=...; Path=/; Expires=Fri, 09 Jun 2023 06:25:00 GMT; Max-Age=3600; HttpOnly
 	Vary: Accept-Encoding
 	X-Server-Name: traffic_ops_golang/
-	Date: Thu, 29 Sep 2022 22:07:15 GMT
+	Date: Fri, 09 Jun 2023 05:25:00 GMT
 	Content-Length: 1027
 
 	{ "alerts": [{
@@ -434,10 +434,10 @@ The response will be a representation of the created :term:`Delivery Service Req
 		"assignee": null,
 		"author": "admin",
 		"changeType": "update",
-		"createdAt": "2022-09-29T22:07:15.008503Z",
+		"createdAt": "2023-06-09T10:55:00.918782+05:30",
 		"id": 1,
 		"lastEditedBy": "admin",
-		"lastUpdated": "2022-09-29T22:07:15.008503Z",
+		"lastUpdated": "2023-06-09T10:55:00.918782+05:30",
 		"original": {
 			"active": "ACTIVE",
 			"anonymousBlockingEnabled": false,
@@ -480,7 +480,7 @@ The response will be a representation of the created :term:`Delivery Service Req
 			"innerHeaderRewrite": null,
 			"ipv6RoutingEnabled": true,
 			"lastHeaderRewrite": null,
-			"lastUpdated": "2022-09-29T20:58:53.07251Z",
+			"lastUpdated": "2023-05-19T09:52:13.3131+05:30",
 			"logsEnabled": true,
 			"longDesc": "Apachecon North America 2018",
 			"matchList": [
@@ -567,7 +567,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",
 			"logsEnabled": true,
 			"longDesc": "Apachecon North America 2018",
 			"matchList": [
@@ -688,10 +688,10 @@ The response is a full representation of the edited :term:`Delivery Service Requ
 	Content-Encoding: gzip
 	Content-Type: application/json
 	Permissions-Policy: interest-cohort=()
-	Set-Cookie: mojolicious=...; Path=/; Expires=Thu, 29 Sep 2022 23:16:06 GMT; Max-Age=3600; HttpOnly, access_token=...; Path=/; Expires=Thu, 29 Sep 2022 23:16:06 GMT; Max-Age=3600; HttpOnly
+	Set-Cookie: mojolicious=...; Path=/; Expires=Fri, 09 Jun 2023 06:24:20 GMT; Max-Age=3600; HttpOnly
 	Vary: Accept-Encoding
 	X-Server-Name: traffic_ops_golang/
-	Date: Thu, 29 Sep 2022 22:16:06 GMT
+	Date: Fri, 09 Jun 2023 05:24:20 GMT
 	Content-Length: 1142
 
 	{ "alerts": [{
@@ -702,10 +702,10 @@ The response is a full representation of the edited :term:`Delivery Service Requ
 		"assignee": null,
 		"author": "",
 		"changeType": "update",
-		"createdAt": "2022-09-29T22:16:06.971122Z",
+		"createdAt": "2023-06-09T10:54:20.435475+05:30",
 		"id": null,
 		"lastEditedBy": "admin",
-		"lastUpdated": "2022-09-29T22:07:15.008503Z",
+		"lastUpdated": "2023-06-09T10:51:39.552061+05:30",
 		"original": {
 			"active": "ACTIVE",
 			"anonymousBlockingEnabled": false,
@@ -748,7 +748,7 @@ The response is a full representation of the edited :term:`Delivery Service Requ
 			"innerHeaderRewrite": null,
 			"ipv6RoutingEnabled": true,
 			"lastHeaderRewrite": null,
-			"lastUpdated": "2022-09-29T20:58:53.07251Z",
+			"lastUpdated": "2023-05-19T09:52:13.3131+05:30",
 			"logsEnabled": true,
 			"longDesc": "Apachecon North America 2018",
 			"matchList": [
@@ -915,10 +915,10 @@ The response is a full representation of the deleted :term:`Delivery Service Req
 	Content-Encoding: gzip
 	Content-Type: application/json
 	Permissions-Policy: interest-cohort=()
-	Set-Cookie: mojolicious=...; Path=/; Expires=Thu, 29 Sep 2022 23:26:31 GMT; Max-Age=3600; HttpOnly, access_token=...; Path=/; Expires=Thu, 29 Sep 2022 23:26:31 GMT; Max-Age=3600; HttpOnly
+	Set-Cookie: mojolicious=...; Path=/; Expires=Fri, 09 Jun 2023 06:24:53 GMT; Max-Age=3600; HttpOnly
 	Vary: Accept-Encoding
 	X-Server-Name: traffic_ops_golang/
-	Date: Thu, 29 Sep 2022 22:26:31 GMT
+	Date: Fri, 09 Jun 2023 05:24:53 GMT
 	Content-Length: 1147
 
 	{ "alerts": [{
@@ -929,10 +929,10 @@ The response is a full representation of the deleted :term:`Delivery Service Req
 		"assignee": "admin",
 		"author": "admin",
 		"changeType": "update",
-		"createdAt": "2022-09-29T22:07:15.008503Z",
+		"createdAt": "2023-06-09T10:51:39.552061+05:3",
 		"id": 1,
 		"lastEditedBy": "admin",
-		"lastUpdated": "2022-09-29T22:23:28.034845Z",
+		"lastUpdated": "2023-06-09T10:54:20.435475+05:30",
 		"original": {
 			"active": "ACTIVE",
 			"anonymousBlockingEnabled": false,
@@ -975,7 +975,7 @@ The response is a full representation of the deleted :term:`Delivery Service Req
 			"innerHeaderRewrite": null,
 			"ipv6RoutingEnabled": true,
 			"lastHeaderRewrite": null,
-			"lastUpdated": "2022-09-29T20:58:53.07251Z",
+			"lastUpdated": "2023-05-19T09:52:13.3131+05:30",
 			"logsEnabled": true,
 			"longDesc": "Apachecon North America 2018",
 			"matchList": [
diff --git a/docs/source/api/v5/deliveryservice_requests_id_assign.rst b/docs/source/api/v5/deliveryservice_requests_id_assign.rst
index cf3637959a..c71c64caa6 100644
--- a/docs/source/api/v5/deliveryservice_requests_id_assign.rst
+++ b/docs/source/api/v5/deliveryservice_requests_id_assign.rst
@@ -135,10 +135,10 @@ The response contains a full representation of the newly assigned :term:`Deliver
 		"assignee": "admin",
 		"author": "admin",
 		"changeType": "update",
-		"createdAt": "2022-09-29T22:07:15.008503Z",
+		"createdAt": "2022-09-29T22:07:15.008503-6:00",
 		"id": 1,
 		"lastEditedBy": "admin",
-		"lastUpdated": "2022-09-29T22:23:28.034845Z",
+		"lastUpdated": "2022-09-29T22:23:28.034845-6:00",
 		"original": {
 			"active": "ACTIVE",
 			"anonymousBlockingEnabled": false,
@@ -181,7 +181,7 @@ The response contains a full representation of the newly assigned :term:`Deliver
 			"innerHeaderRewrite": null,
 			"ipv6RoutingEnabled": true,
 			"lastHeaderRewrite": null,
-			"lastUpdated": "2022-09-29T20:58:53.07251Z",
+			"lastUpdated": "2022-09-29T20:58:53.07251-6:00",
 			"logsEnabled": true,
 			"longDesc": "Apachecon North America 2018",
 			"matchList": [
@@ -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",
 			"logsEnabled": false,
 			"longDesc": "long desc",
 			"matchList": null,
diff --git a/docs/source/api/v5/deliveryservice_requests_id_status.rst b/docs/source/api/v5/deliveryservice_requests_id_status.rst
index c09fe3bb94..f9db3fce59 100644
--- a/docs/source/api/v5/deliveryservice_requests_id_status.rst
+++ b/docs/source/api/v5/deliveryservice_requests_id_status.rst
@@ -136,10 +136,10 @@ The response is a full representation of the modified :term:`DSR`.
 		"assignee": null,
 		"author": "admin",
 		"changeType": "update",
-		"createdAt": "2022-09-29T22:07:15.008503Z",
+		"createdAt": "2022-09-29T22:07:15.008503-6:00",
 		"id": 1,
 		"lastEditedBy": "admin",
-		"lastUpdated": "2022-09-29T22:21:02.144598Z",
+		"lastUpdated": "2022-09-29T22:21:02.144598-6:00",
 		"original": {
 			"active": "ACTIVE",
 			"anonymousBlockingEnabled": false,
@@ -182,7 +182,7 @@ The response is a full representation of the modified :term:`DSR`.
 			"innerHeaderRewrite": null,
 			"ipv6RoutingEnabled": true,
 			"lastHeaderRewrite": null,
-			"lastUpdated": "2022-09-29T20:58:53.07251Z",
+			"lastUpdated": "2022-09-29T20:58:53.07251-6:00",
 			"logsEnabled": true,
 			"longDesc": "Apachecon North America 2018",
 			"matchList": [
@@ -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",
 			"logsEnabled": false,
 			"longDesc": "long desc",
 			"matchList": null,