[jira] [Created] (TC-363) TrafficOps: cacheurl_qstring.conf file is not generated when qstringIgnore=1 and location profile parameter is missing for edge/mid cache

2017-06-01 Thread Robert Scrimo (JIRA)
Robert Scrimo created TC-363:


 Summary: TrafficOps: cacheurl_qstring.conf file is not generated 
when qstringIgnore=1 and location profile parameter is missing for edge/mid 
cache
 Key: TC-363
 URL: https://issues.apache.org/jira/browse/TC-363
 Project: Traffic Control
  Issue Type: Bug
Affects Versions: 2.1.0
Reporter: Robert Scrimo


{{cacheurl_qstring.conf}} file is not generated when {{qstringIgnore=1}} and 
{{location}} profile parameter for config file {{cacheurl_qstring.config}} is 
missing for edge/mid cache profile.  This is a issue because {{remap.config}} 
references this non-existent file.

{quote}
e.g. maphttp://edge-cache.http-ds.mycdn.somedomain.com/ 
http://origin-server.somedomain.com/ @plugin=header_rewrite.so 
@pparam=dscp/set_dscp_0.config @plugin=cacheurl.so 
@pparam=cacheurl_qstring.config
{quote}

The workaround is to add {{location}} parameter for {{cacheurl_qstring.config}} 
config file to the edge/mid cache profile. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #640: fixes broken user test

2017-06-01 Thread mitchell852
GitHub user mitchell852 opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/640

fixes broken user test



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mitchell852/incubator-trafficcontrol 
fixes-broken-user-test

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/640.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #640


commit 71e67ac81a4fe8abdfde3d3cef94ebbdb53fbb47
Author: Jeremy Mitchell 
Date:   2017-06-01T22:12:17Z

fixes broken user test




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (TC-362) TO API - create API endpoint to update server status

2017-06-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16033767#comment-16033767
 ] 

ASF GitHub Bot commented on TC-362:
---

GitHub user mitchell852 opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/639

[TC-362] - adds api for updating server status and ties it into new UI



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mitchell852/incubator-trafficcontrol 
tc-362-update-status

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/639.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #639


commit deb1414f39a719ed8f9b0744535bc49b950138da
Author: Jeremy Mitchell 
Date:   2017-06-01T21:45:08Z

adds api for updating server status and ties it into new UI




> TO API - create API endpoint to update server status
> 
>
> Key: TC-362
> URL: https://issues.apache.org/jira/browse/TC-362
> Project: Traffic Control
>  Issue Type: New Feature
>  Components: Traffic Ops API
>Reporter: Jeremy Mitchell
>Assignee: Jeremy Mitchell
>Priority: Minor
>
> PUT /api/1.2/servers/:id/status
> { status: id/name, offlineReason: '' }
> if status is OFFLINE or ADMIN_DOWN, then offlineReason is required.
> if server.type is ^EDGE or ^MID, then queue updates on server plus children



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #639: [TC-362] - adds api for updating...

2017-06-01 Thread mitchell852
GitHub user mitchell852 opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/639

[TC-362] - adds api for updating server status and ties it into new UI



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mitchell852/incubator-trafficcontrol 
tc-362-update-status

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/639.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #639


commit deb1414f39a719ed8f9b0744535bc49b950138da
Author: Jeremy Mitchell 
Date:   2017-06-01T21:45:08Z

adds api for updating server status and ties it into new UI




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (TC-184) Tenant Hierarchy

2017-06-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16033717#comment-16033717
 ] 

ASF GitHub Bot commented on TC-184:
---

Github user nir-sopher commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/403
  
Rebase was done.
The below tests are failing regardless to the PR
t/api/1.1/deliveryservice/ssl_keys.t t/user.t t/deliveryserviceserver.t 
t/api/1.2/deliveryservice_server.t


