Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
Include fabric8-common as a dependency (#2318)
Browse files Browse the repository at this point in the history
- Replace id package
  • Loading branch information
baijum authored Oct 15, 2018
1 parent e67b5e2 commit 37a913a
Show file tree
Hide file tree
Showing 39 changed files with 44 additions and 517 deletions.
7 changes: 6 additions & 1 deletion Gopkg.lock

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

5 changes: 5 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ required = [
"github.com/fabric8-services/fabric8-auth/token/jwk",
"github.com/fabric8-services/fabric8-notification/design",
"github.com/fabric8-services/fabric8-tenant/design",
"github.com/fabric8-services/fabric8-common/id",
"github.com/jteeuwen/go-bindata/go-bindata",
"github.com/jstemmer/go-junit-report",
"github.com/wadey/gocovmerge",
Expand Down Expand Up @@ -127,6 +128,10 @@ ignored = [
name = "github.com/fabric8-services/fabric8-tenant"
revision = "7e149ee841ea9fe7d439f206781b51cacde5d4d3"

[[constraint]]
name = "github.com/fabric8-services/fabric8-common"
revision = "51e44b47e514721ddaa3fca99e5fb5bc1a6e7eb2"

[[constraint]]
name = "github.com/jstemmer/go-junit-report"
revision = "master"
Expand Down
2 changes: 1 addition & 1 deletion account/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (

"github.com/fabric8-services/fabric8-wit/closeable"

"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/application/repository"
"github.com/fabric8-services/fabric8-wit/errors"
"github.com/fabric8-services/fabric8-wit/gormsupport"
"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-wit/log"

"github.com/goadesign/goa"
Expand Down
2 changes: 1 addition & 1 deletion comment/comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"strconv"
"time"

"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/gormsupport"
"github.com/fabric8-services/fabric8-wit/id"

uuid "github.com/satori/go.uuid"
)
Expand Down
2 changes: 1 addition & 1 deletion comment/comment_repository_blackbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"testing"
"time"

"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/comment"
"github.com/fabric8-services/fabric8-wit/errors"
"github.com/fabric8-services/fabric8-wit/gormtestsupport"
"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-wit/rendering"
"github.com/fabric8-services/fabric8-wit/resource"
tf "github.com/fabric8-services/fabric8-wit/test/testfixture"
Expand Down
3 changes: 2 additions & 1 deletion comment/comment_revision.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package comment

import (
"github.com/fabric8-services/fabric8-wit/id"
"time"

"github.com/fabric8-services/fabric8-common/id"

uuid "github.com/satori/go.uuid"
)

Expand Down
3 changes: 2 additions & 1 deletion comment/comment_revision_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package comment

import (
"context"
"github.com/fabric8-services/fabric8-wit/id"

"github.com/fabric8-services/fabric8-common/id"

"time"

Expand Down
2 changes: 1 addition & 1 deletion comment/comment_revision_repository_blackbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-common/id"

"github.com/fabric8-services/fabric8-wit/comment"
"github.com/fabric8-services/fabric8-wit/gormtestsupport"
Expand Down
2 changes: 1 addition & 1 deletion controller/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
"sort"
"strings"

"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/app"
"github.com/fabric8-services/fabric8-wit/application"
"github.com/fabric8-services/fabric8-wit/auth"
"github.com/fabric8-services/fabric8-wit/codebase"
"github.com/fabric8-services/fabric8-wit/errors"
"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-wit/jsonapi"
"github.com/fabric8-services/fabric8-wit/log"
"github.com/fabric8-services/fabric8-wit/rest/proxy"
Expand Down
2 changes: 1 addition & 1 deletion controller/search_blackbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import (

"github.com/fabric8-services/fabric8-wit/spacetemplate"

"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/account"
"github.com/fabric8-services/fabric8-wit/app"
"github.com/fabric8-services/fabric8-wit/app/test"
config "github.com/fabric8-services/fabric8-wit/configuration"
. "github.com/fabric8-services/fabric8-wit/controller"
"github.com/fabric8-services/fabric8-wit/gormtestsupport"
"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-wit/ptr"
"github.com/fabric8-services/fabric8-wit/rendering"
"github.com/fabric8-services/fabric8-wit/resource"
Expand Down
2 changes: 1 addition & 1 deletion controller/space_template_blackbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (
"testing"
"time"

"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/app"
"github.com/fabric8-services/fabric8-wit/app/test"
. "github.com/fabric8-services/fabric8-wit/controller"
"github.com/fabric8-services/fabric8-wit/gormsupport"
"github.com/fabric8-services/fabric8-wit/gormtestsupport"
"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-wit/resource"
"github.com/fabric8-services/fabric8-wit/spacetemplate"
testsupport "github.com/fabric8-services/fabric8-wit/test"
Expand Down
2 changes: 1 addition & 1 deletion controller/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"fmt"
"net/http"

idpackage "github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/account"
"github.com/fabric8-services/fabric8-wit/app"
"github.com/fabric8-services/fabric8-wit/application"
"github.com/fabric8-services/fabric8-wit/auth"
idpackage "github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-wit/jsonapi"
"github.com/fabric8-services/fabric8-wit/log"
"github.com/fabric8-services/fabric8-wit/rest"
Expand Down
2 changes: 1 addition & 1 deletion controller/users_blackbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"context"
"testing"

"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/account"
"github.com/fabric8-services/fabric8-wit/app"
"github.com/fabric8-services/fabric8-wit/app/test"
. "github.com/fabric8-services/fabric8-wit/controller"
"github.com/fabric8-services/fabric8-wit/gormtestsupport"
"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-wit/resource"
testsupport "github.com/fabric8-services/fabric8-wit/test"

Expand Down
2 changes: 1 addition & 1 deletion controller/work_item_children_blackbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"testing"
"time"

"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/app"
"github.com/fabric8-services/fabric8-wit/app/test"
. "github.com/fabric8-services/fabric8-wit/controller"
"github.com/fabric8-services/fabric8-wit/gormtestsupport"
"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-wit/log"
"github.com/fabric8-services/fabric8-wit/resource"
"github.com/fabric8-services/fabric8-wit/space"
Expand Down
2 changes: 1 addition & 1 deletion controller/work_item_comments.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"context"
"net/http"

"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/app"
"github.com/fabric8-services/fabric8-wit/application"
"github.com/fabric8-services/fabric8-wit/comment"
"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-wit/jsonapi"
"github.com/fabric8-services/fabric8-wit/login"
"github.com/fabric8-services/fabric8-wit/notification"
Expand Down
2 changes: 1 addition & 1 deletion controller/work_item_comments_blackbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/ptr"

"context"
Expand Down
2 changes: 1 addition & 1 deletion controller/workitem_blackbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (

"github.com/davecgh/go-spew/spew"
jwt "github.com/dgrijalva/jwt-go"
"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/account"
"github.com/fabric8-services/fabric8-wit/app"
"github.com/fabric8-services/fabric8-wit/app/test"
Expand All @@ -22,7 +23,6 @@ import (
"github.com/fabric8-services/fabric8-wit/configuration"
. "github.com/fabric8-services/fabric8-wit/controller"
"github.com/fabric8-services/fabric8-wit/gormtestsupport"
"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-wit/iteration"
"github.com/fabric8-services/fabric8-wit/jsonapi"
"github.com/fabric8-services/fabric8-wit/log"
Expand Down
2 changes: 1 addition & 1 deletion controller/workitem_whitebox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (

"net/http"

"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/app"
"github.com/fabric8-services/fabric8-wit/application"
"github.com/fabric8-services/fabric8-wit/gormtestsupport"
"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-wit/rendering"
"github.com/fabric8-services/fabric8-wit/resource"
"github.com/fabric8-services/fabric8-wit/rest"
Expand Down
2 changes: 1 addition & 1 deletion controller/workitemtypes_blackbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"path/filepath"
"testing"

"github.com/fabric8-services/fabric8-common/id"
"github.com/fabric8-services/fabric8-wit/account"
"github.com/fabric8-services/fabric8-wit/app"
"github.com/fabric8-services/fabric8-wit/app/test"
. "github.com/fabric8-services/fabric8-wit/controller"
"github.com/fabric8-services/fabric8-wit/gormtestsupport"
"github.com/fabric8-services/fabric8-wit/id"
"github.com/fabric8-services/fabric8-wit/resource"
"github.com/fabric8-services/fabric8-wit/rest"
"github.com/fabric8-services/fabric8-wit/spacetemplate"
Expand Down
2 changes: 0 additions & 2 deletions id/doc.go

This file was deleted.

62 changes: 0 additions & 62 deletions id/map.go

This file was deleted.

72 changes: 0 additions & 72 deletions id/map_blackbox_test.go

This file was deleted.

Loading

0 comments on commit 37a913a

Please sign in to comment.