Skip to content

Commit

Permalink
Fixed Svalinn Docker Configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinapathak committed Jan 17, 2019
1 parent d627811 commit e6dfe0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
// Interface describes the main functionality needed to connect to a db
type Interface interface {
Initialize() error
GetHistory(deviceI string) (History, error)
GetHistory(deviceID string) (History, error)
GetTombstone(deviceID string) (map[string]Event, error)
UpdateHistory(deviceID string, events []Event) error
InsertEvent(deviceID string, event Event, tombstoneKey string) error
Expand Down
2 changes: 2 additions & 0 deletions deploy/docker-compose/docFiles/svalinn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ log:
config:
endpoint: "/device-status"
queueSize: 3000
stateLimitPerDevice: 3
db:
server: "db:11210"
username: "Administrator"
password: "somepassword"
bucket: "devices"
numRetries: 4
timeout: 10m

authHeader: ["YXV0aEhlYWRlcg=="]

Expand Down

0 comments on commit e6dfe0e

Please sign in to comment.