[GitHub] incubator-trafficcontrol issue #567: API GW phase 0 (replaces #551, depends ...

2017-06-22 Thread dewrich
Github user dewrich commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/567
  
Another something to play with: https://github.com/elazarl/goproxy


---
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 #90

2017-06-22 Thread Apache Jenkins Server
See 


--
Started by upstream project "incubator-trafficcontrol-master-build" build 
number 90
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/hudson8883309721120129621.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]   apache-trafficcontrol-2.1.0-incubating.tar.gz
[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson2705458394124322147.sh
+ set -exu
++ ls apache-trafficcontrol-2.1.0-incubating.tar.gz
+ tarball=apache-trafficcontrol-2.1.0-incubating.tar.gz
+ tar xzf apache-trafficcontrol-2.1.0-incubating.tar.gz
++ pwd
++ basename apache-trafficcontrol-2.1.0-incubating.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.v2OJ9kfG91
+ ratjar=/tmp/tmp.v2OJ9kfG91/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.v2OJ9kfG91/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  
6 1587k6 975360 0   140k  0  0:00:11 --:--:--  0:00:11  140k100 
1587k  100 1587k0 0  1567k  0  0:00:01  0:00:01 --:--:-- 1568k
+ curl -L -o /tmp/tmp.v2OJ9kfG91/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 96  0 --:--:-- --:--:-- --:--:--96
++ sha1sum /tmp/tmp.v2OJ9kfG91/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.v2OJ9kfG91/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ ac5cfd859902d5c858baed8dbcf91c014ce9ae23 == 
ac5cfd859902d5c858baed8dbcf91c014ce9ae23 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.v2OJ9kfG91/apache-rat-0.13.SNAPSHOT.jar -E 

 -d 

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

  
apache-trafficcontrol-2.1.0-incubating/traffic_ops/app/db/migrations/20170601183753_steering_target.sql

*
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
Compressed 372.20 KB of artifacts by 77.4% relative to #89


[jira] [Commented] (TC-376) Steering services feature additions

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

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

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

Github user asfgit closed the pull request at:

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


> Steering services feature additions
> ---
>
> Key: TC-376
> URL: https://issues.apache.org/jira/browse/TC-376
> Project: Traffic Control
>  Issue Type: New Feature
>  Components: Traffic Ops
>Reporter: Derek Gelinas
>  Labels: configuration, steering
>
> Steering services need to be able to set order or weight for their targets.  
> Order can be any whole integer, weight must be a whole integer equal or 
> greater than 0.
> We also need to provide the ability to add more than 2 targets per steering 
> service.
> Documentation on Steering Services
> http://trafficcontrol.apache.org/docs/latest/admin/quick_howto/steering.html?highlight=steering%20service



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] incubator-trafficcontrol pull request #647: [TC-376] Add multiple steering t...

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

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


---
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 #567: API GW phase 0 (replaces #551, depends ...

2017-06-22 Thread dewrich
Github user dewrich commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/567
  
@amiryesh Another feature request

Out of curiousity, I configured the gateway to "front" Traffic Ops entirely 
(and it worked!), but I had to reconfigure the "/login" (which goes to the 
auth.go) to point to "/jwt_token".  Traffic Ops also has a route called 
"/login", so the mapping had a conflict.

Can we build an option to allow for say a prefix mapping such as 
/traffic_ops so that everytime I request /traffic_ops it removes that from the 
context before forwarding it to an actual Traffic Ops.  This will allow the 
gateway namespacing to prevent any potential url conflicts.  

Apache webserver has this feature if you want to research more:

Reverse Proxy
ProxyPass "/foo" "http://foo.example.com/bar;
ProxyPassReverse "/foo" "http://foo.example.com/bar;

So the client requests: http://reverse_proxy/foo/bar and the mapping goes 
to "http://foo.example.com/bar;


---
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] [Updated] (TC-261) Add ability to configure steering subordinates with 0 weight

2017-06-22 Thread Jeff Elsloo (JIRA)

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

Jeff Elsloo updated TC-261:
---
Description: Add the ability to use a 0 weight with steering delivery 
service subordinates, and optionally include the ability to specify an order. 
We'll need to enhance the TO UI, API and TR. See TC-376 for the TO changes.  
(was: Add the ability to use a 0 weight with steering delivery service 
subordinates, and optionally include the ability to specify an order. We'll 
need to enhance the TO UI, API and TR.)

> Add ability to configure steering subordinates with 0 weight
> 
>
> Key: TC-261
> URL: https://issues.apache.org/jira/browse/TC-261
> Project: Traffic Control
>  Issue Type: Improvement
>  Components: Traffic Ops, Traffic Ops API, Traffic Router
>Reporter: Jeff Elsloo
>Assignee: Jeff Elsloo
>Priority: Minor
>  Labels: configuration, steering
> Fix For: 2.1.0
>
>
> Add the ability to use a 0 weight with steering delivery service 
> subordinates, and optionally include the ability to specify an order. We'll 
> need to enhance the TO UI, API and TR. See TC-376 for the TO changes.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] incubator-trafficcontrol issue #567: API GW phase 0 (replaces #551, depends ...

2017-06-22 Thread dewrich
Github user dewrich commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/567
  
@amiryesh Another request, please make the server.key, etc configurable, 
ops may want to put them in a different location than the current directory.


---
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.
---