> Tenant Hierarchy
> 
>
> Key: TC-184
> URL: https://issues.apache.org/jira/browse/TC-184
> Project: Traffic Control
>  Issue Type: New Feature
>  Components: Traffic Ops
>Reporter: Ryan Durfey
>  Labels: Access, Tenancy
>
> Design under discussion here: 
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=68715910
> The requirements below are seed requirements and final design guidance should 
> defer to the evolving wiki page discussion referenced above.
> Overview
> The goal of this system is to create a hierarchical tenancy system which is 
> very simple to understand and administer and is highly expandable so that 
> large organizations with many subsidiaries have the flexibility to create 
> child-tenants to their liking.  
> General Seed Requirements
> 1. Provide a structure to create a hierarchy of Tenants where each Tenant has 
> a single parent-Tenant and can have multiple child-Tenants
> 2. Provide the ability to group multiple Delivery Services, Users, and child- 
> Tenants under each Tenant
> 3. Provide the ability to create at least 10 child-Tenant layers within the 
> system
> 4. Make it easy to assign a User to a single Tenant so that they inherit 
> their permissions to all child-Tenants and Delivery Services. 
> 5. Adding child-Tenants or Delivery Services anywhere in an existing tenant 
> hierarchy does not require re-assigning users.  Users inherit pre-defined 
> permissions to new tenants and services added below their assigned layer in 
> the tenancy tree.
> 6. Allow Users  to be assigned multiple Tenants, each with different Roles.  
> While a user would inherit their access to all services and child Tenants 
> below them, they may need more restrictive access further up the Tenant 
> hierarchy or they may want different access to another branch of the tenant 
> tree.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol issue #403: [TC-184] Org tenancy - delivery service...

2017-06-01 Thread nir-sopher
Github user nir-sopher commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/403
  
Rebase was done.
The below tests are failing regardless to the PR
t/api/1.1/deliveryservice/ssl_keys.t t/user.t t/deliveryserviceserver.t 
t/api/1.2/deliveryservice_server.t


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (TC-121) Parametrized traffic-server configuration

2017-06-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16033627#comment-16033627
 ] 

ASF GitHub Bot commented on TC-121:
---

Github user nir-sopher commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/230
  
PR was rebased so it cam be merged. However, it still needs to be verified 
again by adding a record to  records.config and checking the value


> Parametrized traffic-server configuration
> -
>
> Key: TC-121
> URL: https://issues.apache.org/jira/browse/TC-121
> Project: Traffic Control
>  Issue Type: Improvement
>  Components: Traffic Ops
>Reporter: Nir Sopher
>Priority: Minor
>
> We would like to allow an individual traffic-server configuration, dervied 
> from its profile as well as its specific configuration.
> For example, set the traffic-server to listen the configured IP by setting  
> proxy-local-incoming-ip-to-bind value.
> In order to do so, variables should be embedded within profile variables 
> values.
> For example:  __CACHE_IPV4__ and  __CACHE_IPV6__ 
> Future variables to discuss: http/s ports, hostname, domain



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol issue #230: [TC-121] Allowing variables in traffic-...

2017-06-01 Thread nir-sopher
Github user nir-sopher commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/230
  
PR was rebased so it cam be merged. However, it still needs to be verified 
again by adding a record to  records.config and checking the value


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafficcontrol issue #370: Adding a "create user" to the api

2017-06-01 Thread nir-sopher
Github user nir-sopher commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/370
  
The change of the "role" broke the UT and was reverted.
It changes current behavior of user-update.
I prefer not to make such changes in this PR


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafficcontrol issue #370: Adding a "create user" to the api

2017-06-01 Thread nir-sopher
Github user nir-sopher commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/370
  
Rebase was done a PR review changes were made, except for a test for 
"username" in the beginning of the create function. The test is done as the 
value is in use by the function logic.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Build failed in Jenkins: incubator-trafficcontrol-rat #47

2017-06-01 Thread Apache Jenkins Server
See 


--
Started by upstream project "incubator-trafficcontrol-master-build" build 
number 48
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-eu3 (ubuntu xenial) in workspace 

