Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master d3cb0abbc -> 51b002138


changes to handle ints (postgres) instead of strings


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

Branch: refs/heads/master
Commit: 930763caedc750169e0ab1480d9bac47d5236619
Parents: d3cb0ab
Author: Jeremy Mitchell <[email protected]>
Authored: Thu Oct 20 13:40:27 2016 -0600
Committer: Jeremy Mitchell <[email protected]>
Committed: Thu Oct 20 13:40:27 2016 -0600

----------------------------------------------------------------------
 .../FormDeliveryServiceController.js            | 102 +++++++++----------
 1 file changed, 51 insertions(+), 51 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/930763ca/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js
----------------------------------------------------------------------
diff --git 
a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js
 
b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js
index 51619ad..6c76d67 100644
--- 
a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js
+++ 
b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js
@@ -29,78 +29,78 @@ var FormDeliveryServiceController = 
function(deliveryService, $scope, formUtils,
     ];
 
     $scope.protocols = [
-        { value: "0", label: '0 - HTTP' },
-        { value: "1", label: '1 - HTTPS' },
-        { value: "2", label: '2 - HTTP AND HTTPS' },
-        { value: "3", label: '3 - HTTP TO HTTPS' }
+        { value: 0, label: '0 - HTTP' },
+        { value: 1, label: '1 - HTTPS' },
+        { value: 2, label: '2 - HTTP AND HTTPS' },
+        { value: 3, label: '3 - HTTP TO HTTPS' }
     ];
 
     $scope.qStrings = [
-        { value: "0", label: '0 - use qstring in cache key, and pass up' },
-        { value: "1", label: '1 - ignore in cache key, and pass up' },
-        { value: "2", label: '2 - drop at edge' }
+        { value: 0, label: '0 - use qstring in cache key, and pass up' },
+        { value: 1, label: '1 - ignore in cache key, and pass up' },
+        { value: 2, label: '2 - drop at edge' }
     ];
 
     $scope.geoLimits = [
-        { value: "0", label: '0 - None' },
-        { value: "1", label: '1 - CZF only' },
-        { value: "2", label: '2 - CZF + Country Code(s)' }
+        { value: 0, label: '0 - None' },
+        { value: 1, label: '1 - CZF only' },
+        { value: 2, label: '2 - CZF + Country Code(s)' }
     ];
 
     $scope.geoProviders = [
-        { value: "0", label: '0 - Maxmind (Default)' },
-        { value: "1", label: '1 - Neustar' }
+        { value: 0, label: '0 - Maxmind (Default)' },
+        { value: 1, label: '1 - Neustar' }
     ];
 
     $scope.dscps = [
-        { value: "0", label: '0  - Best Effort' },
-        { value: "10", label: '10 - AF11' },
-        { value: "12", label: '12 - AF12' },
-        { value: "14", label: '14 - AF13' },
-        { value: "18", label: '18  - AF21' },
-        { value: "20", label: '20  - AF22' },
-        { value: "22", label: '22  - AF23' },
-        { value: "26", label: '26  - AF31' },
-        { value: "28", label: '28  - AF32' },
-        { value: "30", label: '30  - AF33' },
-        { value: "34", label: '34  - AF41' },
-        { value: "36", label: '36  - AF42' },
-        { value: "37", label: '37  - ' },
-        { value: "38", label: '38  - AF43' },
-        { value: "8", label: '8  - CS1' },
-        { value: "16", label: '16  - CS2' },
-        { value: "24", label: '24  - CS3' },
-        { value: "32", label: '32  - CS4' },
-        { value: "40", label: '40  - CS5' },
-        { value: "48", label: '48  - CS6' },
-        { value: "56", label: '56  - CS7' }
+        { value: 0, label: '0  - Best Effort' },
+        { value: 10, label: '10 - AF11' },
+        { value: 12, label: '12 - AF12' },
+        { value: 14, label: '14 - AF13' },
+        { value: 18, label: '18  - AF21' },
+        { value: 20, label: '20  - AF22' },
+        { value: 22, label: '22  - AF23' },
+        { value: 26, label: '26  - AF31' },
+        { value: 28, label: '28  - AF32' },
+        { value: 30, label: '30  - AF33' },
+        { value: 34, label: '34  - AF41' },
+        { value: 36, label: '36  - AF42' },
+        { value: 37, label: '37  - ' },
+        { value: 38, label: '38  - AF43' },
+        { value: 8, label: '8  - CS1' },
+        { value: 16, label: '16  - CS2' },
+        { value: 24, label: '24  - CS3' },
+        { value: 32, label: '32  - CS4' },
+        { value: 40, label: '40  - CS5' },
+        { value: 48, label: '48  - CS6' },
+        { value: 56, label: '56  - CS7' }
     ];
 
     $scope.dispersions = [
-        { value: "1", label: '1 - OFF' },
-        { value: "2", label: '2' },
-        { value: "3", label: '3' },
-        { value: "4", label: '4' },
-        { value: "5", label: '5' },
-        { value: "6", label: '6' },
-        { value: "7", label: '7' },
-        { value: "8", label: '8' },
-        { value: "9", label: '9' },
-        { value: "10", label: '10' }
+        { value: 1, label: '1 - OFF' },
+        { value: 2, label: '2' },
+        { value: 3, label: '3' },
+        { value: 4, label: '4' },
+        { value: 5, label: '5' },
+        { value: 6, label: '6' },
+        { value: 7, label: '7' },
+        { value: 8, label: '8' },
+        { value: 9, label: '9' },
+        { value: 10, label: '10' }
     ];
 
     $scope.rrhs = [
-        { value: "0", label: "0 - Don't cache" },
-        { value: "1", label: "1 - Use background_fetch plugin" },
-        { value: "2", label: "2 - Use cache_range_requests plugin" }
+        { value: 0, label: "0 - Don't cache" },
+        { value: 1, label: "1 - Use background_fetch plugin" },
+        { value: 2, label: "2 - Use cache_range_requests plugin" }
     ];
 
     $scope.msoAlgos = [
-        { value: "0", label: "0 - Consistent Hash" },
-        { value: "1", label: "1 - Primary/Backup" },
-        { value: "2", label: "2 - Strict Round Robin" },
-        { value: "3", label: "3 - IP-based Round Robin" },
-        { value: "4", label: "4 - Latch on Failover" }
+        { value: 0, label: "0 - Consistent Hash" },
+        { value: 1, label: "1 - Primary/Backup" },
+        { value: 2, label: "2 - Strict Round Robin" },
+        { value: 3, label: "3 - IP-based Round Robin" },
+        { value: 4, label: "4 - Latch on Failover" }
     ];
 
     $scope.navigateToPath = locationUtils.navigateToPath;

Reply via email to