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

2017-06-19 Thread amiryesh
Github user amiryesh commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/567
  
Hi,  glad to hear you are taking the effort of using the GW.
Did you get to see webfront/README.md or auth/README.md?

The auth server is responsible for login. The auth readme explains how to 
obtain a token, which I understand that you did.

The webfront server is the API GW. The webfront readme shows token usage 
example:
$ curl --insecure -H'Authorization: Bearer ' -Lkvs 
https://localhost:8080/ds/

At phase 0, auth server access tm_users, user_role and role_capabilities DB 
tables to compose a JWT with the user's capabilities. However, all webfront 
configuration is hard coded. The forwarding rules are hard coded in ruls.json 
and the authorization data (route-to-capability mapping) is hard coded in 
routes.json.

Please check your routes config, and make sure your API calls are done 
against the webfront server and not the auth server.

If you are still having problems, please attach your query samples + 
console output from both webfront.go and auth.go



---
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] [Created] (TC-397) Traffic Stats install can't create traffic_stats user

2017-06-19 Thread David Neuman (JIRA)
David Neuman created TC-397:
---

 Summary: Traffic Stats install can't create traffic_stats user
 Key: TC-397
 URL: https://issues.apache.org/jira/browse/TC-397
 Project: Traffic Control
  Issue Type: Bug
  Components: Traffic Stats
Affects Versions: 2.0.0
Reporter: David Neuman
Priority: Minor


The traffic_stats install throws errors saying that it cannot create the 
traffic_stats user.  The result is that everything is owned by root instead.  
The install process should make the necessary user: 

{quote}
Running transaction
groupadd: GID '422' already exists
useradd: group 'traffic_stats' does not exist
passwd: Unknown user name 'traffic_stats'.
chage: user 'traffic_stats' does not exist in /etc/passwd
  Installing : traffic_stats-2.0.0-5668.85d14ebe.el7.x86_64 


  1/1
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
warning: user traffic_stats does not exist - using root
warning: group traffic_stats does not exist - using root
{quote}




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


[jira] [Commented] (TC-380) Integration test data for kabletown has bad regex types

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

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

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

Github user asfgit closed the pull request at:

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


> Integration test data for kabletown has bad regex types
> ---
>
> Key: TC-380
> URL: https://issues.apache.org/jira/browse/TC-380
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops
>Affects Versions: 2.1.0
>Reporter: Dewayne Richardson
>Assignee: Dewayne Richardson
>Priority: Critical
>  Labels: integration-test
> Fix For: 2.1.0
>
>




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


[GitHub] incubator-trafficcontrol pull request #668: [TC-380] Fix integration regex t...

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

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


---
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 #688: Created documentation on setting...

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

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


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