You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by amiryesh <gi...@git.apache.org> on 2017/02/25 04:27:10 UTC
[GitHub] incubator-trafficcontrol pull request #310: Api gw
GitHub user amiryesh opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/310
Api gw
Adding API GW (webfront) and a simple authentication service (auth) under traffic_ops/experimental.
The auth server authenticates a login request against the "tm_user" table, however, since the roles and capabilities tables are not ready yet, it returns a list of hard coded capabilities [read-ds, write-ds, read-cg]
The required capability for each API is defined in the webfront's rule file. Again, this is temporary, until the DB tables are ready.
The webfront performs basic authorization, e.g. check weather the user's jwt contains the required capability for the API route
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/amiryesh/incubator-trafficcontrol api-gw
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/310.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 #310
----
commit 7e1391111797f9ca63ac2fa48f2267b9cbbcafcf
Author: rarenivar <ra...@users.noreply.github.com>
Date: 2016-02-10T05:38:19Z
Initial commit
commit 8ca4ea4b71f9144d109631c7b051f2c5c1919fb0
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-05T19:11:27Z
Initial webfront.go from google
commit 4843c92e2bf6f4c6c6b80750d06e0d9d3557ff0d
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-05T20:35:58Z
starting to do something - routing only still no JWTs yet
commit 5d39f7d513392472eff04e62ca0a8cd998f5880a
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-05T21:18:15Z
move to TLS, cleanup
commit 20e8a8eb8b63f15df8f0b3057d8d90d0af568a0e
Author: Michael Albers <mi...@gmail.com>
Date: 2016-03-16T02:47:40Z
Initial check in of CameraFeed (recording live stream) microservice.
commit cfcbb9636ba1659e16808e142ab36a604c5b0798
Author: Ramiro Arenivar <ar...@ramiros-macbook-pro.local>
Date: 2016-03-23T07:30:32Z
added UI for application, along with login/registration functionality
commit 3af25a667228650097af4bfa76f11542f004cbbb
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-24T23:37:13Z
add JWT support
commit 771e440a9c925c5ebc20436653afe3533c52112d
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-24T23:39:22Z
formatting
commit f1795b875aa6ccf7f07bb33a0084ccf29bd14b38
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-24T23:44:16Z
add fail example
commit cae31c865cef6221ee4acb265a0bc96c4c52166e
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-24T23:57:12Z
some cleanup
commit 94cc40cafd3825ad45d4153d317d6510c698f041
Author: Michael Albers <mi...@gmail.com>
Date: 2016-03-25T02:52:36Z
Add MongoDB back end to CameraFeed.
commit 6f83d1f083a073a4b91c12a3e10213e892713b25
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-26T23:17:09Z
cleanup
commit 494b25e59aa2c65a4fd6d4efec4b6025de742cb1
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-26T23:17:40Z
moar cleanup
commit 042db70747654d78e9ce1a620de0542934525e94
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-26T23:20:26Z
markdown....
commit 26435e37a447707d7cdcfead80601c248a63de83
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-26T23:22:25Z
markdown.... more
commit 4120e37facdb60e0ef6798a94944a4e4ee85a224
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-26T23:23:46Z
markdown.... more
commit 73f8663ab21e23215e912e20ac0cc11283858ae2
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-26T23:25:00Z
markdown.... more
commit 67b2b0aa7f9872a698ebe63a30febedda20818a8
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-27T17:36:15Z
move one dir up
commit 095e46a3e2edfd1f62052c3b5321fa1dd04ddcd1
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-27T19:26:45Z
trying some docker
commit c7520f7e8b22e5b04d0180ab17caddb78185b05a
Author: Jan van Doorn <jv...@knutsel.com>
Date: 2016-04-03T19:54:40Z
start of DB schema
commit 20e81a0197b630f3a93c2e4cace66298b4b6b417
Author: Ramiro Arenivar <ar...@ramiros-macbook-pro.local>
Date: 2016-04-04T06:54:08Z
deleted local login feature, login now done via external API. New helpers and files containing the test APIs. New file defining api calls, data collections, etc
commit 70e603761b535ec06f072334722657d3fa29f0c5
Author: Ramiro Arenivar <ar...@ramiros-macbook-pro.local>
Date: 2016-04-04T06:57:27Z
new file added, create_tables_postgres
commit dd48aa21dc42b27519abc00f9233d25a1a7af06b
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-04-09T16:05:34Z
user / register start
commit 4abb9ea602d8966cf39a4c5baf4ad1d5cf037cf0
Author: Jan van Doorn <jv...@knutsel.com>
Date: 2016-04-09T16:06:26Z
Update README.md
commit 4a3565f65e2a878c0bbedfa9de29b7e3e78fe4c9
Author: Jan van Doorn <jv...@knutsel.com>
Date: 2016-04-09T16:07:43Z
Update README.md
commit 3724a60f00e422570ac125d3c1f292fcb5bead78
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-04-09T17:32:18Z
checkpoint
commit 2ad51967287d91c437dd7d9592c761e7325c6ba9
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-04-09T19:00:53Z
https for all?
commit 632a67447e600366e909ee81bba13fb2cb4b2200
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-04-10T14:49:13Z
users name, like table
commit 2a188b391aa5071d652d200b5776c4a41d3517c1
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-04-10T16:49:50Z
add testing
commit 5173276df51c7588a3dff1bcf36783ae52014a6b
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-04-10T16:50:57Z
mv main to other name
----
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-trafficcontrol pull request #310: Api gw
Posted by amiryesh <gi...@git.apache.org>.
GitHub user amiryesh reopened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/310
Api gw
Adding API GW (webfront) and a simple authentication service (auth) under traffic_ops/experimental.
The auth server authenticates a login request against the "tm_user" table, however, since the roles and capabilities tables are not ready yet, it returns a list of hard coded capabilities [read-ds, write-ds, read-cg]
The required capability for each API is defined in the webfront's rule file. Again, this is temporary, until the DB tables are ready.
The webfront performs basic authorization, e.g. check weather the user's jwt contains the required capability for the API route
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/amiryesh/incubator-trafficcontrol api-gw
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/310.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 #310
----
commit 7e1391111797f9ca63ac2fa48f2267b9cbbcafcf
Author: rarenivar <ra...@users.noreply.github.com>
Date: 2016-02-10T05:38:19Z
Initial commit
commit 8ca4ea4b71f9144d109631c7b051f2c5c1919fb0
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-05T19:11:27Z
Initial webfront.go from google
commit 4843c92e2bf6f4c6c6b80750d06e0d9d3557ff0d
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-05T20:35:58Z
starting to do something - routing only still no JWTs yet
commit 5d39f7d513392472eff04e62ca0a8cd998f5880a
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-05T21:18:15Z
move to TLS, cleanup
commit 20e8a8eb8b63f15df8f0b3057d8d90d0af568a0e
Author: Michael Albers <mi...@gmail.com>
Date: 2016-03-16T02:47:40Z
Initial check in of CameraFeed (recording live stream) microservice.
commit cfcbb9636ba1659e16808e142ab36a604c5b0798
Author: Ramiro Arenivar <ar...@ramiros-macbook-pro.local>
Date: 2016-03-23T07:30:32Z
added UI for application, along with login/registration functionality
commit 3af25a667228650097af4bfa76f11542f004cbbb
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-24T23:37:13Z
add JWT support
commit 771e440a9c925c5ebc20436653afe3533c52112d
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-24T23:39:22Z
formatting
commit f1795b875aa6ccf7f07bb33a0084ccf29bd14b38
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-24T23:44:16Z
add fail example
commit cae31c865cef6221ee4acb265a0bc96c4c52166e
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-24T23:57:12Z
some cleanup
commit 94cc40cafd3825ad45d4153d317d6510c698f041
Author: Michael Albers <mi...@gmail.com>
Date: 2016-03-25T02:52:36Z
Add MongoDB back end to CameraFeed.
commit 6f83d1f083a073a4b91c12a3e10213e892713b25
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-26T23:17:09Z
cleanup
commit 494b25e59aa2c65a4fd6d4efec4b6025de742cb1
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-26T23:17:40Z
moar cleanup
commit 042db70747654d78e9ce1a620de0542934525e94
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-26T23:20:26Z
markdown....
commit 26435e37a447707d7cdcfead80601c248a63de83
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-26T23:22:25Z
markdown.... more
commit 4120e37facdb60e0ef6798a94944a4e4ee85a224
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-26T23:23:46Z
markdown.... more
commit 73f8663ab21e23215e912e20ac0cc11283858ae2
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-26T23:25:00Z
markdown.... more
commit 67b2b0aa7f9872a698ebe63a30febedda20818a8
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-27T17:36:15Z
move one dir up
commit 095e46a3e2edfd1f62052c3b5321fa1dd04ddcd1
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-03-27T19:26:45Z
trying some docker
commit c7520f7e8b22e5b04d0180ab17caddb78185b05a
Author: Jan van Doorn <jv...@knutsel.com>
Date: 2016-04-03T19:54:40Z
start of DB schema
commit 20e81a0197b630f3a93c2e4cace66298b4b6b417
Author: Ramiro Arenivar <ar...@ramiros-macbook-pro.local>
Date: 2016-04-04T06:54:08Z
deleted local login feature, login now done via external API. New helpers and files containing the test APIs. New file defining api calls, data collections, etc
commit 70e603761b535ec06f072334722657d3fa29f0c5
Author: Ramiro Arenivar <ar...@ramiros-macbook-pro.local>
Date: 2016-04-04T06:57:27Z
new file added, create_tables_postgres
commit dd48aa21dc42b27519abc00f9233d25a1a7af06b
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-04-09T16:05:34Z
user / register start
commit 4abb9ea602d8966cf39a4c5baf4ad1d5cf037cf0
Author: Jan van Doorn <jv...@knutsel.com>
Date: 2016-04-09T16:06:26Z
Update README.md
commit 4a3565f65e2a878c0bbedfa9de29b7e3e78fe4c9
Author: Jan van Doorn <jv...@knutsel.com>
Date: 2016-04-09T16:07:43Z
Update README.md
commit 3724a60f00e422570ac125d3c1f292fcb5bead78
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-04-09T17:32:18Z
checkpoint
commit 2ad51967287d91c437dd7d9592c761e7325c6ba9
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-04-09T19:00:53Z
https for all?
commit 632a67447e600366e909ee81bba13fb2cb4b2200
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-04-10T14:49:13Z
users name, like table
commit 2a188b391aa5071d652d200b5776c4a41d3517c1
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-04-10T16:49:50Z
add testing
commit 5173276df51c7588a3dff1bcf36783ae52014a6b
Author: Jan van Doorn <ja...@cable.comcast.com>
Date: 2016-04-10T16:50:57Z
mv main to other name
----
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-trafficcontrol pull request #310: Api gw
Posted by amiryesh <gi...@git.apache.org>.
Github user amiryesh closed the pull request at:
https://github.com/apache/incubator-trafficcontrol/pull/310
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-trafficcontrol pull request #310: Api gw
Posted by amiryesh <gi...@git.apache.org>.
Github user amiryesh closed the pull request at:
https://github.com/apache/incubator-trafficcontrol/pull/310
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---