[incubator-trafficcontrol] branch master updated: update delivery service fields

2018-04-26 Thread friede
This is an automated email from the ASF dual-hosted git repository.

friede pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
 new ef7b51f  update delivery service fields
ef7b51f is described below

commit ef7b51f8766f2b574be132ed4f729490b8e89df0
Author: Ashish Timilsina <at...@drexel.edu>
AuthorDate: Thu Apr 26 10:56:22 2018 -0600

update delivery service fields
---
 docs/source/admin/traffic_ops/using.rst | 272 +---
 1 file changed, 143 insertions(+), 129 deletions(-)

diff --git a/docs/source/admin/traffic_ops/using.rst 
b/docs/source/admin/traffic_ops/using.rst
index 5b0f2a8..b4bdece 100644
--- a/docs/source/admin/traffic_ops/using.rst
+++ b/docs/source/admin/traffic_ops/using.rst
@@ -291,135 +291,149 @@ Delivery Service
 
 The fields in the Delivery Service view are:
 
-+--+-+
-|   Name   |   
  
Description 
|
-+==+=+
-| Active   | When this is set to no 
Traffic Router will not serve DNS or HTTP responses for this delivery service.  

 |
-+--+-+
-| Content Routing Type | The type of content 
routing this delivery service will use. See :ref:`rl-ds-types`. 

|
-+--+-+
-| Key(XML ID)  | A unique string that 
identifies this delivery service.   

   |
-+--+-+
-| Display Name | Delivery Service Name.


  |
-+--+-+
-| Tenant   | Dropdown to choose the 
appropriate tenant for your delivery service.   

 |
-+--+-+
-| CDN  | Dropdown to choose the 
CDN that the delivery service wi

incubator-trafficcontrol-website git commit: Add Github Issues tracker link to front page

2018-04-26 Thread friede
Repository: incubator-trafficcontrol-website
Updated Branches:
  refs/heads/asf-site feda60594 -> d740de7b4


Add Github Issues tracker link to front page

Fixes #2164


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

Branch: refs/heads/asf-site
Commit: d740de7b4db25135c8def0b079be7bcb9c1f0cdb
Parents: feda605
Author: Eric Friedrich 
Authored: Thu Apr 26 06:49:39 2018 -0400
Committer: Eric Friedrich 
Committed: Thu Apr 26 06:49:39 2018 -0400

--
 index.html | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/d740de7b/index.html
--
diff --git a/index.html b/index.html
index 07d9924..889e10e 100644
--- a/index.html
+++ b/index.html
@@ -21,6 +21,7 @@
   SECURITY
   DOWNLOADS
   https://github.com/apache/incubator-trafficcontrol;>GIT
+  https://github.com/apache/incubator-trafficcontrol/issues;>ISSUES
   http://traffic-control-cdn.readthedocs.io/en/latest/index.html;>DOCS
   INFO
   HOME



[incubator-trafficcontrol] branch master updated: Fix extra license headings for removed x libs

2018-04-04 Thread friede
This is an automated email from the ASF dual-hosted git repository.

friede pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
 new 9d1d9a5  Fix extra license headings for removed x libs
9d1d9a5 is described below

commit 9d1d9a54bd42cdb33a00f3f141343b04cc152ed4
Author: Robert Butts <r...@apache.org>
AuthorDate: Wed Apr 4 08:49:11 2018 -0600

Fix extra license headings for removed x libs
---
 LICENSE | 16 
 1 file changed, 16 deletions(-)

