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 2017/06/09 21:53:52 UTC

[1/3] incubator-trafficcontrol git commit: missed the Schema Result file

Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master f2c5da1ec -> 20de6ae26


missed the Schema Result file


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

Branch: refs/heads/master
Commit: 41a2824acce4800e46953a1fe69edf6d65347c8b
Parents: 4f35578
Author: Dewayne Richardson <de...@apache.org>
Authored: Fri Jun 9 15:24:21 2017 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Fri Jun 9 15:53:41 2017 -0600

----------------------------------------------------------------------
 .../app/lib/Schema/Result/GooseDbVersion.pm     | 107 -------------------
 1 file changed, 107 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/41a2824a/traffic_ops/app/lib/Schema/Result/GooseDbVersion.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Schema/Result/GooseDbVersion.pm b/traffic_ops/app/lib/Schema/Result/GooseDbVersion.pm
deleted file mode 100644
index d1dd43c..0000000
--- a/traffic_ops/app/lib/Schema/Result/GooseDbVersion.pm
+++ /dev/null
@@ -1,107 +0,0 @@
-use utf8;
-package Schema::Result::GooseDbVersion;
-
-# Created by DBIx::Class::Schema::Loader
-# DO NOT MODIFY THE FIRST PART OF THIS FILE
-
-=head1 NAME
-
-Schema::Result::GooseDbVersion
-
-=cut
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class::Core';
-
-=head1 TABLE: C<goose_db_version>
-
-=cut
-
-__PACKAGE__->table("goose_db_version");
-
-=head1 ACCESSORS
-
-=head2 id
-
-  data_type: 'bigint'
-  is_auto_increment: 1
-  is_nullable: 0
-  sequence: 'goose_db_version_id_seq'
-
-=head2 version_id
-
-  data_type: 'numeric'
-  is_nullable: 0
-
-=head2 is_applied
-
-  data_type: 'boolean'
-  default_value: false
-  is_nullable: 0
-
-=head2 tstamp
-
-  data_type: 'timestamp with time zone'
-  default_value: current_timestamp
-  is_nullable: 1
-  original: {default_value => \"now()"}
-
-=cut
-
-__PACKAGE__->add_columns(
-  "id",
-  {
-    data_type         => "bigint",
-    is_auto_increment => 1,
-    is_nullable       => 0,
-    sequence          => "goose_db_version_id_seq",
-  },
-  "version_id",
-  { data_type => "numeric", is_nullable => 0 },
-  "is_applied",
-  { data_type => "boolean", default_value => \"false", is_nullable => 0 },
-  "tstamp",
-  {
-    data_type     => "timestamp with time zone",
-    default_value => \"current_timestamp",
-    is_nullable   => 1,
-    original      => { default_value => \"now()" },
-  },
-);
-
-=head1 PRIMARY KEY
-
-=over 4
-
-=item * L</id>
-
-=back
-
-=cut
-
-__PACKAGE__->set_primary_key("id");
-
-
-# Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-11-15 09:35:47
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kNbDG4yXcgqGB2dRrmtF6A
-
-
-# You can replace this text with custom code or comments, and it will be preserved on regeneration
-#
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-#
-1;


[3/3] incubator-trafficcontrol git commit: This closes #665.

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


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

Branch: refs/heads/master
Commit: 20de6ae262e4b64fabd4483b7063f96299c79c22
Parents: 41a2824
Author: Dan Kirkwood <da...@gmail.com>
Authored: Fri Jun 9 15:53:45 2017 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Fri Jun 9 15:53:45 2017 -0600

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

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



[2/3] incubator-trafficcontrol git commit: updated to remove goose_db_version schema files and integration files

Posted by da...@apache.org.
updated to remove goose_db_version schema files and integration files


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

Branch: refs/heads/master
Commit: 4f35578e5adbba1b849ddd1363274513faf2853c
Parents: f2c5da1
Author: Dewayne Richardson <de...@apache.org>
Authored: Fri Jun 9 15:22:48 2017 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Fri Jun 9 15:53:41 2017 -0600

----------------------------------------------------------------------
 traffic_ops/app/db/admin.pl                     |   1 +
 .../lib/Fixtures/Integration/GooseDbVersion.pm  | 294 -------------------
 .../app/lib/Test/IntegrationTestHelper.pm       |   1 -
 3 files changed, 1 insertion(+), 295 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4f35578e/traffic_ops/app/db/admin.pl
