From 9e172114bd2320a461d3e21571b0528ec9ac7839 Mon Sep 17 00:00:00 2001 From: Jagan Parthiban Date: Fri, 9 Jun 2023 12:34:12 +0530 Subject: [PATCH 1/7] Fixed documentation for https://github.com/apache/trafficcontrol/issues/7571 --- .../api/v5/deliveryservice_requests.rst | 324 +++++++----------- 1 file changed, 121 insertions(+), 203 deletions(-) diff --git a/docs/source/api/v5/deliveryservice_requests.rst b/docs/source/api/v5/deliveryservice_requests.rst index b95920c902..ff6e034029 100644 --- a/docs/source/api/v5/deliveryservice_requests.rst +++ b/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": { - "active": "INACTIVE", - "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": "2020-02-13T16:43:54Z", - "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": false, - "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": null, - "trResponseHeaders": null, - "trRequestHeaders": null, - "type": "HTTP", - "typeId": 1, - "xmlId": "demo1" - }, - "status": "draft" - }]} + { + "response": [ + { + "assignee": null, + "author": "admin", + "changeType": "update", + "createdAt": "2023-06-09T10:55:00.918782+05:30", + "id": 5, + "lastEditedBy": "admin", + "lastUpdated": "2023-06-09T10:55:00.918782+05:30", + "requested": { + "active": "INACTIVE", + "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": "2023-06-09T10:51:00+05:30", + "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": false, + "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, + "requiredCapabilities": 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" + }, + "status": "draft" + } + ] + } .. _to-api-deliveryservice-requests-post: @@ -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", "logsEnabled": true, "longDesc": "Apachecon North America 2018", "matchList": [ @@ -420,10 +338,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 +352,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 +398,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 +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", "logsEnabled": true, "longDesc": "Apachecon North America 2018", "matchList": [ @@ -688,10 +606,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 +620,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 +666,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 +833,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 +847,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 +893,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": [ From a3f5dd18564809ae3abde91b58786a61f4eb3f45 Mon Sep 17 00:00:00 2001 From: Jagan Parthiban Date: Fri, 9 Jun 2023 15:03:21 +0530 Subject: [PATCH 2/7] Fixed documentation for https://github.com/apache/trafficcontrol/issues/7571 --- docs/source/api/v5/deliveryservice_requests_id_assign.rst | 8 ++++---- docs/source/api/v5/deliveryservice_requests_id_status.rst | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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, From 6778ee47b78b9fd644ae6681695d89b28e0fe408 Mon Sep 17 00:00:00 2001 From: Jagan Parthiban Date: Fri, 9 Jun 2023 15:25:00 +0530 Subject: [PATCH 3/7] Updated CHANGELOG.md for https://github.com/apache/trafficcontrol/issues/7571 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) 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. From 7096d6e7959945b74750e94cedad82b26141d408 Mon Sep 17 00:00:00 2001 From: Jagan Parthiban Date: Tue, 13 Jun 2023 22:47:20 +0530 Subject: [PATCH 4/7] Fixed PR Review comments --- .../api/v5/deliveryservice_requests.rst | 289 +++++++++++------- 1 file changed, 186 insertions(+), 103 deletions(-) diff --git a/docs/source/api/v5/deliveryservice_requests.rst b/docs/source/api/v5/deliveryservice_requests.rst index ff6e034029..e406c6c320 100644 --- a/docs/source/api/v5/deliveryservice_requests.rst +++ b/docs/source/api/v5/deliveryservice_requests.rst @@ -97,111 +97,194 @@ The response is an array of representations of :term:`Delivery Service Requests` 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: Fri, 09 Jun 2023 05:32:57 GMT + Date: Tue, 13 Jun 2023 17:01:41 GMT Content-Length: 988 - { - "response": [ - { - "assignee": null, - "author": "admin", - "changeType": "update", - "createdAt": "2023-06-09T10:55:00.918782+05:30", - "id": 5, - "lastEditedBy": "admin", - "lastUpdated": "2023-06-09T10:55:00.918782+05:30", - "requested": { - "active": "INACTIVE", - "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": "2023-06-09T10:51:00+05:30", - "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": false, - "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, - "requiredCapabilities": 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" - }, - "status": "draft" - } - ] - } + { "response": [{ + "assignee": null, + "author": "admin", + "changeType": "update", + "createdAt": "2023-06-09T10:55:00.918782+05:30", + "id": 1, + "lastEditedBy": "admin", + "lastUpdated": "2023-06-13T22:31:30.122247+05:30", + "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": "2023-05-19T09:52:13.3131+05:30", + "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": { + "active": "INACTIVE", + "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": "2023-05-19T08:40:13Z", + "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": false, + "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": null, + "trResponseHeaders": null, + "trRequestHeaders": null, + "type": "HTTP", + "typeId": 1, + "xmlId": "demo1" + }, + "status": "draft" + }]} + .. _to-api-deliveryservice-requests-post: From c25bd4819c57516d62795f4ad6c7260c176ca47f Mon Sep 17 00:00:00 2001 From: Jagan Parthiban Date: Tue, 13 Jun 2023 22:53:14 +0530 Subject: [PATCH 5/7] Fixed PR Review comments --- .../api/v5/deliveryservice_requests.rst | 366 +++++++++--------- 1 file changed, 183 insertions(+), 183 deletions(-) diff --git a/docs/source/api/v5/deliveryservice_requests.rst b/docs/source/api/v5/deliveryservice_requests.rst index e406c6c320..5ea3d1d926 100644 --- a/docs/source/api/v5/deliveryservice_requests.rst +++ b/docs/source/api/v5/deliveryservice_requests.rst @@ -100,190 +100,190 @@ The response is an array of representations of :term:`Delivery Service Requests` Date: Tue, 13 Jun 2023 17:01:41 GMT Content-Length: 988 - { "response": [{ - "assignee": null, - "author": "admin", - "changeType": "update", - "createdAt": "2023-06-09T10:55:00.918782+05:30", - "id": 1, - "lastEditedBy": "admin", - "lastUpdated": "2023-06-13T22:31:30.122247+05:30", - "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, + { "response": [{ + "assignee": null, + "author": "admin", + "changeType": "update", + "createdAt": "2023-06-09T10:55:00.918782+05:30", "id": 1, - "infoUrl": null, - "initialDispersion": 1, - "innerHeaderRewrite": null, - "ipv6RoutingEnabled": true, - "lastHeaderRewrite": null, - "lastUpdated": "2023-05-19T09:52:13.3131+05:30", - "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": { - "active": "INACTIVE", - "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": "2023-05-19T08:40:13Z", - "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": false, - "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": null, - "trResponseHeaders": null, - "trRequestHeaders": null, - "type": "HTTP", - "typeId": 1, - "xmlId": "demo1" - }, - "status": "draft" - }]} + "lastEditedBy": "admin", + "lastUpdated": "2023-06-13T22:31:30.122247+05:30", + "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": "2023-05-19T09:52:13.3131+05:30", + "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": { + "active": "INACTIVE", + "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": "2023-05-19T08:40:13Z", + "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": false, + "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": null, + "trResponseHeaders": null, + "trRequestHeaders": null, + "type": "HTTP", + "typeId": 1, + "xmlId": "demo1" + }, + "status": "draft" + }]} .. _to-api-deliveryservice-requests-post: From f0c2425beb2c6fd36c57af8d1b97c1c12b01efa5 Mon Sep 17 00:00:00 2001 From: Jagan Parthiban Date: Tue, 13 Jun 2023 22:56:14 +0530 Subject: [PATCH 6/7] Fixed PR Review comments --- .../api/v5/deliveryservice_requests.rst | 368 +++++++++--------- 1 file changed, 184 insertions(+), 184 deletions(-) diff --git a/docs/source/api/v5/deliveryservice_requests.rst b/docs/source/api/v5/deliveryservice_requests.rst index 5ea3d1d926..f7ffd3a5c7 100644 --- a/docs/source/api/v5/deliveryservice_requests.rst +++ b/docs/source/api/v5/deliveryservice_requests.rst @@ -100,191 +100,191 @@ The response is an array of representations of :term:`Delivery Service Requests` Date: Tue, 13 Jun 2023 17:01:41 GMT Content-Length: 988 - { "response": [{ - "assignee": null, - "author": "admin", - "changeType": "update", - "createdAt": "2023-06-09T10:55:00.918782+05:30", - "id": 1, - "lastEditedBy": "admin", - "lastUpdated": "2023-06-13T22:31:30.122247+05:30", - "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": "2023-05-19T09:52:13.3131+05:30", - "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": { - "active": "INACTIVE", - "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": "2023-05-19T08:40:13Z", - "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": false, - "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": null, - "trResponseHeaders": null, - "trRequestHeaders": null, - "type": "HTTP", - "typeId": 1, - "xmlId": "demo1" - }, - "status": "draft" - }]} + { "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": { + "active": "INACTIVE", + "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": "2020-02-13T16:43:54Z", + "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": false, + "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": null, + "trResponseHeaders": null, + "trRequestHeaders": null, + "type": "HTTP", + "typeId": 1, + "xmlId": "demo1" + }, + "status": "draft" + }]} .. _to-api-deliveryservice-requests-post: From 8b8ced3f0f05f1c58712cb9cfb218ca649c97080 Mon Sep 17 00:00:00 2001 From: Jagan Parthiban Date: Tue, 13 Jun 2023 22:58:17 +0530 Subject: [PATCH 7/7] Fixed PR Review comments --- docs/source/api/v5/deliveryservice_requests.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/source/api/v5/deliveryservice_requests.rst b/docs/source/api/v5/deliveryservice_requests.rst index f7ffd3a5c7..1bea50fa4f 100644 --- a/docs/source/api/v5/deliveryservice_requests.rst +++ b/docs/source/api/v5/deliveryservice_requests.rst @@ -100,15 +100,14 @@ The response is an array of representations of :term:`Delivery Service Requests` 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, @@ -151,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": [ @@ -238,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": [