[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-04-06 Thread nir-sopher
Github user nir-sopher closed the pull request at: https://github.com/apache/incubator-trafficcontrol/pull/322 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-03-06 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r104491526 --- Diff: traffic_ops/app/lib/API/User.pm --- @@ -218,6 +226,121 @@ sub update { } +# Create +sub create {

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-03-06 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r104487532 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-03-06 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r104487370 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-03-06 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r104485020 --- Diff: traffic_ops/app/db/migrations/2017022101_initial_tenancy.sql --- @@ -0,0 +1,65 @@ +/* + +Licensed under

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-03-01 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103793015 --- Diff: traffic_ops/app/t/api/1.2/tenant.t --- @@ -0,0 +1,156 @@ +package main; +# +# +# Licensed under the Apache Lic

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-03-01 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103788980 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apac

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread dangogh
Github user dangogh commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103572789 --- Diff: traffic_ops/app/t/api/1.2/tenant.t --- @@ -0,0 +1,156 @@ +package main; +# +# +# Licensed under the Apache Licens

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103570488 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103548618 --- Diff: traffic_ops/app/t/api/1.2/tenant.t --- @@ -0,0 +1,156 @@ +package main; +# +# +# Licensed under the Apache Lic

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103548560 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apac

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103548410 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apac

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103548284 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apac

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103548305 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apac

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103548224 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apac

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103548093 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apac

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103547967 --- Diff: traffic_ops/app/lib/API/User.pm --- @@ -218,6 +218,118 @@ sub update { } +# Create +sub create {

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103547425 --- Diff: traffic_ops/app/lib/API/User.pm --- @@ -218,6 +218,118 @@ sub update { } +# Create +sub create {

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103547240 --- Diff: traffic_ops/app/t/api/1.2/tenant.t --- @@ -0,0 +1,156 @@ +package main; +# +# +# Licensed under the Apache Lic

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread nir-sopher
Github user nir-sopher commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103547046 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apac

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103532921 --- Diff: traffic_ops/app/lib/Schema/Result/GooseDbVersion.pm --- @@ -25,25 +25,24 @@ __PACKAGE__->table("goose_db_version");

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103535776 --- Diff: traffic_ops/app/lib/Schema/Result/GooseDbVersion.pm --- @@ -25,25 +25,24 @@ __PACKAGE__->table("goose_db_version");

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103535234 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103531928 --- Diff: traffic_ops/app/t/api/1.2/tenant.t --- @@ -0,0 +1,156 @@ +package main; +# +# +# Licensed under the Apache Li

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103535340 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103535521 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103531473 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103535276 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103532294 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103535173 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103531624 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103531735 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103532650 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103534895 --- Diff: traffic_ops/app/t/api/1.2/tenant.t --- @@ -0,0 +1,156 @@ +package main; +# +# +# Licensed under the Apache Li

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103534500 --- Diff: traffic_ops/app/lib/API/User.pm --- @@ -218,6 +218,118 @@ sub update { } +# Create +sub create {

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103532374 --- Diff: traffic_ops/app/lib/API/Tenant.pm --- @@ -0,0 +1,225 @@ +package API::Tenant; +# +# +# Licensed under the Apa

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103535963 --- Diff: traffic_ops/app/t/api/1.2/tenant.t --- @@ -0,0 +1,156 @@ +package main; +# +# +# Licensed under the Apache Li

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread mitchell852
Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/322#discussion_r103534303 --- Diff: traffic_ops/app/lib/API/User.pm --- @@ -218,6 +218,118 @@ sub update { } +# Create +sub create {

[GitHub] incubator-trafficcontrol pull request #322: Adding tenancy to the database

2017-02-28 Thread nir-sopher
GitHub user nir-sopher opened a pull request: https://github.com/apache/incubator-trafficcontrol/pull/322 Adding tenancy to the database WIP On this PR the tenancy is only added to the relavant tables. The already existing APIs were not modified. Default tenancy of items is