Migrating from git.apache.org/thrift.git to github.com/apache/thrift

This commit is contained in:
Renan DelValle 2019-02-19 11:59:34 -08:00
parent 5443a86d12
commit 9aebf09699
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
6 changed files with 21 additions and 5 deletions

16
coordinated_server.go Normal file
View file

@ -0,0 +1,16 @@
package realis
import (
"fmt"
"log"
"net/http"
)
func handler(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, `{"roll_forward":true}`)
}
func Run_server() {
http.HandleFunc("/aurora-update", handler)
log.Fatal(http.ListenAndServe(":8080", nil))
}

View file

@ -17,7 +17,7 @@ package realis
import (
"time"
"git.apache.org/thrift.git/lib/go/thrift"
"github.com/apache/thrift/lib/go/thrift"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
)

View file

@ -31,7 +31,7 @@ import (
"sync"
"time"
"git.apache.org/thrift.git/lib/go/thrift"
"github.com/apache/thrift/lib/go/thrift"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
"github.com/paypal/gorealis/v2/response"
"github.com/pkg/errors"

View file

@ -23,7 +23,7 @@ import (
"strings"
"time"
"git.apache.org/thrift.git/lib/go/thrift"
"github.com/apache/thrift/lib/go/thrift"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
"github.com/paypal/gorealis/v2/response"
"github.com/pkg/errors"

View file

@ -18,7 +18,7 @@ import (
"encoding/json"
"strconv"
"git.apache.org/thrift.git/lib/go/thrift"
"github.com/apache/thrift/lib/go/thrift"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
)

View file

@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"
"git.apache.org/thrift.git/lib/go/thrift"
"github.com/apache/thrift/lib/go/thrift"
"github.com/stretchr/testify/assert"
)