[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson6955162769355914882.sh
+ rm -rf ' 
'
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' 
from 'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 
'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build:
[operations-center-context]   trafficcontrol-incubating-2.1.0.tar.gz
[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson3656529498396332085.sh
+ set -exu
++ ls trafficcontrol-incubating-2.1.0.tar.gz
+ tarball=trafficcontrol-incubating-2.1.0.tar.gz
+ tar xzf trafficcontrol-incubating-2.1.0.tar.gz
++ pwd
++ basename trafficcontrol-incubating-2.1.0.tar.gz .tar.gz
+ 
tcdir=
+ cd 

++ date +%Y
+ grep 'Copyright 2017 The Apache Software Foundation' NOTICE
Copyright 2017 The Apache Software Foundation
+ set +x
Searching for class files:
PASSED: No class files found.
Searching for jar files:
PASSED: No jar files found.
Searching for tar files:
PASSED: No tar files found.
Searching for tgz files:
PASSED: No tgz files found.
Searching for zip files:
PASSED: No zip files found.
+ ratver=apache-rat-0.13-20170427.032418-37.jar
++ mktemp -d
+ ratdir=/tmp/tmp.0ogTBrOTKb
+ ratjar=/tmp/tmp.0ogTBrOTKb/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.0ogTBrOTKb/apache-rat-0.13.SNAPSHOT.jar 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0  
0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0100 
1587k  100 1587k0 0  1288k  0  0:00:01  0:00:01 --:--:-- 1289k
+ curl -L -o /tmp/tmp.0ogTBrOTKb/apache-rat-0.13.SNAPSHOT.jar.sha1 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar.sha1
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 
010040  100400 0 64  0 --:--:-- --:--:-- --:--:--64
++ sha1sum /tmp/tmp.0ogTBrOTKb/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.0ogTBrOTKb/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ ac5cfd859902d5c858baed8dbcf91c014ce9ae23 == 
ac5cfd859902d5c858baed8dbcf91c014ce9ae23 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.0ogTBrOTKb/apache-rat-0.13.SNAPSHOT.jar -E 

 -d 

+ rm -rf /tmp/tmp.0ogTBrOTKb
++ perl -lne 'print if /\(\d+\) Unknown Licenses/' ratreport.txt
+ unknown=
+ [[ '' != 0 ]]
+ echo ' Unknown Licenses'
 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' 
ratreport.txt
+ sed s:::
Files with unapproved licenses:

  trafficcontrol-incubating-2.1.0/BUILD_NUMBER
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/auth/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/loading.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/theme.scss
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/webfront/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/webfront/simpleserver/server.key
  trafficcontrol-incubating-2.1.0/traffic_portal/app/src/styles/loading.scss
  
trafficcontrol-incubating-2.1.0/traffic_stats/vendor/github.com/influxdata/influxdb/client/v2/client.go
  
trafficcontrol-incubating-2.1.0/traffic_stats/vendor/github.com/influxdata/influxdb/client/v2/udp.go
  

[jira] [Created] (TC-362) TO API - create API endpoint to update server status

2017-06-01 Thread Jeremy Mitchell (JIRA)
Jeremy Mitchell created TC-362:
--

 Summary: TO API - create API endpoint to update server status
 Key: TC-362
 URL: https://issues.apache.org/jira/browse/TC-362
 Project: Traffic Control
  Issue Type: New Feature
  Components: Traffic Ops API
Reporter: Jeremy Mitchell
Assignee: Jeremy Mitchell
Priority: Minor


PUT /api/1.2/servers/:id/status

{ status: id/name, offlineReason: '' }

if status is OFFLINE or ADMIN_DOWN, then offlineReason is required.

if server.type is ^EDGE or ^MID, then queue updates on server plus children



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Build failed in Jenkins: incubator-trafficcontrol-rat #46

2017-06-01 Thread Apache Jenkins Server
See 


--
Started by upstream project "incubator-trafficcontrol-master-build" build 
number 47
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-4 (ubuntu trusty) in workspace 

[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson9083800152335500289.sh
+ rm -rf 

 

 '
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' 
from 'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 
'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build:
[operations-center-context]   trafficcontrol-incubating-2.1.0.tar.gz
[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson2595926730937569921.sh
+ set -exu
++ ls trafficcontrol-incubating-2.1.0.tar.gz
+ tarball=trafficcontrol-incubating-2.1.0.tar.gz
+ tar xzf trafficcontrol-incubating-2.1.0.tar.gz
++ pwd
++ basename trafficcontrol-incubating-2.1.0.tar.gz .tar.gz
+ 
tcdir=
+ cd 

++ date +%Y
+ grep 'Copyright 2017 The Apache Software Foundation' NOTICE
Copyright 2017 The Apache Software Foundation
+ set +x
Searching for class files:
PASSED: No class files found.
Searching for jar files:
PASSED: No jar files found.
Searching for tar files:
PASSED: No tar files found.
Searching for tgz files:
PASSED: No tgz files found.
Searching for zip files:
PASSED: No zip files found.
+ ratver=apache-rat-0.13-20170427.032418-37.jar
++ mktemp -d
+ ratdir=/tmp/tmp.mBmmMB6ykP
+ ratjar=/tmp/tmp.mBmmMB6ykP/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.mBmmMB6ykP/apache-rat-0.13.SNAPSHOT.jar 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0  
2 1587k2 409600 0  71012  0  0:00:22 --:--:--  0:00:22 70987100 
1587k  100 1587k0 0  1721k  0 --:--:-- --:--:-- --:--:-- 1721k
+ curl -L -o /tmp/tmp.mBmmMB6ykP/apache-rat-0.13.SNAPSHOT.jar.sha1 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar.sha1
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 
010040  100400 0 98  0 --:--:-- --:--:-- --:--:--98
++ sha1sum /tmp/tmp.mBmmMB6ykP/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.mBmmMB6ykP/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ ac5cfd859902d5c858baed8dbcf91c014ce9ae23 == 
ac5cfd859902d5c858baed8dbcf91c014ce9ae23 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.mBmmMB6ykP/apache-rat-0.13.SNAPSHOT.jar -E 

 -d 

+ rm -rf /tmp/tmp.mBmmMB6ykP
++ perl -lne 'print if /\(\d+\) Unknown Licenses/' ratreport.txt
+ unknown=
+ [[ '' != 0 ]]
+ echo ' Unknown Licenses'
 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' 
ratreport.txt
+ sed s:::
Files with unapproved licenses:

  trafficcontrol-incubating-2.1.0/BUILD_NUMBER
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/auth/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/loading.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/theme.scss
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/webfront/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/webfront/simpleserver/server.key
  trafficcontrol-incubating-2.1.0/traffic_portal/app/src/styles/loading.scss
  
trafficcontrol-incubating-2.1.0/traffic_stats/vendor/github.com/influxdata/influxdb/client/v2/client.go
  

[jira] [Commented] (TC-64) TO experimental SPA application

2017-06-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16033353#comment-16033353
 ] 

ASF GitHub Bot commented on TC-64:
--

Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/638


> TO experimental SPA application
> ---
>
> Key: TC-64
> URL: https://issues.apache.org/jira/browse/TC-64
> Project: Traffic Control
>  Issue Type: Improvement
>  Components: Traffic Ops, Traffic Ops API
>Reporter: Jeremy Mitchell
>Assignee: Jeremy Mitchell
>Priority: Minor
>
> At the 2016 Traffic Control summit, a prototype of a SPA application 
> developed by [~mitchell...@apache.org] using AngularJS was demo'd that works 
> entirely on top of the TO API.
> This issue is a placeholder for any work done to this prototype / 
> experimental UI. The goal is to replicate the functionality of the current 
> MVC TO UI. nothing more, nothing less.
> This will require some additions to the TO API. look for issues regarding 
> each API addition.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #638: [TC-64] - to exp - ui tweaks

2017-06-01 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/638


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (TC-64) TO experimental SPA application

2017-06-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16033343#comment-16033343
 ] 

ASF GitHub Bot commented on TC-64:
--

GitHub user mitchell852 opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/638

[TC-64] - to exp - ui tweaks



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mitchell852/incubator-trafficcontrol 
tc-64-ui-tweaks

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/638.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #638


commit 66b4164b169703f42403b3649b5f5ff84273d739
Author: Jeremy Mitchell 
Date:   2017-05-30T21:35:31Z

updates default table size

commit 4b19daf8c7799e25967399f5219271d913a195e4
Author: Jeremy Mitchell 
Date:   2017-05-31T03:46:38Z

ui tweaks (i know great commit message huh?)




> TO experimental SPA application
> ---
>
> Key: TC-64
> URL: https://issues.apache.org/jira/browse/TC-64
> Project: Traffic Control
>  Issue Type: Improvement
>  Components: Traffic Ops, Traffic Ops API
>Reporter: Jeremy Mitchell
>Assignee: Jeremy Mitchell
>Priority: Minor
>
> At the 2016 Traffic Control summit, a prototype of a SPA application 
> developed by [~mitchell...@apache.org] using AngularJS was demo'd that works 
> entirely on top of the TO API.
> This issue is a placeholder for any work done to this prototype / 
> experimental UI. The goal is to replicate the functionality of the current 
> MVC TO UI. nothing more, nothing less.
> This will require some additions to the TO API. look for issues regarding 
> each API addition.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #638: [TC-64] - to exp - ui tweaks

2017-06-01 Thread mitchell852
GitHub user mitchell852 opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/638

[TC-64] - to exp - ui tweaks



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mitchell852/incubator-trafficcontrol 
tc-64-ui-tweaks

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/638.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #638


commit 66b4164b169703f42403b3649b5f5ff84273d739
Author: Jeremy Mitchell 
Date:   2017-05-30T21:35:31Z

updates default table size

commit 4b19daf8c7799e25967399f5219271d913a195e4
Author: Jeremy Mitchell 
Date:   2017-05-31T03:46:38Z

ui tweaks (i know great commit message huh?)




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafficcontrol pull request #637: removed scripts

2017-06-01 Thread ashish-timilsina
GitHub user ashish-timilsina opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/637

removed scripts



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/ashish-timilsina/incubator-trafficcontrol 
master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/637.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #637


commit b7bc064f5beceeec93af15934d08d7dbe3fc7a42
Author: Ashish Timilsina 
Date:   2017-06-01T17:22:29Z

removed scripts




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Build failed in Jenkins: incubator-trafficcontrol-rat #45

2017-06-01 Thread Apache Jenkins Server
See 


--
Started by upstream project "incubator-trafficcontrol-master-build" build 
number 46
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-4 (ubuntu trusty) in workspace 

[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson7457110298147660144.sh
+ rm -rf 

 

 '
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' 
from 'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 
'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build:
[operations-center-context]   trafficcontrol-incubating-2.1.0.tar.gz
[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson8573786847140289938.sh
+ set -exu
++ ls trafficcontrol-incubating-2.1.0.tar.gz
+ tarball=trafficcontrol-incubating-2.1.0.tar.gz
+ tar xzf trafficcontrol-incubating-2.1.0.tar.gz
++ pwd
++ basename trafficcontrol-incubating-2.1.0.tar.gz .tar.gz
+ 
tcdir=
+ cd 

++ date +%Y
+ grep 'Copyright 2017 The Apache Software Foundation' NOTICE
Copyright 2017 The Apache Software Foundation
+ set +x
Searching for class files:
PASSED: No class files found.
Searching for jar files:
PASSED: No jar files found.
Searching for tar files:
PASSED: No tar files found.
Searching for tgz files:
PASSED: No tgz files found.
Searching for zip files:
PASSED: No zip files found.
+ ratver=apache-rat-0.13-20170427.032418-37.jar
++ mktemp -d
+ ratdir=/tmp/tmp.31GMJYNhgN
+ ratjar=/tmp/tmp.31GMJYNhgN/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.31GMJYNhgN/apache-rat-0.13.SNAPSHOT.jar 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0  
0 1587k0 00 0  0  0 --:--:-- --:--:-- --:--:-- 0100 
1587k  100 1587k0 0  1740k  0 --:--:-- --:--:-- --:--:-- 1740k
+ curl -L -o /tmp/tmp.31GMJYNhgN/apache-rat-0.13.SNAPSHOT.jar.sha1 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar.sha1
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0  
0400 00 0  0  0 --:--:-- --:--:-- --:--:-- 0100 
   40  100400 0 99  0 --:--:-- --:--:-- --:--:--99
++ sha1sum /tmp/tmp.31GMJYNhgN/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.31GMJYNhgN/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ ac5cfd859902d5c858baed8dbcf91c014ce9ae23 == 
ac5cfd859902d5c858baed8dbcf91c014ce9ae23 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.31GMJYNhgN/apache-rat-0.13.SNAPSHOT.jar -E 

 -d 

+ rm -rf /tmp/tmp.31GMJYNhgN
++ perl -lne 'print if /\(\d+\) Unknown Licenses/' ratreport.txt
+ unknown=
+ [[ '' != 0 ]]
+ echo ' Unknown Licenses'
 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' 
ratreport.txt
+ sed s:::
Files with unapproved licenses:

  trafficcontrol-incubating-2.1.0/BUILD_NUMBER
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/auth/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/loading.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/theme.scss
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/webfront/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/webfront/simpleserver/server.key
  trafficcontrol-incubating-2.1.0/traffic_portal/app/src/styles/loading.scss
  

[jira] [Resolved] (TC-359) TO API - Cannot update user thru the api

2017-06-01 Thread Jeremy Mitchell (JIRA)

 [ 
https://issues.apache.org/jira/browse/TC-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeremy Mitchell resolved TC-359.

Resolution: Fixed

> TO API - Cannot update user thru the api
> 
>
> Key: TC-359
> URL: https://issues.apache.org/jira/browse/TC-359
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops API
>Reporter: Jeremy Mitchell
>Assignee: Jeremy Mitchell
>
> If you try to update a user using the API (PUT /api/*/users/:id) you'll 
> always get:
> email is taken
> username is taken
> this is because email and username are unique so a search is performed to see 
> if anyone is using email or username but it does not exclude the user your 
> are trying to edit from that search.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (TC-355) Checks needed to prevent profiles and servers having different CDNs assigned

2017-06-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16033310#comment-16033310
 ] 

ASF GitHub Bot commented on TC-355:
---

Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/605


> Checks needed to prevent profiles and servers having different CDNs assigned
> 
>
> Key: TC-355
> URL: https://issues.apache.org/jira/browse/TC-355
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops, Traffic Ops API
>Affects Versions: 2.0.0
>Reporter: Derek Gelinas
>Assignee: Derek Gelinas
> Fix For: 2.1.0
>
>
> It should not be possible to assign servers to a profile with a different or 
> null CDN value.  It should also not be possible to change a profile's CDN 
> when there are servers assigned to that profile on a different CDN.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #605: [TC-355] Add CDN match checks wh...

2017-06-01 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/605


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafficcontrol pull request #636: added billing script and updated...

2017-06-01 Thread ashish-timilsina
Github user ashish-timilsina closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/636


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Build failed in Jenkins: incubator-trafficcontrol-rat #44

2017-06-01 Thread Apache Jenkins Server
See 


--
Started by upstream project "incubator-trafficcontrol-master-build" build 
number 45
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-4 (ubuntu trusty) in workspace 

[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson8872680624959811213.sh
+ rm -rf 

 

 '
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' 
from 'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 
'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build:
[operations-center-context]   trafficcontrol-incubating-2.1.0.tar.gz
[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson7098419969055921189.sh
+ set -exu
++ ls trafficcontrol-incubating-2.1.0.tar.gz
+ tarball=trafficcontrol-incubating-2.1.0.tar.gz
+ tar xzf trafficcontrol-incubating-2.1.0.tar.gz
++ pwd
++ basename trafficcontrol-incubating-2.1.0.tar.gz .tar.gz
+ 
tcdir=
+ cd 

++ date +%Y
+ grep 'Copyright 2017 The Apache Software Foundation' NOTICE
Copyright 2017 The Apache Software Foundation
+ set +x
Searching for class files:
PASSED: No class files found.
Searching for jar files:
PASSED: No jar files found.
Searching for tar files:
PASSED: No tar files found.
Searching for tgz files:
PASSED: No tgz files found.
Searching for zip files:
PASSED: No zip files found.
+ ratver=apache-rat-0.13-20170427.032418-37.jar
++ mktemp -d
+ ratdir=/tmp/tmp.GraGyeC1I7
+ ratjar=/tmp/tmp.GraGyeC1I7/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.GraGyeC1I7/apache-rat-0.13.SNAPSHOT.jar 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0  
0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0100 
1587k  100 1587k0 0  1678k  0 --:--:-- --:--:-- --:--:-- 1679k
+ curl -L -o /tmp/tmp.GraGyeC1I7/apache-rat-0.13.SNAPSHOT.jar.sha1 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar.sha1
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0  
0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0100 
   40  100400 0 96  0 --:--:-- --:--:-- --:--:--95
++ sha1sum /tmp/tmp.GraGyeC1I7/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.GraGyeC1I7/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ ac5cfd859902d5c858baed8dbcf91c014ce9ae23 == 
ac5cfd859902d5c858baed8dbcf91c014ce9ae23 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.GraGyeC1I7/apache-rat-0.13.SNAPSHOT.jar -E 

 -d 

+ rm -rf /tmp/tmp.GraGyeC1I7
++ perl -lne 'print if /\(\d+\) Unknown Licenses/' ratreport.txt
+ unknown=
+ [[ '' != 0 ]]
+ echo ' Unknown Licenses'
 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' 
ratreport.txt
+ sed s:::
Files with unapproved licenses:

  trafficcontrol-incubating-2.1.0/BUILD_NUMBER
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/auth/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/loading.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/theme.scss
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/webfront/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/webfront/simpleserver/server.key
  trafficcontrol-incubating-2.1.0/traffic_portal/app/src/styles/loading.scss
  

[GitHub] incubator-trafficcontrol pull request #624: [TC-359] - fixes bug where updat...

2017-06-01 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/624


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafficcontrol pull request #635: changed service name in docker-c...

2017-06-01 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/635


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Build failed in Jenkins: incubator-trafficcontrol-rat #43

2017-06-01 Thread Apache Jenkins Server
See 


--
Started by upstream project "incubator-trafficcontrol-master-build" build 
number 44
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H14 (ubuntu xenial) in workspace 

[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson4917000613251769175.sh
+ rm -rf 

 

 '
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' 
from 'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 
'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build:
[operations-center-context]   trafficcontrol-incubating-2.1.0.tar.gz
[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson2391466329370712492.sh
+ set -exu
++ ls trafficcontrol-incubating-2.1.0.tar.gz
+ tarball=trafficcontrol-incubating-2.1.0.tar.gz
+ tar xzf trafficcontrol-incubating-2.1.0.tar.gz
++ pwd
++ basename trafficcontrol-incubating-2.1.0.tar.gz .tar.gz
+ 
tcdir=
+ cd 

++ date +%Y
+ grep 'Copyright 2017 The Apache Software Foundation' NOTICE
Copyright 2017 The Apache Software Foundation
+ set +x
Searching for class files:
PASSED: No class files found.
Searching for jar files:
PASSED: No jar files found.
Searching for tar files:
PASSED: No tar files found.
Searching for tgz files:
PASSED: No tgz files found.
Searching for zip files:
PASSED: No zip files found.
+ ratver=apache-rat-0.13-20170427.032418-37.jar
++ mktemp -d
+ ratdir=/tmp/tmp.eVzZXuWCEE
+ ratjar=/tmp/tmp.eVzZXuWCEE/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.eVzZXuWCEE/apache-rat-0.13.SNAPSHOT.jar 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0 
13 1587k   13  213k0 0   253k  0  0:00:06 --:--:--  0:00:06  
253k100 1587k  100 1587k0 0  1559k  0  0:00:01  0:00:01 --:--:-- 
1560k
+ curl -L -o /tmp/tmp.eVzZXuWCEE/apache-rat-0.13.SNAPSHOT.jar.sha1 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar.sha1
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 
010040  100400 0 72  0 --:--:-- --:--:-- --:--:--72
++ sha1sum /tmp/tmp.eVzZXuWCEE/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.eVzZXuWCEE/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ ac5cfd859902d5c858baed8dbcf91c014ce9ae23 == 
ac5cfd859902d5c858baed8dbcf91c014ce9ae23 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.eVzZXuWCEE/apache-rat-0.13.SNAPSHOT.jar -E 

 -d 

+ rm -rf /tmp/tmp.eVzZXuWCEE
++ perl -lne 'print if /\(\d+\) Unknown Licenses/' ratreport.txt
+ unknown=
+ [[ '' != 0 ]]
+ echo ' Unknown Licenses'
 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' 
ratreport.txt
+ sed s:::
Files with unapproved licenses:

  trafficcontrol-incubating-2.1.0/BUILD_NUMBER
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/auth/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/loading.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/theme.scss
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/webfront/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/webfront/simpleserver/server.key
  trafficcontrol-incubating-2.1.0/traffic_portal/app/src/styles/loading.scss
  
trafficcontrol-incubating-2.1.0/traffic_stats/vendor/github.com/influxdata/influxdb/client/v2/client.go
  

[GitHub] incubator-trafficcontrol pull request #632: updated to rename the traffic_op...

2017-06-01 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/632


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---