Skip to content

Commit d7956c1

Browse files
authored
Merge pull request #46 from hellofresh/feature/named-connection
PT-5350 Added connection name parameter
2 parents ca19cec + 5867b69 commit d7956c1

File tree

8 files changed

+109
-326
lines changed

8 files changed

+109
-326
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
- docker
55

66
go:
7-
- "1.11"
7+
- "1.12"
88
- "stable"
99

1010
env:
@@ -18,7 +18,7 @@ install:
1818
- make deps
1919

2020
script:
21-
- make $MAKE_TASK
21+
- env GO111MODULE=on make $MAKE_TASK
2222

2323
after_script:
2424
- docker-compose down -v

Gopkg.lock

Lines changed: 0 additions & 255 deletions
This file was deleted.

Gopkg.toml

Lines changed: 0 additions & 50 deletions
This file was deleted.

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ OK_COLOR=\033[32;01m
44
PKG_SRC := github.com/hellofresh/goengine
55

66
deps:
7-
@echo "$(OK_COLOR)==> Installing dependencies$(NO_COLOR)"
8-
@go get -u github.com/golang/dep/cmd/dep
7+
@echo "$(OK_COLOR)==> Installing test dependencies$(NO_COLOR)"
98
@go get -u github.com/onsi/ginkgo/ginkgo
109
@go get -u github.com/onsi/gomega
11-
@dep ensure -v -vendor-only
1210

1311
vet:
1412
@echo "$(OK_COLOR)==> checking code correctness with 'go vet' tool$(NO_COLOR)"

cmd/goengine/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func main() {
5959
registry.RegisterType(&RecipeRated{})
6060

6161
goengine.Log("Setting up the event bus", map[string]interface{}{"dsn": brokerDSN}, nil)
62-
bus := rabbit.NewEventBus(brokerDSN, "events", "events")
62+
bus := rabbit.NewEventBus(brokerDSN, "events", "events", "goengine-test")
6363

6464
goengine.Log("Setting up the event store", nil, nil)
6565
eventStore := mongodb.NewEventStore(mongoClient.Database("event_store"), registry)

go.mod

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
module github.com/hellofresh/goengine
2+
3+
go 1.12
4+
5+
require (
6+
github.com/go-stack/stack v1.8.0 // indirect
7+
github.com/gofrs/uuid v3.2.0+incompatible
8+
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db // indirect
9+
github.com/onsi/ginkgo v1.7.0
10+
github.com/onsi/gomega v1.4.3
11+
github.com/streadway/amqp v0.0.0-20181205114330-a314942b2fd9
12+
github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c // indirect
13+
github.com/xdg/stringprep v0.0.0-20180714160509-73f8eece6fdc // indirect
14+
go.mongodb.org/mongo-driver v1.0.0
15+
golang.org/x/crypto v0.0.0-20190130090550-b01c7a725664 // indirect
16+
golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3 // indirect
17+
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 // indirect
18+
golang.org/x/sys v0.0.0-20190130150945-aca44879d564 // indirect
19+
gopkg.in/fsnotify/fsnotify.v1 v1.4.7 // indirect
20+
gopkg.in/yaml.v2 v2.2.2 // indirect
21+
)

0 commit comments

Comments
 (0)