trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neu...@apache.org
Subject [3/4] incubator-trafficcontrol git commit: removes unused schema files
Date Tue, 02 May 2017 15:44:48 GMT
removes unused schema 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/c8bbc658
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/c8bbc658
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/c8bbc658

Branch: refs/heads/master
Commit: c8bbc658b7668d0b9c4617d03b6302db0f6ca6e6
Parents: 80c8a8b
Author: Dan Kirkwood <dangogh@gmail.com>
Authored: Thu Apr 27 21:56:22 2017 +0000
Committer: David Neuman <david.neuman64@gmail.com>
Committed: Tue May 2 09:43:49 2017 -0600

----------------------------------------------------------------------
 .../lib/Schema/Result/DeliveryserviceExtuser.pm | 144 -------------
 traffic_ops/app/lib/Schema/Result/Staticdn.pm   | 205 -------------------
 2 files changed, 349 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c8bbc658/traffic_ops/app/lib/Schema/Result/DeliveryserviceExtuser.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Schema/Result/DeliveryserviceExtuser.pm b/traffic_ops/app/lib/Schema/Result/DeliveryserviceExtuser.pm
deleted file mode 100644
index 4d703c3..0000000
--- a/traffic_ops/app/lib/Schema/Result/DeliveryserviceExtuser.pm
+++ /dev/null
@@ -1,144 +0,0 @@
-use utf8;
-#
-#
-# 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.
-#
-#
-#
-package Schema::Result::DeliveryserviceExtuser;
-
-# Created by DBIx::Class::Schema::Loader
-# DO NOT MODIFY THE FIRST PART OF THIS FILE
-
-=head1 NAME
-
-Schema::Result::DeliveryserviceExtuser
-
-=cut
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class::Core';
-
-=head1 TABLE: C<deliveryservice_extuser>
-
-=cut
-
-__PACKAGE__->table("deliveryservice_extuser");
-
-=head1 ACCESSORS
-
-=head2 deliveryservice
-
-  data_type: 'integer'
-  is_foreign_key: 1
-  is_nullable: 0
-
-=head2 ext_user
-
-  data_type: 'integer'
-  is_foreign_key: 1
-  is_nullable: 0
-
-=head2 last_updated
-
-  data_type: 'timestamp'
-  datetime_undef_if_invalid: 1
-  default_value: current_timestamp
-  is_nullable: 1
-
-=cut
-
-__PACKAGE__->add_columns(
-  "deliveryservice",
-  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
-  "ext_user",
-  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
-  "last_updated",
-  {
-    data_type => "timestamp",
-    datetime_undef_if_invalid => 1,
-    default_value => \"current_timestamp",
-    is_nullable => 1,
-  },
-);
-
-=head1 PRIMARY KEY
-
-=over 4
-
-=item * L</deliveryservice>
-
-=item * L</ext_user>
-
-=back
-
-=cut
-
-__PACKAGE__->set_primary_key("deliveryservice", "ext_user");
-
-=head1 RELATIONS
-
-=head2 deliveryservice
-
-Type: belongs_to
-
-Related object: L<Schema::Result::Deliveryservice>
-
-=cut
-
-__PACKAGE__->belongs_to(
-  "deliveryservice",
-  "Schema::Result::Deliveryservice",
-  { id => "deliveryservice" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
-);
-
-=head2 ext_user
-
-Type: belongs_to
-
-Related object: L<Schema::Result::ExtUser>
-
-=cut
-
-__PACKAGE__->belongs_to(
-  "ext_user",
-  "Schema::Result::ExtUser",
-  { id => "ext_user" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
-);
-
-
-# Created by DBIx::Class::Schema::Loader v0.07038 @ 2014-05-31 10:56:04
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0mAZwi9FfXC0pwdB84yM0Q
-
-
-# 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;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c8bbc658/traffic_ops/app/lib/Schema/Result/Staticdn.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Schema/Result/Staticdn.pm b/traffic_ops/app/lib/Schema/Result/Staticdn.pm
deleted file mode 100644
index 10d1dc5..0000000
--- a/traffic_ops/app/lib/Schema/Result/Staticdn.pm
+++ /dev/null
@@ -1,205 +0,0 @@
-use utf8;
-#
-#
-# 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.
-#
-#
-#
-package Schema::Result::Staticdn;
-
-# Created by DBIx::Class::Schema::Loader
-# DO NOT MODIFY THE FIRST PART OF THIS FILE
-
-=head1 NAME
-
-Schema::Result::Staticdn
-
-=cut
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class::Core';
-
-=head1 TABLE: C<staticdns>
-
-=cut
-
-__PACKAGE__->table("staticdns");
-
-=head1 ACCESSORS
-
-=head2 id
-
-  data_type: 'integer'
-  is_auto_increment: 1
-  is_nullable: 0
-
-=head2 host
-
-  data_type: 'varchar'
-  is_nullable: 0
-  size: 45
-
-=head2 address
-
-  data_type: 'varchar'
-  is_nullable: 0
-  size: 45
-
-=head2 type
-
-  data_type: 'integer'
-  is_foreign_key: 1
-  is_nullable: 0
-
-=head2 ttl
-
-  data_type: 'integer'
-  default_value: 3600
-  is_nullable: 0
-
-=cut
-
-__PACKAGE__->add_columns(
-  "id",
-  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
-  "host",
-  { data_type => "varchar", is_nullable => 0, size => 45 },
-  "address",
-  { data_type => "varchar", is_nullable => 0, size => 45 },
-  "type",
-  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
-  "ttl",
-  { data_type => "integer", default_value => 3600, is_nullable => 0 },
-);
-
-=head1 PRIMARY KEY
-
-=over 4
-
-=item * L</id>
-
-=back
-
-=cut
-
-__PACKAGE__->set_primary_key("id");
-
-=head1 UNIQUE CONSTRAINTS
-
-=head2 C<host_name_UNIQUE>
-
-=over 4
-
-=item * L</host>
-
-=back
-
-=cut
-
-__PACKAGE__->add_unique_constraint("host_name_UNIQUE", ["host"]);
-
-=head1 RELATIONS
-
-=head2 staticdns_deliveryservices
-
-Type: has_many
-
-Related object: L<Schema::Result::StaticdnsDeliveryservice>
-
-=cut
-
-__PACKAGE__->has_many(
-  "staticdns_deliveryservices",
-  "Schema::Result::StaticdnsDeliveryservice",
-  { "foreign.staticdns" => "self.id" },
-  { cascade_copy => 0, cascade_delete => 0 },
-);
-
-=head2 staticdns_locations
-
-Type: has_many
-
-Related object: L<Schema::Result::StaticdnsLocation>
-
-=cut
-
-__PACKAGE__->has_many(
-  "staticdns_locations",
-  "Schema::Result::StaticdnsLocation",
-  { "foreign.staticdns" => "self.id" },
-  { cascade_copy => 0, cascade_delete => 0 },
-);
-
-=head2 type
-
-Type: belongs_to
-
-Related object: L<Schema::Result::Type>
-
-=cut
-
-__PACKAGE__->belongs_to(
-  "type",
-  "Schema::Result::Type",
-  { id => "type" },
-  { is_deferrable => 1, on_delete => "NO ACTION", on_update => "NO ACTION" },
-);
-
-=head2 deliveryservices
-
-Type: many_to_many
-
-Composing rels: L</staticdns_deliveryservices> -> deliveryservice
-
-=cut
-
-__PACKAGE__->many_to_many(
-  "deliveryservices",
-  "staticdns_deliveryservices",
-  "deliveryservice",
-);
-
-=head2 locations
-
-Type: many_to_many
-
-Composing rels: L</staticdns_locations> -> location
-
-=cut
-
-__PACKAGE__->many_to_many("locations", "staticdns_locations", "location");
-
-
-# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-18 16:59:25
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:C3Jv7K0u4um1s/Y1PH0ljA
-
-
-# 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;


Mime
View raw message