Skip to content

Commit

Permalink
rbac: move to graffiti
Browse files Browse the repository at this point in the history
  • Loading branch information
lebauce committed Apr 19, 2020
1 parent 2bcb99e commit 98e2b39
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion api/server/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (

"github.com/skydive-project/skydive/config"
"github.com/skydive-project/skydive/graffiti/graph"
"github.com/skydive-project/skydive/graffiti/rbac"
shttp "github.com/skydive-project/skydive/http"
"github.com/skydive-project/skydive/logging"
"github.com/skydive-project/skydive/rbac"
)

type configAPI struct {
Expand Down
2 changes: 1 addition & 1 deletion api/server/pcap.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"github.com/skydive-project/skydive/config"
"github.com/skydive-project/skydive/flow"
"github.com/skydive-project/skydive/flow/storage"
"github.com/skydive-project/skydive/graffiti/rbac"
shttp "github.com/skydive-project/skydive/http"
"github.com/skydive-project/skydive/logging"
"github.com/skydive-project/skydive/rbac"
)

// PcapAPI exposes the pcap injector API
Expand Down
2 changes: 1 addition & 1 deletion api/server/workflow_call.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ import (
api "github.com/skydive-project/skydive/graffiti/api/server"
"github.com/skydive-project/skydive/graffiti/graph"
"github.com/skydive-project/skydive/graffiti/graph/traversal"
"github.com/skydive-project/skydive/graffiti/rbac"
shttp "github.com/skydive-project/skydive/http"
"github.com/skydive-project/skydive/js"
"github.com/skydive-project/skydive/rbac"
)

// WorkflowCallAPIHandler based on BasicAPIHandler
Expand Down
2 changes: 1 addition & 1 deletion config/rbac.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
"github.com/casbin/casbin/model"
"github.com/casbin/casbin/persist"
etcd "github.com/coreos/etcd/client"
"github.com/skydive-project/skydive/graffiti/rbac"
"github.com/skydive-project/skydive/logging"
"github.com/skydive-project/skydive/rbac"
"github.com/skydive-project/skydive/statics"
)

Expand Down
2 changes: 1 addition & 1 deletion graffiti/api/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ import (
yaml "gopkg.in/yaml.v2"

"github.com/skydive-project/skydive/graffiti/api/rest"
"github.com/skydive-project/skydive/graffiti/rbac"
"github.com/skydive-project/skydive/graffiti/service"
shttp "github.com/skydive-project/skydive/http"
"github.com/skydive-project/skydive/logging"
"github.com/skydive-project/skydive/rbac"
)

// Validator is the interface to implement to validate REST resources
Expand Down
2 changes: 1 addition & 1 deletion graffiti/api/server/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"net/http"

auth "github.com/abbot/go-http-auth"
"github.com/skydive-project/skydive/graffiti/rbac"
shttp "github.com/skydive-project/skydive/http"
"github.com/skydive-project/skydive/logging"
"github.com/skydive-project/skydive/rbac"
)

// StatusReporter is the interface to report the status of a service
Expand Down
2 changes: 1 addition & 1 deletion graffiti/api/server/topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ import (
auth "github.com/abbot/go-http-auth"
"github.com/skydive-project/skydive/graffiti/graph"
"github.com/skydive-project/skydive/graffiti/graph/traversal"
"github.com/skydive-project/skydive/graffiti/rbac"
shttp "github.com/skydive-project/skydive/http"
"github.com/skydive-project/skydive/logging"
"github.com/skydive-project/skydive/rbac"
)

// TopologyMarshaller is used to output a gremlin step
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion graffiti/websocket/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ import (
auth "github.com/abbot/go-http-auth"
"github.com/gorilla/websocket"

"github.com/skydive-project/skydive/graffiti/rbac"
"github.com/skydive-project/skydive/graffiti/service"
shttp "github.com/skydive-project/skydive/http"
"github.com/skydive-project/skydive/logging"
"github.com/skydive-project/skydive/rbac"
)

type clientPromoter func(c *wsIncomingClient) (Speaker, error)
Expand Down
4 changes: 2 additions & 2 deletions http/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ import (
"errors"
"net/http"

auth "github.com/abbot/go-http-auth"
"github.com/gorilla/context"

auth "github.com/abbot/go-http-auth"
"github.com/skydive-project/skydive/rbac"
"github.com/skydive-project/skydive/graffiti/rbac"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion http/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ import (
"github.com/gorilla/handlers"
"github.com/gorilla/mux"

"github.com/skydive-project/skydive/graffiti/rbac"
"github.com/skydive-project/skydive/graffiti/service"
"github.com/skydive-project/skydive/logging"
"github.com/skydive-project/skydive/rbac"
)

// PathPrefix describes the prefix of the path of an URL
Expand Down
2 changes: 1 addition & 1 deletion ui/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ import (
"sync"

auth "github.com/abbot/go-http-auth"
"github.com/skydive-project/skydive/graffiti/rbac"
shttp "github.com/skydive-project/skydive/http"
"github.com/skydive-project/skydive/logging"
"github.com/skydive-project/skydive/rbac"
"github.com/skydive-project/skydive/statics"
)

Expand Down

0 comments on commit 98e2b39

Please sign in to comment.