You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/04/11 01:55:02 UTC

[2/4] incubator-trafficcontrol git commit: Updated all end-point docs for missLat and missLong to not required and fixed examples of the fields expected content.

Updated all end-point docs for missLat and missLong to not required and fixed examples of the fields expected content.


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/13e269dd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/13e269dd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/13e269dd

Branch: refs/heads/master
Commit: 13e269dd522e89d03d77603e051667491852dbe2
Parents: 1309c0f
Author: Robert Scrimo <ro...@comcast.com>
Authored: Mon Apr 10 19:25:50 2017 -0600
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Mon Apr 10 19:55:17 2017 -0600

----------------------------------------------------------------------
 .../traffic_ops_api/v12/deliveryservice.rst     | 48 ++++++++++++--------
 1 file changed, 30 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/13e269dd/docs/source/development/traffic_ops_api/v12/deliveryservice.rst
----------------------------------------------------------------------
diff --git a/docs/source/development/traffic_ops_api/v12/deliveryservice.rst b/docs/source/development/traffic_ops_api/v12/deliveryservice.rst
index 1dfae20..f6b7ebe 100644
--- a/docs/source/development/traffic_ops_api/v12/deliveryservice.rst
+++ b/docs/source/development/traffic_ops_api/v12/deliveryservice.rst
@@ -126,9 +126,13 @@ Delivery Service
   +--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------------+
   | ``midHeaderRewrite``     | string | The MID header rewrite actions to perform.                                                                                           |
   +--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------------+
-  | ``missLat``              | float  | The latitude to use when the client cannot be found in the CZF or the Geo lookup.                                                    |
+  | ``missLat``              | float  | The latitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.                                 |
+  |                          |        |                                                                                                                                      |
+  |                          |        | - e.g 39.7391500 or null                                                                                                             |
   +--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------------+
-  | ``missLong``             | float  | The longitude to use when the client cannot be found in the CZF or the Geo lookup.                                                   |
+  | ``missLong``             | float  | The longitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.                                |
+  |                          |        |                                                                                                                                      |
+  |                          |        | - e.g -104.9847000 or null                                                                                                           |
   +--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------------+
   | ``multiSiteOrigin``      |  bool  | Is the Multi Site Origin feature enabled for this delivery service (0=false, 1=true). See :ref:`rl-multi-site-origin`                |
   +--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------------+
@@ -216,8 +220,8 @@ Delivery Service
             "longDesc2": "",
             "maxDnsAnswers": "0",
             "midHeaderRewrite": null,
-            "missLat": "41.881944",
-            "missLong": "-87.627778",
+            "missLat": "39.7391500",
+            "missLong": "-104.9847000",
             "multiSiteOrigin": false,
             "orgServerFqdn": "http://baz.boo.net",
             "originShield": null,
@@ -351,9 +355,13 @@ Delivery Service
   +--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------------+
   | ``midHeaderRewrite``     | string | The MID header rewrite actions to perform.                                                                                           |
   +--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------------+
-  | ``missLat``              | float  | The latitude to use when the client cannot be found in the CZF or the Geo lookup.                                                    |
+  | ``missLat``              | float  | The latitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.                                 |
+  |                                   |                                                                                                                                      |
+  |                          |        | - e.g 39.7391500 or null                                                                                                             |
   +--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------------+
-  | ``missLong``             | float  | The longitude to use when the client cannot be found in the CZF or the Geo lookup.                                                   |
+  | ``missLong``             | float  | The longitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.                                |
+  |                          |        |                                                                                                                                      |
+  |                          |        | - e.g -104.9847000 or null                                                                                                           |
   +--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------------+
   | ``multiSiteOrigin``      |  bool  | Is the Multi Site Origin feature enabled for this delivery service (0=false, 1=true). See :ref:`rl-multi-site-origin`                |
   +--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------------+
@@ -448,8 +456,8 @@ Delivery Service
             ],
             "maxDnsAnswers": "0",
             "midHeaderRewrite": null,
-            "missLat": "41.881944",
-            "missLong": "-87.627778",
+            "missLat": "39.7391500",
+            "missLong": "-104.9847000",
             "multiSiteOrigin": false,
             "orgServerFqdn": "http://baz.boo.net",
             "originShield": null,
@@ -1444,11 +1452,11 @@ SSL Keys
   +------------------------+----------+---------------------------------------------------------------------------------------------------------+
   | missLat                | no       | The latitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.    |
   |                        |          |                                                                                                         |
-  |                        |          | - e.g 39.7391500, 45 or 0                                                                               |
+  |                        |          | - e.g 39.7391500 or null                                                                                |
   +------------------------+----------+---------------------------------------------------------------------------------------------------------+
   | missLong               | no       | The longitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.   |
   |                        |          |                                                                                                         |
-  |                        |          | - e.g -104.9847000, 45 or 0                                                                             |
+  |                        |          | - e.g -104.9847000 or null                                                                              |
   +------------------------+----------+---------------------------------------------------------------------------------------------------------+
   | multiSiteOrigin        | yes      | 1 if enabled, 0 if disabled.                                                                            |
   +------------------------+----------+---------------------------------------------------------------------------------------------------------+
@@ -1557,8 +1565,8 @@ SSL Keys
             "longDesc2": "",
             "maxDnsAnswers": "0",
             "midHeaderRewrite": null,
-            "missLat": "41.881944",
-            "missLong": "-87.627778",
+            "missLat": "39.7391500",
+            "missLong": "-104.9847000",
             "multiSiteOrigin": false,
             "orgServerFqdn": "http://baz.boo.net",
             "originShield": null,
@@ -1680,9 +1688,13 @@ SSL Keys
   +------------------------+----------+---------------------------------------------------------------------------------------------------------+
   | midHeaderRewrite       | no       | The MID header rewrite actions to perform.                                                              |
   +------------------------+----------+---------------------------------------------------------------------------------------------------------+
-  | missLat                | yes      | The latitude to use when the client cannot be found in the CZF or the Geo lookup.                       |
+  | missLat                | no       | The latitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.    |
+  |                        |          |                                                                                                         |
+  |                        |          | - e.g 39.7391500 or null                                                                                |
   +------------------------+----------+---------------------------------------------------------------------------------------------------------+
-  | missLong               | yes      | The longitude to use when the client cannot be found in the CZF or the Geo lookup.                      |
+  | missLong               | no       | The longitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.   |
+  |                        |          |                                                                                                         |
+  |                        |          | - e.g -104.9847000 or null                                                                              |
   +------------------------+----------+---------------------------------------------------------------------------------------------------------+
   | multiSiteOrigin        | yes      | 1 if enabled, 0 if disabled.                                                                            |
   +------------------------+----------+---------------------------------------------------------------------------------------------------------+
@@ -1746,8 +1758,8 @@ SSL Keys
         "ipv6RoutingEnabled": false,
         "logsEnabled": false,
         "multiSiteOrigin": false,
-        "missLat": 45,
-        "missLong": 45,
+        "missLat": 39.7391500,
+        "missLong": -104.9847000,
         "qstringIgnore": 0,
         "rangeRequestHandling": 0,
         "regionalGeoBlocking": false,
@@ -1791,8 +1803,8 @@ SSL Keys
             "longDesc2": "",
             "maxDnsAnswers": "0",
             "midHeaderRewrite": null,
-            "missLat": "41.881944",
-            "missLong": "-87.627778",
+            "missLat": "39.7391500",
+            "missLong": "-104.9847000",
             "multiSiteOrigin": false,
             "orgServerFqdn": "http://baz.boo.net",
             "originShield": null,