Skip to content

Commit

Permalink
Rest API (#51)
Browse files Browse the repository at this point in the history
* switch to go's dep

* Rest API, endpoints endpoint

* Fix fmt

* replace dockertest + redis with redigomock, gnarly but it works

* put the api server on the right listener 🤦

* use TLS matcher for the API

* remove port binding, only works with TLS shared port

* include region in endpoint information

* cache go dep vendor directory

* Accounce current server in redis sorted set

* Use RFC3339 time format for serialization instead of t.String() [fixes #48]

* server announces itself for discovery, will be used by clients soon

* new certs for dev

* set s3 bucket policy to public to download wormhole

* install mc locally

* try setting public only for the linux build

* don't mess with policies, I set it as a S3 bucket policy

* format time with RFC3339
  • Loading branch information
jeromegn committed Mar 7, 2019
1 parent 70785b0 commit f940c96
Show file tree
Hide file tree
Showing 36 changed files with 1,457 additions and 544 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ script:
- GOOS=linux GOARCH=386 make binaries
- make ci
- make crossbuild
cache:
directories:
- vendor
env:
global:
- secure: hQ9wa4Wx5eWfG4q8yySldLFrHMGfXnMz2JBB8YyHIxkXraDpr+ltqrraVSN2LaTdSAQcDxDKnCwnqRDZ34PX64UDZe8941qwPTFSjFmdz0VcOwStInPxioaLBJg14xcAUl55vLpx5Qkc3XcyRaKBSRJdi+cUqSjQL6MzlrR8ERIOJQzJ4l2VJ+e5X7D917dPEV5K4Z3Rha3ILTLCIQY6fygPnjRD8hNJjwMlW30vavUYs+fg9adK3M+o4vm0IXWqy7aqpaAWhfkJXH+tVM7dzXuql6l/dgFkN2uIB2WK4XJZbHrLirt8ceoL3SYLolMdm6ldG5exYROhuhh6jMlJ+Gx05/088URNxTMEmZpAdJHVYX4BvHIvkNb6x/TCYW+/+mbtGVtg27obsnXXrZERT8Jxe6V6NMhAUQYFjqcvOu8ATp4h2xwmBHhx3sMP8t9Y1owuqrPciSujzeG+XoDguxHwjun41YJJZx030kARV53EsM2wFoePVV1h9YXXCglUAyaVkQMBLeui3O11zFunpz4limPIXTNK9zDeW+krPaJWx3qi8Yn3DwUV1aozDfMHPCKg4nhwLfGPwQNwuzZPjvTAoVmW+YY5b9ZrLRFn7ndKlFFQp8nk3ssWxX5bPJrWd9UZQ1eu+gAV4u1DLpGLvGo1eqM1RWdXWl6jSpLRiHY=
Expand Down
Loading

0 comments on commit f940c96

Please sign in to comment.