----------------------------------------------------------------------
diff --git a/traffic_ops/app/db/admin.pl b/traffic_ops/app/db/admin.pl
index 733ddc7..1e8048e 100755
--- a/traffic_ops/app/db/admin.pl
+++ b/traffic_ops/app/db/admin.pl
@@ -264,6 +264,7 @@ sub reverse_schema {
 			debug                   => 1,
 			dump_directory          => './lib',
 			overwrite_modifications => 1,
+			exclude => 'goose_db_version',
 		},
 		[ $dsn, $user, $pass ],
 	);

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4f35578e/traffic_ops/app/lib/Fixtures/Integration/GooseDbVersion.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/Integration/GooseDbVersion.pm b/traffic_ops/app/lib/Fixtures/Integration/GooseDbVersion.pm
deleted file mode 100644
index bfc025d..0000000
--- a/traffic_ops/app/lib/Fixtures/Integration/GooseDbVersion.pm
+++ /dev/null
@@ -1,294 +0,0 @@
-package Fixtures::Integration::GooseDbVersion;
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-# 
-#   http://www.apache.org/licenses/LICENSE-2.0
-# 
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-
-# Do not edit! Generated code.
-# See https://github.com/Comcast/traffic_control/wiki/The%20Kabletown%20example
-
-use Moose;
-extends 'DBIx::Class::EasyFixture';
-use namespace::autoclean;
-
-my %definition_for = (
-	'0' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:20',
-			version_id => '0',
-		},
-	},
-	'1' => {
-		new => 'GooseDbVersion',
-		using => {
-			tstamp => '2015-12-04 07:46:21',
-			version_id => '20141222103718',
-			is_applied => '1',
-		},
-	},
-	'2' => {
-		new => 'GooseDbVersion',
-		using => {
-			version_id => '20150108100000',
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:21',
-		},
-	},
-	'3' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:21',
-			version_id => '20150205100000',
-			},
-	},
-	'4' => {
-		new => 'GooseDbVersion',
-		using => {
-			version_id => '20150209100000',
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:21',
-		},
-	},
-	'5' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:21',
-			version_id => '20150210100000',
-		},
-	},
-	'6' => {
-		new => 'GooseDbVersion',
-		using => {
-			tstamp => '2015-12-04 07:46:21',
-			version_id => '20150304100000',
-			is_applied => '1',
-		},
-	},
-	'7' => {
-		new => 'GooseDbVersion',
-		using => {
-			version_id => '20150310100000',
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:21',
-		},
-	},
-	'8' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:21',
-			version_id => '20150316100000',
-		},
-	},
-	'9' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150331105256',
-			},
-	},
-	'10' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150501100000',
-		},
-	},
-	'11' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150503100001',
-		},
-	},
-	'12' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150504100000',
-		},
-	},
-	'13' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150504100001',
-		},
-	},
-	'14' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150521100000',
-		},
-	},
-	'15' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150530100000',
-		},
-	},
-	'16' => {
-		new => 'GooseDbVersion',
-		using => {
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150618100000',
-			is_applied => '1',
-		},
-	},
-	'17' => {
-		new => 'GooseDbVersion',
-		using => {
-			version_id => '20150626100000',
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-		},
-	},
-	'18' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150706084134',
-		},
-	},
-	'19' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150721000000',
-		},
-	},
-	'20' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150722100000',
-		},
-	},
-	'21' => {
-		new => 'GooseDbVersion',
-		using => {
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150728000000',
-			is_applied => '1',
-		},
-	},
-	'22' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150804000000',
-		},
-	},
-	'23' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150807000000',
-		},
-		},
-	'24' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150825175644',
-		},
-	},
-	'25' => {
-		new => 'GooseDbVersion',
-		using => {
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150922092122',
-			is_applied => '1',
-		},
-	},
-	'26' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20150925020500',
-		},
-	},
-	'27' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20151020143912',
-		},
-	},
-	'28' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20151021000000',
-		},
-	},
-	'29' => {
-		new => 'GooseDbVersion',
-		using => {
-			is_applied => '1',
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20151027152323',
-		},
-	},
-	'30' => {
-		new => 'GooseDbVersion',
-		using => {
-			tstamp => '2015-12-04 07:46:22',
-			version_id => '20151107000000',
-			is_applied => '1',
-		},
-	},
-);
-
-sub name {
-		return "GooseDbVersion";
-}
-
-sub get_definition {
-		my ( $self,
-$name ) = @_;
-		return $definition_for{$name};
-}
-
-sub all_fixture_names {
-		return keys %definition_for;
-}
-
-__PACKAGE__->meta->make_immutable;
-1;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4f35578e/traffic_ops/app/lib/Test/IntegrationTestHelper.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Test/IntegrationTestHelper.pm b/traffic_ops/app/lib/Test/IntegrationTestHelper.pm
index 59667a3..8aec66b 100644
--- a/traffic_ops/app/lib/Test/IntegrationTestHelper.pm
+++ b/traffic_ops/app/lib/Test/IntegrationTestHelper.pm
@@ -39,7 +39,6 @@ use Fixtures::Integration::FederationFederationResolver;
 use Fixtures::Integration::Federation;
 use Fixtures::Integration::FederationResolver;
 use Fixtures::Integration::FederationTmuser;
-use Fixtures::Integration::GooseDbVersion;
 use Fixtures::Integration::Hwinfo;
 use Fixtures::Integration::JobAgent;
 use Fixtures::Integration::Job;