diff --git a/LICENSE b/LICENSE
index 6079c0c..a1b85db 100644
--- a/LICENSE
+++ b/LICENSE
@@ -334,12 +334,6 @@ For the errors component:
 @traffic_stats/vendor/github.com/pkg/errors/*
 ./traffic_stats/vendor/github.com/pkg/errors/LICENSE
 
-For the x/net component:
-@traffic_stats/vendor/golang.org/x/net/*
-@traffic_ops/testing/compare/vendor/golang.org/x/net/*
-./traffic_stats/vendor/golang.org/x/net/LICENSE
-./traffic_stats/vendor/golang.org/x/net/PATENTS
-
 For the MaxMind DB GeoLite2 Database:
 @traffic_router/core/src/test/resources/geo/GeoLite2-City.mmdb.gz
 ./licenses/CC_A_SA_4-maxmind
@@ -408,16 +402,6 @@ The riak-go-client component is used under the Apache 
license:
 @traffic_ops/traffic_ops_golang/vendor/github.com/basho/riak-go-client/*
 ./traffic_ops/traffic_ops_golang/vendor/github.com/basho/riak-go-client/LICENSE
 
-The x/crypto library is used under the BSD License from the Go Authors:
-@traffic_ops/traffic_ops_golang/vendor/golang.org/x/crypto/*
-@traffic_ops/testing/api/vendor/golang.org/x/crypto/*
-./traffic_ops/traffic_ops_golang/vendor/golang.org/x/crypto/LICENSE
-./traffic_ops/traffic_ops_golang/vendor/golang.org/x/crypto/PATENTS
-
-The x/net library is used under the BSD License from the Go Authors:
-@traffic_ops/testing/api/vendor/golang.org/x/net/*
-./traffic_ops/testing/api/vendor/golang.org/x/net/LICENSE
-
 The envconfig component is used under the MIT license:
 @traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/*
 @traffic_ops/testing/compare/vendor/github.com/kelseyhightower/envconfig/*

-- 
To stop receiving notification emails like this one, please contact
fri...@apache.org.


[incubator-trafficcontrol] branch NameServerTest-header deleted (was 61eb1f2)

2018-03-08 Thread friede
This is an automated email from the ASF dual-hosted git repository.

friede pushed a change to branch NameServerTest-header
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git.


 was 61eb1f2  Add missing AL2 header to NameServerTest.java

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.

-- 
To stop receiving notification emails like this one, please contact
fri...@apache.org.


[incubator-trafficcontrol] branch master updated: Added info on xml to lua

2018-03-01 Thread friede
This is an automated email from the ASF dual-hosted git repository.

friede pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
 new 270d069  Added info on xml to lua
270d069 is described below

commit 270d069baf794209e7596ee366657d96b1f005c7
Author: Evan Zelkowitz <19699200+ezelk...@users.noreply.github.com>
AuthorDate: Wed Feb 28 16:30:12 2018 -0700

Added info on xml to lua
---
 docs/source/admin/traffic_ops/migration_from_20_to_22.rst | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/docs/source/admin/traffic_ops/migration_from_20_to_22.rst 
b/docs/source/admin/traffic_ops/migration_from_20_to_22.rst
index e073858..d27fed4 100644
--- a/docs/source/admin/traffic_ops/migration_from_20_to_22.rst
+++ b/docs/source/admin/traffic_ops/migration_from_20_to_22.rst
@@ -23,6 +23,7 @@ Before this release, DNS Delivery Services were hardcoded to 
use the name "edge"
 Pre-2.2 the HTTP Routing Name is configurable via the http.routing.name option 
in in the Traffic Router http.properties config file. If your CDN uses that 
option to change the name from "tr" to something else, then you will need to 
perform the following steps for each CDN affected:
 
 1. In Traffic Ops, create the following profile parameter (double-check for 
typos, trailing spaces, etc):
+
   * **name**: upgrade_http_routing_name
   * **config file**: temp
   * **value**: whatever value is used for the affected CDN's http.routing.name
@@ -113,3 +114,9 @@ Also note the ``s?`` used here so that both http and https 
requests will end up
 .. _ApacheTrafficServerDocs: 
https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/cachekey.en.html
 
 Further documentation on the cachekey plugin can be found at 
`ApacheTrafficServerDocs`_
+
+Apache Traffic Server 7.x (Logging)
+---
+Trafficserver v7 has changed the logging format.  Previously this was an xml 
file and now it is a lua file. Traffic Control compensates for this
+automatically depending upon the filename used for the logging parameters.  
Previously the file used was ``logs_xml.config``, for ATS 7 it is now
+``logging.config``.  The same parameters will work this new file, 
``LogFormat.Format``, ``LogFormat.Name``, ``LogObject.Format`` etc.

-- 
To stop receiving notification emails like this one, please contact
fri...@apache.org.


[incubator-trafficcontrol] branch master updated: Add weasel to the docker build.

2018-02-26 Thread friede
This is an automated email from the ASF dual-hosted git repository.

friede pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
 new bc77116  Add weasel to the docker build.
bc77116 is described below

commit bc771168270914180a7a677c87c89be41b2ec7c5
Author: Chris Lemmons <alfic...@gmail.com>
AuthorDate: Mon Aug 14 17:00:49 2017 -0600

Add weasel to the docker build.
---
 infrastructure/docker/build/docker-compose.yml | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/infrastructure/docker/build/docker-compose.yml 
b/infrastructure/docker/build/docker-compose.yml
index 8ab3dea..8ecf15d 100644
--- a/infrastructure/docker/build/docker-compose.yml
+++ b/infrastructure/docker/build/docker-compose.yml
@@ -76,3 +76,9 @@ services:
   context: ../../..
 volumes:
   - ../../..:/trafficcontrol:z
+
+  weasel:
+image: licenseweasel/weasel:0.1
+volumes:
+  - ../../..:/trafficcontrol:z
+command: ['-f', '/trafficcontrol/dist/weasel.txt', '/trafficcontrol']

-- 
To stop receiving notification emails like this one, please contact
fri...@apache.org.


[incubator-trafficcontrol] 01/02: updated docs to add some missing data

2018-02-09 Thread friede
This is an automated email from the ASF dual-hosted git repository.

friede pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git

commit 54aab36c95a027431cd8d7fc3838c91f38ddde84
Author: David Neuman <david.neuma...@gmail.com>
AuthorDate: Tue Jan 30 14:37:56 2018 -0700

updated docs to add some missing data
---
 docs/source/admin/traffic_ops/using.rst | 315 
 1 file changed, 158 insertions(+), 157 deletions(-)

diff --git a/docs/source/admin/traffic_ops/using.rst 
b/docs/source/admin/traffic_ops/using.rst
index 564fefd..c271b37 100644
--- a/docs/source/admin/traffic_ops/using.rst
+++ b/docs/source/admin/traffic_ops/using.rst
@@ -293,135 +293,136 @@ The fields in the Delivery Service view are:
 
 .. Sorry for the width of this table, don't know how to make the bullet lists 
work otherwise. Just set your monitor to 2560*1600, and put on your glasses.
 
-+--+-+
-|   Name   |   
  
Description 
|
-+==+=+
-| Active   | When this is set to false 
Traffic Router will not serve DNS or HTTP responses for this delivery service.  

  |
-+--+-+
-| Cache URL expression | Cache URL rule to apply 
to this delivery service. See `ATS documentation on cacheurl 
<https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/cacheurl.en.html>`_.
 [1]_ |
-+--+-+
-| CDN  | The CDN in which the 
delivery service belongs to.

   |
-+--+-+
-| Check Path   | A path (ex: 
/crossdomain.xml) to verify the connection to the origin server with. This can 
be used by Check Extension scripts to do periodic health checks against the 
delivery service.|
-+--+-+
-| Content Routing Type | The type of content 
routing this delivery service will use. See :ref:`rl-ds-types`. 

|
-+--+-+
-| Deep Caching | (for HTTP routed delivery 
services only) When to do deep caching for this delivery service (see 
:ref:`Deep Caching ` for 

[incubator-trafficcontrol] 02/02: fix some typos and added some additional information

2018-02-09 Thread friede
This is an automated email from the ASF dual-hosted git repository.

friede pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git

commit 0acf4cb1ff86da3665588150b8817780acf45a11
Author: David Neuman <david.neuma...@gmail.com>
AuthorDate: Thu Feb 8 11:13:05 2018 -0700

fix some typos and added some additional information
---
 docs/source/admin/traffic_ops/using.rst | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/source/admin/traffic_ops/using.rst 
b/docs/source/admin/traffic_ops/using.rst
index c271b37..e8f68ea 100644
--- a/docs/source/admin/traffic_ops/using.rst
+++ b/docs/source/admin/traffic_ops/using.rst
@@ -239,7 +239,7 @@ The server checks page is intended to give an overview of 
the Servers managed by
 
 Daily Summary
 +
-Displays daily max gbps and bytes served for all CDNs.  In order for the 
graphs to appear, the 'daily_bw_url' and 'daily_served_url' parameters need to 
be be created, assigned to the global profile, and have a value of a grafana 
graph.  For more information on configuring grafana, see the `Traffic Stats 
`_  section.
+Displays daily max gbps and bytes served for all CDNs.  In order for the 
graphs to appear, the 'daily_bw_url' and 'daily_served_url' parameters need to 
be be created, assigned to the global profile, and have a value of a grafana 
graph.  For more information on configuring grafana, see the `Traffic Stats 
<../traffic_stats.html>`_  section.
 
 .. _rl-server:
 
@@ -355,13 +355,13 @@ The fields in the Delivery Service view are:
 
+---+---+
 | Info URL  | Info URL  for this delivery service. 
To be consumed from the APIs by downstream tools (Portal).  

 |
 
+---+---+
-| Initial Dispersion| For HTTP delivery services - the 
number of caches that will be used by Traffic Router.   

 |
+| Initial Dispersion| For HTTP delivery services - the 
number of caches that will be used by Traffic Router.  Traffic Router will 
consistently return the same caches as long as they are healthy.
  |
 
+---+---+
 | IPv6 Routing Enabled  | When set to yes, the Traffic Router 
will respond to  DNS requests for the routed name of this delivery service. 
Otherwise, only A records will be served.   
  |
 
+---+---+
 | Key (XML ID)  | A unique string that identifies this 
delivery service.   

 |
 
+---+---+
-| Logs Enabled? | Whether or not Traffic Logs is 
enabled for the delivery service.  This feature is currently imcomplete without 
Traffic Logs
   |
+| Logs Enabled? | Whether or not Traffic Logs is 
enabled for the delivery service.  This feature is currently incomplete without 
Traffic Logs
   |
 
+---+---+
 | Long Description

[incubator-trafficcontrol] 01/02: changed maxLength of zip code to be longer.

2018-01-24 Thread friede
This is an automated email from the ASF dual-hosted git repository.

friede pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git

commit b1a116f87d8c7dae54de0b53f19d60b4114f5926
Author: David Neuman <david.neuma...@gmail.com>
AuthorDate: Wed Jan 24 14:45:47 2018 -0700

changed maxLength of zip code to be longer.
---
 traffic_ops/app/lib/UI/PhysLocation.pm  | 2 +-
 .../common/modules/form/physLocation/FormPhysLocationController.js  | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/traffic_ops/app/lib/UI/PhysLocation.pm 
b/traffic_ops/app/lib/UI/PhysLocation.pm
index 54a643d..02cee29 100644
--- a/traffic_ops/app/lib/UI/PhysLocation.pm
+++ b/traffic_ops/app/lib/UI/PhysLocation.pm
@@ -345,7 +345,7 @@ sub is_valid {
$self->field('location.address')->is_required->is_like( qr/^[a-zA-Z0-9\ 
\.\-]+/, "Use alphanumeric characters, '.','-', or space." );
$self->field('location.city')->is_required->is_like( qr/^[a-zA-Z0-9\ 
\.\-]+/, "Use alphanumeric characters, '.','-', or space." );
$self->field('location.state')->is_required->is_like( qr/^[A-Z]{2}/, 
"Uppercase 2 char. state abbreviation." );
-   $self->field('location.zip')->is_required->is_like( qr/^[0-9]{5,5}$/, 
"Enter a valid 5 digit zipcode." );
+   $self->field('location.zip')->is_required->is_like( qr/^[0-9]/, "Enter 
a valid zip code." );
$self->field('location.phone')->is_like( 
qr/^$|[0-9]{3}\-[0-9]{3}\-[0-9]{4}/, "Phone number format is: ###-###-" );
$self->field('location.email')->check( sub {
my ( $value, $params ) = @_;
diff --git 
a/traffic_portal/app/src/common/modules/form/physLocation/FormPhysLocationController.js
 
b/traffic_portal/app/src/common/modules/form/physLocation/FormPhysLocationController.js
index d7f78fc..a0ed71e 100644
--- 
a/traffic_portal/app/src/common/modules/form/physLocation/FormPhysLocationController.js
+++ 
b/traffic_portal/app/src/common/modules/form/physLocation/FormPhysLocationController.js
@@ -6,9 +6,9 @@
  * 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
@@ -34,7 +34,7 @@ var FormPhysLocationController = function(physLocation, 
$scope, $location, formU
 { name: 'address', type: 'text', required: true, maxLength: 128 },
 { name: 'city', type: 'text', required: true, maxLength: 128 },
 { name: 'state', type: 'text', required: true, maxLength: 2 },
-{ name: 'zip', type: 'text', required: true, maxLength: 5 },
+{ name: 'zip', type: 'text', required: true, maxLength: 11 },
 { name: 'poc', type: 'text', required: false, maxLength: 128 },
 { name: 'phone', type: 'text', required: false, maxLength: 45 },
 { name: 'email', type: 'email', required: false, maxLength: 128 }

-- 
To stop receiving notification emails like this one, please contact
fri...@apache.org.


[incubator-trafficcontrol] branch master updated (04d8665 -> 3c11b3d)

2018-01-24 Thread friede
This is an automated email from the ASF dual-hosted git repository.

friede pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git.


from 04d8665  Move loadDeepCaches() into CacheLocation and add 
synchronization
 new b1a116f  changed maxLength of zip code to be longer.
 new 3c11b3d  remove zip validation

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 traffic_ops/app/lib/UI/PhysLocation.pm  | 1 -
 .../common/modules/form/physLocation/FormPhysLocationController.js  | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
fri...@apache.org.


[2/3] incubator-trafficcontrol git commit: use ds id as key to store ssl certificate in riak server; update ssl certificate in keystore if delivery service modified xml-id or subdomain; repose decoded

2017-08-11 Thread friede
use ds id as key to store ssl certificate in riak server;
update ssl certificate in keystore if delivery service modified xml-id or 
subdomain;
repose decoded certificate in restful api.


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

Branch: refs/heads/master
Commit: fe0029399408c27341ff74a3e63fe2330e0b905a
Parents: e2e89e1
Author: Zhilin Huang 
Authored: Tue Mar 14 14:29:44 2017 +0800
Committer: Eric Friedrich 
Committed: Fri Aug 11 10:21:38 2017 -0400

--
 .../traffic_ops_api/v12/deliveryservice.rst | 32 ++---
 .../app/lib/API/DeliveryService/SslKeys.pm  | 49 ++--
 traffic_ops/app/lib/UI/DeliveryService.pm   | 15 +++---
 traffic_ops/app/lib/UI/SslKeys.pm   | 32 -
 .../app/script/update_riak_for_search.pl|  3 --
 .../app/t/api/1.1/deliveryservice/ssl_keys.t|  4 +-
 6 files changed, 93 insertions(+), 42 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/fe002939/docs/source/development/traffic_ops_api/v12/deliveryservice.rst
--
diff --git a/docs/source/development/traffic_ops_api/v12/deliveryservice.rst 
b/docs/source/development/traffic_ops_api/v12/deliveryservice.rst
index c1f38c5..5c03a68 100644
--- a/docs/source/development/traffic_ops_api/v12/deliveryservice.rst
+++ b/docs/source/development/traffic_ops_api/v12/deliveryservice.rst
@@ -1628,7 +1628,7 @@ SSL Keys
   +--+-+-+
   |  Parameter   |   Type  |   Description   |
   +==+=+=+
-  | ``key``  | string  | xml_id of the delivery service  |
+  | ``key``  | string  | "ds_" add id of the delivery service|
   +--+-+-+
   | ``version``  | string  | version of the keys being generated |
   +--+-+-+
@@ -1648,7 +1648,7 @@ SSL Keys
   **Request Example** ::
 
 {
-  "key": "ds-01",
+  "key": "ds_1",
   "businessUnit": "CDN Engineering",
   "version": "3",
   "hostname": "tr.ds-01.ott.kabletown.com",
@@ -1693,24 +1693,24 @@ SSL Keys
 
   **Request Properties**
 
-  +-++-+
-  |  Parameter  |  Type  | Description |
-  +=++=+
-  | ``key`` | string | xml_id of the delivery service  |
-  +-++-+
-  | ``version`` | string | version of the keys being generated |
-  +-++-+
-  | ``csr`` | string | |
-  +-++-+
-  | ``crt`` | string | |
-  +-++-+
-  | ``key`` | string | |
-  +-++-+
+  +-++---+
+  |  Parameter  |  Type  | Description   |
+  +=++===+
+  | ``key`` | string | "ds_" add id of the delivery service  |
+  +-++---+
+  | ``version`` | string | version of the keys being generated   |
+  +-++---+
+  | ``csr`` | string |   |
+  +-++---+
+  | ``crt`` | string |   |
+  +-++---+
+  | ``key`` | string |   |
+  +-++---+
 
   **Request Example** ::
 
 {
-  "key": "ds-01",
+  "key": "ds_1",
   "version": "1",
   "certificate": {
 "key": "some_key",

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/fe002939/traffic_ops/app/lib/API/DeliveryService/SslKeys.pm
--
diff --git 

[1/3] incubator-trafficcontrol git commit: xml-id is immutable, no need to check

2017-08-11 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master e2e89e12a -> bc9b58835


xml-id is immutable, no need to check


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

Branch: refs/heads/master
Commit: a0f495fbae17c5f8ad502b64eb72113257d47a8a
Parents: fe00293
Author: Zhilin Huang 
Authored: Wed Aug 9 09:39:31 2017 +0800
Committer: Eric Friedrich 
Committed: Fri Aug 11 10:21:38 2017 -0400

--
 traffic_ops/app/lib/UI/DeliveryService.pm | 1 -
 1 file changed, 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/a0f495fb/traffic_ops/app/lib/UI/DeliveryService.pm
--
diff --git a/traffic_ops/app/lib/UI/DeliveryService.pm 
b/traffic_ops/app/lib/UI/DeliveryService.pm
index 8e5ba01..0ac269d 100644
--- a/traffic_ops/app/lib/UI/DeliveryService.pm
+++ b/traffic_ops/app/lib/UI/DeliveryService.pm
@@ -845,7 +845,6 @@ sub update {
my $upd_ssl = 0;
#print Dumper( \%hash );
my $update = $self->db->resultset('Deliveryservice')->find( { 
id => $id } );
-   $upd_ssl = 1 if $update->xml_id ne $hash{xml_id};
my $old_hostname = UI::SslKeys::get_hostname($self, $id, 
$update);
$update->update( \%hash );
$update->update();



incubator-trafficcontrol-website git commit: Updated download links to point to mirrors

2017-07-31 Thread friede
Repository: incubator-trafficcontrol-website
Updated Branches:
  refs/heads/asf-site 33e3f6b70 -> e0bee6ef6


Updated download links to point to mirrors


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

Branch: refs/heads/asf-site
Commit: e0bee6ef666b7eda76e3b92864cc27f7cba53775
Parents: 33e3f6b
Author: Eric Friedrich 
Authored: Mon Jul 31 13:17:51 2017 -0400
Committer: Eric Friedrich 
Committed: Mon Jul 31 13:18:12 2017 -0400

--
 downloads/index.html | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/e0bee6ef/downloads/index.html
--
diff --git a/downloads/index.html b/downloads/index.html
index f7395d1..2a77bed 100644
--- a/downloads/index.html
+++ b/downloads/index.html
@@ -41,10 +41,10 @@
   The source code for Traffic Control 2.0.0 is available here:
   
   
- https://dist.apache.org/repos/dist/release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz;>apache-trafficcontrol-2.0.0-incubating.tar.gz
- https://dist.apache.org/repos/dist/release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5sum;>MD5
- https://dist.apache.org/repos/dist/release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum;>SHA512
- https://dist.apache.org/repos/dist/release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc;>PGP
+ https://www.apache.org/dyn/closer.cgi/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz;>apache-trafficcontrol-2.0.0-incubating.tar.gz
+ https://www.apache.org/dyn/closer.cgi/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5sum;>MD5
+ https://www.apache.org/dyn/closer.cgi/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum;>SHA512
+ https://www.apache.org/dyn/closer.cgi/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc;>PGP
   
   

@@ -69,10 +69,10 @@
   The source code for Traffic Control 1.8.1 is available here:
   
   
- https://dist.apache.org/repos/dist/release/incubator/trafficcontrol/1.8.1-incubating/trafficcontrol-incubating-1.8.1.tar.gz;>trafficcontrol-incubating-1.8.1.tar.gz
- https://dist.apache.org/repos/dist/release/incubator/trafficcontrol/1.8.1-incubating/trafficcontrol-incubating-1.8.1.tar.gz.md5;>MD5
- https://dist.apache.org/repos/dist/release/incubator/trafficcontrol/1.8.1-incubating/trafficcontrol-incubating-1.8.1.tar.gz.sha512;>SHA512
- https://dist.apache.org/repos/dist/release/incubator/trafficcontrol/1.8.1-incubating/trafficcontrol-incubating-1.8.1.tar.gz.asc;>PGP
+ https://www.apache.org/dyn/closer.cgi/incubator/trafficcontrol/1.8.1-incubating/trafficcontrol-incubating-1.8.1.tar.gz;>trafficcontrol-incubating-1.8.1.tar.gz
+ https://www.apache.org/dyn/closer.cgi/incubator/trafficcontrol/1.8.1-incubating/trafficcontrol-incubating-1.8.1.tar.gz.md5;>MD5
+ https://www.apache.org/dyn/closer.cgi/incubator/trafficcontrol/1.8.1-incubating/trafficcontrol-incubating-1.8.1.tar.gz.sha512;>SHA512
+ https://www.apache.org/dyn/closer.cgi/incubator/trafficcontrol/1.8.1-incubating/trafficcontrol-incubating-1.8.1.tar.gz.asc;>PGP
   
   




[16/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
Update Downloads and latest docs pages for 2.0.0


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

Branch: refs/heads/asf-site
Commit: 6b5a5ffa0c8d664f06c709c7efae2f09507366f8
Parents: f12be62
Author: Eric Friedrich 
Authored: Fri Jul 7 08:40:00 2017 -0400
Committer: Eric Friedrich 
Committed: Fri Jul 7 08:40:00 2017 -0400

--
 .../_images/traffic_control_overview_3.png  | Bin 113129 -> 138671 bytes
 .../_sources/admin/traffic_ops_config.rst.txt   |  12 +-
 .../_sources/admin/traffic_ops_using.rst.txt|  31 +-
 .../_sources/admin/traffic_router.rst.txt   |  20 +-
 .../latest/_sources/admin/traffic_stats.rst.txt |   6 +-
 .../latest/_sources/admin/traffic_vault.rst.txt |   2 +-
 .../development/traffic_monitor.rst.txt |  28 +-
 .../_sources/development/traffic_ops.rst.txt|   8 +-
 .../traffic_ops_api/v11/region.rst.txt  |   2 +-
 .../development/traffic_ops_api/v12/asn.rst.txt |   8 +
 .../traffic_ops_api/v12/cachegroup.rst.txt  |  53 +-
 .../development/traffic_ops_api/v12/cdn.rst.txt |  55 +-
 .../traffic_ops_api/v12/deliveryservice.rst.txt | 284 +--
 .../v12/deliveryservice_regex.rst.txt   | 374 +
 .../traffic_ops_api/v12/division.rst.txt|   3 +-
 .../traffic_ops_api/v12/parameter.rst.txt   | 105 ++-
 .../traffic_ops_api/v12/phys_location.rst.txt   |   8 +
 .../traffic_ops_api/v12/region.rst.txt  |   9 +
 .../traffic_ops_api/v12/server.rst.txt  | 247 +-
 .../traffic_ops_api/v12/user.rst.txt| 231 ++
 .../_sources/development/traffic_portal.rst.txt |   2 +-
 .../_sources/development/traffic_router.rst.txt |  36 +-
 .../_sources/overview/introduction.rst.txt  |  25 +-
 docs/latest/_static/basic.css   |   7 -
 .../_static/fonts/fontawesome-webfont.svg   | 414 ++
 docs/latest/_static/pygments.css|   4 -
 docs/latest/_static/tc_logo.png | Bin 101717 -> 89813 bytes
 docs/latest/_static/tc_logo_c_only.png  | Bin 0 -> 106800 bytes
 docs/latest/_static/theme_overrides.css |  27 +-
 docs/latest/admin/index.html|  14 +-
 docs/latest/admin/quick_howto/dnssec.html   |  16 +-
 docs/latest/admin/quick_howto/federations.html  |  16 +-
 docs/latest/admin/quick_howto/index.html|   8 +-
 docs/latest/admin/quick_howto/multi_site.html   |  18 +-
 docs/latest/admin/quick_howto/regionalgeo.html  |  28 +-
 docs/latest/admin/quick_howto/steering.html |  14 +-
 docs/latest/admin/traffic_monitor.html  |  12 +-
 docs/latest/admin/traffic_ops_config.html   |  81 +-
 docs/latest/admin/traffic_ops_extensions.html   |  12 +-
 docs/latest/admin/traffic_ops_install.html  |  16 +-
 docs/latest/admin/traffic_ops_using.html| 115 +--
 docs/latest/admin/traffic_portal.html   |  10 +-
 docs/latest/admin/traffic_router.html   | 100 ++-
 docs/latest/admin/traffic_server.html   |  20 +-
 docs/latest/admin/traffic_stats.html|  26 +-
 docs/latest/admin/traffic_vault.html|  10 +-
 docs/latest/basics/cache_revalidation.html  |  16 +-
 docs/latest/basics/caching_proxies.html |  32 +-
 .../basics/content_delivery_networks.html   |   8 +-
 docs/latest/basics/http_11.html |  12 +-
 docs/latest/basics/index.html   |   6 +-
 docs/latest/development/index.html  |  10 +-
 docs/latest/development/traffic_monitor.html|  15 +-
 .../traffic_monitor/traffic_monitor_api.html|   8 +-
 docs/latest/development/traffic_ops.html|  64 +-
 .../development/traffic_ops_api/routes.html |   8 +-
 .../development/traffic_ops_api/v11/asn.html|  10 +-
 .../traffic_ops_api/v11/cachegroup.html |  24 +-
 .../development/traffic_ops_api/v11/cdn.html|  44 +-
 .../traffic_ops_api/v11/changelog.html  |  16 +-
 .../traffic_ops_api/v11/deliveryservice.html|  58 +-
 .../development/traffic_ops_api/v11/hwinfo.html |  18 +-
 .../traffic_ops_api/v11/parameter.html  |  12 +-
 .../traffic_ops_api/v11/phys_location.html  |  22 +-
 .../traffic_ops_api/v11/profile.html|  14 +-
 .../development/traffic_ops_api/v11/region.html |  23 +-
 .../development/traffic_ops_api/v11/role.html   |  10 +-
 .../development/traffic_ops_api/v11/server.html |  26 +-
 .../traffic_ops_api/v11/static_dns.html |  10 +-
 .../development/traffic_ops_api/v11/status.html |  12 +-
 .../development/traffic_ops_api/v11/system.html |  14 +-
 .../traffic_ops_api/v11/to_extension.html 

[11/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/admin/traffic_ops_install.html
--
diff --git a/docs/latest/admin/traffic_ops_install.html 
b/docs/latest/admin/traffic_ops_install.html
index fc99b79..6bb9556 100644
--- a/docs/latest/admin/traffic_ops_install.html
+++ b/docs/latest/admin/traffic_ops_install.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router
@@ -164,7 +164,7 @@
   
 Traffic Control 1.8-dev 
   
-  Administrator’s Guide 
+  Administrators Guide 
   
 Installing Traffic Ops
   
@@ -257,7 +257,7 @@
 
 
 Example output:
-trafficops-vm 
# /opt/traffic_ops/install/bin/postinstall
+trafficops-vm 
# /opt/traffic_ops/install/bin/postinstall
 
 This script will build and 
package the required Traffic Ops perl modules.
 In order to complete this 
operation, Development tools such as the 
gcc
@@ -274,7 +274,7 @@
 
 If there are any prompts in this phase, please just answer with the 
defaults (some CPAN installs can prompt for install questions).
 When this phase is complete, you will see:
-...
+...
 Successfully installed Test-Differences-0.63
 Successfully installed DBIx-Class-Schema-Loader-0.07042
 Successfully installed Time-HiRes-1.9726 (upgraded from 1.9719)
@@ -303,7 +303,7 @@ Database type [mysql]:
 CentOS files note.
 
 Example output:
-Database type [mysql]:
+Database type 
[mysql]:
 Database name [traffic_ops_db]:
 Database server hostname IP or FQDN [localhost]:
 Database port number [3306]:
@@ -444,7 +444,7 @@ use this user to login for the first time and create other 
users
 The postinstall script will now seed the database with some inital 
configuration settings for the CDN and the servers in the CDN.
 The next phase is the download of the geo location database and 
configuration of information needed for SSL certificates.
 Example output:
-Downloading MaxMind data.
+Downloading MaxMind data.
 --2015-04-14 02:14:32--  http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz
 Resolving geolite.maxmind.com... 141.101.115.190, 141.101.114.190, 2400:cb00:2048:1::8d65:73be, ...
 Connecting to geolite.maxmind.com|141.101.115.190|:80... connected.

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/admin/traffic_ops_using.html
--
diff --git a/docs/latest/admin/traffic_ops_using.html 
b/docs/latest/admin/traffic_ops_using.html
index cb297db..9ea0483 100644
--- a/docs/latest/admin/traffic_ops_using.html
+++ b/docs/latest/admin/traffic_ops_using.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router
@@ -164,7 +164,7 @@
   
 Traffic Control 1.8-dev 
   
-  Administrator’s Guide 
+  Administrators Guide 
   
 Using Traffic Ops
   
@@ -299,7 +299,7 @@ per CDN.
 
 
 Tools
-Tools for working with Traffic Ops and it’s servers. Hover over this tab 
to get the following options:
+Tools for working with Traffic Ops and its servers. Hover over this 
tab to get the following options:
 
 
 
@@ -482,7 +482,7 @@ must have an ssh key on the edge servers.
 
 
 Daily Summary¶
-Displays daily max gbps and bytes served for all CDNs.  In order for the 
graphs to appear, the ‘daily_bw_url’ and ‘daily_served_url’ parameters 
need to be be created, assigned to the global profile, and have a value of a 
grafana graph.  For more information on configuring grafana, see the Traffic Stats  
section.
+Displays daily max gbps and bytes served for all CDNs.  In order for the 
graphs to appear, the daily_bw_url and 
daily_served_url parameters need to be be created, assigned to 
the global profile, and have a value of a grafana graph.  For more information 
on configuring grafana, see the Traffic Stats  section.
 
 
 
@@ -576,11 +576,12 @@ must have an ssh key on the edge servers.
 
 Query String Handling
 How to treat query strings:
-
+
 0 use in cache key and hand up to origin -this means each unique query 
string Is treated as a unique URL.
 1 Do not use in cache key, but pass up to origin - this means a 2 URLs 
that are the same except for the query string will match, and cache HIT, while 
the origin still sees original query string in the request.
 2 Drop at edge - this means a 2 URLs that are the same except for  the 
query 

[09/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/development/traffic_ops.html
--
diff --git a/docs/latest/development/traffic_ops.html 
b/docs/latest/development/traffic_ops.html
index 6c2fdd3..25470de 100644
--- a/docs/latest/development/traffic_ops.html
+++ b/docs/latest/development/traffic_ops.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router
@@ -164,7 +164,7 @@
   
 Traffic Control 1.8-dev 
   
-  Developer’s Guide 
+  Developers Guide 
   
 Traffic Ops
   
@@ -208,6 +208,11 @@
 MySQL 5.1.52
 https://bitbucket.org/liamstask/goose/;>Goose
 
+Addionally, the installation of the following RPMs (or equivalent) is 
required:
+
+All RPMs listed in Installing Traffic Ops
+mysql-test
+
 
 
 Traffic Ops Project Tree Overview¶
@@ -229,7 +234,7 @@
 /API - Mojo Controllers for the /API area of the application.
 /Common - Common Code between both the API and UI areas.
 /Extensions
-Fixtures/ - Test Case fixture data for the ‘to_test’ database.
+Fixtures/ - Test Case fixture data for the to_test database.
 * /Integration - Integration Tests.
 /MojoPlugins - Mojolicious Plugins for Common Controller Code.
 Schema/ - Database Schema area.
@@ -267,7 +272,7 @@
 
 Perl Formatting Conventions¶
 Perl tidy is for use in code formatting. See the following config file for 
formatting conventions.
-edit a 
file called $HOME/.perltidyrc
+edit a file called 
$HOME/.perltidyrc
 
 -l=156
 -et=4
@@ -295,7 +300,7 @@
 Database Management¶
 The admin.pl script is for use in managing the Traffic Ops database tables. 
Below is an example of its usage.
 $ db/admin.pl
-Usage:  db/admin.pl [–env (development|test|production)] [arguments]
+Usage:  db/admin.pl [env (development|test|production)] 
[arguments]
 Example: db/admin.pl --env=test reset
 Purpose:  This script is used to manage the database. The environments are 
defined in the dbconf.yml, as well as the database names.
 
@@ -313,13 +318,13 @@
 
 
 create
-Execute db ‘create’ the database for the current environment.
+Execute db create the database for the current 
environment.
 
 down
 Roll back a single migration from the current version.
 
 drop
-Execute db ‘drop’ on the database for the current environment.
+Execute db drop on the database for the current 
environment.
 
 redo
 Roll back the most recently applied migration, then run it again.
@@ -353,7 +358,7 @@ environment.
 Install the local dependencies using Carton (cpanfile).
 
 
-$ 
cd traffic_ops/app
+$ cd 
traffic_ops/app
 $ carton
 
 
@@ -363,7 +368,7 @@ $ carton
 
 
 Example:
-master 
$ mysql
+master $ mysql
 Welcome to the MySQL monitor.  Commands end with ; or \g.
 Your MySQL connection id is 305
 Server version: 5.6.19 Homebrew
@@ -394,7 +399,7 @@ mysql grant all on to_integration.* to 
to_user@localhost
 
 
 Running the the admin.pl script in setup mode should look like this:
-master 
$ db/admin.pl --env=development setup
+master $ 
db/admin.pl --env=development setup
 Using database.conf: conf/development/database.conf
 Using database.conf: conf/development/database.conf
 Using database.conf: conf/development/database.conf
@@ -427,7 +432,7 @@ Warning: Using a password on the command line interface can 
be insecure.
 
 
 
-[2015-02-24 10:44:34,991] [INFO] Listening at 
http://*:3000;.
+[2015-02-24 10:44:34,991] [INFO] Listening 
at http://*:3000;.
 
 Server available at http://127.0.0.1:3000.
 
@@ -478,7 +483,7 @@ Warning: Using a password on the command line interface can 
be insecure.
 Check Extensions
 
 
-These allow you to add custom checks to the “Health-Server 
Checks” view.
+These allow you to add custom checks to the Health-Server 
Checks view.
 
 Configuration Extensions
 
@@ -492,18 +497,18 @@ Warning: Using a password on the command line interface 
can be insecure.
 Extensions are managed using the $TO_HOME/bin/extensions command line 
script. For more information see Managing Traffic Ops Extensions.
 
 Check Extensions¶
-In other words, check extensions are scripts that, after registering with 
Traffic Ops, have a column reserved in the “Health-Server Checks” view 
and that usually run periodically out of cron.
+In other words, check extensions are scripts that, after registering with 
Traffic Ops, have a column reserved in the Health-Server 
Checks view and that usually run periodically out of cron.
 It is the responsibility of the check extension script to iterate over the 
servers it wants to check and post the results.
-An example script might proceed by logging into the Traffic Ops server 
using the HTTPS base_url provided on the 

[02/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/searchindex.js
--
diff --git a/docs/latest/searchindex.js b/docs/latest/searchindex.js
index 22c7628..e3b9551 100644
--- a/docs/latest/searchindex.js
+++ b/docs/latest/searchindex.js
@@ -1 +1 @@
-Search.setIndex({docnames:["admin/index","admin/quick_howto/dnssec","admin/quick_howto/federations","admin/quick_howto/index","admin/quick_howto/multi_site","admin/quick_howto/regionalgeo","admin/quick_howto/steering","admin/traffic_monitor","admin/traffic_ops_config","admin/traffic_ops_extensions","admin/traffic_ops_install","admin/traffic_ops_using","admin/traffic_portal","admin/traffic_router","admin/traffic_server","admin/traffic_stats","admin/traffic_vault","basics/cache_revalidation","basics/caching_proxies","basics/content_delivery_networks","basics/http_11","basics/index","development/index","development/traffic_monitor","development/traffic_monitor/traffic_monitor_api","development/traffic_ops","development/traffic_ops_api/routes","development/traffic_ops_api/v11/asn","development/traffic_ops_api/v11/cachegroup","development/traffic_ops_api/v11/cdn","development/traffic_ops_api/v11/changelog","development/traffic_ops_api/v11/deliveryservice","development/traffic_ops_api/v11
 
/hwinfo","development/traffic_ops_api/v11/parameter","development/traffic_ops_api/v11/phys_location","development/traffic_ops_api/v11/profile","development/traffic_ops_api/v11/region","development/traffic_ops_api/v11/role","development/traffic_ops_api/v11/server","development/traffic_ops_api/v11/static_dns","development/traffic_ops_api/v11/status","development/traffic_ops_api/v11/system","development/traffic_ops_api/v11/to_extension","development/traffic_ops_api/v11/type","development/traffic_ops_api/v11/user","development/traffic_ops_api/v12/asn","development/traffic_ops_api/v12/cache_stats","development/traffic_ops_api/v12/cachegroup","development/traffic_ops_api/v12/cdn","development/traffic_ops_api/v12/changelog","development/traffic_ops_api/v12/deliveryservice","development/traffic_ops_api/v12/deliveryservice_stats","development/traffic_ops_api/v12/division","development/traffic_ops_api/v12/federation","development/traffic_ops_api/v12/hwinfo","development/traffic_ops_api/v12/in
 
fluxdb","development/traffic_ops_api/v12/parameter","development/traffic_ops_api/v12/phys_location","development/traffic_ops_api/v12/profile","development/traffic_ops_api/v12/profile_parameter","development/traffic_ops_api/v12/region","development/traffic_ops_api/v12/role","development/traffic_ops_api/v12/server","development/traffic_ops_api/v12/static_dns","development/traffic_ops_api/v12/status","development/traffic_ops_api/v12/system","development/traffic_ops_api/v12/to_extension","development/traffic_ops_api/v12/topology","development/traffic_ops_api/v12/type","development/traffic_ops_api/v12/user","development/traffic_portal","development/traffic_router","development/traffic_router/traffic_router_api","development/traffic_server","development/traffic_stats","faq/administration","faq/development","faq/general","faq/index","glossary","index","overview/index","overview/introduction","overview/traffic_monitor","overview/traffic_ops","overview/traffic_portal","overview/traffic_route
 
r","overview/traffic_server","overview/traffic_stats","overview/traffic_vault"],envversion:52,filenames:["admin/index.rst","admin/quick_howto/dnssec.rst","admin/quick_howto/federations.rst","admin/quick_howto/index.rst","admin/quick_howto/multi_site.rst","admin/quick_howto/regionalgeo.rst","admin/quick_howto/steering.rst","admin/traffic_monitor.rst","admin/traffic_ops_config.rst","admin/traffic_ops_extensions.rst","admin/traffic_ops_install.rst","admin/traffic_ops_using.rst","admin/traffic_portal.rst","admin/traffic_router.rst","admin/traffic_server.rst","admin/traffic_stats.rst","admin/traffic_vault.rst","basics/cache_revalidation.rst","basics/caching_proxies.rst","basics/content_delivery_networks.rst","basics/http_11.rst","basics/index.rst","development/index.rst","development/traffic_monitor.rst","development/traffic_monitor/traffic_monitor_api.rst","development/traffic_ops.rst","development/traffic_ops_api/routes.rst","development/traffic_ops_api/v11/asn.rst","development/traffi
 

[12/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/_static/pygments.css
--
diff --git a/docs/latest/_static/pygments.css b/docs/latest/_static/pygments.css
index 20c4814..8213e90 100644
--- a/docs/latest/_static/pygments.css
+++ b/docs/latest/_static/pygments.css
@@ -47,10 +47,8 @@
 .highlight .mh { color: #208050 } /* Literal.Number.Hex */
 .highlight .mi { color: #208050 } /* Literal.Number.Integer */
 .highlight .mo { color: #208050 } /* Literal.Number.Oct */
-.highlight .sa { color: #4070a0 } /* Literal.String.Affix */
 .highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
 .highlight .sc { color: #4070a0 } /* Literal.String.Char */
-.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */
 .highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
 .highlight .s2 { color: #4070a0 } /* Literal.String.Double */
 .highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape 
*/
@@ -61,9 +59,7 @@
 .highlight .s1 { color: #4070a0 } /* Literal.String.Single */
 .highlight .ss { color: #517918 } /* Literal.String.Symbol */
 .highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
-.highlight .fm { color: #06287e } /* Name.Function.Magic */
 .highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
 .highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
 .highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
-.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */
 .highlight .il { color: #208050 } /* Literal.Number.Integer.Long */
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/_static/tc_logo.png
--
diff --git a/docs/latest/_static/tc_logo.png b/docs/latest/_static/tc_logo.png
index 9ea6966..e30944c 100644
Binary files a/docs/latest/_static/tc_logo.png and 
b/docs/latest/_static/tc_logo.png differ

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/_static/tc_logo_c_only.png
--
diff --git a/docs/latest/_static/tc_logo_c_only.png 
b/docs/latest/_static/tc_logo_c_only.png
new file mode 100644
index 000..749fd7f
Binary files /dev/null and b/docs/latest/_static/tc_logo_c_only.png differ

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/_static/theme_overrides.css
--
diff --git a/docs/latest/_static/theme_overrides.css 
b/docs/latest/_static/theme_overrides.css
index 4fed1af..a00e0b8 100644
--- a/docs/latest/_static/theme_overrides.css
+++ b/docs/latest/_static/theme_overrides.css
@@ -29,8 +29,33 @@
 overflow: visible !important;
 }
 
+.wy-side-nav-search {
+  background-color: #00;
+}
+
+.adminition-title {
+  background-color: #404040;
+}
+.wy-alert.wy-alert-info, .rst-content .note, .rst-content 
.wy-alert-info.attention, .rst-content .wy-alert-info.caution, .rst-content 
+.wy-alert-info.danger, .rst-content .wy-alert-info.error, .rst-content 
.wy-alert-info.hint, .rst-content .wy-alert-info.important, 
+.rst-content .wy-alert-info.tip, .rst-content .wy-alert-info.warning, 
.rst-content .seealso, .rst-content .wy-alert-info.admonition-todo {
+  background: #edf0f2;
+}
+
+.wy-alert.wy-alert-info .wy-alert-title, .rst-content .note .wy-alert-title, 
.rst-content .wy-alert-info.attention .wy-alert-title, 
+.rst-content .wy-alert-info.caution .wy-alert-title, .rst-content 
.wy-alert-info.danger .wy-alert-title, .rst-content .wy-alert-info.error 
+.wy-alert-title, .rst-content .wy-alert-info.hint .wy-alert-title, 
.rst-content .wy-alert-info.important .wy-alert-title, .rst-content 
+.wy-alert-info.tip .wy-alert-title, .rst-content .wy-alert-info.warning 
.wy-alert-title, .rst-content .seealso .wy-alert-title, .rst-content 
+.wy-alert-info.admonition-todo .wy-alert-title, .wy-alert.wy-alert-info 
.rst-content .admonition-title, .rst-content .wy-alert.wy-alert-info 
+.admonition-title, .rst-content .note .admonition-title, .rst-content 
.wy-alert-info.attention .admonition-title, .rst-content .wy-alert-info.caution 
+.admonition-title, .rst-content .wy-alert-info.danger .admonition-title, 
.rst-content .wy-alert-info.error .admonition-title, .rst-content 
+.wy-alert-info.hint .admonition-title, .rst-content .wy-alert-info.important 
.admonition-title, .rst-content .wy-alert-info.tip .admonition-title, 
+.rst-content .wy-alert-info.warning .admonition-title, .rst-content .seealso 
.admonition-title, .rst-content .wy-alert-info.admonition-todo 
.admonition-title {
+  background: #404040;
+}
+
 .wy-side-nav-search img {
-   width: 63% !important;
+   width: 33% !important;
 }
 
 .section {


[08/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/development/traffic_ops_api/v11/region.html
--
diff --git a/docs/latest/development/traffic_ops_api/v11/region.html 
b/docs/latest/development/traffic_ops_api/v11/region.html
index c054171..a3e8897 100644
--- a/docs/latest/development/traffic_ops_api/v11/region.html
+++ b/docs/latest/development/traffic_ops_api/v11/region.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router
@@ -164,7 +164,7 @@
   
 Traffic Control 1.8-dev 
   
-  Developer’s Guide 
+  Developers Guide 

   
   Traffic Ops 
   
@@ -230,7 +230,7 @@
 
 
 Response Example
-{
+{
  response: [
 {
id: 6,
@@ -306,7 +306,7 @@
 
 
 Response Example
-{
+{
  response: [
 {
id: 6,
@@ -369,7 +369,7 @@
 
 
 Request Example
-{
+{
 name: myregion1,
 division: 4
 }
@@ -418,7 +418,7 @@
 
 
 Response Example
-{
+{
 alerts: 
[
 {
 level: success,
@@ -436,9 +436,6 @@
 
 
 
-
-
-
 
 POST /api/1.1/divisions/:division_name/regions
 Create Region
@@ -486,7 +483,7 @@
 
 
 Request Example
-{
+{
 name: myregion1,
 }
 
@@ -530,7 +527,7 @@
 
 
 Response Example
-{
+{
   response: {
 divisionName: 
mydivision1,
 divsionId: 4,

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/development/traffic_ops_api/v11/role.html
--
diff --git a/docs/latest/development/traffic_ops_api/v11/role.html 
b/docs/latest/development/traffic_ops_api/v11/role.html
index 835e57e..8e7d5e6 100644
--- a/docs/latest/development/traffic_ops_api/v11/role.html
+++ b/docs/latest/development/traffic_ops_api/v11/role.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router
@@ -164,7 +164,7 @@
   
 Traffic Control 1.8-dev 
   
-  Developer’s Guide 
+  Developers Guide 

   
   Traffic Ops 
   
@@ -230,7 +230,7 @@
 
 
 Response Example
-{
+{
  response: [
 {
name: read-only,

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/development/traffic_ops_api/v11/server.html
--
diff --git a/docs/latest/development/traffic_ops_api/v11/server.html 
b/docs/latest/development/traffic_ops_api/v11/server.html
index a4bf712..c7eafb2 100644
--- a/docs/latest/development/traffic_ops_api/v11/server.html
+++ b/docs/latest/development/traffic_ops_api/v11/server.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router
@@ -164,7 +164,7 @@
   
 Traffic Control 1.8-dev 
   
-  Developer’s Guide 
+  Developers Guide 

   
   Traffic Ops 
   
@@ -290,7 +290,7 @@
 
 iloPassword
 string
-The password of the of the lights-out-management user (displays as 
** unless you are an ‘admin’ user).
+The password of the of the lights-out-management user (displays as 
** unless you are an admin user).
 
 iloUsername
 string
@@ -403,7 +403,7 @@
 
 
 Response Example
-{
+{
response: [
{
cachegroup: us-il-chicago,
@@ -547,7 +547,7 @@
 
 iloPassword
 string
-The password of the of the lights-out-management user (displays as 
** unless you are an ‘admin’ user).
+The password of the of the lights-out-management user (displays as 
** unless you are an admin user).
 
 iloUsername
 string
@@ -660,7 +660,7 @@
 
 
 Response Example
-{
+{
response: [
{
cachegroup: us-il-chicago,
@@ -742,7 +742,7 @@
 
 
 Response Example
-{
+{
   response: [
 {
   count: 4,
@@ -848,7 +848,7 @@
 
 iloPassword
 string
-The password of the of the lights-out-management user  (displays as 
** unless you are an ‘admin’ user).
+The password of the of the lights-out-management user  (displays as 
** unless you are an admin user).
 
 iloUsername
 string
@@ -945,7 +945,7 @@
 
 
 Response Example
-{
+{
   response: {
 cachegroup: 
us-il-chicago,
   

[10/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/admin/traffic_server.html
--
diff --git a/docs/latest/admin/traffic_server.html 
b/docs/latest/admin/traffic_server.html
index 278b998..fb87bb2 100644
--- a/docs/latest/admin/traffic_server.html
+++ b/docs/latest/admin/traffic_server.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router
@@ -164,7 +164,7 @@
   
 Traffic Control 1.8-dev 
   
-  Administrator’s Guide 
+  Administrators Guide 
   
 Traffic Server Administration
   
@@ -205,7 +205,7 @@
 
 traffic_ops_ort.pl
 The traffic_ops_ort.pl should be installed on all caches 
(by puppet or other non Traffic Ops means), usually in /opt/ort. It is used to 
do initial install of the config files when the cache is being deployed, and to 
keep the config files up to date when the cache is already in service.  The 
usage message of the script is shown below:
-$ sudo 
./traffic_ops_ort.pl syncds warn https://to.cdn.kabletown.net
+$ sudo 
./traffic_ops_ort.pl syncds warn https://to.cdn.kabletown.net
 Thu May 26 15:52:11 UTC 2016
 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Usage: ./traffic_ops_ort.pl Mode Log_Level 
Traffic_Ops_URL Traffic_Ops_Login [optional flags]
@@ -228,17 +228,17 @@ Usage: ./traffic_ops_ort.pl Mode 
Log_Level Traffic_Ops_URL
 $
 
 
-For initial configuration or when major changes (like a Profile change) 
need to be made, run the script in “badass mode”. All required rpm packages 
will be installed, all Traffic Server config files will be fetched and 
installed, and (if needed) the Traffic Server application will be restarted.  
Example run below:
-run here
+For initial configuration or when major changes (like a Profile change) 
need to be made, run the script in badass mode. All required rpm 
packages will be installed, all Traffic Server config files will be fetched and 
installed, and (if needed) the Traffic Server application will be restarted.  
Example run below:
+run here
 
 
-For “every day changes” such as adding deliveryservices or changing 
records.config parameters caches should run the script in “syncds” mode out 
of cron. Example crontab entry:
-*/15 * * * * /opt/ort/traffic_ops_ort.pl syncds warn 
https://traffops.kabletown.net 
admin:password  /tmp/ort/syncds.log 2class="o">1
+For every day changes such as adding deliveryservices or 
changing records.config parameters caches should run the script in 
syncds mode out of cron. Example crontab entry:
+*/15 * * * * /opt/ort/traffic_ops_ort.pl syncds warn 
https://traffops.kabletown.net 
admin:password  /tmp/ort/syncds.log 21
 
 
 
 Note
-disclaimer on what is “hot changeable” here
+disclaimer on what is hot changeable 
here
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/admin/traffic_stats.html
--
diff --git a/docs/latest/admin/traffic_stats.html 
b/docs/latest/admin/traffic_stats.html
index f81220f..f4c1625 100644
--- a/docs/latest/admin/traffic_stats.html
+++ b/docs/latest/admin/traffic_stats.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router
@@ -164,7 +164,7 @@
   
 Traffic Control 1.8-dev 
   
-  Administrator’s Guide 
+  Administrators Guide 
   
 Traffic Stats Administration
   
@@ -213,7 +213,7 @@
 Configuration¶
 Configuring Traffic Stats:
 
-Traffic Stats’ configuration file can be found in 
/opt/traffic_stats/conf/traffic_stats.cfg.
+Traffic Stats configuration file can be found in 
/opt/traffic_stats/conf/traffic_stats.cfg.
 The following values need to be configured:
 
 
@@ -250,11 +250,11 @@ The following values need to be configured:
 
 Enter the necessary information to configure your data 
source
 
-Click on the ‘Home’ dropdown at the top of the screen 
and choose New at the bottom
+Click on the Home dropdown at the top of 
the screen and choose New at the bottom
 
 Click on the green menu bar (with 3 lines) at the top and 
choose Add Panel - Graph
 
-Where it says ‘No Title (click here)’ click and 
choose edit
+Where it says No Title (click here) click 
and choose edit
 
 Choose your data source at the bottom
 
@@ -263,7 +263,7 @@ The following values need to be 

[05/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/development/traffic_ops_api/v12/profile_parameter.html
--
diff --git a/docs/latest/development/traffic_ops_api/v12/profile_parameter.html 
b/docs/latest/development/traffic_ops_api/v12/profile_parameter.html
index 074a730..a30f329 100644
--- a/docs/latest/development/traffic_ops_api/v12/profile_parameter.html
+++ b/docs/latest/development/traffic_ops_api/v12/profile_parameter.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router
@@ -164,7 +164,7 @@
   
 Traffic Control 1.8-dev 
   
-  Developer’s Guide 
+  Developers Guide 

   
   Traffic Ops 
   
@@ -257,7 +257,7 @@ This accept two formats: single profile-parameter, 
profile-parameter array.
 
 
 Request Example
-Single 
profile-parameter format:
+Single 
profile-parameter format:
 
 {
   profileId: 2,
@@ -303,7 +303,7 @@ Profile-parameter array format:
 
 
 Response Example
-{
+{
   response:[
 {
   profileId: 
2,
@@ -397,7 +397,7 @@ Profile-parameter array format:
 
 
 Response Example
-{
+{
   alerts:[
 {
   level: success,
@@ -417,7 +417,7 @@ Profile-parameter array format:
 Associate parameters to a profile. If the parameter does not exist, 
create it and associate to the profile. If the parameter already exists, 
associate it to the profile. If the parameter already associate the profile, 
keep the association.
 If the profile does not exist, the API returns fail.
 Authentication Required: Yes
-Role(s) Required:  admin or oper. If there is parameter’s secure equals 1 
in the request properties, need admin role.
+Role(s) Required:  admin or oper. If there is parameters secure 
equals 1 in the request properties, need admin role.
 
 Request Route Parameters
 
@@ -525,7 +525,7 @@ The request properties accept 2 formats, both single 
paramter and parameters arr
 
 
 Request Example
-1. single parameter format exampe:
+1. single parameter format exampe:
 {
 name:param1,
 configFile:configFile1,
@@ -551,7 +551,7 @@ The request properties accept 2 formats, both single 
paramter and parameters arr
 
 
 Response Properties
-+--+-+--+
++--+-+--+
 | Name | Type| Description 
 |
 
+==+=+==+
 | ``response`` | | Parameters associated with the profile. 
 |
@@ -583,7 +583,7 @@ The request properties accept 2 formats, both single 
paramter and parameters arr
 
 
 Response Example
-{
+{
   response:{
 profileName: 
CCR1,
 profileId : 
12,
@@ -621,7 +621,7 @@ The request properties accept 2 formats, both single 
paramter and parameters arr
 Associate parameters to a profile. If the parameter does not exist, 
create it and associate to the profile. If the parameter already exists, 
associate it to the profile. If the parameter already associate the profile, 
keep the association.
 If the profile does not exist, the API returns fail.
 Authentication Required: Yes
-Role(s) Required:  admin or oper. If there is parameter’s secure equals 1 
in the request properties, need admin role.
+Role(s) Required:  admin or oper. If there is parameters secure 
equals 1 in the request properties, need admin role.
 
 Request Route Parameters
 
@@ -729,7 +729,7 @@ The request properties accept 2 formats, both single 
paramter and parameters arr
 
 
 Request Example
-1. single parameter format exampe:
+1. single parameter format exampe:
 {
 name:param1,
 configFile:configFile1,
@@ -755,7 +755,7 @@ The request properties accept 2 formats, both single 
paramter and parameters arr
 
 
 Response Properties
-+--+-+--+
++--+-+--+
 | Name | Type| Description 
 |
 
+==+=+==+
 | ``response`` | | Parameters associated with the profile. 
 |
@@ 

[04/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/development/traffic_ops_api/v12/user.html
--
diff --git a/docs/latest/development/traffic_ops_api/v12/user.html 
b/docs/latest/development/traffic_ops_api/v12/user.html
index 2b2c015..f3c696c 100644
--- a/docs/latest/development/traffic_ops_api/v12/user.html
+++ b/docs/latest/development/traffic_ops_api/v12/user.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router
@@ -164,7 +164,7 @@
   
 Traffic Control 1.8-dev 
   
-  Developer’s Guide 
+  Developers Guide 

   
   Traffic Ops 
   
@@ -295,7 +295,7 @@
 
 
 Response Example
-{
+{
response: [
   {
  addressLine1: ,
@@ -452,7 +452,7 @@
 
 
 Response Example
-{
+{
response: [
   {
  addressLine1: ,
@@ -487,6 +487,380 @@
 
 
 
+GET /api/1.2/users/:id/deliveryservices
+
+Retrieves all delivery services assigned to the user. See also http://trafficcontrol.apache.org/docs/latest/admin/traffic_ops_using.html#delivery-service;>Using
 Traffic Ops - Delivery Service.
+Authentication Required: Yes
+Role(s) Required: None
+Request Route Parameters
+
+
+
+
+
+
+
+Name
+Required
+Description
+
+
+
+id
+yes
+User ID.
+
+
+
+Response Properties
+
+
+
+
+
+
+
+Parameter
+Type
+Description
+
+
+
+active
+bool
+true if active, false if inactive.
+
+cacheurl
+string
+Cache URL rule to apply to this delivery service.
+
+ccrDnsTtl
+string
+The TTL of the DNS response for A or  queries requesting the IP 
address of the tr. host.
+
+cdnId
+string
+Id of the CDN to which the delivery service belongs to.
+
+cdnName
+string
+Name of the CDN to which the delivery service belongs to.
+
+checkPath
+string
+The path portion of the URL to check this deliveryservice for health.
+
+displayName
+string
+The display name of the delivery service.
+
+dnsBypassIp
+string
+The IPv4 IP to use for bypass on a DNS deliveryservice  - bypass starts 
when serving more than the
+globalMaxMbps traffic on this deliveryservice.
+
+dnsBypassIp6
+string
+The IPv6 IP to use for bypass on a DNS deliveryservice - bypass starts 
when serving more than the
+globalMaxMbps traffic on this deliveryservice.
+
+dnsBypassTtl
+string
+The TTL of the DNS bypass response.
+
+dscp
+string
+The Differentiated Services Code Point (DSCP) with which to mark 
downstream (EDGE -  customer) traffic.
+
+edgeHeaderRewrite
+string
+The EDGE header rewrite actions to perform.
+
+geoLimitRedirectUrl
+string
+
+
+geoLimit
+string
+
+0: None - no limitations
+1: Only route on CZF file hit
+2: Only route on CZF hit or when from USA
+
+Note that this does not prevent access to content or makes 
content secure; it just prevents
+routing to the content by Traffic Router.
+
+
+geoLimitCountries
+string
+
+
+geoProvider
+string
+
+
+globalMaxMbps
+string
+The maximum global bandwidth allowed on this deliveryservice. If exceeded, 
the traffic routes to the
+dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for HTTP 
deliveryservices.
+
+globalMaxTps
+string
+The maximum global transactions per second allowed on this 
deliveryservice. When this is exceeded
+traffic will be sent to the dnsByPassIp* for DNS deliveryservices and to the 
httpBypassFqdn for
+HTTP deliveryservices
+
+httpBypassFqdn
+string
+The HTTP destination to use for bypass on an HTTP deliveryservice - bypass 
starts when serving more than the
+globalMaxMbps traffic on this deliveryservice.
+
+id
+string
+The deliveryservice id (database row number).
+
+infoUrl
+string
+Use this to add a URL that points to more information about that 
deliveryservice.
+
+initialDispersion
+string
+
+
+ipv6RoutingEnabled
+bool
+false: send IPv4 address of Traffic Router to client on HTTP type del.
+
+lastUpdated
+string
+
+
+logsEnabled
+bool
+
+
+longDesc
+string
+Description field 1.
+
+longDesc1
+string
+Description field 2.
+
+longDesc2
+string
+Description field 2.
+
+type
+string
+The type of MatchList (one of :ref:to-api-v11-types 
use_in_table=regex).
+
+setNumber
+string
+The set Number of the matchList.
+
+pattern
+string
+The regexp for the matchList.
+
+maxDnsAnswers
+string
+The maximum number of IPs to put in a A/ response for a DNS 
deliveryservice (0 means all
+available).
+
+midHeaderRewrite
+string
+The MID header rewrite actions to perform.
+
+missLat
+string
+The latitude to use when the client cannot be found in the CZF or the Geo 
lookup.
+
+missLong
+string
+The longitude to use when the client cannot be found in the CZF or the Geo 
lookup.
+
+multiSiteOrigin
+bool
+Is the Multi Site Origin 

[18/18] incubator-trafficcontrol-website git commit: Merge branch 'asf-site' of https://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website into asf-site

2017-07-07 Thread friede
Merge branch 'asf-site' of 
https://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website into 
asf-site


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

Branch: refs/heads/asf-site
Commit: 72b94c331fe74ab5fe2ef44688e61f12b52a69d6
Parents: 6b5a5ff 0bf8476
Author: Eric Friedrich 
Authored: Fri Jul 7 08:42:55 2017 -0400
Committer: Eric Friedrich 
Committed: Fri Jul 7 08:42:55 2017 -0400

--
 docs/1.8.1/admin/index.html |8 +-
 docs/1.8.1/admin/quick_howto/dnssec.html|8 +-
 docs/1.8.1/admin/quick_howto/federations.html   |8 +-
 docs/1.8.1/admin/quick_howto/index.html |8 +-
 docs/1.8.1/admin/quick_howto/multi_site.html|8 +-
 docs/1.8.1/admin/quick_howto/regionalgeo.html   |8 +-
 docs/1.8.1/admin/quick_howto/steering.html  |8 +-
 docs/1.8.1/admin/traffic_monitor.html   |8 +-
 docs/1.8.1/admin/traffic_ops_config.html|8 +-
 docs/1.8.1/admin/traffic_ops_extensions.html|8 +-
 docs/1.8.1/admin/traffic_ops_install.html   |8 +-
 docs/1.8.1/admin/traffic_ops_using.html |8 +-
 docs/1.8.1/admin/traffic_portal.html|8 +-
 docs/1.8.1/admin/traffic_router.html|8 +-
 docs/1.8.1/admin/traffic_server.html|8 +-
 docs/1.8.1/admin/traffic_stats.html |8 +-
 docs/1.8.1/admin/traffic_vault.html |8 +-
 docs/1.8.1/basics/cache_revalidation.html   |8 +-
 docs/1.8.1/basics/caching_proxies.html  |8 +-
 .../1.8.1/basics/content_delivery_networks.html |8 +-
 docs/1.8.1/basics/http_11.html  |8 +-
 docs/1.8.1/basics/index.html|8 +-
 docs/1.8.1/development/index.html   |8 +-
 docs/1.8.1/development/traffic_monitor.html |8 +-
 .../traffic_monitor/traffic_monitor_api.html|8 +-
 docs/1.8.1/development/traffic_ops.html |8 +-
 .../development/traffic_ops_api/routes.html |8 +-
 .../development/traffic_ops_api/v11/asn.html|8 +-
 .../traffic_ops_api/v11/cachegroup.html |8 +-
 .../development/traffic_ops_api/v11/cdn.html|8 +-
 .../traffic_ops_api/v11/changelog.html  |8 +-
 .../traffic_ops_api/v11/deliveryservice.html|8 +-
 .../development/traffic_ops_api/v11/hwinfo.html |8 +-
 .../traffic_ops_api/v11/parameter.html  |8 +-
 .../traffic_ops_api/v11/phys_location.html  |8 +-
 .../traffic_ops_api/v11/profile.html|8 +-
 .../development/traffic_ops_api/v11/region.html |8 +-
 .../development/traffic_ops_api/v11/role.html   |8 +-
 .../development/traffic_ops_api/v11/server.html |8 +-
 .../traffic_ops_api/v11/static_dns.html |8 +-
 .../development/traffic_ops_api/v11/status.html |8 +-
 .../development/traffic_ops_api/v11/system.html |8 +-
 .../traffic_ops_api/v11/to_extension.html   |8 +-
 .../development/traffic_ops_api/v11/type.html   |8 +-
 .../development/traffic_ops_api/v11/user.html   |8 +-
 .../development/traffic_ops_api/v12/asn.html|8 +-
 .../traffic_ops_api/v12/cache_stats.html|8 +-
 .../traffic_ops_api/v12/cachegroup.html |8 +-
 .../development/traffic_ops_api/v12/cdn.html|8 +-
 .../traffic_ops_api/v12/changelog.html  |8 +-
 .../traffic_ops_api/v12/deliveryservice.html|8 +-
 .../v12/deliveryservice_stats.html  |8 +-
 .../traffic_ops_api/v12/division.html   |8 +-
 .../traffic_ops_api/v12/federation.html |8 +-
 .../development/traffic_ops_api/v12/hwinfo.html |8 +-
 .../traffic_ops_api/v12/influxdb.html   |8 +-
 .../traffic_ops_api/v12/parameter.html  |8 +-
 .../traffic_ops_api/v12/phys_location.html  |8 +-
 .../traffic_ops_api/v12/profile.html|8 +-
 .../traffic_ops_api/v12/profile_parameter.html  |8 +-
 .../development/traffic_ops_api/v12/region.html |8 +-
 .../development/traffic_ops_api/v12/role.html   |8 +-
 .../development/traffic_ops_api/v12/server.html |8 +-
 .../traffic_ops_api/v12/static_dns.html |8 +-
 .../development/traffic_ops_api/v12/status.html |8 +-
 .../development/traffic_ops_api/v12/system.html |8 +-
 .../traffic_ops_api/v12/to_extension.html   |8 +-
 .../traffic_ops_api/v12/topology.html   |8 +-
 .../development/traffic_ops_api/v12/type.html   |8 +-
 .../development/traffic_ops_api/v12/user.html   |8 +-
 

[13/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/_static/fonts/fontawesome-webfont.svg
--
diff --git a/docs/latest/_static/fonts/fontawesome-webfont.svg 
b/docs/latest/_static/fonts/fontawesome-webfont.svg
new file mode 100644
index 000..45fdf33
--- /dev/null
+++ b/docs/latest/_static/fonts/fontawesome-webfont.svg
@@ -0,0 +1,414 @@
+
+http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd; >
+http://www.w3.org/2000/svg;>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+



[07/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/development/traffic_ops_api/v12/cdn.html
--
diff --git a/docs/latest/development/traffic_ops_api/v12/cdn.html 
b/docs/latest/development/traffic_ops_api/v12/cdn.html
index b5c1652..75d6a08 100644
--- a/docs/latest/development/traffic_ops_api/v12/cdn.html
+++ b/docs/latest/development/traffic_ops_api/v12/cdn.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router
@@ -164,7 +164,7 @@
   
 Traffic Control 1.8-dev 
   
-  Developer’s Guide 
+  Developers Guide 

   
   Traffic Ops 
   
@@ -230,7 +230,7 @@
 
 
 Response Example
-{
+{
  response: [
{
   id: 1
@@ -309,7 +309,7 @@
 
 
 Response Example
-{
+{
  response: [
{
   id: 2
@@ -382,7 +382,7 @@
 
 
 Response Example
-{
+{
  response: [
{
   id: 2
@@ -430,7 +430,7 @@
 
 
 Request Example
-{
+{
 name: cdn_test,
 dnssecEnabled: 
0
 }
@@ -481,7 +481,7 @@
 
 
 Response Example
-{
+{
 response:{
 name: cdn_test,
 id: 3
@@ -552,7 +552,7 @@
 
 
 Request Example
-{
+{
 name: cdn_test2,
 dnssecEnabled: 
0
 }
@@ -603,7 +603,7 @@
 
 
 Response Example
-{
+{
 response:{
 name: cdn_test2,
 id: 3
@@ -676,7 +676,7 @@
 
 
 Response Example
-{
+{
   alerts: [
 {
 level: success,
@@ -690,6 +690,94 @@
 
 
 
+POST /api/1.2/cdns/{:id}/queue_update
+
+Queue or dequeue updates for all servers assigned to a specific 
CDN.
+Authentication Required: Yes
+Role(s) Required: admin or oper
+Request Route Parameters
+
+
+
+
+
+
+
+Name
+Required
+Description
+
+
+
+id
+yes
+the cdn id.
+
+
+
+Request Properties
+
+
+
+
+
+
+
+Name
+Type
+Description
+
+
+
+action
+string
+queue or dequeue
+
+
+
+Request Example
+{
+action: queue
+}
+
+
+Response Properties
+
+
+
+
+
+
+
+Name
+Type
+Description
+
+
+
+action
+string
+The action processed, queue or dequeue.
+
+cdnId
+integer
+cdn id
+
+
+
+Response Example
+{
+  response: {
+action: 
queue,
+cdn: 1
+}
+}
+
+
+
+
+
+
 
 
 Health¶
@@ -740,7 +828,7 @@ group.
 
 
 Response Example
-{
+{
  response: {
 totalOnline: 
148,
 totalOffline: 
0,
@@ -833,7 +921,7 @@ group.
 
 
 Response Example
-{
+{
  response: {
 totalOnline: 
148,
 totalOffline: 
0,
@@ -891,7 +979,7 @@ group.
 
 
 Response Example
-{
+{
  response: 
{
 currentGbps: 149.368167,
 tps: 36805,
@@ -942,7 +1030,7 @@ group.
 
 
 Response Example
-{
+{
  response: 
{
 availablePercent: 89.0939840205533,
 unavailablePercent: 0,
@@ -1005,7 +1093,7 @@ group.
 
 
 Response Example
-{
+{
   response: 
{
  staticRoute: 0,
  miss: 
0,
@@ -1126,7 +1214,7 @@ group.
 
 
 Response Example
-{
+{
  response: [
 {
stats: {
@@ -1203,7 +1291,7 @@ group.
 
 
 Response Example
-{
+{
  response: [
 {
profileId: 
5,
@@ -1287,7 +1375,7 @@ group.
 
 
 Response Example
-TBD
+TBD
 
 
 
@@ -1549,7 +1637,7 @@ profiles.
 
 
 Response Example
-TBD
+TBD
 
 
 
@@ -1964,7 +2052,7 @@ services.
 
 
 Response Example
-TBD
+TBD
 
 
 
@@ -2063,7 +2151,7 @@ services.
 
 
 Response Example
-{
+{
   response: {
 cdn1: {
   zsk: {
@@ -2160,7 +2248,7 @@ services.
 
 
 Response Example
-{
+{
   response: Successfully deleted dnssec keys for cdn
 }
 
@@ -2211,7 +2299,7 @@ services.
 
 
 Request Example
-{
+{
   key: cdn1,
   name ott.kabletown.com,
   ttl: 60,
@@ -2245,7 +2333,7 @@ services.
 
 
 Response Example
-{
+{
   response: Successfully created dnssec keys for cdn1
 }
 
@@ -2312,7 +2400,7 @@ services.
 
 
 Response Example
-{
+{
   response: [
 {
   deliveryservice: ds1,
@@ -2333,9 +2421,6 @@ services.
 
 
 
-
-
-
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/development/traffic_ops_api/v12/changelog.html
--
diff --git a/docs/latest/development/traffic_ops_api/v12/changelog.html 
b/docs/latest/development/traffic_ops_api/v12/changelog.html
index 33e8289..1216170 100644
--- a/docs/latest/development/traffic_ops_api/v12/changelog.html
+++ b/docs/latest/development/traffic_ops_api/v12/changelog.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic 

[15/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/_sources/development/traffic_ops_api/v12/deliveryservice_regex.rst.txt
--
diff --git 
a/docs/latest/_sources/development/traffic_ops_api/v12/deliveryservice_regex.rst.txt
 
b/docs/latest/_sources/development/traffic_ops_api/v12/deliveryservice_regex.rst.txt
new file mode 100644
index 000..16697ec
--- /dev/null
+++ 
b/docs/latest/_sources/development/traffic_ops_api/v12/deliveryservice_regex.rst.txt
@@ -0,0 +1,374 @@
+..
+..
+.. 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.
+..
+
+
+.. _to-api-v12-ds-regexes:
+
+Delivery Service Regexes
+
+
+.. _to-api-v12-ds-regexes-route:
+
+
+**GET /api/1.2/deliveryservices_regexes**
+
+  Retrieves regexes for all delivery services.
+
+  Authentication Required: Yes
+
+  Role(s) Required: Admin or Oper
+
+  **Response Properties**
+
+  
+--++-+
+  |Parameter |  Type  |   Description  
 |
+  
+==++=+
+  | ``dsName``   | array  | Delivery service name. 
 |
+  
+--++-+
+  | ``regexes``  | array  | An array of regexes for the delivery service.  
 |
+  
+--++-+
+  | ``>type``| string | The regex type.
 |
+  
+--++-+
+  | ``>pattern`` | string | The regex pattern. 
 |
+  
+--++-+
+  | ``>setNumber``   | string | The order in which the regex is evaluated. 
 |
+  
+--++-+
+
+  **Response Example** ::
+
+{
+ "response": [
+{
+   "dsName": "foo-bar",
+   "regexes": [
+   {
+   "type": "HOST_REGEXP",
+   "pattern": ".*\.foo-bar\..*",
+   "setNumber": 0
+   },
+   {
+   "type": "HOST_REGEXP",
+   "pattern": "foo.bar.com",
+   "setNumber": 1
+   }
+   ]
+   },
+   { ... }
+  ]
+}
+
+|
+
+**GET /api/1.2/deliveryservices/{:dsId}/regexes**
+
+  Retrieves regexes for a specific delivery service.
+
+  Authentication Required: Yes
+
+  Role(s) Required: None
+
+  **Request Route Parameters**
+
+  +---+--+-+
+  |   Name| Required |Description  |
+  +===+==+=+
+  |  ``dsId`` |   yes| Delivery service id.|
+  +---+--+-+
+
+  **Response Properties**
+
+  
+--++-+
+  |Parameter |  Type  |   Description  
 |
+  
+==++=+
+  | ``id``   | string | Delivery service regex ID. 
 |
+  
+--++-+
+  | ``type`` | string | Delivery service regex type ID.
 |
+  

[17/18] incubator-trafficcontrol-website git commit: Merge branch 'asf-site' of https://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website into asf-site

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/development/traffic_server.html
--
diff --cc docs/latest/development/traffic_server.html
index 1825fc4,db148f0..4e1c3af
--- a/docs/latest/development/traffic_server.html
+++ b/docs/latest/development/traffic_server.html
@@@ -162,9 -162,9 +162,9 @@@
  


- Traffic Control 1.8-dev 
+ Traffic Control 1.8.1 

 -  Developer’s Guide 
 +  Developers Guide 

  Traffic Server


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/development/traffic_stats.html
--
diff --cc docs/latest/development/traffic_stats.html
index a3742ad,37185a3..e6a1290
--- a/docs/latest/development/traffic_stats.html
+++ b/docs/latest/development/traffic_stats.html
@@@ -162,9 -162,9 +162,9 @@@
  


- Traffic Control 1.8-dev 
+ Traffic Control 1.8.1 

 -  Developer’s Guide 
 +  Developers Guide 

  Traffic Stats


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/faq/administration.html
--

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/faq/development.html
--

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/faq/general.html
--

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/faq/index.html
--

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/overview/index.html
--

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/overview/introduction.html
--

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/overview/traffic_monitor.html
--

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/overview/traffic_ops.html
--

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/overview/traffic_portal.html
--

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/overview/traffic_router.html
--

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/overview/traffic_server.html
--

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/overview/traffic_stats.html
--

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/72b94c33/docs/latest/overview/traffic_vault.html
--



[14/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/_sources/overview/introduction.rst.txt
--
diff --git a/docs/latest/_sources/overview/introduction.rst.txt 
b/docs/latest/_sources/overview/introduction.rst.txt
index a983820..2789b46 100644
--- a/docs/latest/_sources/overview/introduction.rst.txt
+++ b/docs/latest/_sources/overview/introduction.rst.txt
@@ -15,14 +15,35 @@
 
 Introduction
 
-Traffic Control is a control plane for a CDN, which includes all of the 
components mentioned in the CDN Basics section, except for the Log File 
Analysis System. The caching software chosen for Traffic Control is `Apache 
Traffic Server `_ (ATS). Although the current 
release only supports ATS as a cache, this may change with future releases. 
+Traffic Control is a caching server control plane application which is used to 
aggregate caching servers into a Content Delivery Network (CDN). The CDN 
caching software chosen for Traffic Control is `Apache Traffic Server 
`_ (ATS). Although the current release only 
supports ATS as a cache, this may change with future releases. 
 
 Traffic Control was first developed at Comcast for internal use and released 
to Open Source in April of 2015. Traffic Control moved into the Apache 
Incubator in August of 2016.
 
-Traffic Control implements the blue boxes in the architecture diagram below. 
+Traffic Control implements the elements illustrated in green in the diagram  
below. 
 
 
 .. image:: traffic_control_overview_3.png
:align: center
 
+
+**Traffic Ops**
+  * `Traffic Ops 
`_ is 
used to configure caching  servers and CDN delivery services. It also contains 
APIs used to access CDN data.
+
+**Traffic Router**
+  * `Traffic Router 
`_ 
is used to route clients requests to the closest healthy cache by analyzing the 
health, capacity, and state of the caching servers and relative distance from 
each cache group to the location of the client.
+
+**Traffic Monitor**
+  * `Traffic Monitor 
`_ 
does health polling of the caching servers on a very short interval to keep 
track of which servers should be kept in rotation.
+
+**Traffic Stats**
+  * `Traffic Stats 
`_ 
collects real time traffic statistics aggregated from each of the caching 
servers. This data is used by the Traffic Router to assess the available 
capacity of each caching server which it uses to balance traffic load and 
prevent overload.
+
+**Traffic Portal**
+  * `Traffic Portal 
`_ 
is a web application which leverages the Traffic Ops APIs to present CDN data 
through a web interface.
+
+**Traffic Logs**
+  * Traffic Logs is currently under construction and is intended  to aggregate 
Traffic Server request/response logs as well as other server logs.  Logs will 
be parsed and indexed for search.
+
+
 In the next sections each of these components will be explained further.
+

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/_static/basic.css
--
diff --git a/docs/latest/_static/basic.css b/docs/latest/_static/basic.css
index 6df76b0..dc88b5a 100644
--- a/docs/latest/_static/basic.css
+++ b/docs/latest/_static/basic.css
@@ -398,13 +398,6 @@ table.field-list td, table.field-list th {
 margin: 0;
 }
 
-.field-name {
--moz-hyphens: manual;
--ms-hyphens: manual;
--webkit-hyphens: manual;
-hyphens: manual;
-}
-
 /* -- other body styles - 
*/
 
 ol.arabic {



[01/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
Repository: incubator-trafficcontrol-website
Updated Branches:
  refs/heads/asf-site 0bf847624 -> 72b94c331


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/downloads/index.html
--
diff --git a/downloads/index.html b/downloads/index.html
index a07a786..930e80b 100644
--- a/downloads/index.html
+++ b/downloads/index.html
@@ -31,13 +31,41 @@
   
 
   
-   Apache Traffic Control-1.8.1-incubating has 
been released!
+   Apache Traffic Control-2.0.0-incubating has 
been released!
The artifacts and release notes are below ...
   
 
 

-   Apache Traffic Control 1.8.1-incubating Release Notes
+   Apache Traffic Control 2.0.0-incubating
+  The source code for Traffic Control 2.0.0 is available here:
+  
+  
+ https://dist.apache.org/repos/dist/release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz;>apache-trafficcontrol-2.0.0-incubating.tar.gz
+ https://dist.apache.org/repos/dist/release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5sum;>MD5
+ https://dist.apache.org/repos/dist/release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum;>SHA512
+ https://dist.apache.org/repos/dist/release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc;>PGP
+  
+  
+   
+   
+  Release Notes
+
+  Traffic Ops DB
+  Starting in Traffic Control 2.0.0, Postgres replaces 
MySQL as the Traffic Ops
+Database. The change in database server now provides a more friendly open 
source license for Traffic
+Control users.
+  
+
+  To begin using Postgres, see 
traffic_ops_db/pg-migration/README.md for the
+MANDATORY migration steps. This upgrade must be performed using a Traffic 
Control 1.8.x database. If
+currently using a version of Traffic Control prior to 1.8.0, you must 
upgrade to 1.8.1 first before
+upgrading to 2.0.0.
+  
+  
+   
+   
+   Apache Traffic Control 1.8.1-incubating
   The source code for Traffic Control 1.8.1 is available here:
   
   
@@ -50,7 +78,7 @@

 

-  We're Incubating!
+  Release Notes - We're Incubating!
   The Traffic Control project has been accepted into 
the Apache Incubator, and is
   thus now Apache Traffic Control (incubating). Beyond simply moving the 
website,
   this necessitated a number of changes, including changing the license header 
on each file.



[03/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/overview/index.html
--
diff --git a/docs/latest/overview/index.html b/docs/latest/overview/index.html
index 6bb7b5e..19d8940 100644
--- a/docs/latest/overview/index.html
+++ b/docs/latest/overview/index.html
@@ -60,7 +60,7 @@
 
 
   
-  
+  
 
 
 
@@ -103,7 +103,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -119,7 +119,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/overview/introduction.html
--
diff --git a/docs/latest/overview/introduction.html 
b/docs/latest/overview/introduction.html
index eb36609..c6457f0 100644
--- a/docs/latest/overview/introduction.html
+++ b/docs/latest/overview/introduction.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 Traffic Portal
 Traffic Router
@@ -189,10 +189,42 @@
 
   
 Introduction¶
-Traffic Control is a control plane for a CDN, which includes all of the 
components mentioned in the CDN Basics section, except for the Log File 
Analysis System. The caching software chosen for Traffic Control is http://trafficserver.apache.org/;>Apache 
Traffic Server (ATS). Although the current release only supports ATS as a 
cache, this may change with future releases.
+Traffic Control is a caching server control plane application which is used 
to aggregate caching servers into a Content Delivery Network (CDN). The CDN 
caching software chosen for Traffic Control is http://trafficserver.apache.org/;>Apache Traffic Server (ATS). 
Although the current release only supports ATS as a cache, this may change with 
future releases.
 Traffic Control was first developed at Comcast for internal use and 
released to Open Source in April of 2015. Traffic Control moved into the Apache 
Incubator in August of 2016.
-Traffic Control implements the blue boxes in the architecture diagram 
below.
+Traffic Control implements the elements illustrated in green in the diagram 
 below.
 
+
+Traffic Ops
+
+http://trafficcontrol.apache.org/docs/latest/overview/traffic_ops.html/;>Traffic
 Ops is used to configure caching  servers and CDN delivery services. It 
also contains APIs used to access CDN data.
+
+
+Traffic Router
+
+http://trafficcontrol.apache.org/docs/latest/overview/traffic_router.html/;>Traffic
 Router is used to route clients requests to the closest healthy cache by 
analyzing the health, capacity, and state of the caching servers and relative 
distance from each cache group to the location of the client.
+
+
+Traffic Monitor
+
+http://trafficcontrol.apache.org/docs/latest/overview/traffic_monitor.html/;>Traffic
 Monitor does health polling of the caching servers on a very short 
interval to keep track of which servers should be kept in rotation.
+
+
+Traffic Stats
+
+http://trafficcontrol.apache.org/docs/latest/overview/traffic_stats.html/;>Traffic
 Stats collects real time traffic statistics aggregated from each of the 
caching servers. This data is used by the Traffic Router to assess the 
available capacity of each caching server which it uses to balance traffic load 
and prevent overload.
+
+
+Traffic Portal
+
+http://trafficcontrol.apache.org/docs/latest/overview/traffic_portal.html/;>Traffic
 Portal is a web application which leverages the Traffic Ops APIs to 
present CDN data through a web interface.
+
+
+Traffic Logs
+
+Traffic Logs is currently under construction and is intended  to aggregate 
Traffic Server request/response logs as well as other server logs.  Logs will 
be parsed and indexed for search.
+
+
+
 In the next sections each of these components will be explained further.
 
 

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/overview/traffic_monitor.html
--
diff --git a/docs/latest/overview/traffic_monitor.html 
b/docs/latest/overview/traffic_monitor.html
index 4b28c8b..193081b 100644
--- a/docs/latest/overview/traffic_monitor.html
+++ b/docs/latest/overview/traffic_monitor.html
@@ -61,7 +61,7 @@
 
 
   
-  
+  
 
 
 
@@ -104,7 +104,7 @@
 
 
 
-Administrator’s Guide
+Administrators Guide
 Installing Traffic Ops
 Configuring Traffic Ops
 Using Traffic Ops
@@ -120,7 +120,7 @@
 
 
 
-Developer’s Guide
+Developers Guide
 Traffic Ops
 

[06/18] incubator-trafficcontrol-website git commit: Update Downloads and latest docs pages for 2.0.0

2017-07-07 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/6b5a5ffa/docs/latest/development/traffic_ops_api/v12/deliveryservice_regex.html
--
diff --git 
a/docs/latest/development/traffic_ops_api/v12/deliveryservice_regex.html 
b/docs/latest/development/traffic_ops_api/v12/deliveryservice_regex.html
new file mode 100644
index 000..911b7b6
--- /dev/null
+++ b/docs/latest/development/traffic_ops_api/v12/deliveryservice_regex.html
@@ -0,0 +1,822 @@
+
+
+
+
+  
+
+  
+  
+  
+  Delivery Service Regexes  Traffic Control 1.8-dev 
documentation 
+  
+
+  
+  
+
+  
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+  
+
+  
+
+  
+
+  
+
+
+
+
+
+ 
+
+  
+  
+
+
+
+
+
+  
+
+
+
+  
+
+
+
+   Traffic Control
+
+
+
+  
+  
+
+
+
+
+
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+  
+  
+  
+CDN Basics
+Content Delivery 
Networks
+HTTP 1.1
+Caching Proxies
+Cache Control Headers and 
Revalidation
+
+
+
+
+Traffic Control Overview
+Introduction
+Traffic Ops
+Traffic Portal
+Traffic Router
+Traffic Monitor
+Traffic Stats
+Traffic Server
+Traffic Vault
+
+
+
+
+Administrators Guide
+Installing Traffic Ops
+Configuring Traffic Ops
+Using Traffic Ops
+Managing Traffic Ops 
Extensions
+Traffic Portal Administration
+Traffic Monitor 
Administration
+Traffic Router Administration
+Traffic Stats Administration
+Traffic Server Administration
+Traffic Vault Administration
+Quick How To Guides
+
+
+
+
+Developers Guide
+Traffic Ops
+Traffic Portal
+Traffic Router
+Traffic Monitor
+Traffic Stats
+Traffic Server
+
+
+
+
+FAQ
+General
+Development
+Running a Traffic Control CDN
+
+
+
+
+Glossary
+
+
+  
+
+  
+  
+
+
+
+
+  
+  
+
+Traffic Control
+  
+
+
+  
+  
+
+  
+  
+Traffic Control 1.8-dev 
+  
+  Developers Guide 

+  
+  Traffic Ops 
+  
+Delivery Service Regexes
+  
+
+   View page source
+
+  
+  
+  
+
+ 
+ 
+ 
+ Next 
+ 
+ 
+  Previous
+ 
+ 
+ 
+  
+
+  
+Delivery Service Regexes¶
+GET 
/api/1.2/deliveryservices_regexes
+
+Retrieves regexes for all delivery services.
+Authentication Required: Yes
+Role(s) Required: Admin or Oper
+Response Properties
+
+
+
+
+
+
+
+Parameter
+Type
+Description
+
+
+
+dsName
+array
+Delivery service name.
+
+regexes
+array
+An array of regexes for the delivery service.
+
+type
+string
+The regex type.
+
+pattern
+string
+The regex pattern.
+
+setNumber
+string
+The order in which the regex is evaluated.
+
+
+
+Response Example
+{
+ response: [
+{
+dsName: foo-bar,
+regexes: [
+{
+type: HOST_REGEXP,
+pattern: .*\.foo-bar\..*,
+setNumber: 0
+},
+{
+type: HOST_REGEXP,
+pattern: foo.bar.com,
+setNumber: 1
+}
+]
+},
+{ ... }
+  ]
+}
+
+
+
+
+
+
+GET /api/1.2/deliveryservices/{:dsId}/regexes
+
+Retrieves regexes for a specific delivery service.
+Authentication Required: Yes
+Role(s) Required: None
+Request Route Parameters
+
+
+
+
+
+
+
+Name
+Required
+Description
+
+
+
+dsId
+yes
+Delivery service id.
+
+
+
+Response Properties
+
+
+
+
+
+
+
+Parameter
+Type
+Description
+
+
+
+id
+string
+Delivery service regex ID.
+
+type
+string
+Delivery service regex type ID.
+
+typeName
+string
+Delivery service regex type name.
+
+pattern
+string
+Delivery service regex pattern.
+
+setNumber
+string
+The order in which the regex is evaluated for the delivery service.
+
+
+
+Response Example
+{
+ response: [
+{
+id: 852,
+type: 18,
+typeName: HOST_REGEXP,
+pattern: .*\.foo-bar\..*,
+setNumber: 0
+},
+{
+id: 853,
+type: 18,
+typeName: HOST_REGEXP,
+pattern: foo.bar.com,
+setNumber: 1
+}
+  ]
+}
+
+
+
+
+
+
+GET /api/1.2/deliveryservices/{:dsId}/regexes/{:id}
+
+Retrieves a regex for a specific delivery service.
+Authentication Required: Yes
+Role(s) Required: None
+Request Route Parameters
+
+
+
+
+
+
+
+Name
+Required
+Description
+
+
+
+dsId
+yes

[incubator-trafficcontrol] Git Push Summary

2017-07-06 Thread friede
Repository: incubator-trafficcontrol
Updated Tags:  refs/tags/RELEASE-2.0.0 [created] b489eea86


svn commit: r20357 - in /release/incubator/trafficcontrol: ./ 2.0.0-incubating/

2017-07-06 Thread friede
Author: friede
Date: Fri Jul  7 01:29:41 2017
New Revision: 20357

Log:
Publishing Traffic Control (incubating) 2.0.0

Added:
release/incubator/trafficcontrol/2.0.0-incubating/

release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz
   (with props)

release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc

release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5sum

release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum
Modified:
release/incubator/trafficcontrol/KEYS

Added: 
release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz
==
Binary file - no diff available.

Propchange: 
release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz
--
svn:mime-type = application/octet-stream

Added: 
release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc
==
--- 
release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc
 (added)
+++ 
release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc
 Fri Jul  7 01:29:41 2017
@@ -0,0 +1,17 @@
+-BEGIN PGP SIGNATURE-
+Comment: GPGTools - https://gpgtools.org
+
+iQIcBAABCgAGBQJZRAZ9AAoJEPIgC6uat73V4h8P/jaI3Gye2RZclHM0CbQhiU9E
++aweW4z2e7+qCYQzOSwvK0JfWACNMnHsVxsE/Cpazq7eDkGRTmXp2Bml/yTSYxgP
+rc+m8ZKGe2kQhi8yo5souChmJmTHEoboA9htXzLyJ0m0p6oZumVUuYI0BejrsKvT
+Om5ZB8qhWna1tE1GpurdQf69XFAUImkRtGjjIXhsPdm/Q2MRaJFrsCQfKSi+x0j5
+Xuq4V4OclP6e3PIJ5sDFVy7hi1wRlSWL4y4miEovwSkTjvOsBvDzfG3GIeBq8HA/
+o3VCNL+6Pe0WF+PbWxVJxqiPjqtfQPKjxs/QlnVXfchyHPXTOSLgPGtHZq2nSIUt
+m8KBKrX9x/l940ctGP3rXdGTy2e6oGLvZUqdup4GUlM4s8j5ovEVTbLJWXoBCTyy
+ev7eAiF9MWMt9e9DHHv/OZqXgFuMloOglIQC1Cdba9gbQclubIcYNrWljiZ5HYOw
++Qs3kehThyxZElhCQQjHtvvnNd4m9/ZEQmD0R+t4je0nncN/YL6Yn/kLhh12oYTK
+ZB39ZlvLTZzaJLJnf8N3yC0Uynj24Os+JMhw8amPtwXMfWICU+YjSS3pnbiRA1ml
+QO4iMw8qlmc63GQI+1sze7XnE735IjjMm746DR6+tocD7tp/uCW9bXjg6mh689iQ
+Hsc9FkR/SeL+eZcz/IF5
+=wI0l
+-END PGP SIGNATURE-

Added: 
release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5sum
==
--- 
release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5sum
 (added)
+++ 
release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5sum
 Fri Jul  7 01:29:41 2017
@@ -0,0 +1 @@
+39b1e11d758dfbaa8114bf2ddf61bf6a  
./apache-trafficcontrol-2.0.0-incubating.tar.gz

Added: 
release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum
==
--- 
release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum
 (added)
+++ 
release/incubator/trafficcontrol/2.0.0-incubating/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum
 Fri Jul  7 01:29:41 2017
@@ -0,0 +1 @@
+69ea5eaf40168ea6f6b4e2db99026a51965fd6acd9db21a600bdf026130f6024cfb4ed767ad0c71ab44d3c55bd83e8095bfce77418e2c4638d178d231ca44f9c
  ./apache-trafficcontrol-2.0.0-incubating.tar.gz

Modified: release/incubator/trafficcontrol/KEYS
==
--- release/incubator/trafficcontrol/KEYS (original)
+++ release/incubator/trafficcontrol/KEYS Fri Jul  7 01:29:41 2017
@@ -147,3 +147,62 @@ TWSpnn8FkEYpGLbcjL+58ylK1YrWlmDykT4BFknp
 vXj9CebcjcB1yes+vUZpCs89Q0ugs66D9NM=
 =2bxx
 -END PGP PUBLIC KEY BLOCK-
+
+pub   4096R/9AB7BDD5 2017-04-25
+uid   [ultimate] Eric Friedrich (CODE SIGNING KEY) <fri...@apache.org>
+sig 39AB7BDD5 2017-04-25  Eric Friedrich (CODE SIGNING KEY) 
<fri...@apache.org>
+sub   4096R/F445ABB1 2017-04-25
+sig  9AB7BDD5 2017-04-25  Eric Friedrich (CODE SIGNING KEY) 
<fri...@apache.org>
+
+-BEGIN PGP PUBLIC KEY BLOCK-
+Comment: GPGTools - https://gpgtools.org
+
+mQINBFj+qNUBEADHuB/jTl+IiuZL9zu6KUwFCgFDJRJWoaJKfaE+LSb95H+XTzF9
+lMoS/kx4HSYXIUwAk7OwFnEooROClOJlfIFjaEQnc8BgdKw5LKaa/OaWj/8h2554
+pjAA2E78f52jnKro3IaZPW2+gybo9W86vFAKnjXN6Zdl6EBmgYsxsz9WLyLwWIzn
+j5tmelDiH7FPV39cHzNbfSP3uzy9jjLMh5LERn/lJtHXCvPVfmxwoYOJZ4egAqX6
+LWPU3qhksJ/gGPBGvL1iUj7u2Ku84cEt8hZCv4Ef7IeNOTTe1f5C5/ZWqD6mz+yb
+wEoykC/ORnrfnr6+t5z9K5HivCyIyTeHsZ8w+uo9828ALudCIQ3BQmjseRgZpKXC
+yh998zzHwTLfC3J0YtoKeQh8oaZFPq825Xm/Y5PoyJqTQgG9uEtH0s034A2c0VAk
+NjMdlF30hQzIbD43Yz+u8aVb9WGGiGrvnDclhBCjFXO2Wc8sLAddqyCSeI8k+f0Z
+0iaxBRG7jGXzbVxrUisk

svn commit: r20047 - /dev/incubator/trafficcontrol/2.0.0/RC6/

2017-06-16 Thread friede
Author: friede
Date: Fri Jun 16 16:28:59 2017
New Revision: 20047

Log:
RC6 apache-trafficcontrol-2.0.0-incubating.tar.gz

Added:
dev/incubator/trafficcontrol/2.0.0/RC6/

dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz
   (with props)

dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc

dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5sum

dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum

Added: 
dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz
==
Binary file - no diff available.

Propchange: 
dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz
--
svn:mime-type = application/octet-stream

Added: 
dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc
==
--- 
dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc
 (added)
+++ 
dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc
 Fri Jun 16 16:28:59 2017
@@ -0,0 +1,17 @@
+-BEGIN PGP SIGNATURE-
+Comment: GPGTools - https://gpgtools.org
+
+iQIcBAABCgAGBQJZRAZ9AAoJEPIgC6uat73V4h8P/jaI3Gye2RZclHM0CbQhiU9E
++aweW4z2e7+qCYQzOSwvK0JfWACNMnHsVxsE/Cpazq7eDkGRTmXp2Bml/yTSYxgP
+rc+m8ZKGe2kQhi8yo5souChmJmTHEoboA9htXzLyJ0m0p6oZumVUuYI0BejrsKvT
+Om5ZB8qhWna1tE1GpurdQf69XFAUImkRtGjjIXhsPdm/Q2MRaJFrsCQfKSi+x0j5
+Xuq4V4OclP6e3PIJ5sDFVy7hi1wRlSWL4y4miEovwSkTjvOsBvDzfG3GIeBq8HA/
+o3VCNL+6Pe0WF+PbWxVJxqiPjqtfQPKjxs/QlnVXfchyHPXTOSLgPGtHZq2nSIUt
+m8KBKrX9x/l940ctGP3rXdGTy2e6oGLvZUqdup4GUlM4s8j5ovEVTbLJWXoBCTyy
+ev7eAiF9MWMt9e9DHHv/OZqXgFuMloOglIQC1Cdba9gbQclubIcYNrWljiZ5HYOw
++Qs3kehThyxZElhCQQjHtvvnNd4m9/ZEQmD0R+t4je0nncN/YL6Yn/kLhh12oYTK
+ZB39ZlvLTZzaJLJnf8N3yC0Uynj24Os+JMhw8amPtwXMfWICU+YjSS3pnbiRA1ml
+QO4iMw8qlmc63GQI+1sze7XnE735IjjMm746DR6+tocD7tp/uCW9bXjg6mh689iQ
+Hsc9FkR/SeL+eZcz/IF5
+=wI0l
+-END PGP SIGNATURE-

Added: 
dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5sum
==
--- 
dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5sum
 (added)
+++ 
dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5sum
 Fri Jun 16 16:28:59 2017
@@ -0,0 +1 @@
+39b1e11d758dfbaa8114bf2ddf61bf6a  
./apache-trafficcontrol-2.0.0-incubating.tar.gz

Added: 
dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum
==
--- 
dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum
 (added)
+++ 
dev/incubator/trafficcontrol/2.0.0/RC6/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum
 Fri Jun 16 16:28:59 2017
@@ -0,0 +1 @@
+69ea5eaf40168ea6f6b4e2db99026a51965fd6acd9db21a600bdf026130f6024cfb4ed767ad0c71ab44d3c55bd83e8095bfce77418e2c4638d178d231ca44f9c
  ./apache-trafficcontrol-2.0.0-incubating.tar.gz




[incubator-trafficcontrol] Git Push Summary

2017-06-16 Thread friede
Repository: incubator-trafficcontrol
Updated Tags:  refs/tags/RELEASE-2.0.0-RC6 [created] 1c8231474


[3/4] incubator-trafficcontrol git commit: Update _postinstall (cherry picked from commit c26d0489cb115d108a25f880e0d5874cbff2243c)

2017-06-16 Thread friede
Update _postinstall
(cherry picked from commit c26d0489cb115d108a25f880e0d5874cbff2243c)


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

Branch: refs/heads/2.0.x
Commit: 903757189a4e20935e705fd30746e6b66be6b1b7
Parents: b64848e
Author: David Neuman 
Authored: Wed Jun 7 14:14:55 2017 -0600
Committer: Eric Friedrich 
Committed: Fri Jun 16 11:13:26 2017 -0400

--
 traffic_ops/install/bin/_postinstall | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/90375718/traffic_ops/install/bin/_postinstall
--
diff --git a/traffic_ops/install/bin/_postinstall 
b/traffic_ops/install/bin/_postinstall
index 812a04e..37eeac4 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -882,7 +882,7 @@ sub main {
 
 my $dbh = Database::connect($databaseConfFile, $todbconf);
 if (!$dbh) {
-InstallUtils::logger("Can't connect to the database.  Use the script 
`/opt/traffic_ops/install/bin/db_bootstrap.sh` on the db server to create it 
and run `postinstall` again.", "error");
+InstallUtils::logger("Can't connect to the database.  Use the script 
`/opt/traffic_ops/install/bin/todb_bootstrap.sh` on the db server to create it 
and run `postinstall` again.", "error");
 exit(-1);
 }
 



[4/4] incubator-trafficcontrol git commit: This closes #690

2017-06-16 Thread friede
This closes #690


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

Branch: refs/heads/2.0.x
Commit: 85d14ebe2a4ac71236f86f70349481d2b3dc784b
Parents: 595d8c2
Author: Eric Friedrich 
Authored: Fri Jun 16 11:13:27 2017 -0400
Committer: Eric Friedrich 
Committed: Fri Jun 16 11:13:27 2017 -0400

--

--




svn commit: r20039 - /dev/incubator/trafficcontrol/2.0.0/RC5/

2017-06-15 Thread friede
Author: friede
Date: Thu Jun 15 18:27:06 2017
New Revision: 20039

Log:
RC5 apache-trafficcontrol-2.0.0-incubating.tar.gz

Added:
dev/incubator/trafficcontrol/2.0.0/RC5/

dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz
   (with props)

dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc

dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5

dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum

Added: 
dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz
==
Binary file - no diff available.

Propchange: 
dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz
--
svn:mime-type = application/octet-stream

Added: 
dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc
==
--- 
dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc
 (added)
+++ 
dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz.asc
 Thu Jun 15 18:27:06 2017
@@ -0,0 +1,17 @@
+-BEGIN PGP SIGNATURE-
+Comment: GPGTools - https://gpgtools.org
+
+iQIcBAABCgAGBQJZQtDQAAoJEPIgC6uat73V+ssQAIxaR29KxSUNCLWEOMADYKdQ
+MFoJxpEuhAU68wxqCMXZ54GkYjQwkDOkWR6wbiH6qYLDpbP+1rQ8fwT3qCCZ13Ov
+wC6i4sLFEwBOgMhEliIMhsSgk/+dag52ghT+8iGnjOOqOEaYwsfJoeYG9OSKQ5e/
+DGNqBhsQ2pfey958HtWZfZ4pPN9Wf0rIPt+r8F/Nb/Pvh+6mfuH9r4OrcILvExVY
+me8c6REL5+x4+QqFtwbejOB1pHsdBCqeoHz9PHXvnRbeUJ8jsEtVR0YfE7XcIdhr
+Qzi2BuWPGvAQsTxFmXtHAPcN/fLsjMlueOw+cltkhfsj3DRhfoAhMeIqt5H9fE0Y
+47au5XeLNEeSgOtKxQFJwDhx5FzBulaCmo+SWJF1S3VXqOAJt58uAdfQffjDicOC
+2ZkcTbkr8xNBwgaa3cU6RUt3eHH6Ji+uNElqR7Uwe/J08wbz1SB16kIxN7b3BgD6
+T2C8AMg53hzSqA7PfFT93Po0THqu9SxFNmKAXNYe8960ZHQ6JJnv/vGeS3yo7sJz
+eqmdOypmrcgnhayjGdvm9RkuqKznHZbTSIV5BjTWnkK3p8PK3UJlS14cr9K+eu/m
+UqDDm3XCguC474bMY0abaTS/kp2c1xOMJp1XyjHTz5w71/xbeULGtcPoDpuD0L5w
+3h3wnwbMnMrFfuVAc7Ha
+=ngyv
+-END PGP SIGNATURE-

Added: 
dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5
==
--- 
dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5
 (added)
+++ 
dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz.md5
 Thu Jun 15 18:27:06 2017
@@ -0,0 +1 @@
+e50c0c511acd3a673786fa8ab41e7537  
./apache-trafficcontrol-2.0.0-incubating.tar.gz

Added: 
dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum
==
--- 
dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum
 (added)
+++ 
dev/incubator/trafficcontrol/2.0.0/RC5/apache-trafficcontrol-2.0.0-incubating.tar.gz.shasum
 Thu Jun 15 18:27:06 2017
@@ -0,0 +1 @@
+beadf42aae78eced8823de14cf8d3d754c3682fcc4e8ebd6982e4268ca74156c1377b476b49ab62b77ebf0f331959b002e5b26c8812f00962e42781581168621
  ./apache-trafficcontrol-2.0.0-incubating.tar.gz




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

2017-06-15 Thread friede
This closes #687


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

Branch: refs/heads/2.0.x
Commit: b64848e38a09ee372c9a21a3652ea210962ccffa
Parents: eb1f041
Author: Eric Friedrich 
Authored: Thu Jun 15 13:47:25 2017 -0400
Committer: Eric Friedrich 
Committed: Thu Jun 15 13:47:25 2017 -0400

--

--




[1/3] incubator-trafficcontrol git commit: add missing license statements

2017-06-15 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x 1d87e8555 -> b64848e38


add missing license statements

(cherry picked from commit 36d3ada221f20bae12b2cbcd10fb7a0c40411341)


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

Branch: refs/heads/2.0.x
Commit: eb1f0411b6675ab395b740cf29929a8b1149a17b
Parents: 734ba8e
Author: Dan Kirkwood 
Authored: Fri May 19 17:33:26 2017 -0600
Committer: Eric Friedrich 
Committed: Thu Jun 15 13:47:13 2017 -0400

--
 traffic_ops/install/bin/todb_bootstrap.sh | 16 
 1 file changed, 16 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/eb1f0411/traffic_ops/install/bin/todb_bootstrap.sh
--
diff --git a/traffic_ops/install/bin/todb_bootstrap.sh 
b/traffic_ops/install/bin/todb_bootstrap.sh
index 2de2d03..167645d 100755
--- a/traffic_ops/install/bin/todb_bootstrap.sh
+++ b/traffic_ops/install/bin/todb_bootstrap.sh
@@ -1,4 +1,20 @@
 #!/usr/bin/env bash
+# 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.
 
 # To bypass the password prompts for automation, please set 
TODB_USERNAME_PASSWORD= before you invoke
 



[2/3] incubator-trafficcontrol git commit: license fixes to be backported to 2.0.x

2017-06-15 Thread friede
license fixes to be backported to 2.0.x

(cherry picked from commit 1ddcd73418bf17450a194cd767370c09763ed1fa)


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

Branch: refs/heads/2.0.x
Commit: 734ba8ec8cbb270d114aacd66a57105e3a498ff6
Parents: 1d87e85
Author: Dan Kirkwood 
Authored: Fri May 19 16:54:39 2017 -0600
Committer: Eric Friedrich 
Committed: Thu Jun 15 13:47:13 2017 -0400

--
 traffic_ops_db/pg-migration/runwaiter.sh | 16 
 1 file changed, 16 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/734ba8ec/traffic_ops_db/pg-migration/runwaiter.sh
--
diff --git a/traffic_ops_db/pg-migration/runwaiter.sh 
b/traffic_ops_db/pg-migration/runwaiter.sh
old mode 100755
new mode 100644
index 7cf..f5609c9
--- a/traffic_ops_db/pg-migration/runwaiter.sh
+++ b/traffic_ops_db/pg-migration/runwaiter.sh
@@ -1,4 +1,20 @@
 #!/bin/bash
+# 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.
 
 
 echo "WAITER_HOST: $WAITER_HOST"



[2/3] incubator-trafficcontrol git commit: [TC-370] Address IPMC Comments

2017-06-15 Thread friede
[TC-370] Address IPMC Comments

(cherry picked from commit 0787ef4a70307afd527d7667405aa2a393930e5d)


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

Branch: refs/heads/2.0.x
Commit: fa0175b481a04109280ccd20d411a2942600bdd8
Parents: a83bc41
Author: Eric Friedrich 
Authored: Thu Jun 15 10:54:50 2017 -0400
Committer: Eric Friedrich 
Committed: Thu Jun 15 13:27:51 2017 -0400

--
 LICENSE |   5 ++
 build/functions.sh  |   6 +-
 licenses/AL2-RobotoSlab | 205 +++
 3 files changed, 213 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/fa0175b4/LICENSE
--
diff --git a/LICENSE b/LICENSE
index 63133b8..4bce83c 100644
--- a/LICENSE
+++ b/LICENSE
@@ -243,6 +243,11 @@ For the Inconsolata and Lato fonts:
 @docs/source/_themes/sphinx_rtd_theme/static/fonts/Lato-Regular.ttf
 ./licenses/SIL-1.1
 
+For the RobotoSlab fonts
+@docs/source/_themes/sphinx_rtd_theme/static/fonts/RobotoSlab-Bold.ttf
+@docs/source/_themes/sphinx_rtd_theme/static/fonts/RobotoSlab-Regular.ttf
+./licenses/AL2-RobotoSlab
+
 For the bootstrap component:
 @misc/traffic-control-cdn/*/bootstrap*
 ./licenses/MIT-bootstrap

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/fa0175b4/build/functions.sh
--
diff --git a/build/functions.sh b/build/functions.sh
index 850daef..72f2bab 100755
--- a/build/functions.sh
+++ b/build/functions.sh
@@ -159,16 +159,16 @@ function buildRpm () {
 # ---
 function createTarball() {
local projDir=$(cd "$1"; pwd)
-   local projName=trafficcontrol-incubating
+   local projName=trafficcontrol
local version=$(getVersion "$TC_DIR")
-   local tarball="dist/$projName-$version.tar.gz"
+   local tarball="dist/apache-$projName-$version-incubating.tar.gz"
 
# Create a BULDNUMBER file and add to tarball
local bndir=$(mktemp -d)
 getBuildNumber >"$bndir/BUILD_NUMBER"
 
 # create the tarball only from files in repo and BUILD_NUMBER
-tar -czf "$tarball" -C "$bndir" BUILD_NUMBER -C "$projDir" 
--exclude-vcs --transform "s@^@$projName-$version/@S" $(git ls-files)
+tar -czf "$tarball" -C "$bndir" BUILD_NUMBER -C "$projDir" 
--exclude-vcs --transform "s@^@$projName-$version-incubating/@S" $(git ls-files)
 rm -r "$bndir"
 echo "$tarball"
 }

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/fa0175b4/licenses/AL2-RobotoSlab
--
diff --git a/licenses/AL2-RobotoSlab b/licenses/AL2-RobotoSlab
new file mode 100644
index 000..0fd284b
--- /dev/null
+++ b/licenses/AL2-RobotoSlab
@@ -0,0 +1,205 @@
+Apache License
+
+Font data copyright Google 2013
+
+  Apache License
+  Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+  TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+  1. Definitions.
+
+“License” shall mean the terms and conditions for use, reproduction,
+and distribution as defined by Sections 1 through 9 of this document.
+
+“Licensor” shall mean the copyright owner or entity authorized by
+the copyright owner that is granting the License.
+
+“Legal Entity” shall mean the union of the acting entity and all
+other entities that control, are controlled by, or are under common
+control with that entity. For the purposes of this definition,
+“control” means (i) the power, direct or indirect, to cause the
+direction or management of such entity, whether by contract or
+otherwise, or (ii) ownership of fifty percent (50%) or more of the
+outstanding shares, or (iii) beneficial ownership of such entity.
+
+“You” (or “Your”) shall mean an individual or Legal Entity
+exercising permissions granted by this License.
+
+“Source” form shall mean the preferred form for making modifications,
+including but not limited to software source code, documentation
+source, and configuration files.
+
+“Object” form shall mean any form resulting from mechanical
+transformation or translation of a Source form, including but
+not limited to compiled object code, generated documentation,
+and conversions to other media types.
+
+“Work” shall mean 

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

2017-06-15 Thread friede
This closes #685


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

Branch: refs/heads/master
Commit: ae046c89dc59d4d6fbe16da391985599282b86be
Parents: d388a13
Author: Eric Friedrich 
Authored: Thu Jun 15 13:13:21 2017 -0400
Committer: Eric Friedrich 
Committed: Thu Jun 15 13:13:21 2017 -0400

--

--




[1/2] incubator-trafficcontrol git commit: make dir in tarball match tarball name

2017-06-15 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master f5f04a058 -> ae046c89d


make dir in tarball match tarball name


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

Branch: refs/heads/master
Commit: d388a139662bc84d3585bee9ab5201a5a72ac2bf
Parents: f5f04a0
Author: Dan Kirkwood 
Authored: Thu Jun 15 10:34:14 2017 -0600
Committer: Eric Friedrich 
Committed: Thu Jun 15 13:13:07 2017 -0400

--
 build/functions.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d388a139/build/functions.sh
--
diff --git a/build/functions.sh b/build/functions.sh
index 72f2bab..cdf8670 100755
--- a/build/functions.sh
+++ b/build/functions.sh
@@ -162,13 +162,14 @@ function createTarball() {
local projName=trafficcontrol
local version=$(getVersion "$TC_DIR")
local tarball="dist/apache-$projName-$version-incubating.tar.gz"
+   local tardir=$(basename $tarball .tar.gz)
 
# Create a BULDNUMBER file and add to tarball
local bndir=$(mktemp -d)
 getBuildNumber >"$bndir/BUILD_NUMBER"
 
 # create the tarball only from files in repo and BUILD_NUMBER
-tar -czf "$tarball" -C "$bndir" BUILD_NUMBER -C "$projDir" 
--exclude-vcs --transform "s@^@$projName-$version-incubating/@S" $(git ls-files)
+tar -czf "$tarball" -C "$bndir" BUILD_NUMBER -C "$projDir" 
--exclude-vcs --transform "s@^@$tardir/@S" $(git ls-files)
 rm -r "$bndir"
 echo "$tarball"
 }



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

2017-06-15 Thread friede
This closes #680


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

Branch: refs/heads/2.0.x
Commit: a83bc41ff1ecee9f03e7ac5e5c424f1bf7dd44ca
Parents: 2e419cb
Author: Eric Friedrich 
Authored: Thu Jun 15 10:17:21 2017 -0400
Committer: Eric Friedrich 
Committed: Thu Jun 15 10:17:21 2017 -0400

--

--




[1/2] incubator-trafficcontrol git commit: [TC-381] postinstall errors if "secrets" is missing from cdn.conf

2017-06-15 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x 59e2e0e58 -> a83bc41ff


[TC-381] postinstall errors if "secrets" is missing from cdn.conf

Also added a question for number of workers


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

Branch: refs/heads/2.0.x
Commit: 2e419cb8a87b5073a86f46abaf2eb11d146c5b2e
Parents: 59e2e0e
Author: hbeatty 
Authored: Mon Jun 12 15:26:50 2017 -0400
Committer: Eric Friedrich 
Committed: Thu Jun 15 10:17:09 2017 -0400

--
 traffic_ops/install/bin/_postinstall | 17 -
 1 file changed, 16 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2e419cb8/traffic_ops/install/bin/_postinstall
--
diff --git a/traffic_ops/install/bin/_postinstall 
b/traffic_ops/install/bin/_postinstall
index 2cfc3b2..812a04e 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -208,8 +208,17 @@ sub generateCdnConf {
 $cdnConf = Safe->new->rdo($fileName) or errorOut("Error loading 
$fileName: $@");
 }
 if ( lc $cdnConfiguration{genSecret} =~ /^y(?:es)?/ ) {
-my @secrets   = @{ $cdnConf->{secrets} };
+my @secrets;
 my $newSecret = InstallUtils::randomWord();
+
+if (defined($cdnConf->{secrets})) {
+@secrets   = @{ $cdnConf->{secrets} };
+$cdnConf->{secrets} = \@secrets;
+InstallUtils::logger( "Secrets found in cdn.conf file", "debug" );
+} else {
+$cdnConf->{secrets} = \@secrets;
+InstallUtils::logger( "No secrets found in cdn.conf file", "debug" 
);
+}
 unshift @secrets, InstallUtils::randomWord();
 if ( $cdnConfiguration{keepSecrets} > 0 && $#secrets > 
$cdnConfiguration{keepSecrets} - 1 ) {
 
@@ -217,7 +226,9 @@ sub generateCdnConf {
 $#secrets = $cdnConfiguration{keepSecrets} - 1;
 }
 }
+$cdnConf->{hypnotoad}{workers} = $cdnConfiguration{workers};
 InstallUtils::writePerl( $fileName, $cdnConf );
+InstallUtils::logger( "CDN configuration has been saved", "info" );
 }
 
 # userInput: The entire input config file which is either user input or the 
defaults
@@ -420,6 +431,10 @@ sub getDefaults {
 {
 "Number of secrets to keep?" => "10",
 "config_var" => "keepSecrets"
+},
+{
+"Number of workers?" => "96",
+"config_var" => "workers"
 }
 ],
 $ldapConfFile => [



[10/11] incubator-trafficcontrol git commit: fix a few nits; point to building page for rpm

2017-06-14 Thread friede
fix a few nits; point to building page for rpm

(cherry picked from commit fd44a78835df48bbe51442f0d3d5e0b2a28a1279)


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

Branch: refs/heads/2.0.x
Commit: d01ae12172d611460e8edce74a1bf2369e006e37
Parents: 1120faf
Author: Dan Kirkwood 
Authored: Tue Jun 13 15:59:34 2017 -0600
Committer: Eric Friedrich 
Committed: Wed Jun 14 15:50:49 2017 -0400

--
 docs/source/admin/traffic_ops/installation.rst | 14 +-
 1 file changed, 9 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d01ae121/docs/source/admin/traffic_ops/installation.rst
--
diff --git a/docs/source/admin/traffic_ops/installation.rst 
b/docs/source/admin/traffic_ops/installation.rst
index 32e8598..d6d9b9c 100644
--- a/docs/source/admin/traffic_ops/installation.rst
+++ b/docs/source/admin/traffic_ops/installation.rst
@@ -61,9 +61,15 @@ To begin the install:
 pg-# systemctl start postgresql-9.6
 pg-# systemctl status postgresql-9.6
 
-2. Install Traffic Ops
 
-  Install the postgres1l 9.6 dev libraries, and then download the traffic_ops 
rpm package from http://trafficcontrol.apache.org/downloads/index.html or from 
our jenkins builds, and install it (update URL as approriate), on the traffic 
ops host (to): :: 
+2. Build Traffic Ops
+
+   Build a Traffic Ops rpm using the instructions under the 
:ref:`dev-building` page.
+
+
+3. Install Postgresql 
+
+  Install the postgresql 9.6 dev libraries. ::
   
 to-$ sudo su -
 to-# yum update
@@ -85,9 +91,7 @@ To begin the install:
 
 to-# psql -h 99.33.99.1 -U postgres
 Password for user postgres: 
-psql (9.2.18, server 9.6.3)
-WARNING: psql version 9.2, server version 9.6.
-Some psql features might not work.
+psql (9.6.3)
 Type "help" for help.
 
 postgres=# 



[02/11] incubator-trafficcontrol git commit: add missing copyright

2017-06-14 Thread friede
add missing copyright

(cherry picked from commit 272abdce1424d1991395307a845195ab4a5bf78a)


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

Branch: refs/heads/2.0.x
Commit: b45b635019895c2ea23bb5f2efada8dda63f05b2
Parents: c4812fb
Author: Dan Kirkwood 
Authored: Wed Jun 14 12:36:21 2017 -0600
Committer: Eric Friedrich 
Committed: Wed Jun 14 15:50:49 2017 -0400

--
 docs/source/development/building.rst | 15 +++
 1 file changed, 15 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/b45b6350/docs/source/development/building.rst
--
diff --git a/docs/source/development/building.rst 
b/docs/source/development/building.rst
index 27c4a2d..87e68e9 100644
--- a/docs/source/development/building.rst
+++ b/docs/source/development/building.rst
@@ -1,3 +1,18 @@
+.. 
+.. 
+.. 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.
+.. 
+
 .. _dev-building:
 
 Building Traffic Control



[07/11] incubator-trafficcontrol git commit: more explicit instructions + alternate instructions using docker-compose

2017-06-14 Thread friede
more explicit instructions + alternate instructions using docker-compose

(cherry picked from commit 3b93cb610dde5519268bec84afeab46fb0ac25c6)


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

Branch: refs/heads/2.0.x
Commit: 1120faf677bc287c8e30bc42b9c73f437932d01e
Parents: 0a6cf8b
Author: Dan Kirkwood 
Authored: Tue Jun 13 15:58:09 2017 -0600
Committer: Eric Friedrich 
Committed: Wed Jun 14 15:50:49 2017 -0400

--
 docs/source/development/building.rst | 56 ++-
 1 file changed, 41 insertions(+), 15 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/1120faf6/docs/source/development/building.rst
--
diff --git a/docs/source/development/building.rst 
b/docs/source/development/building.rst
index addb27e..27c4a2d 100644
--- a/docs/source/development/building.rst
+++ b/docs/source/development/building.rst
@@ -1,8 +1,11 @@
-Building Traffic Control Components
-===
+.. _dev-building:
+
+Building Traffic Control
+
 
-Build using docker-compose
---
+
+Build using pkg
+---
 
 This is the easiest way to build all the components of Traffic Control;
 all requirements are automatically loaded into the image used to build
@@ -19,16 +22,9 @@ If ``docker-compose`` is not available, the ``pkg`` script 
will
 automatically download and run it in a container. This is noticeably
 slower than running it natively.
 
-Steps
+Usage
 ~
 
-From the top level of the incubator-trafficcontrol directory. The source
-in the current directory is used for the process. One or more components
-(with \_build suffix added) can be added on the command line.
-
-This is all run automatically by the ``pkg`` script at the root of the
-repository.
-
 ::
 
 $ ./pkg -?
@@ -46,8 +42,38 @@ repository.
 - traffic_ops_build
 - traffic_stats_build
 
-If no component names are provided on the command line, all components
-will be built.
 
-All rpms are copied to ``dist`` at the top level of the
+If any project names are provided on the command line, only those will be 
built.
+Otherwise, all projects are built.
+
+All artifacts (rpms, logs, source tar ball) are copied to ``dist`` at the top 
level of the
 ``incubator-trafficcontrol`` directory.
+
+Example
+~~~
+
+::
+
+$ ./pkg -v source traffic_ops_build
+Building source.
+Building traffic_ops_build.
+
+Build using docker-compose
+--
+
+If the ``pkg`` script fails, ``docker-compose`` can still be used directly.
+
+Usage
+~
+
+::
+
+$ docker-compose -f ./infrastructure/docker/build/docker-compose.yml down 
-v
+$ docker-compose -f ./infrastructure/docker/build/docker-compose.yml up 
--build source traffic_ops_build
+$ ls -1 dist/
+build-traffic_ops.log
+traffic_ops-2.1.0-6396.07033d6d.el7.src.rpm
+traffic_ops-2.1.0-6396.07033d6d.el7.x86_64.rpm
+traffic_ops_ort-2.1.0-6396.07033d6d.el7.src.rpm
+traffic_ops_ort-2.1.0-6396.07033d6d.el7.x86_64.rpm
+trafficcontrol-incubating-2.1.0.tar.gz



[09/11] incubator-trafficcontrol git commit: enable pg autostart

2017-06-14 Thread friede
enable pg autostart

(cherry picked from commit 3bc4b79685e6acbca0bac55901a02fdafdb654f1)


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

Branch: refs/heads/2.0.x
Commit: 875760a5dae123ecaec0452937bda3e126f2f7a8
Parents: 9a007ae
Author: Jan van Doorn 
Authored: Mon Jun 12 12:45:34 2017 -0600
Committer: Eric Friedrich 
Committed: Wed Jun 14 15:50:49 2017 -0400

--
 docs/source/admin/traffic_ops/installation.rst | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/875760a5/docs/source/admin/traffic_ops/installation.rst
--
diff --git a/docs/source/admin/traffic_ops/installation.rst 
b/docs/source/admin/traffic_ops/installation.rst
index bb114aa..32e8598 100644
--- a/docs/source/admin/traffic_ops/installation.rst
+++ b/docs/source/admin/traffic_ops/installation.rst
@@ -57,6 +57,7 @@ To begin the install:
   to the appropriate section of this file. Edit the 
``/var/lib/pgsql/9.6/data/postgresql.conf`` file to add the approriate 
listen_addresses or ``listen_addresses = '*'``,  and start the database: ::
 
 pg-$ exit
+pg-# systemctl enable postgresql-9.6
 pg-# systemctl start postgresql-9.6
 pg-# systemctl status postgresql-9.6
 



[01/11] incubator-trafficcontrol git commit: remove files with unknown licenses -- if these are needed, need to resolve license issue before re-adding

2017-06-14 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x b8cdd626d -> 59e2e0e58


remove files with unknown licenses -- if these are needed, need to resolve 
license issue before re-adding

(cherry picked from commit f243c67d0f60b69ad58707cfae4b11ad3e3ee624)


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

Branch: refs/heads/2.0.x
Commit: f320ccf1385b7b88687b97227d1e11da27f288f6
Parents: b45b635
Author: Dan Kirkwood 
Authored: Wed Jun 14 12:40:47 2017 -0600
Committer: Eric Friedrich 
Committed: Wed Jun 14 15:50:49 2017 -0400

--
 .../experimental/ui/app/src/styles/theme.scss   | 4174 --
 1 file changed, 4174 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f320ccf1/traffic_ops/experimental/ui/app/src/styles/theme.scss
--
diff --git a/traffic_ops/experimental/ui/app/src/styles/theme.scss 
b/traffic_ops/experimental/ui/app/src/styles/theme.scss
deleted file mode 100644
index 8dc3357..000
--- a/traffic_ops/experimental/ui/app/src/styles/theme.scss
+++ /dev/null
@@ -1,4174 +0,0 @@
-/*!
- * gentelella v1.3.0
- * https://colorlib.com/polygon/gentelella/index.html
- * Copyright (c) 2016 Aigars Silkalns & Colorlib
- * License: MIT
- */
-
-.daterangepicker .ranges li {
-  color: #73879C
-}
-.daterangepicker .ranges li.active,
-.daterangepicker .ranges li:hover {
-  background: #536A7F;
-  border: 1px solid #536A7F;
-  color: #fff
-}
-.daterangepicker .input-mini {
-  background-color: #eee;
-  border: 1px solid #ccc;
-  box-shadow: none !important
-}
-.daterangepicker .input-mini.active {
-  border: 1px solid #ccc
-}
-.daterangepicker select.monthselect,
-.daterangepicker select.yearselect,
-.daterangepicker select.hourselect,
-.daterangepicker select.minuteselect,
-.daterangepicker select.secondselect,
-.daterangepicker select.ampmselect {
-  font-size: 12px;
-  padding: 1px;
-  height: auto;
-  margin: 0;
-  cursor: default;
-  height: 30px;
-  border: 1px solid #ADB2B5;
-  line-height: 30px;
-  border-radius: 0px !important
-}
-.daterangepicker select.monthselect {
-  margin-right: 2%
-}
-.daterangepicker td.in-range {
-  background: #E4E7EA;
-  color: #73879C
-}
-.daterangepicker td.active,
-.daterangepicker td.active:hover {
-  background-color: #536A7F;
-  color: #fff
-}
-.daterangepicker th.available:hover {
-  background: #eee;
-  color: #34495E
-}
-.daterangepicker:before,
-.daterangepicker:after {
-  content: none
-}
-.daterangepicker .calendar.single {
-  margin: 0 0 4px 0
-}
-.daterangepicker .calendar.single .calendar-table {
-  width: 224px;
-  padding: 0 0 4px 0 !important
-}
-.daterangepicker .calendar.single .calendar-table thead tr:first-child th {
-  padding: 8px 5px
-}
-.daterangepicker .calendar.single .calendar-table thead th {
-  border-radius: 0
-}
-.daterangepicker.picker_1 {
-  color: #fff;
-  background: #34495E
-}
-.daterangepicker.picker_1 .calendar-table {
-  background: #34495E
-}
-.daterangepicker.picker_1 .calendar-table thead tr {
-  background: #213345
-}
-.daterangepicker.picker_1 .calendar-table thead tr:first-child {
-  background: #1ABB9C
-}
-.daterangepicker.picker_1 .calendar-table td.off {
-  background: #34495E;
-  color: #999
-}
-.daterangepicker.picker_1 .calendar-table td.available:hover {
-  color: #34495E
-}
-.daterangepicker.picker_2 .calendar-table thead tr {
-  color: #1ABB9C
-}
-.daterangepicker.picker_2 .calendar-table thead tr:first-child {
-  color: #73879C
-}
-.daterangepicker.picker_3 .calendar-table thead tr:first-child {
-  color: #fff;
-  background: #1ABB9C
-}
-.daterangepicker.picker_4 .calendar-table thead tr:first-child {
-  color: #fff;
-  background: #34495E
-}
-.daterangepicker.picker_4 .calendar-table td,
-.daterangepicker.picker_4 .calendar-table td.off {
-  background: #ECF0F1;
-  border: 1px solid #fff;
-  border-radius: 0
-}
-.daterangepicker.picker_4 .calendar-table td.active {
-  background: #34495E
-}
-.calendar-exibit .show-calendar {
-  float: none;
-  display: block;
-  position: relative;
-  background-color: #fff;
-  border: 1px solid #ccc;
-  margin-bottom: 20px;
-  border: 1px solid rgba(0, 0, 0, 0.15);
-  overflow: hidden
-}
-.calendar-exibit .show-calendar .calendar {
-  margin: 0 0 4px 0
-}
-.calendar-exibit .show-calendar.picker_1 {
-  background: #34495E
-}
-.calendar-exibit .calendar-table {
-  padding: 0 0 4px 0
-}
-.left_col {
-  background: #2A3F54
-}
-.nav-sm .container.body .col-md-3.left_col {
-  min-height: 100%;
-  width: 

[08/11] incubator-trafficcontrol git commit: build instructions moved to doc

2017-06-14 Thread friede
build instructions moved to doc

(cherry picked from commit a431b5d88950f6f9b85f0dd70516ac92f1d9fe6e)


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

Branch: refs/heads/2.0.x
Commit: c4812fb0cf03b045abcd2bb3a686799e03d35d41
Parents: d01ae12
Author: Dan Kirkwood 
Authored: Tue Jun 13 16:02:21 2017 -0600
Committer: Eric Friedrich 
Committed: Wed Jun 14 15:50:49 2017 -0400

--
 BUILD.md | 41 ++---
 1 file changed, 2 insertions(+), 39 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c4812fb0/BUILD.md
--
diff --git a/BUILD.md b/BUILD.md
index 000d25a..0ef5eae 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -1,40 +1,3 @@
-# Building Traffic Control Components
 
-## Build using docker-compose
-
-This is the easiest way to build all the components of Traffic Control; all 
requirements
-are automatically loaded into the image used to build each component.
-
-### Requirements
-- `docker` (https://docs.docker.com/engine/installation/)
-- `docker-compose` (https://docs.docker.com/compose/install/) (optional, but 
recommended)
-
-If `docker-compose` is not available, the `pkg` script will automatically 
download
-and run it in a container. This is noticeably slower than running it natively.
-
-### Steps
-
-From the top level of the incubator-trafficcontrol directory.  The source in
-the current directory is used for the process.   One or more components (with
-\_build suffix added) can be added on the command line.
-
-This is all run automatically by the `pkg` script at the root of the 
repository.
-
-$ ./pkg -?
-Usage: ./pkg [options] [projects]
--q  Quiet mode. Supresses output.
--v  Verbose mode. Lists all build output.
--l  List available projects.
-
-If no projects are listed, all projects will be packaged.
-Valid projects:
-- traffic_portal_build
-- traffic_router_build
-- traffic_monitor_build
-- source
-- traffic_ops_build
-- traffic_stats_build
-
-If no component names are provided on the command line, all components will be 
built.
-
-All rpms are copied to `dist` at the top level of the 
`incubator-trafficcontrol` directory.
+See the build instructions at ./docs/source/development/building.rst or at
+http://trafficcontrol.incubator.apache.org/docs/latest/development/building.html



[04/11] incubator-trafficcontrol git commit: Updated TO install docs, works with master 6/11/2017

2017-06-14 Thread friede
Updated TO install docs, works with master 6/11/2017

(cherry picked from commit 2545a06a519c518df7c52aee8c70825272be5c55)


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

Branch: refs/heads/2.0.x
Commit: 2d5eaaeb340d5997c0765a5762c7e1e5769eb453
Parents: b8cdd62
Author: Jan van Doorn 
Authored: Sun Jun 11 10:04:21 2017 -0600
Committer: Eric Friedrich 
Committed: Wed Jun 14 15:50:49 2017 -0400

--
 docs/source/admin/traffic_ops/configuration.rst |  98 +++-
 docs/source/admin/traffic_ops/installation.rst  | 560 +--
 2 files changed, 252 insertions(+), 406 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2d5eaaeb/docs/source/admin/traffic_ops/configuration.rst
--
diff --git a/docs/source/admin/traffic_ops/configuration.rst 
b/docs/source/admin/traffic_ops/configuration.rst
index 14b8189..4928622 100644
--- a/docs/source/admin/traffic_ops/configuration.rst
+++ b/docs/source/admin/traffic_ops/configuration.rst
@@ -20,7 +20,103 @@ Follow the steps below to configure the newly installed 
Traffic Ops Instance.
 
 Installing the SSL Cert
 ===
-By default, Traffic Ops runs as an SSL web server, and a certificate needs to 
be installed.  TBD.
+By default, Traffic Ops runs as an SSL web server, and a certificate needs to 
be installed.  
+
+Self-signed Certificate (Development)
+^
+
+Example Procedure::
+
+  $ openssl genrsa -des3 -passout pass:x -out localhost.pass.key 2048
+  Generating RSA private key, 2048 bit long modulus
+  ...
+  $ openssl rsa -passin pass:x -in localhost.pass.key -out localhost.key
+  writing RSA key
+  $ rm localhost.pass.key
+
+  $ openssl req -new -key localhost.key -out localhost.csr
+  You are about to be asked to enter information that will be incorporated
+  into your certificate request.
+  What you are about to enter is what is called a Distinguished Name or a 
DN.
+  There are quite a few fields but you can leave some blank
+  For some fields there will be a default value,
+  If you enter '.', the field will be left blank.
+  -
+  Country Name (2 letter code) [XX]:US
+  State or Province Name (full name) []:CO
+  Locality Name (eg, city) [Default City]:Denver
+  Organization Name (eg, company) [Default Company Ltd]: 
+  Organizational Unit Name (eg, section) []: 
+  Common Name (eg, your name or your server's hostname) []: 
+  Email Address []: 
+
+  Please enter the following 'extra' attributes
+  to be sent with your certificate request
+  A challenge password []: pass
+  An optional company name []: 
+  $ openssl x509 -req -sha256 -days 365 -in localhost.csr -signkey 
localhost.key -out localhost.crt
+  Signature ok
+  subject=/C=US/ST=CO/L=Denver/O=Default Company Ltd
+  Getting Private key
+  $ sudo cp localhost.crt /etc/pki/tls/certs
+  $ sudo cp localhost.key /etc/pki/tls/private
+  $ sudo chown trafops:trafops /etc/pki/tls/certs/localhost.crt
+  $ sudo chown trafops:trafops /etc/pki/tls/private/localhost.key
+
+Certificate from Certificate Authority (Production)
+^^^
+
+.. Note:: You will need to know the appropriate answers when generating the 
certificate request file `trafficopss.csr` below.
+
+Example Procedure::
+
+  $ openssl genrsa -des3 -passout pass:x -out trafficops.pass.key 2048
+  Generating RSA private key, 2048 bit long modulus
+  ...
+  $ openssl rsa -passin pass:x -in trafficops.pass.key -out trafficops.key
+  writing RSA key
+  $ rm localhost.pass.key
+
+  Generate the Certificate Signing Request (CSR) file needed for 
Certificate Authority (CA) request.
+
+  $ openssl req -new -key trafficops.key -out trafficops.csr
+  You are about to be asked to enter information that will be incorporated
+  into your certificate request.
+  What you are about to enter is what is called a Distinguished Name or a 
DN.
+  There are quite a few fields but you can leave some blank
+  For some fields there will be a default value,
+  If you enter '.', the field will be left blank.
+  -
+  Country Name (2 letter code) [XX]: 
+  State or Province Name (full name) []: 
+  Locality Name (eg, city) [Default City]: 
+  Organization Name (eg, company) [Default Company Ltd]: 
+  

[11/11] incubator-trafficcontrol git commit: This closes #679

2017-06-14 Thread friede
This closes #679


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

Branch: refs/heads/2.0.x
Commit: 59e2e0e58e2341a548cfa1cc62530483e5e12063
Parents: f320ccf
Author: Eric Friedrich 
Authored: Wed Jun 14 15:51:07 2017 -0400
Committer: Eric Friedrich 
Committed: Wed Jun 14 15:51:07 2017 -0400

--

--




[8/9] incubator-trafficcontrol git commit: added installer for the Postgres Docker service

2017-06-14 Thread friede
added installer for the Postgres Docker service

(cherry picked from commit c0157f5374488cb194666e89e70819f09c537f5e)


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

Branch: refs/heads/2.0.x
Commit: e0e504165c26241f8e2ba17659d0738b9b5915d9
Parents: 5f6d364
Author: Dewayne Richardson 
Authored: Thu May 11 15:11:48 2017 -0600
Committer: Eric Friedrich 
Committed: Wed Jun 14 15:35:59 2017 -0400

--
 traffic_ops/app/db/convert_bools.sql| 112 -
 .../app/db/pg-migration/Dockerfile-convert  |  28 -
 .../app/db/pg-migration/Dockerfile-mysql|  26 
 .../pg-migration/Dockerfile-mysql-to-postgres   |  38 --
 .../app/db/pg-migration/Dockerfile-pgloader |  19 ---
 .../app/db/pg-migration/Dockerfile-postgres |  29 -
 .../app/db/pg-migration/Dockerfile-waiter   |  24 
 traffic_ops/app/db/pg-migration/README.md   |  16 ---
 traffic_ops/app/db/pg-migration/convert.yml |  23 
 traffic_ops/app/db/pg-migration/migrate.sh  | 121 ---
 .../app/db/pg-migration/mysql-to-postgres.env   |  43 ---
 .../app/db/pg-migration/mysql-to-postgres.sh|  65 --
 .../app/db/pg-migration/mysql-to-postgres.yml   |  24 
 .../app/db/pg-migration/mysql/conf.d/mysql.cnf  |  21 
 traffic_ops/app/db/pg-migration/mysql_host.yml  |  24 
 traffic_ops/app/db/pg-migration/pgloader.yml|  23 
 traffic_ops/app/db/pg-migration/postgres.yml|  34 --
 traffic_ops/app/db/pg-migration/runconvert.sh   |  15 ---
 traffic_ops/app/db/pg-migration/runmysql.sh |  16 ---
 traffic_ops/app/db/pg-migration/runpgloader.sh  |  24 
 traffic_ops/app/db/pg-migration/runwaiter.sh|  29 -
 .../app/db/pg-migration/start_postgres.sh   |  54 -
 traffic_ops/app/db/pg-migration/waiter.yml  |  24 
 traffic_ops/app/db/reset.sh |  16 ---
 traffic_ops/app/db/setup_migrations.sql |  17 ---
 25 files changed, 865 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e0e50416/traffic_ops/app/db/convert_bools.sql
--
diff --git a/traffic_ops/app/db/convert_bools.sql 
b/traffic_ops/app/db/convert_bools.sql
deleted file mode 100644
index 5835e6c..000
--- a/traffic_ops/app/db/convert_bools.sql
+++ /dev/null
@@ -1,112 +0,0 @@
--- 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.
-
-ALTER TABLE cdn
-  ALTER COLUMN dnssec_enabled DROP DEFAULT,
-   ALTER COLUMN dnssec_enabled TYPE boolean
-   USING CASE WHEN dnssec_enabled = 1 THEN TRUE
-   ELSE FALSE
-   END,
-  ALTER COLUMN dnssec_enabled SET DEFAULT FALSE;
-
-ALTER TABLE deliveryservice
-  ALTER COLUMN active DROP DEFAULT,
-   ALTER COLUMN active TYPE boolean
-   USING CASE WHEN active = 1 THEN TRUE
-   ELSE FALSE
-   END,
-  ALTER COLUMN active SET DEFAULT FALSE;
-
-ALTER TABLE deliveryservice
-  ALTER COLUMN signed DROP DEFAULT,
-   ALTER COLUMN signed TYPE boolean
-   USING CASE WHEN signed = 1 THEN TRUE
-   ELSE FALSE
-   END,
-  ALTER COLUMN signed SET DEFAULT FALSE;
-
-ALTER TABLE deliveryservice
-  ALTER COLUMN ipv6_routing_enabled DROP DEFAULT,
-   ALTER COLUMN ipv6_routing_enabled TYPE boolean
-   USING CASE WHEN ipv6_routing_enabled = 1 THEN TRUE
-   ELSE FALSE
-   END,
-  ALTER COLUMN ipv6_routing_enabled SET DEFAULT FALSE;
-
-ALTER TABLE deliveryservice
-  ALTER COLUMN multi_site_origin DROP DEFAULT,
-   ALTER COLUMN multi_site_origin TYPE boolean
-   USING CASE WHEN multi_site_origin = 

[2/9] incubator-trafficcontrol git commit: updated the documentation for migrating from 1.0 to 2.0 for Traffic Ops

2017-06-14 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/80ab6944/docs/source/admin/traffic_ops_config.rst
--
diff --git a/docs/source/admin/traffic_ops_config.rst 
b/docs/source/admin/traffic_ops_config.rst
deleted file mode 100644
index 390788c..000
--- a/docs/source/admin/traffic_ops_config.rst
+++ /dev/null
@@ -1,194 +0,0 @@
-.. 
-.. 
-.. 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.
-.. 
-
-Configuring Traffic Ops
-%%%
-
-Follow the steps below to configure the newly installed Traffic Ops Instance.
-
-Installing the SSL Cert
-===
-By default, Traffic Ops runs as an SSL web server, and a certificate needs to 
be installed.  TBD.
-
-Content Delivery Networks
-=
-
-.. _rl-param-prof:
-
-Profile Parameters
-==
-Many of the settings for the different servers in a Traffic Control CDN are 
controlled by parameters in the parameter view of Traffic Ops. Parameters are 
grouped in profiles and profiles are assigned to a server. For a typical cache 
there are hundreds of configuration settings to apply. The Traffic Ops 
parameter view contains the defined settings. To make life easier, Traffic Ops 
allows for duplication, comparison, import and export of Profiles. Traffic Ops 
also has a "Global profile" - the parameters in this profile are going to be 
applied to all servers in the Traffic Ops instance, or apply to Traffic Ops 
themselves. These parameters are:
-
-
-.. index::
-  Global Profile
-
-+--+---+---+
-|   Name   |  Config file  |   
  Value 
|
-+==+===+===+
-| tm.url   | global| The URL where this Traffic Ops 
instance is being served from.  
   |
-+--+---+---+
-| tm.toolname  | global| The name of the Traffic Ops tool. 
Usually "Traffic Ops". Used in the About screen and in the comments headers of 
the files generated. |
-+--+---+---+
-| tm.infourl   | global| This is the "for more information 
go here" URL, which is visible in the About page.   
|
-+--+---+---+
-| tm.logourl   | global| This is the URL of the logo for 
Traffic Ops and can be relative if the logo is under traffic_ops/app/public.
  |
-+--+---+---+
-| tm.instance_name | global| The name of the Traffic Ops 
instance. Can be used when multiple instances are active. Visible in the About 
page.  |
-+--+---+---+
-| tm.traffic_mon_fwd_proxy | global| When collecting stats from 
Traffic Monitor, Traffic Ops uses this forward proxy to pull the stats through. 
   |
-|  |   | This can be any of the MID tier 
caches, or a forward cache specifically deployed for this purpose. Setting  
  |
-|  |   | this variable can significantly 
lighten the load on the Traffic Monitor system and it is recommended to  

[1/9] incubator-trafficcontrol git commit: updated the documentation for migrating from 1.0 to 2.0 for Traffic Ops

2017-06-14 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x dde8674ac -> b8cdd626d


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/80ab6944/docs/source/admin/traffic_ops_using.rst
--
diff --git a/docs/source/admin/traffic_ops_using.rst 
b/docs/source/admin/traffic_ops_using.rst
deleted file mode 100644
index 2bb1749..000
--- a/docs/source/admin/traffic_ops_using.rst
+++ /dev/null
@@ -1,1079 +0,0 @@
-..
-..
-.. 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.
-..
-
-.. |graph| image:: ../../../traffic_ops/app/public/images/graph.png
-.. |info| image:: ../../../traffic_ops/app/public/images/info.png
-.. |checkmark| image:: ../../../traffic_ops/app/public/images/good.png
-.. |X| image:: ../../../traffic_ops/app/public/images/bad.png
-.. |clock| image:: ../../../traffic_ops/app/public/images/clock-black.png
-
-Using Traffic Ops
-%
-
-
-The Traffic Ops Menu
-
-
-.. image:: 12m.png
-
-The following tabs are available in the menu at the top of the Traffic Ops 
user interface.
-
-.. index::
-  Health Tab
-
-* **Health**
-
-  Information on the health of the system. Hover over this tab to get to the 
following options:
-
-  
+---++
-  | Option|
Description |
-  
+===++
-  | Table View| A real time view into the main performance indicators of 
the CDNs managed by Traffic Control.  |
-  |   | This view is sourced directly by the Traffic Monitor data 
and is updated every 10 seconds. |
-  |   | This is the default screen of Traffic Ops. 
|
-  |   | See :ref:`rl-health-table` for details.
|
-  
+---++
-  | Graph View| A real graphical time view into the main performance 
indicators of the CDNs managed by Traffic Control.|
-  |   | This view is sourced by the Traffic Monitor data and is 
updated every 10 seconds.  |
-  |   | On loading, this screen will show a history of 24 hours of 
data from Traffic Stats |
-  |   | See :ref:`rl-health-graph` for details.
|
-  
+---++
-  | Server Checks | A table showing the results of the periodic check 
extension scripts that are run. See :ref:`rl-server-checks` 
 |
-  
+---++
-  | Daily Summary | A graph displaying the daily peaks of bandwidth, overall 
bytes served per day, and overall bytes served since initial installation |
-  |   | per CDN.   
|
-  
+---++
-
-* **Delivery Services**
-
-  The main Delivery Service table. This is where you Create/Read/Update/Delete 
Delivery Services of all types. Hover over to get the following sub option:
-
-  +-+--+
-  |Option   | Description  |
-  +=+==+
-  | Federations | Add/Edit/Delete Federation Mappings. |

[7/9] incubator-trafficcontrol git commit: added installer for the Postgres Docker service-a

2017-06-14 Thread friede
added installer for the Postgres Docker service-a

(cherry picked from commit e4872fdf24ab0dd464933e5866bd04848dabbf11)


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

Branch: refs/heads/2.0.x
Commit: 5f6d364d1d2a953f3ceb32af49ec4a21063a6671
Parents: d20484d
Author: Dewayne Richardson 
Authored: Thu May 11 15:11:47 2017 -0600
Committer: Eric Friedrich 
Committed: Wed Jun 14 15:35:59 2017 -0400

--
 traffic_ops_db/bin/install_systemd_unit.sh|  4 +++
 traffic_ops_db/systemd/traffic_ops_db.service | 30 ++
 2 files changed, 34 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/5f6d364d/traffic_ops_db/bin/install_systemd_unit.sh
--
diff --git a/traffic_ops_db/bin/install_systemd_unit.sh 
b/traffic_ops_db/bin/install_systemd_unit.sh
index 321a101..454b3e2 100644
--- a/traffic_ops_db/bin/install_systemd_unit.sh
+++ b/traffic_ops_db/bin/install_systemd_unit.sh
@@ -14,3 +14,7 @@
 #  limitations under the License.
 #
 
+systemctl enable traffic_ops_db.service
+
+printf "\nNow you can start manually start the traffic_ops service with the 
command:\n"
+printf "systemctl start traffic_ops_db\n"

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/5f6d364d/traffic_ops_db/systemd/traffic_ops_db.service
--
diff --git a/traffic_ops_db/systemd/traffic_ops_db.service 
b/traffic_ops_db/systemd/traffic_ops_db.service
new file mode 100644
index 000..31110e3
--- /dev/null
+++ b/traffic_ops_db/systemd/traffic_ops_db.service
@@ -0,0 +1,30 @@
+
+#
+#  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.
+#
+#-
+# {{ ansible_managed }}
+#-
+#
+[Unit]
+Description=Traffic Ops Postgres Docker Container
+Requires=docker.service
+After=docker.service
+
+[Service]
+Restart=always
+ExecStart=/usr/bin/docker-compose -p trafficops -f 
/opt/traffic_ops_db/docker/docker-compose.yml up
+ExecStop=/usr/bin/docker-compose -p trafficops -f 
/opt/traffic_ops_db/docker/docker-compose.yml stop
+
+[Install]
+WantedBy=default.target



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

2017-06-13 Thread friede
This closes #671


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

Branch: refs/heads/2.0.x
Commit: dde8674ac42937afa50e16cf9d6df1f0d1eda135
Parents: 5f03548
Author: Eric Friedrich 
Authored: Tue Jun 13 08:28:04 2017 -0400
Committer: Eric Friedrich 
Committed: Tue Jun 13 08:28:04 2017 -0400

--

--




svn commit: r19888 - in /dev/incubator/trafficcontrol/2.0.0/RC4: ./ trafficcontrol-incubating-2.0.0.tar.gz trafficcontrol-incubating-2.0.0.tar.gz.asc trafficcontrol-incubating-2.0.0.tar.gz.md5 traffic

2017-06-05 Thread friede
Author: friede
Date: Mon Jun  5 18:14:05 2017
New Revision: 19888

Log:
trafficcontrol-incubating-2.0.0-RC4

Added:
dev/incubator/trafficcontrol/2.0.0/RC4/

dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz   
(with props)

dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz.asc

dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz.md5

dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz.sha512

Added: 
dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz
==
Binary file - no diff available.

Propchange: 
dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz
--
svn:mime-type = application/octet-stream

Added: 
dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz.asc
==
--- 
dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz.asc
 (added)
+++ 
dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz.asc
 Mon Jun  5 18:14:05 2017
@@ -0,0 +1,17 @@
+-BEGIN PGP SIGNATURE-
+Comment: GPGTools - https://gpgtools.org
+
+iQIcBAABCgAGBQJZNZxPAAoJEPIgC6uat73VL8MP/jBx4mPyyVZM59Fyr7wEe+Kr
+InmRg0uvlxxacpnL47FLsIxPdlRac1nuQ+E8f2ED/WXecCEgibRCO2B06ra+RSbU
+/jeN5g8w1RAEu/DwJb8XnkXecWG1IKcHGryEhSswAV5SrIamG+wSkD8xf23zoV1a
+8SbG7+NlAtf/6CG8ZBXLJC+B4fk8vyyop5mzuODN74bqWst6TFvM6Iu77X1S1Fwa
+Sf1XqYsh6AlDUgakBRF0bpU7XezAIcfbcxf1TV3JoDgJzjMirH05qu11XgosibC9
+mur9XB5GFLy4//OmkPkEHET5mGZbZNU9uaq5Ry9pJeGDAiqNG6oIj0OaedAPkP8+
+/LhS6usRPlGqjMZc8r2uSQm22jV06i2DOJtFuAHJL7I5ZzNzEnNi/htvk//dgv/j
+BFua8lkgt4t7ONE8BkOz9aI0RcoIhND1TpY3ezd6nD3LB/LjdaJcWRa8RIvMFbfN
+FspFCgRNORlrJWOYWXErF84bKuNHHdDz5BbIGrpqvUJYbLzKEe01OvOtmGsbz27z
+vo6aT+jvuf+acNyaxpWBO3+flMjNlUcbpxBz2G7P3IfHyllx8wtVw/C1Wz3cB8vZ
+gd5IlNbMtn52TbIFetaq3VQ7tnnWFkbEXqDhLF4/DHLwuDtyLK6ADNRRqPl74o/o
+NcVBssnjHQ4HsoAQY1E/
+=9z5z
+-END PGP SIGNATURE-

Added: 
dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz.md5
==
--- 
dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz.md5
 (added)
+++ 
dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz.md5
 Mon Jun  5 18:14:05 2017
@@ -0,0 +1 @@
+664afa3b41a4916c1b690cc6fd7a7f24  trafficcontrol-incubating-2.0.0.tar.gz

Added: 
dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz.sha512
==
--- 
dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz.sha512
 (added)
+++ 
dev/incubator/trafficcontrol/2.0.0/RC4/trafficcontrol-incubating-2.0.0.tar.gz.sha512
 Mon Jun  5 18:14:05 2017
@@ -0,0 +1 @@
+03b606ddab39603eea136b5faecc56dd093535cec81acb22dc59321aa572f248c384440c696bdcff7606468c22cceae85a343867d4de98993c219989f19e6bbe
  trafficcontrol-incubating-2.0.0.tar.gz




[incubator-trafficcontrol] Git Push Summary

2017-06-05 Thread friede
Repository: incubator-trafficcontrol
Updated Tags:  refs/tags/RELEASE-2.0.0-RC4 [created] 29a9bc1fb


[incubator-trafficcontrol] Git Push Summary

2017-06-05 Thread friede
Repository: incubator-trafficcontrol
Updated Tags:  refs/tags/RELEASE-2.0.0-RC3 [created] 137616b9b


[incubator-trafficcontrol] Git Push Summary

2017-06-01 Thread friede
Repository: incubator-trafficcontrol
Updated Tags:  refs/tags/RELEASE-2.0.0-RC2 [created] 218a9ee49


[1/2] incubator-trafficcontrol git commit: [TC-361] Added a read timeout to TCP DNS listener, and transaction timeout to both UDP and TCP. Also split thread pool so we have one per protocol.

2017-05-31 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x c1bfa6da5 -> 795ea3adf


[TC-361] Added a read timeout to TCP DNS listener, and transaction timeout to 
both UDP and TCP. Also split thread pool so we have one per protocol.

(cherry picked from commit 738c10fa1b5861e4cc3944dc7c3065d16f4a708c)


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

Branch: refs/heads/2.0.x
Commit: e70aea73dcf037e7c379b6a7cdab39a42e7cd07f
Parents: c1bfa6d
Author: Jeff Elsloo 
Authored: Wed Apr 12 09:13:11 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 20:42:45 2017 -0400

--
 .../core/dns/protocol/AbstractProtocol.java | 28 +---
 .../traffic_router/core/dns/protocol/TCP.java   | 21 ---
 .../main/webapp/WEB-INF/applicationContext.xml  | 14 +++---
 .../core/dns/protocol/TCPTest.java  | 11 ++--
 4 files changed, 63 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e70aea73/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/dns/protocol/AbstractProtocol.java
--
diff --git 
a/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/dns/protocol/AbstractProtocol.java
 
b/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/dns/protocol/AbstractProtocol.java
index 7671b02..ea0bccc 100644
--- 
a/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/dns/protocol/AbstractProtocol.java
+++ 
b/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/dns/protocol/AbstractProtocol.java
@@ -25,7 +25,11 @@ import org.xbill.DNS.Section;
 import org.xbill.DNS.WireParseException;
 
 import java.net.InetAddress;
+import java.util.concurrent.ExecutionException;
+import java.util.concurrent.Future;
 import java.util.concurrent.ExecutorService;
+import java.util.concurrent.TimeUnit;
+import java.util.concurrent.TimeoutException;
 
 public abstract class AbstractProtocol implements Protocol {
 private static final Logger ACCESS = 
Logger.getLogger("com.comcast.cdn.traffic_control.traffic_router.core.access");
@@ -34,6 +38,7 @@ public abstract class AbstractProtocol implements Protocol {
 protected boolean shutdownRequested;
 private ExecutorService executorService;
 private NameServer nameServer;
+private int taskTimeout = 5000; // default
 
 /**
  * Gets executorService.
@@ -138,9 +143,18 @@ public abstract class AbstractProtocol implements Protocol 
{
  * @param job
  *the handler to be executed
  */
-protected void submit(final Runnable job) {
-executorService.submit(job);
-}
+   protected void submit(final Runnable job) {
+   final Future handler = executorService.submit(job);
+   executorService.submit(new Runnable() {
+   public void run() {
+   try {
+   handler.get(getTaskTimeout(), 
TimeUnit.MILLISECONDS);
+   } catch (InterruptedException | 
ExecutionException | TimeoutException e) {
+   handler.cancel(true);
+   }
+   }
+   });
+   }
 
 private Message createServerFail(final Message query) {
 final Message response = new Message();
@@ -155,4 +169,12 @@ public abstract class AbstractProtocol implements Protocol 
{
 response.getHeader().setRcode(Rcode.SERVFAIL);
 return response;
 }
+
+   public int getTaskTimeout() {
+   return taskTimeout;
+   }
+
+   public void setTaskTimeout(final int taskTimeout) {
+   this.taskTimeout = taskTimeout;
+   }
 }

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e70aea73/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/dns/protocol/TCP.java
--
diff --git 
a/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/dns/protocol/TCP.java
 
b/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/dns/protocol/TCP.java
index 604024d..595fc7c 100644
--- 

[06/24] incubator-trafficcontrol git commit: added Postgres Bootstrap script for streamlining setup

2017-05-31 Thread friede
added Postgres Bootstrap script for streamlining setup

(cherry picked from commit 775078cb15c645a73945aa9a61c6764afb3c0a50)


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

Branch: refs/heads/2.0.x
Commit: dac22b09ad5c6ec614fe8ad2c8ef9cf18c82e321
Parents: 1c07e5a
Author: Dewayne Richardson 
Authored: Tue May 2 11:01:42 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/install/bin/todb_bootstrap.sh | 33 ++
 1 file changed, 33 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/dac22b09/traffic_ops/install/bin/todb_bootstrap.sh
--
diff --git a/traffic_ops/install/bin/todb_bootstrap.sh 
b/traffic_ops/install/bin/todb_bootstrap.sh
new file mode 100755
index 000..2de2d03
--- /dev/null
+++ b/traffic_ops/install/bin/todb_bootstrap.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+
+# To bypass the password prompts for automation, please set 
TODB_USERNAME_PASSWORD= before you invoke
+
+# Example:
+#
+#$ TODB_USERNAME_PASSWORD= ./todb_bootstrap.sh
+#
+TODB_USERNAME=traffic_ops
+TODB_NAME=traffic_ops
+
+if [[ -z $TODB_USERNAME ]]; then
+echo "Using environment database user: $TODB_USERNAME"
+fi
+
+if [[ -z $TODB_USERNAME_PASSWORD ]]; then
+   while true; do
+read -s -p "Please ENTER the new password for database user 
'$TODB_USERNAME': " password
+echo
+read -s -p "Please CONFIRM enter the new password for database user 
'$TODB_USERNAME' again: " password_confirm
+echo
+[ "$password" = "$password_confirm" ] && break
+echo "Passwords do not match, please try again"
+   done
+   TODB_USERNAME_PASSWORD=$password
+else
+echo "Using environment database password"
+fi
+echo "Setting up database role: $TODB_USERNAME"
+psql -U postgres -h localhost -c "CREATE USER $TODB_USERNAME WITH ENCRYPTED 
PASSWORD '$TODB_USERNAME_PASSWORD';"
+createdb $TODB_NAME --owner $TODB_USERNAME -U postgres -h localhost
+
+echo "Successfully set up database '$TODB_NAME' with role '$TODB_USERNAME'"



[02/24] incubator-trafficcontrol git commit: fix dist dir creation in docker build

2017-05-31 Thread friede
fix dist dir creation in docker build

(cherry picked from commit 1c8d8aa2c1641506a9e8e3e154b5aacf3805d22e)


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

Branch: refs/heads/2.0.x
Commit: 8c0dfb8b24f74a748a16da2fee116c92e91824ed
Parents: d8222fe
Author: Dan Kirkwood 
Authored: Wed May 24 21:10:12 2017 +
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 infrastructure/docker/build/clean_build.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/8c0dfb8b/infrastructure/docker/build/clean_build.sh
--
diff --git a/infrastructure/docker/build/clean_build.sh 
b/infrastructure/docker/build/clean_build.sh
index 09fc761..51e4fba 100755
--- a/infrastructure/docker/build/clean_build.sh
+++ b/infrastructure/docker/build/clean_build.sh
@@ -31,9 +31,10 @@ trap cleanup EXIT
 set -x
 
 # set owner of dist dir -- cleans up existing dist permissions...
-rm -rf /trafficcontrol/dist && mkdir -p /trafficcontrol/dist
+rm -rf /trafficcontrol/dist
 
 cp -a /trafficcontrol /tmp/. && \
cd /tmp/trafficcontrol && \
-   rm -rf dist && ln -fs /trafficcontrol/dist dist && \
+   mkdir -p /trafficcontrol/dist && \
+   ln -fs /trafficcontrol/dist dist && \
./build/build.sh $1 2>&1; echo $? >&3) | tee ./dist/build-$1.log 
>&4) 3>&1) | (read x; exit $x)) 4>&1



[24/24] incubator-trafficcontrol git commit: This closes #626

2017-05-31 Thread friede
This closes #626


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

Branch: refs/heads/2.0.x
Commit: c1bfa6da565409254f901d728e442c5cdc67fcd3
Parents: 89ad69a
Author: Eric Friedrich 
Authored: Wed May 31 10:09:09 2017 -0400
Committer: Eric Friedrich 
Committed: Wed May 31 10:09:09 2017 -0400

--

--




[23/24] incubator-trafficcontrol git commit: move goose install

2017-05-31 Thread friede
move goose install

(cherry picked from commit 5cca48df2546cd8378a150122c4b054a0e03f398)


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

Branch: refs/heads/2.0.x
Commit: 7d14110d4b7e1062b8574b5f0827bce215de8be3
Parents: 1e3f10a
Author: Dan Kirkwood 
Authored: Wed May 24 15:00:07 2017 +
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/install/bin/_postinstall | 6 --
 traffic_ops/install/bin/postinstall  | 5 ++---
 2 files changed, 2 insertions(+), 9 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7d14110d/traffic_ops/install/bin/_postinstall
--
diff --git a/traffic_ops/install/bin/_postinstall 
b/traffic_ops/install/bin/_postinstall
index 7f64806..b5f12da 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -848,12 +848,6 @@ sub main {
 errorOut("Failed to install Traffic Ops Web dependencies, check the 
console output and rerun postinstall once you've resolved the error");
 }
 
-InstallUtils::logger( "Installing Go and Goose.." );
-my $rc = InstallUtils::execCommand( "./install_goose.sh" );
-if ( $rc != 0 ) {
-errorOut("Failed to install Go/Goose check the console output and 
rerun postinstall once you've resolved the error");
-}
-
 # The generator functions handle checking input/default/automatic mode
 # todbconf will be used later when setting up the database
 my $todbconf = generateDbConf( $userInput, $databaseConfFile, $dbConfFile 
);

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7d14110d/traffic_ops/install/bin/postinstall
--
diff --git a/traffic_ops/install/bin/postinstall 
b/traffic_ops/install/bin/postinstall
index 7c0e04e..95b1142 100755
--- a/traffic_ops/install/bin/postinstall
+++ b/traffic_ops/install/bin/postinstall
@@ -47,9 +47,8 @@ cd /opt/traffic_ops/app
 export POSTGRES_HOME=${POSTGRES_HOME:-/usr/pgsql-9.6}
 /usr/local/bin/carton
 
-mkdir -p /opt/traffic_ops/go
-export GOPATH=${GOPATH:-/opt/traffic_ops/go}
-go get bitbucket.org/liamstask/goose/cmd/goose
+# Install go and goose
+/opt/traffic_ops/install/bin/install_goose.sh
 
 export PERL5LIB=/opt/traffic_ops/app/lib:/opt/traffic_ops/app/local/lib/perl5
 /opt/traffic_ops/install/bin/_postinstall "$@"



[03/24] incubator-trafficcontrol git commit: streamlined the Goose Install as well as the Environment PATHS

2017-05-31 Thread friede
streamlined the Goose Install as well as the Environment PATHS

(cherry picked from commit 67a87071ddb76d85fd2608ff8e1fdc29e4eb91b9)


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

Branch: refs/heads/2.0.x
Commit: 09ac78ab8bb266197a17b02a5a652341a4084eb2
Parents: addab49
Author: Dewayne Richardson 
Authored: Mon May 22 14:53:28 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 .gitignore   |  1 +
 traffic_ops/etc/profile.d/traffic_ops.sh | 24 
 traffic_ops/install/bin/_postinstall |  6 +++
 traffic_ops/install/bin/install_goose.sh | 54 +++
 traffic_ops/install/bin/postinstall  |  5 ---
 5 files changed, 85 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/09ac78ab/.gitignore
--
diff --git a/.gitignore b/.gitignore
index aa8a73d..b02c599 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@
 .idea/
 cpanfile.snapshot
 rpm/build.number
+rpmbuild/
 docs/build/*
 local
 traffic_ops_extensions/log/*

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/09ac78ab/traffic_ops/etc/profile.d/traffic_ops.sh
--
diff --git a/traffic_ops/etc/profile.d/traffic_ops.sh 
b/traffic_ops/etc/profile.d/traffic_ops.sh
new file mode 100644
index 000..21a204f
--- /dev/null
+++ b/traffic_ops/etc/profile.d/traffic_ops.sh
@@ -0,0 +1,24 @@
+#
+# 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.
+#
+
+TO_DIR="/opt/traffic_ops/app"; export TO_DIR
+TO_EXT_PRIVATE_LIB="/opt/traffic_ops_extensions/private/lib"; export 
TO_PRIVATE_LIB
+PERL5LIB=$TO_EXT_PRIVATE_LIB:$TO_DIR/lib:$TO_DIR/local/lib/perl5:$PERL5LIB; 
export PERL5LIB
+
+# Setup GOPATH 
+GOPATH="/opt/traffic_ops/go"; export GOPATH
+GOBIN=$GOPATH/bin
+
+# Setup PATH
+PATH=$PATH:$GOBIN:/usr/local/go/bin

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/09ac78ab/traffic_ops/install/bin/_postinstall
--
diff --git a/traffic_ops/install/bin/_postinstall 
b/traffic_ops/install/bin/_postinstall
index b5f12da..7f64806 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -848,6 +848,12 @@ sub main {
 errorOut("Failed to install Traffic Ops Web dependencies, check the 
console output and rerun postinstall once you've resolved the error");
 }
 
+InstallUtils::logger( "Installing Go and Goose.." );
+my $rc = InstallUtils::execCommand( "./install_goose.sh" );
+if ( $rc != 0 ) {
+errorOut("Failed to install Go/Goose check the console output and 
rerun postinstall once you've resolved the error");
+}
+
 # The generator functions handle checking input/default/automatic mode
 # todbconf will be used later when setting up the database
 my $todbconf = generateDbConf( $userInput, $databaseConfFile, $dbConfFile 
);

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/09ac78ab/traffic_ops/install/bin/install_goose.sh
--
diff --git a/traffic_ops/install/bin/install_goose.sh 
b/traffic_ops/install/bin/install_goose.sh
new file mode 100755
index 000..54a8f71
--- /dev/null
+++ b/traffic_ops/install/bin/install_goose.sh
@@ -0,0 +1,54 @@
+#!/usr/bin/env bash
+
+#
+# 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 

[14/24] incubator-trafficcontrol git commit: clean up handling of dist dir during build

2017-05-31 Thread friede
clean up handling of dist dir during build

(cherry picked from commit 3ff0f6d256ba7391b3dd0b54d6fdb240cff9a497)


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

Branch: refs/heads/2.0.x
Commit: 1e3f10a96570c49e2c7bd040eb4bc858c3448d51
Parents: 09ac78a
Author: Dan Kirkwood 
Authored: Wed May 24 14:59:51 2017 +
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 infrastructure/docker/build/clean_build.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/1e3f10a9/infrastructure/docker/build/clean_build.sh
--
diff --git a/infrastructure/docker/build/clean_build.sh 
b/infrastructure/docker/build/clean_build.sh
index b2b749b..09fc761 100755
--- a/infrastructure/docker/build/clean_build.sh
+++ b/infrastructure/docker/build/clean_build.sh
@@ -31,9 +31,9 @@ trap cleanup EXIT
 set -x
 
 # set owner of dist dir -- cleans up existing dist permissions...
-cleanup
+rm -rf /trafficcontrol/dist && mkdir -p /trafficcontrol/dist
+
 cp -a /trafficcontrol /tmp/. && \
cd /tmp/trafficcontrol && \
-   rm -rf dist && \
-   ln -fs /trafficcontrol/dist dist && \
+   rm -rf dist && ln -fs /trafficcontrol/dist dist && \
./build/build.sh $1 2>&1; echo $? >&3) | tee ./dist/build-$1.log 
>&4) 3>&1) | (read x; exit $x)) 4>&1



[17/24] incubator-trafficcontrol git commit: app/db/reset.sh was removed -- remove from spec

2017-05-31 Thread friede
app/db/reset.sh was removed -- remove from spec

(cherry picked from commit 91685068ecc63b9a3f22692e35534d797cbbcc7e)


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

Branch: refs/heads/2.0.x
Commit: d65a9f184e673ef322a777fcb8aad30fbe7944f3
Parents: 3362e03
Author: Dan Kirkwood 
Authored: Tue May 16 15:00:15 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/build/traffic_ops.spec | 1 -
 1 file changed, 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d65a9f18/traffic_ops/build/traffic_ops.spec
--
diff --git a/traffic_ops/build/traffic_ops.spec 
b/traffic_ops/build/traffic_ops.spec
index d71a47b..37a60c2 100644
--- a/traffic_ops/build/traffic_ops.spec
+++ b/traffic_ops/build/traffic_ops.spec
@@ -150,7 +150,6 @@ fi
 %attr(755,root,root) %{PACKAGEDIR}/app/bin/*
 %attr(755,root,root) %{PACKAGEDIR}/app/script/*
 %attr(755,root,root) %{PACKAGEDIR}/app/db/*.pl
-%attr(755,root,root) %{PACKAGEDIR}/app/db/*.sh
 %config(noreplace)/opt/traffic_ops/app/conf/*
 %config(noreplace)/var/www/files/osversions.cfg
 %{PACKAGEDIR}/app/cpanfile



[19/24] incubator-trafficcontrol git commit: moved the toolname and instance name back into seeds for postinstall simplicity

2017-05-31 Thread friede
moved the toolname and instance name back into seeds for postinstall simplicity

(cherry picked from commit f868cae629d9513db66713ad3d89d443bd1c927a)


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

Branch: refs/heads/2.0.x
Commit: e6e7e8221ad69a0cceb69e567020be860480cb4c
Parents: ac0df80
Author: Dewayne Richardson 
Authored: Mon May 22 13:56:54 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/app/db/seeds.sql | 15 +++
 traffic_ops/install/bin/_postinstall | 65 ++-
 2 files changed, 54 insertions(+), 26 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e6e7e822/traffic_ops/app/db/seeds.sql
--
diff --git a/traffic_ops/app/db/seeds.sql b/traffic_ops/app/db/seeds.sql
index 16a6964..908b4aa 100644
--- a/traffic_ops/app/db/seeds.sql
+++ b/traffic_ops/app/db/seeds.sql
@@ -90,6 +90,21 @@ insert into parameter (name, config_file, value) select * 
from (select 'DsStats'
 insert into parameter (name, config_file, value) select * from (select 
'DsStats', 'traffic_stats.config', 'tps_4xx') as temp where not exists (select 
name from parameter where name = 'DsStats' and config_file = 
'traffic_stats.config' and value = 'tps_4xx') limit 1 ON CONFLICT DO NOTHING;
 insert into parameter (name, config_file, value) select * from (select 
'DsStats', 'traffic_stats.config', 'tps_5xx') as temp where not exists (select 
name from parameter where name = 'DsStats' and config_file = 
'traffic_stats.config' and value = 'tps_5xx') limit 1 ON CONFLICT DO NOTHING;
 insert into parameter (name, config_file, value) select * from (select 
'DsStats', 'traffic_stats.config', 'tps_total') as temp where not exists 
(select name from parameter where name = 'DsStats' and config_file = 
'traffic_stats.config' and value = 'tps_total') limit 1 ON CONFLICT DO NOTHING;
+-- Moved into postinstall global parameters
+insert into profile (name, description) values ('GLOBAL', 'Global Traffic Ops 
profile, DO NOT DELETE') ON CONFLICT (name) DO NOTHING;
+
+-
+
+-- profiles
+-
+insert into parameter (name, config_file, value) values ('tm.instance_name', 
'global', 'Traffic Ops CDN') ON CONFLICT DO NOTHING;
+insert into profile_parameter (profile, parameter) values ( (select id from 
profile where name = 'GLOBAL'), (select id from parameter where name = 
'tm.instance_name' and config_file = 'global' and value = 'Traffic Ops CDN') ) 
ON CONFLICT (profile, parameter) DO NOTHING;
+
+insert into parameter (name, config_file, value) values ('tm.toolname', 
'global', 'Traffic Ops') ON CONFLICT DO NOTHING;
+insert into profile_parameter (profile, parameter) values ( (select id from 
profile where name = 'GLOBAL'), (select id from parameter where name = 
'tm.toolname' and config_file = 'global' and value = 'Traffic Ops') ) ON 
CONFLICT (profile, parameter) DO NOTHING;
+
+
+
 
 -- profiles
 insert into profile (name, description) values ('RIAK_ALL', 'Riak profile for 
all CDNs') ON CONFLICT DO NOTHING;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e6e7e822/traffic_ops/install/bin/_postinstall
--
diff --git a/traffic_ops/install/bin/_postinstall 
b/traffic_ops/install/bin/_postinstall
index 1ecda45..b5f12da 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -567,6 +567,7 @@ QUERY
 ADMIN
 $dbh->do($insert_admin);
 
+insert_cdn($dbh, $paramconf);
 insert_parameters($dbh, $paramconf);
 insert_profiles($dbh, $paramconf);
 
@@ -642,41 +643,59 @@ sub setupCertificates {
 }
 
 #
-sub insert_parameters {
+sub insert_cdn {
+
 my $dbh = shift;
 my $paramconf = shift;
 
-InstallUtils::logger( "=== Setting up parameters", "info" );
+InstallUtils::logger( "=== Setting up cdn", "info" );
 
 # Enable multiple inserts into one commit
 $dbh->{pg_server_prepare} = 0;
 
-my $insert_stmt = <<'INSERTS';
+   my $cdn_name = $paramconf->{"cdn_name"};
+   my $dns_subdomain = $paramconf->{"dns_subdomain"};
+
+my $insert_stmt = <{"tm.url"}') 
-ON CONFLICT DO NOTHING;
+insert 

[16/24] incubator-trafficcontrol git commit: Update pkg script to pull docker-compose into a local container if it is unavailable in the path.

2017-05-31 Thread friede
Update pkg script to pull docker-compose into a local container if it is 
unavailable in the path.

(cherry picked from commit 4b4be596d0bbaae7f67622062d32a9097dd64438)


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

Branch: refs/heads/2.0.x
Commit: e94ac08bedee0357a3562d70516eb467d1d32a8c
Parents: 7685142
Author: Chris Lemmons 
Authored: Wed Mar 15 13:33:08 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 BUILD.md |  5 +++-
 pkg  | 74 +--
 2 files changed, 71 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e94ac08b/BUILD.md
--
diff --git a/BUILD.md b/BUILD.md
index eb6c8f1..000d25a 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -7,7 +7,10 @@ are automatically loaded into the image used to build each 
component.
 
 ### Requirements
 - `docker` (https://docs.docker.com/engine/installation/)
-- `docker-compose` (https://docs.docker.com/compose/install/)
+- `docker-compose` (https://docs.docker.com/compose/install/) (optional, but 
recommended)
+
+If `docker-compose` is not available, the `pkg` script will automatically 
download
+and run it in a container. This is noticeably slower than running it natively.
 
 ### Steps
 

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e94ac08b/pkg
--
diff --git a/pkg b/pkg
index fe195b4..2912bcb 100755
--- a/pkg
+++ b/pkg
@@ -18,16 +18,76 @@ cd "$( dirname "${BASH_SOURCE[0]}" )"
 COMPOSE_FILE=./infrastructure/docker/build/docker-compose.yml
 
 # Check for dependencies
-if ! which docker-compose >/dev/null 2>&1; then
-   echo "Error: docker-compose is required for a docker build." >&2
+if ! which docker >/dev/null 2>&1; then
+   echo "Error: docker is required for a docker build." >&2
exit 1
 fi
 
+# If the user defined COMPOSE, use that as the path for docker-compose.
+if [ ! -z "$COMPOSE" ]; then
+   COMPOSECMD=( "$COMPOSE" )
+else
+   COMPOSECMD=()
+fi
+
+# Check to see if docker-compose is already installed and use it directly, if 
possible.
+if [ ${#COMPOSECMD[@]} -eq 0 ]; then
+   if which docker-compose >/dev/null 2>&1; then
+   COMPOSECMD=( docker-compose )
+   fi
+fi
+
+# If it's unavailable, go get the image and run docker-compose inside a 
container.
+# This is considerably slower, but allows for building on hosts without 
docker-compose.
+if [ ${#COMPOSECMD[@]} -eq 0 ]; then
+   # Pin the version of docker-compose.
+   IMAGE="docker/compose:1.11.2"
+
+   # We need to either mount the docker socket or export the docker host 
into the container.
+   # This allows the container to manage "sibling" containers via docker.
+   if [ -z "$DOCKER_HOST" ]; then
+   DOCKER_HOST="/var/run/docker.sock"
+   fi
+
+   if [ -S "$DOCKER_HOST" ]; then
+   DOCKER_ADDR=(-v "$DOCKER_HOST:$DOCKER_HOST" -e 
DOCKER_HOST)
+   else
+   DOCKER_ADDR=(-e DOCKER_HOST -e DOCKER_TLS_VERIFY -e 
DOCKER_CERT_PATH)
+   fi
+
+   # We mount the current directory (the base of the repository) into the 
same location
+   # inside the container. There are many places for which this won't 
work, but "/" is
+   # a major one.
+   #
+   # You're going to want to avoid keeping your repository in a folder 
named "/usr/bin",
+   # "/home", "/var" or any other standard paths that will be needed by 
the docker container.
+   #
+   # This is very unlikely to cause trouble for anyone in practice.
+   if [ "$(pwd)" == "/" ]; then
+   echo "Error: Cannot compile directly at filesystem root." >&2
+   exit 1
+   fi
+
+   # Mount the working directory, and the home directory. Mounting $HOME 
provides container
+   # access to config files that are kept there.
+   VOLUMES=(-v "$(pwd):$(pwd)" -v "$HOME:$HOME" -v "$HOME:/root")
+
+   # Prepull the image, to avoid spitting out pull progress during other 
commands.
+   if ! docker inspect $IMAGE >/dev/null 2>&1; then
+   docker pull $IMAGE >/dev/null 2>&1
+   fi
+
+   # COMPOSECMD is kept as an array to significantly simplify handling 
paths that contain
+   # spaces and other special characters.
+   COMPOSECMD=(docker run --rm "${DOCKER_ADDR[@]}" $COMPOSE_OPTIONS 

[01/24] incubator-trafficcontrol git commit: clean_build.sh no longer tromps parallel builds

2017-05-31 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x bce12ae34 -> c1bfa6da5


clean_build.sh no longer tromps parallel builds

(cherry picked from commit 15683cd20633c86df94184c351a5dfa0ba2783be)


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

Branch: refs/heads/2.0.x
Commit: 89ad69afe10a23355c2a2052d2abf26b302805dc
Parents: 8c0dfb8
Author: Dan Kirkwood 
Authored: Thu May 25 09:30:10 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 infrastructure/docker/build/clean_build.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/89ad69af/infrastructure/docker/build/clean_build.sh
--
diff --git a/infrastructure/docker/build/clean_build.sh 
b/infrastructure/docker/build/clean_build.sh
index 51e4fba..e7baac5 100755
--- a/infrastructure/docker/build/clean_build.sh
+++ b/infrastructure/docker/build/clean_build.sh
@@ -31,10 +31,9 @@ trap cleanup EXIT
 set -x
 
 # set owner of dist dir -- cleans up existing dist permissions...
-rm -rf /trafficcontrol/dist
-
 cp -a /trafficcontrol /tmp/. && \
cd /tmp/trafficcontrol && \
+   rm -rf dist && \
mkdir -p /trafficcontrol/dist && \
-   ln -fs /trafficcontrol/dist dist && \
+   ln -s /trafficcontrol/dist dist && \
./build/build.sh $1 2>&1; echo $? >&3) | tee ./dist/build-$1.log 
>&4) 3>&1) | (read x; exit $x)) 4>&1



[22/24] incubator-trafficcontrol git commit: added to make postgresql96 as a requirement

2017-05-31 Thread friede
added to make postgresql96 as a requirement

(cherry picked from commit 0ba13b7e91e5991bc4663b31e388b19e5c49f389)


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

Branch: refs/heads/2.0.x
Commit: addab49eea0bedc368ced4602211af3a9c471abf
Parents: e6e7e82
Author: Dewayne Richardson 
Authored: Mon May 22 14:07:31 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/build/traffic_ops.spec | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/addab49e/traffic_ops/build/traffic_ops.spec
--
diff --git a/traffic_ops/build/traffic_ops.spec 
b/traffic_ops/build/traffic_ops.spec
index 37a60c2..738f2d4 100644
--- a/traffic_ops/build/traffic_ops.spec
+++ b/traffic_ops/build/traffic_ops.spec
@@ -1,4 +1,4 @@
-#
+
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -34,7 +34,8 @@ Packager: daniel_kirkwood at Cable dot Comcast dot com
 AutoReqProv:  no
 Requires: cpanminus, expat-devel, gcc-c++, libcurl, libpcap-devel, 
mkisofs, tar
 Requires: openssl-devel, perl, perl-core, perl-DBD-Pg, perl-DBI, 
perl-Digest-SHA1
-Requires:libidn-devel, libcurl-devel
+Requires: libidn-devel, libcurl-devel
+Requires: postgresql96 >= 9.6.2 , postgresql96-devel >= 9.6.2
 Requires: perl-JSON, perl-libwww-perl, perl-Test-CPAN-Meta, 
perl-WWW-Curl, perl-TermReadKey
 Requires(pre):/usr/sbin/useradd, /usr/bin/getent
 Requires(postun): /usr/sbin/userdel
@@ -95,6 +96,7 @@ Built: %(date) by %{getenv: USER}
 %__cp %{PACKAGEDIR}/etc/cron.d/trafops_clean_isos 
/etc/cron.d/trafops_clean_isos
 %__cp %{PACKAGEDIR}/etc/logrotate.d/traffic_ops 
/etc/logrotate.d/traffic_ops
 %__cp %{PACKAGEDIR}/etc/logrotate.d/traffic_ops_access 
/etc/logrotate.d/traffic_ops_access
+%__cp %{PACKAGEDIR}/etc/profile.d/traffic_ops.sh 
/etc/profile.d/traffic_ops.sh
 %__chown root:root /etc/init.d/traffic_ops
 %__chown root:root /etc/cron.d/trafops_dnssec_refresh
 %__chown root:root /etc/cron.d/trafops_clean_isos



[13/24] incubator-trafficcontrol git commit: Updated default build instructions to refer to the build script.

2017-05-31 Thread friede
Updated default build instructions to refer to the build script.

(cherry picked from commit 3bf7ab8fcd94419c3e7c1bed73051cd83477f05c)


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

Branch: refs/heads/2.0.x
Commit: 76851427d3512c26265df955a49448b2cb0144cc
Parents: 13de696
Author: Chris Lemmons 
Authored: Fri Mar 10 13:20:51 2017 -0700
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 BUILD.md | 32 
 1 file changed, 16 insertions(+), 16 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/76851427/BUILD.md
--
diff --git a/BUILD.md b/BUILD.md
index 9ad24f9..eb6c8f1 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -15,22 +15,22 @@ From the top level of the incubator-trafficcontrol 
directory.  The source in
 the current directory is used for the process.   One or more components (with
 \_build suffix added) can be added on the command line.
 
-Clean up any previously-built docker containers:
-> $ docker-compose -f infrastructure/docker/build/docker-compose.yml down -v
-
-And images:
-> $ docker images | awk '/traffic\_.*\_build/ { print $3 }' | xargs docker rmi 
-f
-
-Create and run new build containers:
-> $ docker-compose -f infrastructure/docker/build/docker-compose.yml up [ 
container name ...] 
-
-Container names can be one or more of these:
-* `source`  (builds only the source tarball)
-* `traffic_monitor_build`
-* `traffic_ops_build`
-* `traffic_portal_build`
-* `traffic_router_build`
-* `traffic_stats_build`
+This is all run automatically by the `pkg` script at the root of the 
repository.
+
+$ ./pkg -?
+Usage: ./pkg [options] [projects]
+-q  Quiet mode. Supresses output.
+-v  Verbose mode. Lists all build output.
+-l  List available projects.
+
+If no projects are listed, all projects will be packaged.
+Valid projects:
+- traffic_portal_build
+- traffic_router_build
+- traffic_monitor_build
+- source
+- traffic_ops_build
+- traffic_stats_build
 
 If no component names are provided on the command line, all components will be 
built.
 



[15/24] incubator-trafficcontrol git commit: remove Snapshots from tar backup when upgrading

2017-05-31 Thread friede
remove Snapshots from tar backup when upgrading

(cherry picked from commit 50d2c3fe5f29bb7aa2ba1235ab24fa64e3539bd0)


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

Branch: refs/heads/2.0.x
Commit: 3362e03048a0d989274a7ba550119d0e0ba2e4f0
Parents: e94ac08
Author: Dan Kirkwood 
Authored: Tue May 16 12:08:26 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/build/traffic_ops.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3362e030/traffic_ops/build/traffic_ops.spec
--
diff --git a/traffic_ops/build/traffic_ops.spec 
b/traffic_ops/build/traffic_ops.spec
index 7d359a1..d71a47b 100644
--- a/traffic_ops/build/traffic_ops.spec
+++ b/traffic_ops/build/traffic_ops.spec
@@ -80,7 +80,7 @@ Built: %(date) by %{getenv: USER}
  if [ -f /var/tmp/traffic_ops-backup.tar ]; then
  %__rm /var/tmp/traffic_ops-backup.tar
  fi
- cd %{PACKAGEDIR} && tar cf /var/tmp/traffic_ops-backup.tar 
app/public/*Snapshots app/public/routing  app/conf app/db/dbconf.yml app/local 
app/cpanfile.snapshot
+ cd %{PACKAGEDIR} && tar cf /var/tmp/traffic_ops-backup.tar 
app/public/routing  app/conf app/db/dbconf.yml app/local app/cpanfile.snapshot
 fi
 
 # upgrade



[18/24] incubator-trafficcontrol git commit: Fixed the Use of uninitialized value in concatenation (.) or string at

2017-05-31 Thread friede
Fixed the Use of uninitialized value in concatenation (.) or string at

(cherry picked from commit 610c6c22f44a221206e4e53b69e0c0c806c32793)


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

Branch: refs/heads/2.0.x
Commit: ac0df8030ff207665b1a040e1806175438d9b404
Parents: d65a9f1
Author: Dewayne Richardson 
Authored: Mon May 22 07:34:38 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/install/bin/_postinstall | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/ac0df803/traffic_ops/install/bin/_postinstall
--
diff --git a/traffic_ops/install/bin/_postinstall 
b/traffic_ops/install/bin/_postinstall
index 6d336e1..1ecda45 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -651,7 +651,7 @@ sub insert_parameters {
 # Enable multiple inserts into one commit
 $dbh->{pg_server_prepare} = 0;
 
-my $insert_stmt = <<"INSERTS";
+my $insert_stmt = <<'INSERTS';
 
 -- global parameters
 insert into parameter (name, config_file, value) 
@@ -689,7 +689,7 @@ sub insert_profiles {
 my $paramconf = shift;
 
 InstallUtils::logger( "\n=== Setting up profiles", "info" );
-my $insert_stmt = <<"INSERTS";
+my $insert_stmt = <<'INSERTS';
 
 -- global parameters
 insert into profile (name, description) 



[08/24] incubator-trafficcontrol git commit: moved the gopath to /opt/traffic_ops/go

2017-05-31 Thread friede
moved the gopath to /opt/traffic_ops/go

(cherry picked from commit 16b300c9d57998502fcd35a7ca6b0dd37e743765)


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

Branch: refs/heads/2.0.x
Commit: 5affdebf1a816a56c2c1bb804cfdabf5f2a2787b
Parents: ee2bc89
Author: Dewayne Richardson 
Authored: Tue May 2 11:10:15 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/install/bin/postinstall | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/5affdebf/traffic_ops/install/bin/postinstall
--
diff --git a/traffic_ops/install/bin/postinstall 
b/traffic_ops/install/bin/postinstall
index aee1f78..e9a4c55 100755
--- a/traffic_ops/install/bin/postinstall
+++ b/traffic_ops/install/bin/postinstall
@@ -36,7 +36,8 @@ cd /opt/traffic_ops/app
 export POSTGRES_HOME=${POSTGRES_HOME:-/usr/pgsql-9.6}
 /usr/local/bin/carton
 
-export GOPATH=${GOPATH:-/usr/local/go/bin}
+mkdir -p /opt/traffic_ops/go
+export GOPATH=${GOPATH:-/opt/traffic_ops/go}
 go get bitbucket.org/liamstask/goose/cmd/goose
 
 export PERL5LIB=/opt/traffic_ops/app/lib:/opt/traffic_ops/app/local/lib/perl5



[04/24] incubator-trafficcontrol git commit: removed debug

2017-05-31 Thread friede
removed debug

(cherry picked from commit 852ce2d96478ca39465dc5464a284451e7753a4a)


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

Branch: refs/heads/2.0.x
Commit: 13de696054d438cffa524229930d030d043995e0
Parents: 14b49a1
Author: Dewayne Richardson 
Authored: Fri May 12 08:55:49 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/install/lib/Database.pm | 1 -
 1 file changed, 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/13de6960/traffic_ops/install/lib/Database.pm
--
diff --git a/traffic_ops/install/lib/Database.pm 
b/traffic_ops/install/lib/Database.pm
index a8e98c6..be6310d 100644
--- a/traffic_ops/install/lib/Database.pm
+++ b/traffic_ops/install/lib/Database.pm
@@ -40,7 +40,6 @@ sub connect {
 $ENV{PGPASSWORD} = $conf->{"password"};
 
 my $dsn = sprintf( "DBI:%s:db=%s;host=%s;port=%d", $conf->{type}, $dbName, 
$conf->{hostname}, $conf->{port} );
-InstallUtils::logger( "dsn: " . $dsn, "info" );
 my $dbh = DBI->connect( $dsn, $todbconf->{"user"}, $todbconf->{"password"} 
);
 if ($dbh) {
 InstallUtils::logger( "Database connection succeeded", "info" );



[21/24] incubator-trafficcontrol git commit: sensible error message when db connect fails

2017-05-31 Thread friede
sensible error message when db connect fails

(cherry picked from commit 9a93f2e3c538bcb58c81854ade66a193b1fdd6ae)


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

Branch: refs/heads/2.0.x
Commit: d8222fe9ffab1adbc9414991e57e986bb68013ec
Parents: 7d14110
Author: Dan Kirkwood 
Authored: Wed May 24 20:20:55 2017 +
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/install/bin/_postinstall | 5 +
 traffic_ops/install/lib/Database.pm  | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d8222fe9/traffic_ops/install/bin/_postinstall
--
diff --git a/traffic_ops/install/bin/_postinstall 
b/traffic_ops/install/bin/_postinstall
index b5f12da..2cfc3b2 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -866,6 +866,11 @@ sub main {
 setupCertificates( $opensslconf );
 
 my $dbh = Database::connect($databaseConfFile, $todbconf);
+if (!$dbh) {
+InstallUtils::logger("Can't connect to the database.  Use the script 
`/opt/traffic_ops/install/bin/db_bootstrap.sh` on the db server to create it 
and run `postinstall` again.", "error");
+exit(-1);
+}
+
 setupDatabaseData( $dbh, $adminconf, $paramconf );
 
 InstallUtils::logger("Starting Traffic Ops", "info" );

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d8222fe9/traffic_ops/install/lib/Database.pm
--
diff --git a/traffic_ops/install/lib/Database.pm 
b/traffic_ops/install/lib/Database.pm
index be6310d..8fc545d 100644
--- a/traffic_ops/install/lib/Database.pm
+++ b/traffic_ops/install/lib/Database.pm
@@ -45,10 +45,10 @@ sub connect {
 InstallUtils::logger( "Database connection succeeded", "info" );
 }
 else {
-InstallUtils::logger( "Error connecting to database", "error" );
-exit(-1);
+# show error, but don't exit -- let the caller deal with it based on 
undef $dbh
+InstallUtils::logger( $DBI::errstr, "error" );
 }
-   return $dbh;
+return $dbh;
 }
 
 



[20/24] incubator-trafficcontrol git commit: fixed formatting

2017-05-31 Thread friede
fixed formatting

(cherry picked from commit 33df0cac9ea0d98f2d3acaf5d540d6b7c4d4f9a7)


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

Branch: refs/heads/2.0.x
Commit: 14b49a19dc54c33098ee30992ed05a4b709a3b23
Parents: 4ccbe15
Author: Dewayne Richardson 
Authored: Fri May 12 08:55:17 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/install/lib/Database.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/14b49a19/traffic_ops/install/lib/Database.pm
--
diff --git a/traffic_ops/install/lib/Database.pm 
b/traffic_ops/install/lib/Database.pm
index 57f6c90..a8e98c6 100644
--- a/traffic_ops/install/lib/Database.pm
+++ b/traffic_ops/install/lib/Database.pm
@@ -36,8 +36,8 @@ sub connect {
 $dbName = "traffic_ops";
 }
 
-   $ENV{PGUSER} = $conf->{"user"};
-   $ENV{PGPASSWORD} = $conf->{"password"};
+$ENV{PGUSER} = $conf->{"user"};
+$ENV{PGPASSWORD} = $conf->{"password"};
 
 my $dsn = sprintf( "DBI:%s:db=%s;host=%s;port=%d", $conf->{type}, $dbName, 
$conf->{hostname}, $conf->{port} );
 InstallUtils::logger( "dsn: " . $dsn, "info" );



[09/24] incubator-trafficcontrol git commit: updated to fix the insert admin sequence

2017-05-31 Thread friede
updated to fix the insert admin sequence

(cherry picked from commit a021bcd5136479bd41413fb3f5a96348493f8270)


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

Branch: refs/heads/2.0.x
Commit: 32bc5e17d5cf2187e7a71403a117eb904f4a665d
Parents: 5affdeb
Author: Dewayne Richardson 
Authored: Wed May 3 10:47:54 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/install/bin/_postinstall | 77 ++-
 1 file changed, 13 insertions(+), 64 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/32bc5e17/traffic_ops/install/bin/_postinstall
--
diff --git a/traffic_ops/install/bin/_postinstall 
b/traffic_ops/install/bin/_postinstall
index ed4399b..0de0537 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -35,6 +35,7 @@ use Getopt::Long;
 
 use InstallUtils qw{ :all };
 use GenerateCert qw{ :all };
+use Database qw{ connect };
 
 # paths of the output configuration files
 my $databaseConfFile = "/opt/traffic_ops/app/conf/production/database.conf";
@@ -516,18 +517,6 @@ sub getDefaults {
 {
 "DNS sub-domain for which your CDN is authoritative" => 
"cdn1.kabletown.net",
 "config_var" => 
"dns_subdomain"
-},
-{
-"TrafficServer Drive Prefix" => "/dev/sd",
-"config_var" => "driver_prefix"
-},
-{
-"TrafficServer RAM Drive Prefix" => "/dev/ram",
-"config_var" => "ram_drive_prefix"
-},
-{
-"TrafficServer RAM Drive Letters (comma separated)" => 
"0,1,2,3,4,5,6,7",
-"config_var"=> 
"ram_drive_letters"
 }
 ]
 };
@@ -568,14 +557,13 @@ QUERY
 
 # Skip the insert if the admin 'username' is already there.
 my $sha1_passwd = sha1_hex( $adminconf->{"password"} );
-
 my $insert_admin = <<"ADMIN";
-insert into tm_user (username, role, local_passwd) 
-values  ("$adminconf->{"username"}", 
+insert into tm_user (username, role, local_passwd, confirm_local_passwd)
+values  ('$adminconf->{"username"}',
 (select id from role where name = 'admin'),
- "$sha1_passwd",
-"$sha1_passwd" ))
-ON CONFLICT (profile, parameter) DO NOTHING ON CONFLICT 
(username) DO NOTHING;"
+ '$sha1_passwd',
+'$sha1_passwd' )
+ON CONFLICT (username) DO NOTHING;
 ADMIN
 $dbh->do($insert_admin);
 
@@ -654,35 +642,6 @@ sub setupCertificates {
 }
 
 #
-sub connect_to_database {
-my $databaseConfFile = shift;
-my $todbconf = shift;
-
-my $dbconf = InstallUtils::readJson($databaseConfFile);
-
-# Check if the Postgres db is used and set the admin database to be 
"postgres"
-my $dbName = $dbconf->{type};
-if ( $dbconf->{type} eq "Pg" ) {
-$dbName = "traffic_ops";
-}
-
-$ENV{PGUSER} = $todbconf->{"pgUser"};
-$ENV{PGPASSWORD} = $todbconf->{"pgPassword"};
-
-my $dsn = sprintf( "DBI:%s:db=%s;host=%s;port=%d", $dbconf->{type}, 
$dbName, $dbconf->{hostname}, $dbconf->{port} );
-my $dbh = DBI->connect( $dsn, $todbconf->{"pgUser"}, 
$todbconf->{"pgPassword"} );
-if ($dbh) {
-InstallUtils::logger( "Database connection succeeded", "info" );
-}
-else {
-InstallUtils::logger( "Error connecting to database", "error" );
-exit(-1);
-}
-   return $dbh;
-
-}
-
-#
 sub insert_parameters {
 my $dbh = shift;
 my $paramconf = shift;
@@ -697,38 +656,28 @@ sub insert_parameters {
 -- global parameters
 insert into parameter (name, config_file, value) 
 values ('tm.url', 'global', '$paramconf->{"tm.url"}') 
-ON CONFLICT (name, value) DO NOTHING;
+ON CONFLICT DO NOTHING;
 
 insert into parameter (name, config_file, value) 
 values ('tm.instance_name', 'global', 
'$paramconf->{"tm.instance_name"}') 
-ON CONFLICT (name, value) DO NOTHING;
+ON CONFLICT DO NOTHING;
 
 insert into parameter (name, 

[05/24] incubator-trafficcontrol git commit: made changes to support seeds cleanup

2017-05-31 Thread friede
made changes to support seeds cleanup

(cherry picked from commit d3bbaec410536737ab7d3e6d3ed6bfa09444806a)


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

Branch: refs/heads/2.0.x
Commit: 1c07e5a5cc199616409afea92a99613ec8a75ea5
Parents: bce12ae
Author: Dewayne Richardson 
Authored: Tue May 2 10:58:58 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/install/bin/_postinstall  | 357 -
 traffic_ops/install/bin/postinstall   |   4 +-
 traffic_ops/install/lib/InstallUtils.pm   |   6 +-
 traffic_ops/install/lib/ProfileCleanup.pm | 254 --
 4 files changed, 232 insertions(+), 389 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/1c07e5a5/traffic_ops/install/bin/_postinstall
--
diff --git a/traffic_ops/install/bin/_postinstall 
b/traffic_ops/install/bin/_postinstall
index 66ecf7a..ed4399b 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -17,7 +17,8 @@
 use lib qw(/opt/traffic_ops/install/lib /opt/traffic_ops/app/lib 
/opt/traffic_ops/app/local/lib/perl5);
 
 $ENV{PERL5LIB} = 
"/opt/traffic_ops/install/lib:/opt/traffic_ops/app/lib:/opt/traffic_ops/app/local/lib/perl5:$ENV{PERL5LIB}";
-$ENV{PATH} = "/usr/local/bin:/opt/traffic_ops/install/bin:$ENV{PATH}";
+$ENV{PATH} = 
"/usr/bin:/opt/traffic_ops/go/bin:/usr/local/go/bin:/opt/traffic_ops/install/bin:$ENV{PATH}";
+$ENV{GOPATH} = "/opt/traffic_ops/go";
 
 use strict;
 use warnings;
@@ -34,7 +35,6 @@ use Getopt::Long;
 
 use InstallUtils qw{ :all };
 use GenerateCert qw{ :all };
-use ProfileCleanup qw{ :all };
 
 # paths of the output configuration files
 my $databaseConfFile = "/opt/traffic_ops/app/conf/production/database.conf";
@@ -64,15 +64,9 @@ my $debug = 1;
 # log file for cpan output
 my $cpanLogFile = "/var/log/traffic_ops/cpan.log";
 
-# whether or not to reconfigure traffic ops
-my $reconfigure = 1;
-
 # used to check for .reconfigure_defaults file for backwards compatability
 my $reconfigure_defaults = "/opt/traffic_ops/.reconfigure_defaults";
 
-# old way of reconfiguring postinstall - only here to check for file and let 
user know it is deprecated
-my $reconfigure_file = "/opt/traffic_ops/.reconfigure";
-
 # maximum size the uncompressed log file should be before rotating it - 
rotating it copies the current log
 #  file to the same name appended with .bkp replacing the old backup if any is 
there
 my $maxLogSize = 1000;#bytes
@@ -405,11 +399,11 @@ sub getDefaults {
 $dbConfFile => [
 {
 "Database server root (admin) user" => "postgres",
-"config_var"=> "dbAdminUser"
+"config_var"=> "pgUser"
 },
 {
 "Password for database server admin" => "",
-"config_var" => "dbAdminPw",
+"config_var" => "pgPassword",
 "hidden" => "true"
 },
 {
@@ -508,20 +502,20 @@ sub getDefaults {
 "config_var"  => "tm.url"
 },
 {
-"Human-readable CDN Name.  (No whitespace, please)" => 
"kabletown_cdn",
-"config_var"=> 
"cdn_name"
+"Traffic Ops Instance Name" => "Traffic Ops CDN",
+"config_var"  => "tm.instance_name"
 },
 {
-"Health Polling Interval (milliseconds)" => "8000",
-"config_var" => 
"health_polling_int"
+"Traffic Ops Tool Name" => "Traffic Ops",
+"config_var"  => "tm.toolname"
 },
 {
-"DNS sub-domain for which your CDN is authoritative" => 
"cdn1.kabletown.net",
-"config_var" => 
"dns_subdomain"
+"Human-readable CDN Name.  (No whitespace, please)" => 
"kabletown_cdn",
+"config_var"=> 
"cdn_name"
 },
 {
-"TLD SOA admin" => "traffic_ops",
-"config_var"=> "soa_admin"
+"DNS sub-domain for which your CDN is authoritative" => 
"cdn1.kabletown.net",
+ 

[11/24] incubator-trafficcontrol git commit: bypass preprocessing for postinstall if -h or -defaults flags passed

2017-05-31 Thread friede
bypass preprocessing for postinstall if -h or -defaults flags passed

(cherry picked from commit 88323e2f9bf71f91d82cb32a988e0dd06f953bb0)


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

Branch: refs/heads/2.0.x
Commit: d595e939813342d5ab87d8e04dd78a51f33a6d9b
Parents: 0146350
Author: Dan Kirkwood 
Authored: Mon May 8 17:23:12 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/install/bin/_postinstall | 16 +++-
 traffic_ops/install/bin/postinstall  | 16 
 2 files changed, 27 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d595e939/traffic_ops/install/bin/_postinstall
--
diff --git a/traffic_ops/install/bin/_postinstall 
b/traffic_ops/install/bin/_postinstall
index 0de0537..6d336e1 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -748,12 +748,12 @@ sub main {
 my $help = 0;
 
 # help string
-my $usageString = "Usage: postinstall [-a] [-debug] [-defaults] [-r] 
-cfile=[config_file]\n";
+my $usageString = "Usage: postinstall [-a] [-debug] [-defaults[= \$inputFile,
 "automatic"   => \$automatic,
-"defaults"=> \$dumpDefaults,
+"defaults:s"  => \$dumpDefaults,
 "debug"   => \$debug,
 "help"=> \$help
 ) or die($usageString);
@@ -786,8 +786,14 @@ sub main {
 InstallUtils::logger( "Running in automatic mode", "info" );
 }
 
-if ($dumpDefaults) {
-InstallUtils::logger( "Writing default configuration file to 
$outputConfigFile", "info" );
+if (defined $dumpDefaults) {
+# -defaults flag provided.
+if ($dumpDefaults ne "") {
+   # -defaults=  -- if -defaults without a file name, use 
the default.
+   # dumpDefaults with value -- use that as output file name
+   $outputConfigFile = $dumpDefaults;
+}
+InstallUtils::logger( "Writing default configuration to 
$outputConfigFile", "info" );
 InstallUtils::writeJson( $outputConfigFile, $defaultInputs );
 return;
 }
@@ -826,7 +832,7 @@ sub main {
 chdir("/opt/traffic_ops/install/bin");
 my $rc = InstallUtils::execCommand( "./download_web_deps", "-i" );
 if ( $rc != 0 ) {
- errorOut("Failed to install Traffic Ops Web dependencies, check the 
console output and rerun postinstall once you've resolved the error");
+errorOut("Failed to install Traffic Ops Web dependencies, check the 
console output and rerun postinstall once you've resolved the error");
 }
 
 # The generator functions handle checking input/default/automatic mode

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d595e939/traffic_ops/install/bin/postinstall
--
diff --git a/traffic_ops/install/bin/postinstall 
b/traffic_ops/install/bin/postinstall
index e9a4c55..4d9d76b 100755
--- a/traffic_ops/install/bin/postinstall
+++ b/traffic_ops/install/bin/postinstall
@@ -14,6 +14,22 @@
 # limitations under the License.
 #
 
+for arg in "$@"; do
+   case $arg in
+   -h*) action=bypass
+   ;;
+   -defaults*) action=bypass
+   ;;
+   esac
+done
+
+# above options don't require any of the extra processing -- just kick off the 
script with
+# options intact.
+if [[ $action == "bypass" ]]; then
+   /opt/traffic_ops/install/bin/_postinstall "$@"
+   exit
+fi
+
 # make sure installed with proper permissions
 umask 022
 



[10/24] incubator-trafficcontrol git commit: added description

2017-05-31 Thread friede
added description

(cherry picked from commit 3336900eba560a3ee45f042c91004ec5795de3d3)


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

Branch: refs/heads/2.0.x
Commit: 014635002fa1160b9f0da7c825f81fbdcdfe8a80
Parents: 32bc5e1
Author: Dewayne Richardson 
Authored: Wed May 3 10:48:30 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 31 10:08:57 2017 -0400

--
 traffic_ops/install/bin/todb_bootstrap.sh | 3 ---
 1 file changed, 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/01463500/traffic_ops/install/bin/todb_bootstrap.sh
--
diff --git a/traffic_ops/install/bin/todb_bootstrap.sh 
b/traffic_ops/install/bin/todb_bootstrap.sh
index c7bf2e9..2de2d03 100755
--- a/traffic_ops/install/bin/todb_bootstrap.sh
+++ b/traffic_ops/install/bin/todb_bootstrap.sh
@@ -1,9 +1,6 @@
 #!/usr/bin/env bash
 
-# This script sets up the 'traffic_ops' role and database to simplify schema 
and data loading 
-#
 # To bypass the password prompts for automation, please set 
TODB_USERNAME_PASSWORD= before you invoke
-#
 
 # Example:
 #



[3/5] incubator-trafficcontrol git commit: Fixes item in datatables in TO

2017-05-26 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/64d6a71f/traffic_ops/app/public/js/jquery.dataTables.js
--
diff --git a/traffic_ops/app/public/js/jquery.dataTables.js 
b/traffic_ops/app/public/js/jquery.dataTables.js
index 9f068a8..e749018 100644
--- a/traffic_ops/app/public/js/jquery.dataTables.js
+++ b/traffic_ops/app/public/js/jquery.dataTables.js
@@ -1,15 +1,15 @@
-/*! DataTables 1.10.4
- * ©2008-2014 SpryMedia Ltd - datatables.net/license
+/*! DataTables 1.10.15
+ * ©2008-2017 SpryMedia Ltd - datatables.net/license
  */
 
 /**
  * @summary DataTables
  * @description Paginate, search and order HTML tables
- * @version 1.10.4
+ * @version 1.10.15
  * @filejquery.dataTables.js
- * @author  SpryMedia Ltd (www.sprymedia.co.uk)
- * @contact www.sprymedia.co.uk/contact
- * @copyright   Copyright 2008-2014 SpryMedia Ltd.
+ * @author  SpryMedia Ltd
+ * @contact www.datatables.net
+ * @copyright   Copyright 2008-2017 SpryMedia Ltd.
  *
  * This source file is free software, available under the following license:
  *   MIT license - http://datatables.net/license
@@ -22,28 +22,41 @@
  */
 
 /*jslint evil: true, undef: true, browser: true */
-/*globals 
$,require,jQuery,define,_selector_run,_selector_opts,_selector_first,_selector_row_indexes,_ext,_Api,_api_register,_api_registerPlural,_re_new_lines,_re_html,_re_formatted_numeric,_re_escape_regex,_empty,_intVal,_numToDecimal,_isNumber,_isHtml,_htmlNumeric,_pluck,_pluck_order,_range,_stripHtml,_unique,_fnBuildAjax,_fnAjaxUpdate,_fnAjaxParameters,_fnAjaxUpdateDraw,_fnAjaxDataSrc,_fnAddColumn,_fnColumnOptions,_fnAdjustColumnSizing,_fnVisibleToColumnIndex,_fnColumnIndexToVisible,_fnVisbleColumns,_fnGetColumns,_fnColumnTypes,_fnApplyColumnDefs,_fnHungarianMap,_fnCamelToHungarian,_fnLanguageCompat,_fnBrowserDetect,_fnAddData,_fnAddTr,_fnNodeToDataIndex,_fnNodeToColumnIndex,_fnGetCellData,_fnSetCellData,_fnSplitObjNotation,_fnGetObjectDataFn,_fnSetObjectDataFn,_fnGetDataMaster,_fnClearTable,_fnDeleteIndex,_fnInvalidate,_fnGetRowElements,_fnCreateTr,_fnBuildHead,_fnDrawHead,_fnDraw,_fnReDraw,_fnAddOptionsHtml,_fnDetectHeader,_fnGetUniqueThs,_fnFeatureHtmlFilter,_fnFilterComplete,
 
_fnFilterCustom,_fnFilterColumn,_fnFilter,_fnFilterCreateSearch,_fnEscapeRegex,_fnFilterData,_fnFeatureHtmlInfo,_fnUpdateInfo,_fnInfoMacros,_fnInitialise,_fnInitComplete,_fnLengthChange,_fnFeatureHtmlLength,_fnFeatureHtmlPaginate,_fnPageChange,_fnFeatureHtmlProcessing,_fnProcessingDisplay,_fnFeatureHtmlTable,_fnScrollDraw,_fnApplyToChildren,_fnCalculateColumnWidths,_fnThrottle,_fnConvertToWidth,_fnScrollingWidthAdjust,_fnGetWidestNode,_fnGetMaxLenString,_fnStringToCss,_fnScrollBarWidth,_fnSortFlatten,_fnSort,_fnSortAria,_fnSortListener,_fnSortAttachListener,_fnSortingClasses,_fnSortData,_fnSaveState,_fnLoadState,_fnSettingsFromNode,_fnLog,_fnMap,_fnBindAction,_fnCallbackReg,_fnCallbackFire,_fnLengthOverflow,_fnRenderer,_fnDataSource,_fnRowAttributes*/
-
-(/** @lends  */function( window, document, undefined ) {
+/*globals 
$,require,jQuery,define,_selector_run,_selector_opts,_selector_first,_selector_row_indexes,_ext,_Api,_api_register,_api_registerPlural,_re_new_lines,_re_html,_re_formatted_numeric,_re_escape_regex,_empty,_intVal,_numToDecimal,_isNumber,_isHtml,_htmlNumeric,_pluck,_pluck_order,_range,_stripHtml,_unique,_fnBuildAjax,_fnAjaxUpdate,_fnAjaxParameters,_fnAjaxUpdateDraw,_fnAjaxDataSrc,_fnAddColumn,_fnColumnOptions,_fnAdjustColumnSizing,_fnVisibleToColumnIndex,_fnColumnIndexToVisible,_fnVisbleColumns,_fnGetColumns,_fnColumnTypes,_fnApplyColumnDefs,_fnHungarianMap,_fnCamelToHungarian,_fnLanguageCompat,_fnBrowserDetect,_fnAddData,_fnAddTr,_fnNodeToDataIndex,_fnNodeToColumnIndex,_fnGetCellData,_fnSetCellData,_fnSplitObjNotation,_fnGetObjectDataFn,_fnSetObjectDataFn,_fnGetDataMaster,_fnClearTable,_fnDeleteIndex,_fnInvalidate,_fnGetRowElements,_fnCreateTr,_fnBuildHead,_fnDrawHead,_fnDraw,_fnReDraw,_fnAddOptionsHtml,_fnDetectHeader,_fnGetUniqueThs,_fnFeatureHtmlFilter,_fnFilterComplete,
 
_fnFilterCustom,_fnFilterColumn,_fnFilter,_fnFilterCreateSearch,_fnEscapeRegex,_fnFilterData,_fnFeatureHtmlInfo,_fnUpdateInfo,_fnInfoMacros,_fnInitialise,_fnInitComplete,_fnLengthChange,_fnFeatureHtmlLength,_fnFeatureHtmlPaginate,_fnPageChange,_fnFeatureHtmlProcessing,_fnProcessingDisplay,_fnFeatureHtmlTable,_fnScrollDraw,_fnApplyToChildren,_fnCalculateColumnWidths,_fnThrottle,_fnConvertToWidth,_fnGetWidestNode,_fnGetMaxLenString,_fnStringToCss,_fnSortFlatten,_fnSort,_fnSortAria,_fnSortListener,_fnSortAttachListener,_fnSortingClasses,_fnSortData,_fnSaveState,_fnLoadState,_fnSettingsFromNode,_fnLog,_fnMap,_fnBindAction,_fnCallbackReg,_fnCallbackFire,_fnLengthOverflow,_fnRenderer,_fnDataSource,_fnRowAttributes*/
 
 (function( factory ) {
"use strict";
 
if ( typeof define === 'function' && define.amd ) {
-   // Define as an AMD module if possible
-   

[2/5] incubator-trafficcontrol git commit: Fixes item in datatables in TO

2017-05-26 Thread friede
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/64d6a71f/traffic_ops/app/templates/layouts/jquery.html.ep
--
diff --git a/traffic_ops/app/templates/layouts/jquery.html.ep 
b/traffic_ops/app/templates/layouts/jquery.html.ep
index 0b22a6b..6781495 100644
--- a/traffic_ops/app/templates/layouts/jquery.html.ep
+++ b/traffic_ops/app/templates/layouts/jquery.html.ep
@@ -1,4 +1,5 @@
 

[1/5] incubator-trafficcontrol git commit: Reverted copyright header

2017-05-26 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x afd8fd304 -> bce12ae34


Reverted copyright header


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

Branch: refs/heads/2.0.x
Commit: 04b7f7c154f467d68819408f72172c89380e184d
Parents: 64d6a71
Author: PeterRyder 
Authored: Wed May 24 13:55:56 2017 -0400
Committer: Eric Friedrich 
Committed: Fri May 26 10:49:53 2017 -0400

--
 traffic_ops/app/templates/layouts/jquery.html.ep | 1 -
 1 file changed, 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/04b7f7c1/traffic_ops/app/templates/layouts/jquery.html.ep
--
diff --git a/traffic_ops/app/templates/layouts/jquery.html.ep 
b/traffic_ops/app/templates/layouts/jquery.html.ep
index 6781495..b3ecf65 100644
--- a/traffic_ops/app/templates/layouts/jquery.html.ep
+++ b/traffic_ops/app/templates/layouts/jquery.html.ep
@@ -1,5 +1,4 @@
 

[1/2] incubator-trafficcontrol git commit: The CCR DNS TTL field is now visible and editable in the UI

2017-05-24 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x d2aabcce8 -> afd8fd304


The CCR DNS TTL field is now visible and editable in the UI

(cherry picked from commit 85c6f18fe412387031aed9ab64971e3704c1a5b4)


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

Branch: refs/heads/2.0.x
Commit: a6fc4a46fa147fc5848ea7739775e5ce1cb437a9
Parents: d2aabcc
Author: David Neuman 
Authored: Wed May 24 13:05:38 2017 -0600
Committer: Eric Friedrich 
Committed: Wed May 24 15:24:30 2017 -0400

--
 traffic_ops/app/templates/delivery_service/_form.html.ep |  2 +-
 traffic_ops/app/templates/delivery_service/add.html.ep   |  8 
 traffic_ops/app/templates/delivery_service/edit.html.ep  | 10 --
 3 files changed, 9 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/a6fc4a46/traffic_ops/app/templates/delivery_service/_form.html.ep
--
diff --git a/traffic_ops/app/templates/delivery_service/_form.html.ep 
b/traffic_ops/app/templates/delivery_service/_form.html.ep
index 5f1cff5..98c1616 100644
--- a/traffic_ops/app/templates/delivery_service/_form.html.ep
+++ b/traffic_ops/app/templates/delivery_service/_form.html.ep
@@ -335,7 +335,7 @@
<% } %>
%= label_for 'ccr_dns_ttl' => 'Delivery Service DNS TTL', class 
=> 'label'
<% if ($priv_level >= 20) { %>
-   %= field('ds.ccr_dns_ttl')->text(class => 'field', id => 
'ccr_dns_ttl', name => 'ds.ccr_dns_ttl', value => 3600);
+   %= field('ds.ccr_dns_ttl')->text(class => 'field', id => 
'ccr_dns_ttl', name => 'ds.ccr_dns_ttl');
<% } else { %>
%= field('ds.ccr_dns_ttl')->text(class => 'field', readonly => 
'readonly');
<% } %>

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/a6fc4a46/traffic_ops/app/templates/delivery_service/add.html.ep
--
diff --git a/traffic_ops/app/templates/delivery_service/add.html.ep 
b/traffic_ops/app/templates/delivery_service/add.html.ep
index 085839e..9db32d5 100644
--- a/traffic_ops/app/templates/delivery_service/add.html.ep
+++ b/traffic_ops/app/templates/delivery_service/add.html.ep
@@ -104,6 +104,7 @@
$("#regexp_selector 
:nth-child(3)").removeAttr('disabled');
$("#regexp_selector 
:nth-child(4)").removeAttr('disabled');
$('#ccr_dns_ttl').val(3600);
+   $('#ccr_dns_ttl_row').show(speed);
$('#protocoli_row').show(speed);
$('#dscp_row').show(speed);
 $('#signed_row').show(speed);
@@ -118,7 +119,6 @@
 $('#dns_bypass_cname_row').hide(speed);
 $('#dns_bypass_ttl_row').show(speed);
 $('#max_dns_answers_row').hide(speed);
-$('#ccr_dns_ttl_row').hide(speed);
 $('#org_server_fqdn_row').show(speed);
 $('#global_max_mbps_row').show(speed);
 $('#global_max_tps_row').show(speed);
@@ -146,6 +146,7 @@
$("#regexp_selector 
:nth-child(3)").attr('disabled','disabled');
$("#regexp_selector 
:nth-child(4)").attr('disabled','disabled');
$('#ccr_dns_ttl').val(30);
+   $('#ccr_dns_ttl_row').show(speed);
$('#protocoli_row').show(speed);
 $('#dscp_row').show(speed);
 $('#signed_row').show(speed);
@@ -160,7 +161,6 @@
$('#dns_bypass_cname_row').show(speed);
 $('#dns_bypass_ttl_row').show(speed);
 $('#max_dns_answers_row').show(speed);
-$('#ccr_dns_ttl_row').hide(speed);
 $('#org_server_fqdn_row').show(speed);
 $('#global_max_mbps_row').show(speed);
 $('#global_max_tps_row').show(speed);
@@ -198,7 +198,7 @@
 $('#regional_geo_blocking_row').show(speed);
 $('#dns_bypass_ttl_row').hide(speed);
 $('#max_dns_answers_row').hide(speed);
-$('#ccr_dns_ttl_row').hide(speed);
+$('#ccr_dns_ttl_row').show(speed);
 $('#org_server_fqdn_row').hide(speed);
 $('#global_max_mbps_row').hide(speed);
 $('#global_max_tps_row').hide(speed);
@@ -236,7 +236,7 @@
$('#dns_bypass_cname_row').hide(speed);
 

[1/2] incubator-trafficcontrol git commit: upgrade jdk download for tm/tr build

2017-05-23 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x e94192910 -> d2aabcce8


upgrade jdk download for tm/tr build

(cherry picked from commit 3c79673851a1c3a7e8349b49673184ba853f1dcb)


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

Branch: refs/heads/2.0.x
Commit: a1bf6534af960601bb8c2cbcad21c6ac80603950
Parents: e941929
Author: Dan Kirkwood 
Authored: Tue May 23 10:03:52 2017 -0600
Committer: Dan Kirkwood 
Committed: Tue May 23 17:16:16 2017 +

--
 infrastructure/docker/build/Dockerfile-traffic_monitor | 2 +-
 infrastructure/docker/build/Dockerfile-traffic_router  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/a1bf6534/infrastructure/docker/build/Dockerfile-traffic_monitor
--
diff --git a/infrastructure/docker/build/Dockerfile-traffic_monitor 
b/infrastructure/docker/build/Dockerfile-traffic_monitor
index 985fa63..99023e1 100644
--- a/infrastructure/docker/build/Dockerfile-traffic_monitor
+++ b/infrastructure/docker/build/Dockerfile-traffic_monitor
@@ -36,7 +36,7 @@ RUN   yum -y install \
yum -y clean all
 
 WORKDIR /opt
-RUN curl -L -b "oraclelicense=a" 
http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
 | tar xzf - && \
+RUN curl -L -b "oraclelicense=a" 
http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
 | tar xzf - && \
 curl -L 
http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
 | tar xzf -
 RUN ln -s jdk* java && ln -s apache-maven* maven
 

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/a1bf6534/infrastructure/docker/build/Dockerfile-traffic_router
--
diff --git a/infrastructure/docker/build/Dockerfile-traffic_router 
b/infrastructure/docker/build/Dockerfile-traffic_router
index 5c6b278..653c97c 100644
--- a/infrastructure/docker/build/Dockerfile-traffic_router
+++ b/infrastructure/docker/build/Dockerfile-traffic_router
@@ -34,7 +34,7 @@ RUN   yum -y install \
which
 
 WORKDIR /opt
-RUN curl -L -b "oraclelicense=a" 
http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
 | tar xzf - && \
+RUN curl -L -b "oraclelicense=a" 
http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
 | tar xzf - && \
 curl -L 
http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
 | tar xzf -
 RUN ln -s jdk* java && ln -s apache-maven* maven
 



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

2017-05-23 Thread friede
This closes #603


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

Branch: refs/heads/2.0.x
Commit: d2aabcce8f81001e802e247f6b36cebae2bc680d
Parents: a1bf653
Author: Eric Friedrich 
Authored: Tue May 23 22:01:16 2017 -0400
Committer: Eric Friedrich 
Committed: Tue May 23 22:01:16 2017 -0400

--

--




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

2017-05-23 Thread friede
This closes #601


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

Branch: refs/heads/master
Commit: 4671f1b39f2525f534dd2367ee2375012a5d752b
Parents: 3c79673
Author: Eric Friedrich 
Authored: Tue May 23 13:01:16 2017 -0400
Committer: Eric Friedrich 
Committed: Tue May 23 13:01:16 2017 -0400

--

--




[1/2] incubator-trafficcontrol git commit: upgrade jdk download for tm/tr build

2017-05-23 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master 3c9f42b87 -> 4671f1b39


upgrade jdk download for tm/tr build


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

Branch: refs/heads/master
Commit: 3c79673851a1c3a7e8349b49673184ba853f1dcb
Parents: 3c9f42b
Author: Dan Kirkwood 
Authored: Tue May 23 10:03:52 2017 -0600
Committer: Dan Kirkwood 
Committed: Tue May 23 10:03:52 2017 -0600

--
 infrastructure/docker/build/Dockerfile-traffic_monitor | 2 +-
 infrastructure/docker/build/Dockerfile-traffic_router  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3c796738/infrastructure/docker/build/Dockerfile-traffic_monitor
--
diff --git a/infrastructure/docker/build/Dockerfile-traffic_monitor 
b/infrastructure/docker/build/Dockerfile-traffic_monitor
index 985fa63..99023e1 100644
--- a/infrastructure/docker/build/Dockerfile-traffic_monitor
+++ b/infrastructure/docker/build/Dockerfile-traffic_monitor
@@ -36,7 +36,7 @@ RUN   yum -y install \
yum -y clean all
 
 WORKDIR /opt
-RUN curl -L -b "oraclelicense=a" 
http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
 | tar xzf - && \
+RUN curl -L -b "oraclelicense=a" 
http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
 | tar xzf - && \
 curl -L 
http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
 | tar xzf -
 RUN ln -s jdk* java && ln -s apache-maven* maven
 

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3c796738/infrastructure/docker/build/Dockerfile-traffic_router
--
diff --git a/infrastructure/docker/build/Dockerfile-traffic_router 
b/infrastructure/docker/build/Dockerfile-traffic_router
index 5c6b278..653c97c 100644
--- a/infrastructure/docker/build/Dockerfile-traffic_router
+++ b/infrastructure/docker/build/Dockerfile-traffic_router
@@ -34,7 +34,7 @@ RUN   yum -y install \
which
 
 WORKDIR /opt
-RUN curl -L -b "oraclelicense=a" 
http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
 | tar xzf - && \
+RUN curl -L -b "oraclelicense=a" 
http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
 | tar xzf - && \
 curl -L 
http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
 | tar xzf -
 RUN ln -s jdk* java && ln -s apache-maven* maven
 



[1/4] incubator-trafficcontrol git commit: change ownership of build artifacts in dist/. when build complete

2017-05-22 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x 05664d615 -> e94192910


change ownership of build artifacts in dist/. when build complete

(cherry picked from commit 5c8d1e4546cca4c5c2a8de20d78966c418637837)


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

Branch: refs/heads/2.0.x
Commit: 681d1e169505881cdeff1a4e069dcf34839780ea
Parents: dea1e91
Author: Dan Kirkwood 
Authored: Mon May 22 13:25:42 2017 -0600
Committer: Eric Friedrich 
Committed: Mon May 22 22:10:32 2017 -0400

--
 infrastructure/docker/build/clean_build.sh | 23 +--
 1 file changed, 21 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/681d1e16/infrastructure/docker/build/clean_build.sh
--
diff --git a/infrastructure/docker/build/clean_build.sh 
b/infrastructure/docker/build/clean_build.sh
index 86fc7d7..b2b749b 100755
--- a/infrastructure/docker/build/clean_build.sh
+++ b/infrastructure/docker/build/clean_build.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
 
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -12,9 +12,28 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+
+# Fix ownership of output files
+#  $1 is file or dir with correct ownership
+#  remaining args are files/dirs to be fixed, recursively
+setowner() {
+own=$(stat -c '%u:%g' $1)
+shift
+[[ -n $@ ]] && chown -R ${own} "$@"
+}
+
+cleanup() {
+setowner /trafficcontrol /trafficcontrol/dist
+}
+
+trap cleanup EXIT
+
 set -x
+
+# set owner of dist dir -- cleans up existing dist permissions...
+cleanup
 cp -a /trafficcontrol /tmp/. && \
cd /tmp/trafficcontrol && \
rm -rf dist && \
-   ln -fs /trafficcontrol/dist dist &&
+   ln -fs /trafficcontrol/dist dist && \
./build/build.sh $1 2>&1; echo $? >&3) | tee ./dist/build-$1.log 
>&4) 3>&1) | (read x; exit $x)) 4>&1



[2/4] incubator-trafficcontrol git commit: Fixing licensing issues for bash build scripts.

2017-05-22 Thread friede
Fixing licensing issues for bash build scripts.

(cherry picked from commit db88e83124eed190662336ef45e5f497ff5a77e1)


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

Branch: refs/heads/2.0.x
Commit: dea1e914b79637ebbfcc2e429a6a0b2478c5f1ad
Parents: 7604dfb
Author: Chris Lemmons 
Authored: Mon May 15 14:56:15 2017 -0600
Committer: Eric Friedrich 
Committed: Mon May 22 22:10:32 2017 -0400

--
 infrastructure/docker/build/clean_build.sh | 12 
 pkg| 12 
 2 files changed, 24 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/dea1e914/infrastructure/docker/build/clean_build.sh
--
diff --git a/infrastructure/docker/build/clean_build.sh 
b/infrastructure/docker/build/clean_build.sh
index 02bfec5..86fc7d7 100755
--- a/infrastructure/docker/build/clean_build.sh
+++ b/infrastructure/docker/build/clean_build.sh
@@ -1,5 +1,17 @@
 #!/usr/bin/env sh
 
+# 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.
+
 set -x
 cp -a /trafficcontrol /tmp/. && \
cd /tmp/trafficcontrol && \

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/dea1e914/pkg
--
diff --git a/pkg b/pkg
index 818d71e..fe195b4 100755
--- a/pkg
+++ b/pkg
@@ -1,5 +1,17 @@
 #!/usr/bin/env bash
 
+# 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.
+
 # Files are relative to this script directory.
 SELF="${BASH_SOURCE[0]}"
 cd "$( dirname "${BASH_SOURCE[0]}" )"



[4/4] incubator-trafficcontrol git commit: This closes #600

2017-05-22 Thread friede
This closes #600


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

Branch: refs/heads/2.0.x
Commit: e94192910b52c704a4bbf7544e6c30371b927807
Parents: 681d1e1
Author: Eric Friedrich 
Authored: Mon May 22 22:10:43 2017 -0400
Committer: Eric Friedrich 
Committed: Mon May 22 22:10:43 2017 -0400

--

--




[3/4] incubator-trafficcontrol git commit: Add global build script.

2017-05-22 Thread friede
Add global build script.

This splits out the somewhat messy docker build command into its own script and 
adds a global build script.
There’s still work to be done to clean up docker build scripts, but this 
provides a basic way to build top to bottom
In a single, simple command.

This is a step toward addressing TC-180, but falls short of cleaning up 
everything that requires cleaning up.

(cherry picked from commit 63c019e9a2372d704ec68b6c9956d8a9ffed552b)


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

Branch: refs/heads/2.0.x
Commit: 7604dfb7bba43c7485394a4523c1541a9143a761
Parents: 05664d6
Author: Chris Lemmons 
Authored: Fri Mar 10 11:18:57 2017 -0700
Committer: Eric Friedrich 
Committed: Mon May 22 22:10:32 2017 -0400

--
 .gitignore  |  1 +
 .../docker/build/Dockerfile-traffic_monitor |  7 +-
 .../build/Dockerfile-traffic_monitor_golang |  8 +--
 .../docker/build/Dockerfile-traffic_ops |  7 +-
 .../docker/build/Dockerfile-traffic_portal  |  7 +-
 .../docker/build/Dockerfile-traffic_router  |  7 +-
 .../docker/build/Dockerfile-traffic_stats   |  7 +-
 infrastructure/docker/build/clean_build.sh  |  8 +++
 pkg | 72 
 9 files changed, 93 insertions(+), 31 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7604dfb7/.gitignore
--
diff --git a/.gitignore b/.gitignore
index 834456e..aa8a73d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,4 @@ misc/traffic-control-cdn/downloads/*.rpm
 traffic_router/*/*.log
 traffic_router/*.log
 .dbInfo
+/dist

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7604dfb7/infrastructure/docker/build/Dockerfile-traffic_monitor
--
diff --git a/infrastructure/docker/build/Dockerfile-traffic_monitor 
b/infrastructure/docker/build/Dockerfile-traffic_monitor
index 0341f21..985fa63 100644
--- a/infrastructure/docker/build/Dockerfile-traffic_monitor
+++ b/infrastructure/docker/build/Dockerfile-traffic_monitor
@@ -48,10 +48,7 @@ RUN alternatives --install /usr/bin/java java 
/opt/java/bin/java 2 && \
 alternatives --set javac /opt/java/bin/javac && \
 alternatives --install /usr/bin/mvn mvn /opt/maven/bin/mvn 1
 
-CMD set -x; cp -a /trafficcontrol /tmp/. && \
-   cd /tmp/trafficcontrol && rm -rf dist && mkdir -p dist && \
-   ./build/build.sh traffic_monitor 2>&1 | tee 
./dist/build-traffic_monitor.log && \
-   mkdir -p /trafficcontrol/dist && \
-   cp dist/*traffic_monitor* /trafficcontrol/dist
+ADD infrastructure/docker/build/clean_build.sh /
+CMD /clean_build.sh traffic_monitor
 
 # vi:syntax=Dockerfile

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7604dfb7/infrastructure/docker/build/Dockerfile-traffic_monitor_golang
--
diff --git a/infrastructure/docker/build/Dockerfile-traffic_monitor_golang 
b/infrastructure/docker/build/Dockerfile-traffic_monitor_golang
index 52d2dd0..aa44bef 100644
--- a/infrastructure/docker/build/Dockerfile-traffic_monitor_golang
+++ b/infrastructure/docker/build/Dockerfile-traffic_monitor_golang
@@ -35,11 +35,7 @@ RUN  yum -y install \
yum -y clean all
 ###
 
-CMD set -x; cp -a /trafficcontrol /tmp/. && \
-   cd /tmp/trafficcontrol && rm -rf dist && mkdir -p dist && \
-   ./build/build.sh traffic_monitor_golang 2>&1 | tee 
./dist/build-traffic_monitor_golang.log && \
-   mkdir -p /trafficcontrol/dist && \
-   cp dist/*traffic_monitor_golang* /trafficcontrol/dist
-
+ADD infrastructure/docker/build/clean_build.sh /
+CMD /clean_build.sh traffic_monitor_golang
 
 # vi:syntax=Dockerfile

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7604dfb7/infrastructure/docker/build/Dockerfile-traffic_ops
--
diff --git a/infrastructure/docker/build/Dockerfile-traffic_ops 
b/infrastructure/docker/build/Dockerfile-traffic_ops
index 82dc1a7..107480d 100644
--- a/infrastructure/docker/build/Dockerfile-traffic_ops
+++ b/infrastructure/docker/build/Dockerfile-traffic_ops
@@ -41,10 +41,7 @@ RUN  yum -y install \
tar && \
yum -y clean all
 
-CMD set -x; cp -a /trafficcontrol /tmp/. && \
-   cd /tmp/trafficcontrol && rm -rf dist && mkdir -p dist 

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

2017-05-22 Thread friede
 This closes #599


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

Branch: refs/heads/2.0.x
Commit: 05664d615b5d05a40182897005b0ddf8ffa8446d
Parents: f2f68ba
Author: Eric Friedrich 
Authored: Mon May 22 22:03:52 2017 -0400
Committer: Eric Friedrich 
Committed: Mon May 22 22:03:52 2017 -0400

--

--




[1/2] incubator-trafficcontrol git commit: license fixes to be backported to 2.0.x

2017-05-22 Thread friede
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x 3dc54551f -> 05664d615


license fixes to be backported to 2.0.x

(cherry picked from commit 1ddcd73418bf17450a194cd767370c09763ed1fa)


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

Branch: refs/heads/2.0.x
Commit: f2f68ba7ffcae34b5e31b800aa53c8be44334317
Parents: 3dc5455
Author: Dan Kirkwood 
Authored: Fri May 19 16:54:39 2017 -0600
Committer: Eric Friedrich 
Committed: Mon May 22 22:03:46 2017 -0400

--
 .rat-excludes|  1 +
 traffic_monitor_golang/common/util/num.go| 19 +++
 .../traffic_monitor/crconfig/data.go | 19 +++
 traffic_ops/app/db/pg-migration/runwaiter.sh | 16 
 4 files changed, 55 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f2f68ba7/.rat-excludes
--
diff --git a/.rat-excludes b/.rat-excludes
index 116bf91..630c216 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -5,6 +5,7 @@ VERSION(?:   This very short file 
doesn't support commen
 .*\.css\.map(?:  debug files for minified css. License 
borne by source. ){0}
 \..*(?:  hidden files ought not to be code. These 
are generally things like projects, ignore files and such. ){0}
 LICEN[SC]E.*(?:  Licenses do not usually require 
meta-licenses. ){0}
+^licenses/*(?: Licenses do not usually require 
meta-licenses. ){0}
 .*\.conf(?:ig)?(?:\.?.*)?(?: Config files aren't code and don't 
typically require licenses. ){0}
 .*\.cfg(?:   config file ){0}
 .*\.logrotate(?: config file ){0}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f2f68ba7/traffic_monitor_golang/common/util/num.go
--
diff --git a/traffic_monitor_golang/common/util/num.go 
b/traffic_monitor_golang/common/util/num.go
index 4db2cf9..f87531f 100644
--- a/traffic_monitor_golang/common/util/num.go
+++ b/traffic_monitor_golang/common/util/num.go
@@ -1,5 +1,24 @@
 package util
 
+/*
+ * 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.
+ */
+
 // ToNumeric returns a float for any numeric type, and false if the interface 
does not hold a numeric type.
 // This allows converting unknown numeric types (for example, from JSON) in a 
single line
 // TODO try to parse string stats as numbers?

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f2f68ba7/traffic_monitor_golang/traffic_monitor/crconfig/data.go
--
diff --git a/traffic_monitor_golang/traffic_monitor/crconfig/data.go 
b/traffic_monitor_golang/traffic_monitor/crconfig/data.go
index ff60155..8069146 100644
--- a/traffic_monitor_golang/traffic_monitor/crconfig/data.go
+++ b/traffic_monitor_golang/traffic_monitor/crconfig/data.go
@@ -1,5 +1,24 @@
 package crconfig
 
+/*
+ * 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 

  1   2   3   >