GitHub user nir-sopher opened a pull request:

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

    Adding an experimental go based rest API for Traffic Ops

    This module it provides a server creating a RESTful API towards Traffic-Ops 
DB.
    It was created in order to POC the concept of API Gateway (added on another 
PR) between the different modules of Traffic-Ops, specifically old perl 
Traffic-Ops, and new (go?) one.
    
    At first step, only "tenant" table is covered (CRUD).
    Other tables can be added, by adding modules (see tenant foe example), and 
seeding their enpoints below.
    To Run this module, call: go run api.go --server --db-config-file 
    e.g. go run api.go --server :8888 --db-config-file 
../../app/conf/test/database.conf
    Note that the below go modules are required, so you'll might need to "go 
get" them:)
    "github.com/gorilla/mux"
    "github.com/lib/pq"


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

    $ git pull https://github.com/nir-sopher/incubator-trafficcontrol 
traffic-ops-experimental-go-rest-api

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

    https://github.com/apache/incubator-trafficcontrol/pull/325.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 #325
    
----
commit 5207270a4589b7245cd82a30e63744ed3cda703b
Author: nir-sopher <[email protected]>
Date:   2017-03-01T01:23:41Z

    Adding an experimental go based rest API for Traffic Ops

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to