Inverting deps on SQL, Log and MQ plugins to make them optional dependencies of extended servers, Removing some dead code that brought in unused dependencies Filtering out some non-linux transitive deps. (#1057)

* initial Db helper split - make SQL and datastore packages optional

* abstracting log store

* break out DB, MQ and log drivers as extensions

* cleanup

* fewer deps

* fixing docker test

* hmm dbness

* updating db startup

* Consolidate all your extensions into one convenient package

* cleanup

* clean up dep constraints
This commit is contained in:
Owen Cliffe
2018-06-11 18:23:28 +01:00
committed by Reed Allman
parent 5b2691037e
commit 1ad27f4f0d
519 changed files with 907 additions and 91042 deletions

View File

@@ -5,6 +5,7 @@ import (
"os"
"testing"
"context"
logTesting "github.com/fnproject/fn/api/logs/testing"
)
@@ -20,7 +21,7 @@ func TestS3(t *testing.T) {
t.Fatalf("failed to parse url: %v", err)
}
ls, err := New(uLog)
ls, err := s3StoreProvider(0).New(context.Background(), uLog)
if err != nil {
t.Fatalf("failed to create s3 datastore: %v", err)
}