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

rawlin pushed a commit to branch 4.1.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/4.1.x by this push:
     new 9cabef3  adds slice plugin to collection used to display magic numbers 
(#4771) (#4781)
9cabef3 is described below

commit 9cabef3737d38b8a1ae39bb19bdb006fa225ad3c
Author: Rawlin Peters <[email protected]>
AuthorDate: Wed Jun 10 16:26:43 2020 -0600

    adds slice plugin to collection used to display magic numbers (#4771) 
(#4781)
    
    * adds slice plugin to collection used to display magic numbers
    
    * adds changelog entry
    
    (cherry picked from commit 0bcfd36bc85bad3f14056f3103a3dd5a9169ffd8)
    
    Co-authored-by: Jeremy Mitchell <[email protected]>
---
 CHANGELOG.md                                                       | 1 +
 .../modules/form/deliveryService/FormDeliveryServiceController.js  | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4a83d82..87e35f9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -64,6 +64,7 @@ The format is based on [Keep a 
Changelog](http://keepachangelog.com/en/1.0.0/).
 - Fixed audit logging from the `/jobs` APIs to bring them back to the same 
level of information provided by TO-Perl
 - Fixed #4541: traffic_ops_server.js searches based on which= and can find 
data for multiple servers
 - Fixed POST deliveryservices/request (designed to simple send an email) 
regression which erroneously required deep caching type and routing name. 
[Related github issue](https://github.com/apache/trafficcontrol/issues/4735)
+- Fixed slice plugin error in delivery service request view. [Related github 
issue](https://github.com/apache/trafficcontrol/issues/4770)
 - Fixed `maxRevalDurationDays` validation for `POST 
/api/1.x/user/current/jobs` and added that validation to the `/api/x/jobs` 
endpoints
 - Added Delivery Service Raw Remap `__RANGE_DIRECTIVE__` directive to allow 
inserting the Range Directive after the Raw Remap text. This allows Raw Remaps 
which manipulate the Range.
 
diff --git 
a/traffic_portal/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js
 
b/traffic_portal/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js
index 66209da..3a2d032 100644
--- 
a/traffic_portal/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js
+++ 
b/traffic_portal/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js
@@ -116,7 +116,7 @@ var FormDeliveryServiceController = 
function(deliveryService, dsCurrent, origin,
     $scope.activeInactive = [
         { value: true, label: 'Active' },
         { value: false, label: 'Not Active'}
-    ]
+    ];
 
     $scope.signingAlgos = [
         { value: null, label: 'None' },
@@ -175,7 +175,7 @@ var FormDeliveryServiceController = 
function(deliveryService, dsCurrent, origin,
     $scope.deepCachingTypes = [
         { value: 'NEVER', label: 'NEVER' },
         { value: 'ALWAYS', label: 'ALWAYS' }
-    ]
+    ];
 
     $scope.dispersions = [
         { value: 1, label: '1 - OFF' },
@@ -193,7 +193,8 @@ var FormDeliveryServiceController = 
function(deliveryService, dsCurrent, origin,
     $scope.rrhs = [
         { value: 0, label: "Don't cache Range Requests" },
         { value: 1, label: "Use the background_fetch plugin" },
-        { value: 2, label: "Use the cache_range_requests plugin" }
+        { value: 2, label: "Use the cache_range_requests plugin" },
+        { value: 3, label: "Use the slice plugin" }
     ];
 
     $scope.msoAlgos = [

Reply via email to