You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by de...@apache.org on 2018/02/21 18:27:47 UTC

[incubator-trafficcontrol] 31/33: more docs for ds requests

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

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

commit df57b02a399cf57b6fd81a09fd3e83319bacd97f
Author: Jeremy Mitchell <mi...@gmail.com>
AuthorDate: Fri Feb 16 11:34:26 2018 -0700

    more docs for ds requests
---
 docs/source/admin/quick_howto/ds_requests.rst      |  61 ++++++++++++++++++++-
 .../traffic_portal/images/tp_table_ds_requests.png | Bin 0 -> 120150 bytes
 .../admin/traffic_portal/usingtrafficportal.rst    |  16 ++++--
 3 files changed, 72 insertions(+), 5 deletions(-)

diff --git a/docs/source/admin/quick_howto/ds_requests.rst b/docs/source/admin/quick_howto/ds_requests.rst
index 9147dc2..997935e 100644
--- a/docs/source/admin/quick_howto/ds_requests.rst
+++ b/docs/source/admin/quick_howto/ds_requests.rst
@@ -18,5 +18,64 @@
 Delivery Service Requests
 =========================
 
-Here we will walk through the process of creating a delivery service request.
+When enabled in traffic_portal_properties.json, delivery service requests are created when ALL users attempt to create, update or delete a delivery service.
+This allows users with higher level permissions (ops or admin) to review the changes for completeness and accuracy before deploying the changes.
+In addition, most delivery service changes require cache config updates (aka queue updates) and/or a cdn snapshot. Both of these actions are reserved for users with elevated permissions.
+
+A list of the delivery service requests associated with your tenant can be found here:
+
+``https://traffic-portal.domain.com/#!/delivery-service-requests``
+
+.. image:: ../traffic_portal/images/tp_table_ds_requests.png
+
+Who Can Create a Delivery Service Request and How?
+##################################################
+
+Users with the Portal role (or above) can create delivery service requests by doing one of three things:
+
+1. Creating a new delivery service
+2. Updating an existing delivery service
+3. Deleting an exiting delivery service
+
+By performing one of these actions, a delivery service request will be created for you with a status of draft or submitted. You determine the status of your request. Only change the status of your request to submitted once the request is ready for review and deployment.
+
+Who Can Fulfill a Delivery Service Request and How?
+###################################################
+
+Users with elevated permissions (Operations or above) can fulfill (apply the changes) or reject the delivery service request. In fact, they can do all of the following:
+
+Update the contents of the delivery service request
+***************************************************
+
+Optional. This will update the "Last Edited By" field to indicate who last updated the request.
+
+Assign or unassign the delivery service request
+***********************************************
+
+Optional. Assignment is currently limited to current user. This is optional as fulfillment will auto-assign the request to the user doing the fulfillment.
+
+Reject the delivery service request
+***********************************
+
+Rejecting a delivery service request will set status to ``rejected`` and the request can no longer be modified. This will auto-assign the request to the user doing the rejection.
+
+Fulfill the delivery service request
+************************************
+
+Fulfilling a delivery service request will show the requested changes and, once committed, will apply the desired changes and set status to ``pending``. The request is pending because many types of changes will require cache config updates (aka queue updates) and/or a cdn snapshot. Once queue updates and/or cdn snapshot is complete, the request should be marked ``complete``.
+
+Complete the delivery service request
+*************************************
+
+Only after the delivery service request has been fulfilled and the changes have been applied can a delivery service request be marked as complete. Marking a delivery service as complete is currently a manual step because some changes require cache config updates (aka queue updates) and/or a cdn snapshot.
+Once that is done and the changes have been deployed, the request status should be changed from ``pending`` to ``complete``.
+
+
+Delete the delivery service request
+***********************************
+
+Delivery service requests with a status of draft or submitted can always be deleted entirely if appropriate.
+
+
+
 
diff --git a/docs/source/admin/traffic_portal/images/tp_table_ds_requests.png b/docs/source/admin/traffic_portal/images/tp_table_ds_requests.png
new file mode 100644
index 0000000..ae4ed39
Binary files /dev/null and b/docs/source/admin/traffic_portal/images/tp_table_ds_requests.png differ
diff --git a/docs/source/admin/traffic_portal/usingtrafficportal.rst b/docs/source/admin/traffic_portal/usingtrafficportal.rst
index 7107f2b..5bbf079 100644
--- a/docs/source/admin/traffic_portal/usingtrafficportal.rst
+++ b/docs/source/admin/traffic_portal/usingtrafficportal.rst
@@ -291,6 +291,8 @@ Delivery Service Requests
 
 A table of your delivery service requests with the following columns:
 
+.. image:: ./images/tp_table_ds_requests.png
+
 +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 |            Name               |                                                                                                     Description                                                                                                     |
 +===============================+=====================================================================================================================================================================================================================+
@@ -306,17 +308,23 @@ A table of your delivery service requests with the following columns:
 |                               |                                                                                                                                                                                                                     |
 |                               | -  draft (the delivery service request is NOT ready for review and fulfillment)                                                                                                                                     |
 |                               | -  submitted (the delivery service request is ready for review and fulfillment)                                                                                                                                     |
-|                               | -  rejected (the delivery service request has been rejected)                                                                                                                                                        |
+|                               | -  rejected (the delivery service request has been rejected and cannot be modified)                                                                                                                                 |
 |                               | -  pending (the delivery service request has been fulfilled but the changes have yet to be deployed)                                                                                                                |
 |                               | -  complete (the delivery service request has been fulfilled and the changes have been deployed)                                                                                                                    |
 +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | Author                        | The user responsible for creating the delivery service request.                                                                                                                                                     |
 +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| Assignee                      | The user responsible for fulfilling the delivery service request. If unassigned, this value will be blank.                                                                                                          |
+| Assignee                      | The user responsible for fulfilling the delivery service request. Currently, the operations role or above is required to assign delivery service requests.                                                          |
 +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | Last Edited By                | The last user to edit the delivery service request.                                                                                                                                                                 |
 +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| Created (UTC)                 | Timestamp when the delivery service request was created.                                                                                                                                                            |
+| Created                       | Relative time indicating when the delivery service was created.                                                                                                                                                     |
++-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| Actions                       | Actions that can be performed on a delivery service request:                                                                                                                                                        |
+|                               |                                                                                                                                                                                                                     |
+|                               | -  fulfill (Implement the changes captured in the delivery service request. Currently limited to users with the operations role or above.)                                                                          |
+|                               | -  reject (Reject the changes captured in the delivery service request. Currently limited to users with the operations role or above.)                                                                              |
+|                               | -  delete (Delete the delivery service request. Currently limited to users with the portal role or above.)                                                                                                          |
 +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 
 Delivery service request management includes the ability to (where applicable):
@@ -329,7 +337,7 @@ Delivery service request management includes the ability to (where applicable):
 - reject a delivery service request
 - fulfill a delivery service request
 
-See :ref:`ds_requests`
+See :ref:`ds_requests` for details.
 
 Admin
 =====

-- 
To stop receiving notification emails like this one, please contact
dewrich@apache.org.