Skip to content

Commit

Permalink
eventmaster -> proto
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendy Hu committed Aug 17, 2017
1 parent 470f376 commit 40323b8
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 70 deletions.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SHELL:=/bin/bash -O extglob

protobuf:
protoc --plugin=$(GOPATH)/bin/protoc-gen-go -I eventmaster/ eventmaster/eventmaster.proto --go_out=plugins=grpc:eventmaster
protoc --plugin=$(GOPATH)/bin/protoc-gen-go -I proto/ proto/eventmaster.proto --go_out=plugins=grpc:proto

run:
go run src/eventmaster/!(*_test).go -p -r -m
Expand Down
115 changes: 53 additions & 62 deletions eventmaster/eventmaster.pb.go → proto/eventmaster.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion eventmaster/eventmaster.proto → proto/eventmaster.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ message Query {
repeated bool sort_ascending = 14;
int32 start = 15;
int32 limit = 16;
string event_id = 17;
bool tag_and_operator = 18;
bool target_host_and_operator = 19;
repeated string exclude_tag_set = 20;
Expand Down
2 changes: 1 addition & 1 deletion src/eventmaster/api_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
"time"

"github.com/ContextLogic/eventmaster/eventmaster"
eventmaster "github.com/ContextLogic/eventmaster/proto"
"github.com/julienschmidt/httprouter"
"github.com/pkg/errors"
)
Expand Down
2 changes: 1 addition & 1 deletion src/eventmaster/data_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/ContextLogic/eventmaster/eventmaster"
eventmaster "github.com/ContextLogic/eventmaster/proto"
cass "github.com/ContextLogic/eventmaster/src/cassandra_client"
servicelookup "github.com/ContextLogic/goServiceLookup/servicelookup"
"github.com/gocql/gocql"
Expand Down
2 changes: 1 addition & 1 deletion src/eventmaster/event_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"sync"
"time"

"github.com/ContextLogic/eventmaster/eventmaster"
eventmaster "github.com/ContextLogic/eventmaster/proto"
"github.com/pkg/errors"
"github.com/satori/go.uuid"
"github.com/segmentio/ksuid"
Expand Down
Binary file added src/eventmaster/eventmaster
Binary file not shown.
2 changes: 1 addition & 1 deletion src/eventmaster/eventmaster.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"syscall"
"time"

"github.com/ContextLogic/eventmaster/eventmaster"
eventmaster "github.com/ContextLogic/eventmaster/proto"
log "github.com/Sirupsen/logrus"
"github.com/jessevdk/go-flags"
"github.com/soheilhy/cmux"
Expand Down
2 changes: 1 addition & 1 deletion src/eventmaster/grpc_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/ContextLogic/eventmaster/eventmaster"
eventmaster "github.com/ContextLogic/eventmaster/proto"
context "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion src/eventmaster/ui_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"strings"

"github.com/ContextLogic/eventmaster/eventmaster"
eventmaster "github.com/ContextLogic/eventmaster/proto"
"github.com/julienschmidt/httprouter"
)

Expand Down

0 comments on commit 40323b8

Please sign in to comment.