You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2016/11/21 19:05:22 UTC
[07/40] incubator-trafficcontrol git commit: updated from master and
added id sorting
updated from master and added id sorting
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/d844c7a4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/d844c7a4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/d844c7a4
Branch: refs/heads/psql-rebase
Commit: d844c7a46bbdd01535ed2acc48e947c6ee048559
Parents: 29eb317
Author: Dewayne Richardson <de...@apache.org>
Authored: Wed Nov 16 09:29:34 2016 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Mon Nov 21 12:04:09 2016 -0700
----------------------------------------------------------------------
traffic_ops/app/lib/Fixtures/Cachegroup.pm | 18 +-
traffic_ops/app/lib/Fixtures/Cdn.pm | 4 +-
traffic_ops/app/lib/Fixtures/Deliveryservice.pm | 17 +-
.../app/lib/Fixtures/DeliveryserviceServer.pm | 2 +-
traffic_ops/app/lib/Fixtures/Parameter.pm | 478 ++---
traffic_ops/app/lib/Fixtures/Profile.pm | 42 +-
.../app/lib/Fixtures/ProfileParameter.pm | 1664 +++++++++---------
traffic_ops/app/lib/Fixtures/Region.pm | 4 +-
traffic_ops/app/lib/Fixtures/Role.pm | 58 +-
traffic_ops/app/lib/Fixtures/Server.pm | 387 ++--
traffic_ops/app/lib/Fixtures/Status.pm | 56 +-
traffic_ops/app/lib/Fixtures/Type.pm | 2 +-
12 files changed, 1424 insertions(+), 1308 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d844c7a4/traffic_ops/app/lib/Fixtures/Cachegroup.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/Cachegroup.pm b/traffic_ops/app/lib/Fixtures/Cachegroup.pm
index aeaea02..28f8e1f 100644
--- a/traffic_ops/app/lib/Fixtures/Cachegroup.pm
+++ b/traffic_ops/app/lib/Fixtures/Cachegroup.pm
@@ -25,8 +25,8 @@ my %definition_for = (
name => 'mid-northeast-group',
short_name => 'ne',
type => 18,
- latitude => 120,
- longitude => 120,
+ latitude => 98.0,
+ longitude => 98.0,
parent_cachegroup_id => undef,
},
},
@@ -37,8 +37,8 @@ my %definition_for = (
name => 'mid-northwest-group',
short_name => 'nw',
type => 18,
- latitude => 100,
- longitude => 100,
+ latitude => 98.0,
+ longitude => 98.0,
parent_cachegroup_id => 1,
},
},
@@ -49,8 +49,8 @@ my %definition_for = (
name => 'mid_cg3',
short_name => 'mid_cg3',
type => 6,
- latitude => 100,
- longitude => 100,
+ latitude => 98.0,
+ longitude => 98.0,
parent_cachegroup_id => undef,
},
},
@@ -61,8 +61,8 @@ my %definition_for = (
name => 'edge_cg4',
short_name => 'edge_cg4',
type => 5,
- latitude => 100,
- longitude => 100,
+ latitude => 98.0,
+ longitude => 98.0,
parent_cachegroup_id => 8,
},
},
@@ -76,7 +76,7 @@ sub get_definition {
sub all_fixture_names {
# sort by db name to guarantee insertion order
- return (sort { $definition_for{$a}{using}{name} cmp $definition_for{$b}{using}{name} } keys %definition_for);
+ return (sort { $definition_for{$a}{using}{id} cmp $definition_for{$b}{using}{id} } keys %definition_for);
}
# sub all_fixture_names {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d844c7a4/traffic_ops/app/lib/Fixtures/Cdn.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/Cdn.pm b/traffic_ops/app/lib/Fixtures/Cdn.pm
index c5f2acc..61223d5 100644
--- a/traffic_ops/app/lib/Fixtures/Cdn.pm
+++ b/traffic_ops/app/lib/Fixtures/Cdn.pm
@@ -41,8 +41,8 @@ sub get_definition {
}
sub all_fixture_names {
- # sort by db name to guarantee insertion order
- return (sort { $definition_for{$a}{using}{name} cmp $definition_for{$b}{using}{name} } keys %definition_for);
+ # sort by db id to guarantee insert order
+ return (sort { $definition_for{$a}{using}{id} cmp $definition_for{$b}{using}{id} } keys %definition_for);
}
__PACKAGE__->meta->make_immutable;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d844c7a4/traffic_ops/app/lib/Fixtures/Deliveryservice.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/Deliveryservice.pm b/traffic_ops/app/lib/Fixtures/Deliveryservice.pm
index 5e11904..37b5699 100644
--- a/traffic_ops/app/lib/Fixtures/Deliveryservice.pm
+++ b/traffic_ops/app/lib/Fixtures/Deliveryservice.pm
@@ -23,6 +23,7 @@ my %definition_for = (
steering_ds1 => {
new => 'Deliveryservice',
using => {
+ id => 1,
xml_id => 'steering-ds1',
active => 1,
dscp => 40,
@@ -59,6 +60,7 @@ my %definition_for = (
steering_ds2 => {
new => 'Deliveryservice',
using => {
+ id => 2,
xml_id => 'steering-ds2',
active => 1,
dscp => 40,
@@ -95,6 +97,7 @@ my %definition_for = (
new_steering => {
new => 'Deliveryservice',
using => {
+ id => 3,
xml_id => 'steering-ds3',
active => 1,
dscp => 40,
@@ -131,6 +134,7 @@ my %definition_for = (
target_ds1 => {
new => 'Deliveryservice',
using => {
+ id => 4,
xml_id => 'steering-target-ds1',
active => 1,
dscp => 40,
@@ -167,6 +171,7 @@ my %definition_for = (
target_ds2 => {
new => 'Deliveryservice',
using => {
+ id => 5,
xml_id => 'steering-target-ds2',
active => 1,
dscp => 40,
@@ -203,6 +208,7 @@ my %definition_for = (
target_ds3 => {
new => 'Deliveryservice',
using => {
+ id => 6,
xml_id => 'steering-target-ds3',
active => 1,
dscp => 40,
@@ -239,6 +245,7 @@ my %definition_for = (
target_ds4 => {
new => 'Deliveryservice',
using => {
+ id => 7,
xml_id => 'steering-target-ds4',
active => 1,
dscp => 40,
@@ -275,6 +282,7 @@ my %definition_for = (
ds_cdn1 => {
new => 'Deliveryservice',
using => {
+ id => 8,
xml_id => 'test-ds1',
active => 1,
dscp => 40,
@@ -313,6 +321,7 @@ my %definition_for = (
ds_cdn2 => {
new => 'Deliveryservice',
using => {
+ id => 9,
xml_id => 'test-ds2',
active => 1,
dscp => 40,
@@ -351,6 +360,7 @@ my %definition_for = (
ds_cdn3 => {
new => 'Deliveryservice',
using => {
+ id => 10,
xml_id => 'test-ds3',
active => 1,
dscp => 40,
@@ -389,6 +399,7 @@ my %definition_for = (
ds_cdn4 => {
new => 'Deliveryservice',
using => {
+ id => 11,
xml_id => 'test-ds4',
active => 1,
dscp => 40,
@@ -426,7 +437,7 @@ my %definition_for = (
ds_dns => {
new => 'Deliveryservice',
using => {
- id => 5,
+ id => 12,
xml_id => 'test-ds5',
active => 1,
dscp => 40,
@@ -464,7 +475,7 @@ my %definition_for = (
ds_http_no_cache => {
new => 'Deliveryservice',
using => {
- id => 6,
+ id => 13,
xml_id => 'test-ds6',
active => 1,
dscp => 40,
@@ -508,7 +519,7 @@ sub get_definition {
sub all_fixture_names {
# sort by db xml_id to guarantee insertion order
- return (sort { $definition_for{$a}{using}{xml_id} cmp $definition_for{$b}{using}{xml_id} } keys %definition_for);
+ return (sort { $definition_for{$a}{using}{id} cmp $definition_for{$b}{using}{id} } keys %definition_for);
}
__PACKAGE__->meta->make_immutable;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d844c7a4/traffic_ops/app/lib/Fixtures/DeliveryserviceServer.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/DeliveryserviceServer.pm b/traffic_ops/app/lib/Fixtures/DeliveryserviceServer.pm
index 15b1489..3266e35 100644
--- a/traffic_ops/app/lib/Fixtures/DeliveryserviceServer.pm
+++ b/traffic_ops/app/lib/Fixtures/DeliveryserviceServer.pm
@@ -57,7 +57,7 @@ my %definition_for = (
new => 'DeliveryserviceServer',
using => {
deliveryservice => 5,
- server => 14,
+ server => 12,
},
},
test_ds5_server_edge15 => {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d844c7a4/traffic_ops/app/lib/Fixtures/Parameter.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/Parameter.pm b/traffic_ops/app/lib/Fixtures/Parameter.pm
index 202a8c4..3a07cb6 100644
--- a/traffic_ops/app/lib/Fixtures/Parameter.pm
+++ b/traffic_ops/app/lib/Fixtures/Parameter.pm
@@ -19,565 +19,565 @@ use namespace::autoclean;
use Digest::SHA1 qw(sha1_hex);
my %definition_for = (
- ## id => 1
- 'allow_ip' => {
- new => 'Parameter',
- using => {
- name => 'allow_ip',
- config_file => 'astats.config',
- value => '127.0.0.1,172.39.0.0/16,33.101.99.0/24',
- },
- },
- ## id => 2
- 'allow_ip6' => {
- new => 'Parameter',
- using => {
- name => 'allow_ip6',
- config_file => 'astats.config',
- value => '::1,2033:D011:3300::336/64,2033:D011:3300::335/64,2033:D021:3300::333/64,2033:D021:3300::334/64',
- },
- },
- ## id => 3
- 'astats_over_http.so' => {
- new => 'Parameter',
- using => {
- name => 'astats_over_http.so',
- config_file => 'plugin.config',
- value => '_astats 33.101.99.100,172.39.19.39,172.39.19.49,172.39.19.49,172.39.29.49',
- },
- },
- ## id => 4
- 'CONFIG-proxy.config.allocator.debug_filter' => {
- new => 'Parameter',
- using => {
- name => 'CONFIG proxy.config.allocator.debug_filter',
- config_file => 'records.config',
- value => 'INT 0',
- },
- },
- ## id => 5
- 'CONFIG-proxy.config.allocator.enable_reclaim' => {
- new => 'Parameter',
- using => {
- name => 'CONFIG proxy.config.allocator.enable_reclaim',
- config_file => 'records.config',
- value => 'INT 0',
- },
- },
- ## id => 6
- 'CONFIG-proxy.config.allocator.max_overage' => {
- new => 'Parameter',
- using => {
- name => 'CONFIG proxy.config.allocator.max_overage',
- config_file => 'records.config',
- value => 'INT 3',
- },
- },
- ## id => 7
- 'CONFIG-proxy.config.cache.control.filename' => {
- new => 'Parameter',
- using => {
- name => 'CONFIG proxy.config.cache.control.filename',
- config_file => 'records.config',
- value => 'STRING cache.config',
- },
- },
- ## id => 8
- 'CONFIG-proxy.config.diags.show_location' => {
- new => 'Parameter',
- using => {
- name => 'CONFIG proxy.config.diags.show_location',
- config_file => 'records.config',
- value => 'INT 0',
- },
- },
- ## id => 9
- 'CONFIG-proxy.config.http.cache.allow_empty_doc' => {
- new => 'Parameter',
- using => {
- name => 'CONFIG proxy.config.http.cache.allow_empty_doc',
- config_file => 'records.config',
- value => 'INT 0',
- },
- },
- ## id => 10
- 'CONFIG-proxy.config.http.parent_proxy.file' => {
- new => 'Parameter',
- using => {
- name => 'CONFIG proxy.config.http.parent_proxy.file',
- config_file => 'records.config',
- value => 'STRING parent.config',
- },
- },
- ## id => 11
- 'CONFIG-proxy.config.hostdb.storage_size' => {
- new => 'Parameter',
- using => {
- name => 'CONFIG proxy.config.hostdb.storage_size',
- config_file => 'records.config',
- value => 'INT 33554432',
- },
- },
- ## id => 12
- 'Disk_Volume' => {
- new => 'Parameter',
- using => {
- name => 'Disk_Volume',
- config_file => 'storage.config',
- value => '1',
- },
- },
- ## id => 13
domain_name => {
new => 'Parameter',
using => {
+ id => 3,
name => 'domain_name',
value => 'foo.com',
config_file => 'CRConfig.json',
},
},
- ## id => 14
- 'Drive_Letters' => {
- new => 'Parameter',
- using => {
- name => 'Drive_Letters',
- config_file => 'storage.config',
- value => 'b,c,d,e,f,g,h,i,j,k,l,m,n,o',
- },
- },
- ## id => 15
- 'Drive_Prefix' => {
- new => 'Parameter',
- using => {
- name => 'Drive_Prefix',
- config_file => 'storage.config',
- value => '/dev/sd',
- },
- },
- ## id => 16
- 'error_url' => {
+ health_threadhold_loadavg => {
new => 'Parameter',
using => {
- name => 'error_url',
- config_file => 'url_sig_cdl-c2.config',
- value => '403',
+ id => 4,
+ name => 'health.threshold.loadavg',
+ value => '25.0',
+ config_file => 'rascal.properties',
},
},
- ## id => 17
health_threadhold_available_bandwidth_in_kbps => {
new => 'Parameter',
using => {
+ id => 5,
name => 'health.threshold.availableBandwidthInKbps',
value => '>1750000',
config_file => 'rascal.properties',
},
},
- ## id => 18
- health_threadhold_loadavg => {
- new => 'Parameter',
- using => {
- name => 'health.threshold.loadavg',
- value => '25.0',
- config_file => 'rascal.properties',
- },
- },
- ## id => 19
history_count => {
new => 'Parameter',
using => {
+ id => 6,
name => 'history.count',
value => '30',
config_file => 'rascal.properties',
},
},
- ## id => 20
'key0' => {
new => 'Parameter',
using => {
+ id => 7,
name => 'key0',
config_file => 'url_sig_cdl-c2.config',
value => 'HOOJ3Ghq1x4gChp3iQkqVTcPlOj8UCi3',
},
},
- ## id => 21
'key1' => {
new => 'Parameter',
using => {
+ id => 8,
name => 'key1',
config_file => 'url_sig_cdl-c2.config',
value => '_9LZYkRnfCS0rCBF7fTQzM9Scwlp2FhO',
},
},
- ## id => 22
'key2' => {
new => 'Parameter',
using => {
+ id => 9,
name => 'key2',
config_file => 'url_sig_cdl-c2.config',
value => 'AFpkxfc4oTiyFSqtY6_ohjt3V80aAIxS',
},
},
- ## id => 23
'key3' => {
new => 'Parameter',
using => {
+ id => 10,
name => 'key3',
config_file => 'url_sig_cdl-c2.config',
value => 'AL9kzs_SXaRZjPWH8G5e2m4ByTTzkzlc',
},
},
- ## id => 24
'key4' => {
new => 'Parameter',
using => {
+ id => 11,
name => 'key4',
config_file => 'url_sig_cdl-c2.config',
value => 'poP3n3szbD1U4vx1xQXV65BvkVgWzfN8',
},
},
- ## id => 25
'key5' => {
new => 'Parameter',
using => {
+ id => 12,
name => 'key5',
config_file => 'url_sig_cdl-c2.config',
value => '1ir32ng4C4w137p5oq72kd2wqmIZUrya',
},
},
- ## id => 26
'key6' => {
new => 'Parameter',
using => {
+ id => 13,
name => 'key6',
config_file => 'url_sig_cdl-c2.config',
value => 'B1qLptn2T1b_iXeTCWDcVuYvANtH139f',
},
},
- ## id => 27
'key7' => {
new => 'Parameter',
using => {
+ id => 14,
name => 'key7',
config_file => 'url_sig_cdl-c2.config',
value => 'PiCV_5OODMzBbsNFMWsBxcQ8v1sK0TYE',
},
},
- ## id => 28
'key8' => {
new => 'Parameter',
using => {
+ id => 15,
name => 'key8',
config_file => 'url_sig_cdl-c2.config',
value => 'Ggpv6DqXDvt2s1CETPBpNKwaLk4fTM9l',
},
},
- ## id => 29
'key9' => {
new => 'Parameter',
using => {
+ id => 16,
name => 'key9',
config_file => 'url_sig_cdl-c2.config',
value => 'qPlVT_s6kL37aqb6hipDm4Bt55S72mI7',
},
},
- ## id => 30
'key10' => {
new => 'Parameter',
using => {
+ id => 17,
name => 'key10',
config_file => 'url_sig_cdl-c2.config',
value => 'BsI5A9EmWrobIS1FeuOs1z9fm2t2WSBe',
},
},
- ## id => 31
'key11' => {
new => 'Parameter',
using => {
+ id => 18,
name => 'key11',
config_file => 'url_sig_cdl-c2.config',
value => 'A54y66NCIj897GjS4yA9RrsSPtCUnQXP',
},
},
- ## id => 32
'key12' => {
new => 'Parameter',
using => {
+ id => 19,
name => 'key12',
config_file => 'url_sig_cdl-c2.config',
value => '2jZH0NDPSJttIr4c2KP510f47EKqTQAu',
},
},
- ## id => 33
'key13' => {
new => 'Parameter',
using => {
+ id => 20,
name => 'key13',
config_file => 'url_sig_cdl-c2.config',
value => 'XduT2FBjBmmVID5JRB5LEf9oR5QDtBgC',
},
},
- ## id => 34
'key14' => {
new => 'Parameter',
using => {
+ id => 21,
name => 'key14',
config_file => 'url_sig_cdl-c2.config',
value => 'D9nH0SvK_0kP5w8QNd1UFJ28ulFkFKPn',
},
},
- ## id => 35
'key15' => {
new => 'Parameter',
using => {
+ id => 22,
name => 'key15',
config_file => 'url_sig_cdl-c2.config',
value => 'udKXWYNwbXXweaaLzaKDGl57OixnIIcm',
},
},
- ## id => 36
+ 'url_sig_cdl-c2.config_location' => {
+ new => 'Parameter',
+ using => {
+ id => 23,
+ name => 'location',
+ config_file => 'url_sig_cdl-c2.config',
+ value => '/opt/trafficserver/etc/trafficserver',
+ },
+ },
+ 'error_url' => {
+ new => 'Parameter',
+ using => {
+ id => 24,
+ name => 'error_url',
+ config_file => 'url_sig_cdl-c2.config',
+ value => '403',
+ },
+ },
+ 'CONFIG-proxy.config.allocator.debug_filter' => {
+ new => 'Parameter',
+ using => {
+ id => 25,
+ name => 'CONFIG proxy.config.allocator.debug_filter',
+ config_file => 'records.config',
+ value => 'INT 0',
+ },
+ },
+ 'CONFIG-proxy.config.allocator.enable_reclaim' => {
+ new => 'Parameter',
+ using => {
+ id => 26,
+ name => 'CONFIG proxy.config.allocator.enable_reclaim',
+ config_file => 'records.config',
+ value => 'INT 0',
+ },
+ },
+ 'CONFIG-proxy.config.allocator.max_overage' => {
+ new => 'Parameter',
+ using => {
+ id => 27,
+ name => 'CONFIG proxy.config.allocator.max_overage',
+ config_file => 'records.config',
+ value => 'INT 3',
+ },
+ },
+ 'CONFIG-proxy.config.diags.show_location' => {
+ new => 'Parameter',
+ using => {
+ id => 28,
+ name => 'CONFIG proxy.config.diags.show_location',
+ config_file => 'records.config',
+ value => 'INT 0',
+ },
+ },
+ 'CONFIG-proxy.config.http.cache.allow_empty_doc' => {
+ new => 'Parameter',
+ using => {
+ id => 29,
+ name => 'CONFIG proxy.config.http.cache.allow_empty_doc',
+ config_file => 'records.config',
+ value => 'INT 0',
+ },
+ },
'LOCAL-proxy.config.cache.interim.storage' => {
new => 'Parameter',
using => {
+ id => 30,
name => 'LOCAL proxy.config.cache.interim.storage',
config_file => 'records.config',
value => 'STRING NULL',
},
},
- ## id => 37
- 'url_sig_cdl-c2.config_location' => {
+ 'CONFIG-proxy.config.http.parent_proxy.file' => {
new => 'Parameter',
using => {
- name => 'location',
- config_file => 'url_sig_cdl-c2.config',
- value => '/opt/trafficserver/etc/trafficserver',
+ id => 31,
+ name => 'CONFIG proxy.config.http.parent_proxy.file',
+ config_file => 'records.config',
+ value => 'STRING parent.config',
},
},
- ## id => 38
'12M_location' => {
new => 'Parameter',
using => {
+ id => 32,
name => 'location',
config_file => '12M_facts',
value => '/opt/ort',
},
},
- ## id => 39
'cacheurl_location' => {
new => 'Parameter',
using => {
+ id => 33,
name => 'location',
config_file => 'cacheurl.config',
value => '/opt/trafficserver/etc/trafficserver/',
},
},
- ## id => 40
'ip_allow_location' => {
new => 'Parameter',
using => {
+ id => 34,
name => 'location',
config_file => 'ip_allow.config',
value => '/opt/trafficserver/etc/trafficserver',
},
},
- ## id => 41
+ 'astats_over_http.so' => {
+ new => 'Parameter',
+ using => {
+ id => 35,
+ name => 'astats_over_http.so',
+ config_file => 'plugin.config',
+ value => '_astats 33.101.99.100,172.39.19.39,172.39.19.49,172.39.19.49,172.39.29.49',
+ },
+ },
'crontab_root_location' => {
new => 'Parameter',
using => {
+ id => 36,
name => 'location',
config_file => 'crontab_root',
value => '/var/spool/cron',
},
},
- ## id => 42
'hdr_rw_cdl-c2.config_location' => {
new => 'Parameter',
using => {
+ id => 37,
name => 'location',
config_file => 'hdr_rw_cdl-c2.config',
value => '/opt/trafficserver/etc/trafficserver',
},
},
- ## id => 43
'50-ats.rules_location' => {
new => 'Parameter',
using => {
+ id => 38,
name => 'location',
config_file => '50-ats.rules',
value => '/etc/udev/rules.d/',
},
},
- ## id => 44
'parent.config_location' => {
new => 'Parameter',
using => {
+ id => 39,
name => 'location',
config_file => 'parent.config',
value => '/opt/trafficserver/etc/trafficserver/',
},
},
- ## id => 45
'remap.config_location' => {
new => 'Parameter',
using => {
+ id => 40,
name => 'location',
config_file => 'remap.config',
value => '/opt/trafficserver/etc/trafficserver/',
},
},
- ## id => 46
'drop_qstring.config_location' => {
new => 'Parameter',
using => {
+ id => 41,
name => 'location',
config_file => 'drop_qstring.config',
value => '/opt/trafficserver/etc/trafficserver',
},
},
- ## id => 47
+ 'LogFormat.Format' => {
+ new => 'Parameter',
+ using => {
+ id => 42,
+ name => 'LogFormat.Format',
+ config_file => 'logs_xml.config',
+ value =>
+ '%<cqtq> chi=%<chi> phn=%<phn> shn=%<shn> url=%<cquuc> cqhm=%<cqhm> cqhv=%<cqhv> pssc=%<pssc> ttms=%<ttms> b=%<pscl> sssc=%<sssc> sscl=%<sscl> cfsc=%<cfsc> pfsc=%<pfsc> crc=%<crc> phr=%<phr> uas="%<{User-Agent}cqh>"',
+ },
+ },
+ 'LogFormat.Name' => {
+ new => 'Parameter',
+ using => {
+ id => 43,
+ name => 'LogFormat.Name',
+ config_file => 'logs_xml.config',
+ value => 'custom_ats_2',
+ },
+ },
+ 'LogObject.Format' => {
+ new => 'Parameter',
+ using => {
+ id => 44,
+ name => 'LogObject.Format',
+ config_file => 'logs_xml.config',
+ value => 'custom_ats_2',
+ },
+ },
+ 'LogObject.Filename' => {
+ new => 'Parameter',
+ using => {
+ id => 45,
+ name => 'LogObject.Filename',
+ config_file => 'logs_xml.config',
+ value => 'custom_ats_2',
+ },
+ },
'cache.config_location' => {
new => 'Parameter',
using => {
+ id => 46,
name => 'location',
config_file => 'cache.config',
value => '/opt/trafficserver/etc/trafficserver/',
},
},
- ## id => 48
+ 'CONFIG-proxy.config.cache.control.filename' => {
+ new => 'Parameter',
+ using => {
+ id => 47,
+ name => 'CONFIG proxy.config.cache.control.filename',
+ config_file => 'records.config',
+ value => 'STRING cache.config',
+ },
+ },
+ 'regex_revalidate.so' => {
+ new => 'Parameter',
+ using => {
+ id => 48,
+ name => 'regex_revalidate.so',
+ config_file => 'plugin.config',
+ value => '--config regex_revalidate.config',
+ },
+ },
'regex_revalidate.config_location' => {
new => 'Parameter',
using => {
+ id => 49,
name => 'location',
config_file => 'regex_revalidate.config',
value => '/opt/trafficserver/etc/trafficserver',
},
},
- ## id => 49
'hosting.config_location' => {
new => 'Parameter',
using => {
+ id => 50,
name => 'location',
config_file => 'hosting.config',
value => '/opt/trafficserver/etc/trafficserver/',
},
},
- ## id => 50
'volume.config_location' => {
new => 'Parameter',
using => {
+ id => 51,
name => 'location',
config_file => 'volume.config',
value => '/opt/trafficserver/etc/trafficserver/',
},
},
- ## id => 51
- 'astats.config_location' => {
+ 'allow_ip' => {
new => 'Parameter',
using => {
- name => 'location',
+ id => 52,
+ name => 'allow_ip',
config_file => 'astats.config',
- value => '/opt/trafficserver/etc/trafficserver',
+ value => '127.0.0.1,172.39.0.0/16,33.101.99.0/24',
},
},
- ## id => 52
- 'storage.config_location' => {
+ 'allow_ip6' => {
new => 'Parameter',
using => {
- name => 'location',
- config_file => 'storage.config',
- value => '/opt/trafficserver/etc/trafficserver/',
+ id => 53,
+ name => 'allow_ip6',
+ config_file => 'astats.config',
+ value => '::1,2033:D011:3300::336/64,2033:D011:3300::335/64,2033:D021:3300::333/64,2033:D021:3300::334/64',
},
},
- ## id => 53
- 'LogFormat.Format' => {
+ 'record_types' => {
new => 'Parameter',
using => {
- name => 'LogFormat.Format',
- config_file => 'logs_xml.config',
- value =>
- '%<cqtq> chi=%<chi> phn=%<phn> shn=%<shn> url=%<cquuc> cqhm=%<cqhm> cqhv=%<cqhv> pssc=%<pssc> ttms=%<ttms> b=%<pscl> sssc=%<sssc> sscl=%<sscl> cfsc=%<cfsc> pfsc=%<pfsc> crc=%<crc> phr=%<phr> uas="%<{User-Agent}cqh>"',
+ id => 54,
+ name => 'record_types',
+ config_file => 'astats.config',
+ value => '144',
},
},
- ## id => 54
- 'LogFormat.Name' => {
+ 'astats.config_location' => {
new => 'Parameter',
using => {
- name => 'LogFormat.Name',
- config_file => 'logs_xml.config',
- value => 'custom_ats_2',
+ id => 55,
+ name => 'location',
+ config_file => 'astats.config',
+ value => '/opt/trafficserver/etc/trafficserver',
},
},
- ## id => 55
- 'LogObject.Format' => {
+ 'astats.config_path' => {
new => 'Parameter',
using => {
- name => 'LogObject.Format',
- config_file => 'logs_xml.config',
- value => 'custom_ats_2',
+ id => 56,
+ name => 'path',
+ config_file => 'astats.config',
+ value => '_astats',
},
},
- ## id => 56
- 'LogObject.Filename' => {
+ 'storage.config_location' => {
new => 'Parameter',
using => {
- name => 'LogObject.Filename',
- config_file => 'logs_xml.config',
- value => 'custom_ats_2',
+ id => 57,
+ name => 'location',
+ config_file => 'storage.config',
+ value => '/opt/trafficserver/etc/trafficserver/',
},
},
- ## id => 57
- 'regex_revalidate.config_max_days' => {
+ 'Drive_Prefix' => {
new => 'Parameter',
using => {
- name => 'maxRevalDurationDays',
- config_file => 'regex_revalidate.config',
- value => 90,
+ id => 58,
+ name => 'Drive_Prefix',
+ config_file => 'storage.config',
+ value => '/dev/sd',
},
},
- ## id => 58
- 'regex_revalidate.config_maxRevalDurationDays' => {
+ 'Drive_Letters' => {
new => 'Parameter',
using => {
- name => 'maxRevalDurationDays',
- config_file => 'regex_revalidate.config',
- value => 90,
+ id => 59,
+ name => 'Drive_Letters',
+ config_file => 'storage.config',
+ value => 'b,c,d,e,f,g,h,i,j,k,l,m,n,o',
},
},
- ## id => 59
- 'astats.config_path' => {
+ 'Disk_Volume' => {
new => 'Parameter',
using => {
- name => 'path',
- config_file => 'astats.config',
- value => '_astats',
+ id => 60,
+ name => 'Disk_Volume',
+ config_file => 'storage.config',
+ value => '1',
},
},
- ## id => 60
- 'record_types' => {
+ 'CONFIG-proxy.config.hostdb.storage_size' => {
new => 'Parameter',
using => {
- name => 'record_types',
- config_file => 'astats.config',
- value => '144',
+ id => 61,
+ name => 'CONFIG proxy.config.hostdb.storage_size',
+ config_file => 'records.config',
+ value => 'INT 33554432',
},
},
- ## id => 61
- 'regex_revalidate.so' => {
+ 'regex_revalidate.config_snapshot_dir' => {
new => 'Parameter',
using => {
- name => 'regex_revalidate.so',
- config_file => 'plugin.config',
- value => '--config regex_revalidate.config',
+ id => 62,
+ name => 'snapshot_dir',
+ config_file => 'regex_revalidate.config',
+ value => 'public/Trafficserver-Snapshots/',
},
},
- ## id => 62
- 'regex_revalidate.config_snapshot_dir' => {
+ 'regex_revalidate.config_max_days' => {
new => 'Parameter',
using => {
- name => 'snapshot_dir',
+ id => 63,
+ name => 'maxRevalDurationDays',
config_file => 'regex_revalidate.config',
- value => 'public/Trafficserver-Snapshots/',
+ value => 3,
+ },
+ },
+ 'regex_revalidate.config_maxRevalDurationDays' => {
+ new => 'Parameter',
+ using => {
+ id => 64,
+ name => 'maxRevalDurationDays',
+ config_file => 'regex_revalidate.config',
+ value => 90,
},
- }
+ },
);
sub get_definition {
@@ -587,7 +587,7 @@ sub get_definition {
sub all_fixture_names {
# sort by db name to guarantee insertion order
- return (sort { lc($definition_for{$a}{using}{name}) cmp lc($definition_for{$b}{using}{name}) } keys %definition_for);
+ return (sort { lc($definition_for{$a}{using}{id}) cmp lc($definition_for{$b}{using}{name}) } keys %definition_for);
}
__PACKAGE__->meta->make_immutable;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d844c7a4/traffic_ops/app/lib/Fixtures/Profile.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/Profile.pm b/traffic_ops/app/lib/Fixtures/Profile.pm
index cea8182..f4765b3 100644
--- a/traffic_ops/app/lib/Fixtures/Profile.pm
+++ b/traffic_ops/app/lib/Fixtures/Profile.pm
@@ -18,54 +18,54 @@ extends 'DBIx::Class::EasyFixture';
use namespace::autoclean;
my %definition_for = (
- ## id => 1
- CCR1 => {
- new => 'Profile',
- using => {
- name => 'CCR1',
- description => 'ccr description',
- },
- },
- ## id => 2
EDGE1 => {
new => 'Profile',
using => {
+ id => 1,
name => 'EDGE1',
description => 'edge description',
},
},
- ## id => 3
MID1 => {
new => 'Profile',
using => {
+ id => 2,
name => 'MID1',
description => 'mid description',
},
},
- ## id => 4
+ CCR1 => {
+ new => 'Profile',
+ using => {
+ id => 3,
+ name => 'CCR1',
+ description => 'ccr description',
+ },
+ },
+ RIAK1 => {
+ new => 'Profile',
+ using => {
+ id => 5,
+ name => 'RIAK1',
+ description => 'riak description',
+ },
+ },
RASCAL1 => {
new => 'Profile',
using => {
+ id => 6,
name => 'RASCAL1',
description => 'rascal description',
},
},
- ## id => 5
RASCAL2 => {
new => 'Profile',
using => {
+ id => 7,
name => 'RASCAL2',
description => 'rascal2 description',
},
},
- ## id => 6
- RIAK1 => {
- new => 'Profile',
- using => {
- name => 'RIAK1',
- description => 'riak description',
- },
- },
);
sub get_definition {
@@ -76,7 +76,7 @@ sub get_definition {
sub all_fixture_names {
# sort by db name to guarantee insertion order
- return (sort { $definition_for{$a}{using}{name} cmp $definition_for{$b}{using}{name} } keys %definition_for);
+ return (sort { $definition_for{$a}{using}{id} cmp $definition_for{$b}{using}{id} } keys %definition_for);
}
__PACKAGE__->meta->make_immutable;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d844c7a4/traffic_ops/app/lib/Fixtures/ProfileParameter.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/ProfileParameter.pm b/traffic_ops/app/lib/Fixtures/ProfileParameter.pm
index 9969347..e5a306e 100644
--- a/traffic_ops/app/lib/Fixtures/ProfileParameter.pm
+++ b/traffic_ops/app/lib/Fixtures/ProfileParameter.pm
@@ -19,839 +19,839 @@ use namespace::autoclean;
use Digest::SHA1 qw(sha1_hex);
my %definition_for = (
- domain_name3 => {
- new => 'ProfileParameter',
- using => {
- profile => 1,
- parameter => 13,
- },
- },
- 'edge1_allow_ip' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 1,
- },
- },
- 'edge1_allow_ip6' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 2,
- },
- },
- 'edge1_astats_over_http.so' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 3,
- },
- },
- 'edge1_CONFIG-proxy.config.allocator.debug_filter' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 4,
- },
- },
- 'edge1_CONFIG-proxy.config.allocator.enable_reclaim' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 5,
- },
- },
- 'edge1_CONFIG-proxy.config.allocator.max_overage' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 6,
- },
- },
- 'edge1_CONFIG-proxy.config.cache.control.filename' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 7,
- },
- },
- 'edge1_CONFIG-proxy.config.diags.show_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 8,
- },
- },
- 'edge1_CONFIG-proxy.config.http.cache.allow_empty_doc' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 9,
- },
- },
- 'edge1_CONFIG-proxy.config.http.parent_proxy.file' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 10,
- },
- },
- 'edge1_CONFIG-proxy.config.hostdb.storage_size' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 11,
- },
- },
- 'edge1_Disk_Volume' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 12,
- },
- },
- domain_name => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 13,
- },
- },
- 'edge1_Drive_Letters' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 14,
- },
- },
- 'edge1_Drive_Prefix' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 15,
- },
- },
- 'edge1_error_url' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 16,
- },
- },
- edge1_key0 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 20,
- },
- },
- edge1_key1 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 21,
- },
- },
- edge1_key2 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 22,
- },
- },
- edge1_key3 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 23,
- },
- },
- edge1_key4 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 24,
- },
- },
- edge1_key5 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 25,
- },
- },
- edge1_key6 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 26,
- },
- },
- edge1_key7 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 27,
- },
- },
- edge1_key8 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 28,
- },
- },
- edge1_key9 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 29,
- },
- },
- edge1_key10 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 30,
- },
- },
- edge1_key11 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 31,
- },
- },
- edge1_key12 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 32,
- },
- },
- edge1_key13 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 33,
- },
- },
- edge1_key14 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 34,
- },
- },
- edge1_key15 => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 35,
- },
- },
- 'LOCAL-proxy.config.cache.interim.storage' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 36,
- },
- },
- 'edge1_url_sig_cdl-c2.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 37,
- },
- },
- 'edge1_12M_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 38,
- },
- },
- 'edge1_cacheurl_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 39,
- },
- },
- 'edge1_ip_allow_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 40,
- },
- },
- 'edge1_crontab_root_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 41,
- },
- },
- 'edge1_hdr_rw_cdl-c2.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 42,
- },
- },
- 'edge1_50-ats.rules_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 43,
- },
- },
- 'edge1_parent.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 44,
- },
- },
- 'edge1_remap.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 45,
- },
- },
- 'edge1_drop_qstring.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 46,
- },
- },
- 'edge1_cache.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 47,
- },
- },
- 'edge1_regex_revalidate.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 48,
- },
- },
- 'edge1_hosting.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 49,
- },
- },
- 'edge1_volume.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 50,
- },
- },
- 'edge1_astats.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 51,
- },
- },
- 'edge1_storage.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 52,
- },
- },
- 'edge1_LogFormat.Format' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 53,
- },
- },
- 'edge1_LogFormat.Name' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 54,
- },
- },
- 'edge1_LogObject.Format' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 55,
- },
- },
- 'edge1_LogObject.Filename' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 56,
- },
- },
- 'edge1_astats.config_path' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 59,
- },
- },
- 'edge1_record_types' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 60,
- },
- },
- 'edge1_regex_revalidate.so' => {
- new => 'ProfileParameter',
- using => {
- profile => 2,
- parameter => 61,
- },
- },
- 'mid1_allow_ip' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 1,
- },
- },
- 'mid1_allow_ip6' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 2,
- },
- },
- 'mid1_astats_over_http.so' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 3,
- },
- },
- 'mid1_CONFIG-proxy.config.allocator.debug_filter' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 4,
- },
- },
- 'mid1_CONFIG-proxy.config.allocator.enable_reclaim' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 5,
- },
- },
- 'mid1_CONFIG-proxy.config.allocator.max_overage' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 6,
- },
- },
- 'mid1_CONFIG-proxy.config.cache.control.filename' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 7,
- },
- },
- 'mid1_CONFIG-proxy.config.diags.show_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 8,
- },
- },
- 'mid1_CONFIG-proxy.config.http.cache.allow_empty_doc' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 9,
- },
- },
- 'mid1_CONFIG-proxy.config.http.parent_proxy.file' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 10,
- },
- },
- 'mid1_CONFIG-proxy.config.hostdb.storage_size' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 11,
- },
- },
- 'mid1_Disk_Volume' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 12,
- },
- },
- domain_name2 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 13,
- },
- },
- 'mid1_Drive_Letters' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 14,
- },
- },
- 'mid1_Drive_Prefix' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 15,
- },
- },
- 'mid1_error_url' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 16,
- },
- },
- rascal_properties2 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 17,
- },
- },
- rascal_properties1 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 18,
- },
- },
- rascal_properties2 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 19,
- },
- },
- mid1_key0 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 20,
- },
- },
- mid1_key1 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 21,
- },
- },
- mid1_key2 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 22,
- },
- },
- mid1_key3 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 23,
- },
- },
- mid1_key4 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 24,
- },
- },
- mid1_key5 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 25,
- },
- },
- mid1_key6 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 26,
- },
- },
- mid1_key7 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 27,
- },
- },
- mid1_key8 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 28,
- },
- },
+ domain_name => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 3,
+ },
+ },
+ domain_name2 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 3,
+ },
+ },
+ domain_name3 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 3,
+ parameter => 3,
+ },
+ },
+ domain_name5 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 5,
+ parameter => 3,
+ },
+ },
+ domain_name6 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 6,
+ parameter => 3,
+ },
+ },
+ domain_name7 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 7,
+ parameter => 3,
+ },
+ },
+ rascal_properties1 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 4,
+ },
+ },
+ rascal_properties2 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 5,
+ },
+ },
+ rascal_properties2 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 6,
+ },
+ },
+ edge1_key0 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 7,
+ },
+ },
+ edge1_key1 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 8,
+ },
+ },
+ edge1_key2 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 9,
+ },
+ },
+ edge1_key3 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 10,
+ },
+ },
+ edge1_key4 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 11,
+ },
+ },
+ edge1_key5 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 12,
+ },
+ },
+ edge1_key6 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 13,
+ },
+ },
+ edge1_key7 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 14,
+ },
+ },
+ edge1_key8 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 15,
+ },
+ },
+ edge1_key9 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 16,
+ },
+ },
+ edge1_key10 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 17,
+ },
+ },
+ edge1_key11 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 18,
+ },
+ },
+ edge1_key12 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 19,
+ },
+ },
+ edge1_key13 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 20,
+ },
+ },
+ edge1_key14 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 21,
+ },
+ },
+ edge1_key15 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 22,
+ },
+ },
+ 'edge1_url_sig_cdl-c2.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 23,
+ },
+ },
+ 'edge1_error_url' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 24,
+ },
+ },
+ 'edge1_CONFIG-proxy.config.allocator.debug_filter' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 25,
+ },
+ },
+ 'edge1_CONFIG-proxy.config.allocator.enable_reclaim' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 26,
+ },
+ },
+ 'edge1_CONFIG-proxy.config.allocator.max_overage' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 27,
+ },
+ },
+ 'edge1_CONFIG-proxy.config.diags.show_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 28,
+ },
+ },
+ 'edge1_CONFIG-proxy.config.http.cache.allow_empty_doc' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 29,
+ },
+ },
+ 'LOCAL-proxy.config.cache.interim.storage' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 30,
+ },
+ },
+ 'edge1_CONFIG-proxy.config.http.parent_proxy.file' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 31,
+ },
+ },
+ 'edge1_12M_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 32,
+ },
+ },
+ 'edge1_cacheurl_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 33,
+ },
+ },
+ 'edge1_ip_allow_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 34,
+ },
+ },
+ 'edge1_astats_over_http.so' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 35,
+ },
+ },
+ 'edge1_crontab_root_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 36,
+ },
+ },
+ 'edge1_hdr_rw_cdl-c2.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 37,
+ },
+ },
+ 'edge1_50-ats.rules_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 38,
+ },
+ },
+ 'edge1_parent.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 39,
+ },
+ },
+ 'edge1_remap.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 40,
+ },
+ },
+ 'edge1_drop_qstring.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 41,
+ },
+ },
+ 'edge1_LogFormat.Format' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 42,
+ },
+ },
+ 'edge1_LogFormat.Name' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 43,
+ },
+ },
+ 'edge1_LogObject.Format' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 44,
+ },
+ },
+ 'edge1_LogObject.Filename' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 45,
+ },
+ },
+ 'edge1_cache.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 46,
+ },
+ },
+ 'edge1_CONFIG-proxy.config.cache.control.filename' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 47,
+ },
+ },
+ 'edge1_regex_revalidate.so' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 48,
+ },
+ },
+ 'edge1_regex_revalidate.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 49,
+ },
+ },
+ 'edge1_hosting.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 50,
+ },
+ },
+ 'edge1_volume.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 51,
+ },
+ },
+ 'edge1_allow_ip' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 52,
+ },
+ },
+ 'edge1_allow_ip6' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 53,
+ },
+ },
+ 'edge1_record_types' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 54,
+ },
+ },
+ 'edge1_astats.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 55,
+ },
+ },
+ 'edge1_astats.config_path' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 56,
+ },
+ },
+ 'edge1_storage.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 57,
+ },
+ },
+ 'edge1_Drive_Prefix' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 58,
+ },
+ },
+ 'edge1_Drive_Letters' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 59,
+ },
+ },
+ 'edge1_Disk_Volume' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 60,
+ },
+ },
+ 'edge1_CONFIG-proxy.config.hostdb.storage_size' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 1,
+ parameter => 61,
+ },
+ },
+ mid1_key0 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 7,
+ },
+ },
+ mid1_key1 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 8,
+ },
+ },
+ mid1_key2 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 9,
+ },
+ },
+ mid1_key3 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 10,
+ },
+ },
+ mid1_key4 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 11,
+ },
+ },
+ mid1_key5 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 12,
+ },
+ },
+ mid1_key6 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 13,
+ },
+ },
+ mid1_key7 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 14,
+ },
+ },
+ mid1_key8 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 15,
+ },
+ },
mid1_key9 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 29,
- },
- },
- mid1_key10 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 30,
- },
- },
- mid1_key11 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 31,
- },
- },
- mid1_key12 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 32,
- },
- },
- mid1_key13 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 33,
- },
- },
- mid1_key14 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 34,
- },
- },
- mid1_key15 => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 35,
- },
- },
- 'LOCAL-proxy.config.cache.interim.storage' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 36,
- },
- },
- 'mid1_url_sig_cdl-c2.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 37,
- },
- },
- 'mid1_12M_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 38,
- },
- },
- 'mid1_cacheurl_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 39,
- },
- },
- 'mid1_ip_allow_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 40,
- },
- },
- 'mid1_crontab_root_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 41,
- },
- },
- 'mid1_hdr_rw_cdl-c2.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 42,
- },
- },
- 'mid1_50-ats.rules_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 43,
- },
- },
- 'mid1_parent.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 44,
- },
- },
- 'mid1_remap.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 45,
- },
- },
- 'mid1_drop_qstring.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 46,
- },
- },
- 'mid1_cache.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 47,
- },
- },
- 'mid1_regex_revalidate.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 48,
- },
- },
- 'mid1_hosting.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 49,
- },
- },
- 'mid1_volume.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 50,
- },
- },
- 'mid1_astats.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 51,
- },
- },
- 'mid1_storage.config_location' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 52,
- },
- },
- 'mid1_LogFormat.Format' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 53,
- },
- },
- 'mid1_LogFormat.Name' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 54,
- },
- },
- 'mid1_LogObject.Format' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 55,
- },
- },
- 'mid1_LogObject.Filename' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 56,
- },
- },
- 'mid1_astats.config_path' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 59,
- },
- },
- 'mid1_record_types' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 60,
- },
- },
- 'mid1_regex_revalidate.so' => {
- new => 'ProfileParameter',
- using => {
- profile => 3,
- parameter => 61,
- },
- },
- domain_name6 => {
- new => 'ProfileParameter',
- using => {
- profile => 4,
- parameter => 13,
- },
- },
- domain_name7 => {
- new => 'ProfileParameter',
- using => {
- profile => 5,
- parameter => 13,
- },
- },
- domain_name5 => {
- new => 'ProfileParameter',
- using => {
- profile => 6,
- parameter => 13,
- },
- },
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 16,
+ },
+ },
+ mid1_key10 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 17,
+ },
+ },
+ mid1_key11 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 18,
+ },
+ },
+ mid1_key12 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 19,
+ },
+ },
+ mid1_key13 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 20,
+ },
+ },
+ mid1_key14 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 21,
+ },
+ },
+ mid1_key15 => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 22,
+ },
+ },
+ 'mid1_url_sig_cdl-c2.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 23,
+ },
+ },
+ 'mid1_error_url' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 24,
+ },
+ },
+ 'mid1_CONFIG-proxy.config.allocator.debug_filter' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 25,
+ },
+ },
+ 'mid1_CONFIG-proxy.config.allocator.enable_reclaim' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 26,
+ },
+ },
+ 'mid1_CONFIG-proxy.config.allocator.max_overage' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 27,
+ },
+ },
+ 'mid1_CONFIG-proxy.config.diags.show_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 28,
+ },
+ },
+ 'mid1_CONFIG-proxy.config.http.cache.allow_empty_doc' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 29,
+ },
+ },
+ 'LOCAL-proxy.config.cache.interim.storage' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 30,
+ },
+ },
+ 'mid1_CONFIG-proxy.config.http.parent_proxy.file' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 31,
+ },
+ },
+ 'mid1_12M_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 32,
+ },
+ },
+ 'mid1_cacheurl_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 33,
+ },
+ },
+ 'mid1_ip_allow_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 34,
+ },
+ },
+ 'mid1_astats_over_http.so' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 35,
+ },
+ },
+ 'mid1_crontab_root_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 36,
+ },
+ },
+ 'mid1_hdr_rw_cdl-c2.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 37,
+ },
+ },
+ 'mid1_50-ats.rules_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 38,
+ },
+ },
+ 'mid1_parent.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 39,
+ },
+ },
+ 'mid1_remap.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 40,
+ },
+ },
+ 'mid1_drop_qstring.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 41,
+ },
+ },
+ 'mid1_LogFormat.Format' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 42,
+ },
+ },
+ 'mid1_LogFormat.Name' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 43,
+ },
+ },
+ 'mid1_LogObject.Format' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 44,
+ },
+ },
+ 'mid1_LogObject.Filename' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 45,
+ },
+ },
+ 'mid1_cache.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 46,
+ },
+ },
+ 'mid1_CONFIG-proxy.config.cache.control.filename' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 47,
+ },
+ },
+ 'mid1_regex_revalidate.so' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 48,
+ },
+ },
+ 'mid1_regex_revalidate.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 49,
+ },
+ },
+ 'mid1_hosting.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 50,
+ },
+ },
+ 'mid1_volume.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 51,
+ },
+ },
+ 'mid1_allow_ip' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 52,
+ },
+ },
+ 'mid1_allow_ip6' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 53,
+ },
+ },
+ 'mid1_record_types' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 54,
+ },
+ },
+ 'mid1_astats.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 55,
+ },
+ },
+ 'mid1_astats.config_path' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 56,
+ },
+ },
+ 'mid1_storage.config_location' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 57,
+ },
+ },
+ 'mid1_Drive_Prefix' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 58,
+ },
+ },
+ 'mid1_Drive_Letters' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 59,
+ },
+ },
+ 'mid1_Disk_Volume' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 60,
+ },
+ },
+ 'mid1_CONFIG-proxy.config.hostdb.storage_size' => {
+ new => 'ProfileParameter',
+ using => {
+ profile => 2,
+ parameter => 61,
+ },
+ },
);
sub get_definition {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d844c7a4/traffic_ops/app/lib/Fixtures/Region.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/Region.pm b/traffic_ops/app/lib/Fixtures/Region.pm
index 0926a55..cecf71c 100644
--- a/traffic_ops/app/lib/Fixtures/Region.pm
+++ b/traffic_ops/app/lib/Fixtures/Region.pm
@@ -18,18 +18,18 @@ extends 'DBIx::Class::EasyFixture';
use namespace::autoclean;
my %definition_for = (
- ## id => 1
mile_high => {
new => 'Region',
using => {
+ id => 1,
name => 'Denver Region',
division => 1,
},
},
- ## id => 2
boulder => {
new => 'Region',
using => {
+ id => 2,
name => 'Boulder Region',
division => 1,
},
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d844c7a4/traffic_ops/app/lib/Fixtures/Role.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/Role.pm b/traffic_ops/app/lib/Fixtures/Role.pm
index b3f3499..0987486 100644
--- a/traffic_ops/app/lib/Fixtures/Role.pm
+++ b/traffic_ops/app/lib/Fixtures/Role.pm
@@ -19,73 +19,73 @@ use namespace::autoclean;
use Digest::SHA1 qw(sha1_hex);
my %definition_for = (
- ## id => 1
- admin => {
+ disallowed => {
new => 'Role',
using => {
- name => 'admin',
- description => 'super-user',
- priv_level => 30,
+ id => 1,
+ name => 'disallowed',
+ description => 'block all access',
+ priv_level => 0,
},
},
- ## id => 2
- disallowed => {
+ read_only => {
new => 'Role',
using => {
- name => 'disallowed',
+ id => 2,
+ name => 'read-only user',
description => 'block all access',
- priv_level => 0,
+ priv_level => 10,
},
},
- ## id => 3
federation => {
new => 'Role',
using => {
+ id => 7,
name => 'federation',
description => 'Role for Secondary CZF',
priv_level => 11,
},
},
- ## id => 4
- migrations => {
+ operations => {
new => 'Role',
using => {
- name => 'migrations',
- description => 'database migrations user - DO NOT REMOVE',
+ id => 3,
+ name => 'operations',
+ description => 'block all access',
priv_level => 20,
},
},
- ## id => 5
- operations => {
+ admin => {
new => 'Role',
using => {
- name => 'operations',
- description => 'block all access',
+ id => 4,
+ name => 'admin',
+ description => 'super-user',
+ priv_level => 30,
+ },
+ },
+ migrations => {
+ new => 'Role',
+ using => {
+ id => 5,
+ name => 'migrations',
+ description => 'database migrations user - DO NOT REMOVE',
priv_level => 20,
},
},
- ## id => 6
portal => {
new => 'Role',
using => {
+ id => 6,
name => 'portal',
description => 'Portal User',
priv_level => 2,
},
},
- ## id => 7
- read_only => {
- new => 'Role',
- using => {
- name => 'read-only user',
- description => 'block all access',
- priv_level => 10,
- },
- },
- ## id => 8
steering => {
new => 'Role',
using => {
+ id => 8,
name => 'steering',
description => 'Role for Steering Delivery Service',
priv_level => 11,