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/01 15:04:05 UTC

[1/2] incubator-trafficcontrol git commit: fix seeds.sql to check for correct data before insert. This fixes TC-15

Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master 080f84ecd -> cd90ca82b


fix seeds.sql to check for correct data before insert.  This fixes TC-15


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

Branch: refs/heads/master
Commit: efa766153d37ee12c499bb95537351f4bbc7fb84
Parents: 080f84e
Author: Dave Neuman <ne...@apache.org>
Authored: Mon Oct 31 15:38:19 2016 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Tue Nov 1 09:02:11 2016 -0600

----------------------------------------------------------------------
 traffic_ops/app/db/seeds.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/efa76615/traffic_ops/app/db/seeds.sql
----------------------------------------------------------------------
diff --git a/traffic_ops/app/db/seeds.sql b/traffic_ops/app/db/seeds.sql
index 4f47c4e..5611b03 100644
--- a/traffic_ops/app/db/seeds.sql
+++ b/traffic_ops/app/db/seeds.sql
@@ -149,8 +149,8 @@ insert ignore into profile (name, description) values ('INFLUXDB', 'InfluxDb pro
 insert into parameter (name, config_file, value) select * from (select 'CacheStats', 'traffic_stats.config', 'bandwidth') as temp where not exists (select name from parameter where name = 'CacheStats' and config_file = 'traffic_stats.config' and value = 'bandwidth') limit 1;
 insert into parameter (name, config_file, value) select * from (select 'CacheStats', 'traffic_stats.config', 'maxKbps') as temp where not exists (select name from parameter where name = 'CacheStats' and config_file = 'traffic_stats.config' and value = 'maxKbps') limit 1;
 insert into parameter (name, config_file, value) select * from (select 'CacheStats', 'traffic_stats.config', 'ats.proxy.process.http.current_client_connections') as temp where not exists (select name from parameter where name = 'CacheStats' and config_file = 'traffic_stats.config' and value = 'ats.proxy.process.http.current_client_connections') limit 1;
-insert into parameter (name, config_file, value) select * from (select 'CacheStats', 'traffic_stats.config', 'ats.proxy.process.http.current_client_connections') as temp where not exists (select name from parameter where name = 'CacheStats' and config_file = 'traffic_stats.config' and value = 'ats.proxy.process.cache.volume_1.wrap_count') limit 1;
-insert into parameter (name, config_file, value) select * from (select 'CacheStats', 'traffic_stats.config', 'ats.proxy.process.http.current_client_connections') as temp where not exists (select name from parameter where name = 'CacheStats' and config_file = 'traffic_stats.config' and value = 'ats.proxy.process.cache.volume_1.wrap_count') limit 1;
+insert into parameter (name, config_file, value) select * from (select 'CacheStats', 'traffic_stats.config', 'ats.proxy.process.cache.volume_1.wrap_count') as temp where not exists (select name from parameter where name = 'CacheStats' and config_file = 'traffic_stats.config' and value = 'ats.proxy.process.cache.volume_1.wrap_count') limit 1;
+insert into parameter (name, config_file, value) select * from (select 'CacheStats', 'traffic_stats.config', 'ats.proxy.process.cache.volume_2.wrap_count') as temp where not exists (select name from parameter where name = 'CacheStats' and config_file = 'traffic_stats.config' and value = 'ats.proxy.process.cache.volume_2.wrap_count') limit 1;
 insert into parameter (name, config_file, value) select * from (select 'DsStats', 'traffic_stats.config', 'kbps') as temp where not exists (select name from parameter where name = 'DsStats' and config_file = 'traffic_stats.config' and value = 'kbps') limit 1;
 insert into parameter (name, config_file, value) select * from (select 'DsStats', 'traffic_stats.config', 'tps_2xx') as temp where not exists (select name from parameter where name = 'DsStats' and config_file = 'traffic_stats.config' and value = 'tps_2xx') limit 1;
 insert into parameter (name, config_file, value) select * from (select 'DsStats', 'traffic_stats.config', 'status_4xx') as temp where not exists (select name from parameter where name = 'DsStats' and config_file = 'traffic_stats.config' and value = 'status_4xx') limit 1;


[2/2] incubator-trafficcontrol git commit: This closes #26

Posted by da...@apache.org.
This closes #26


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

Branch: refs/heads/master
Commit: cd90ca82b19b9c5df95ad93948658ed29baef721
Parents: efa7661
Author: Dan Kirkwood <da...@gmail.com>
Authored: Tue Nov 1 09:02:16 2016 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Tue Nov 1 09:02:16 2016 -0600

----------------------------------------------------------------------

----------------------------------------------------------------------