Skip to content

Commit

Permalink
renamed packages
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeykazakov committed Jul 15, 2017
1 parent be6e976 commit da51d06
Show file tree
Hide file tree
Showing 238 changed files with 1,342 additions and 1,342 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ or
## Reporting Issues

All the issues related to fabric8-wit should be reported in the
[GitHub issue tracker](https://github.com/fabric8-services/fabric8-wit/issues/new).
[GitHub issue tracker](https://github.com/fabric8-services/fabric8-auth/issues/new).

## Pull Requests

Expand Down
2 changes: 1 addition & 1 deletion .make/check_gopath.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
// under GOPATH[i]/src/packageName.
func main() {
var packageName string
flag.StringVar(&packageName, "packageName", "github.com/fabric8-services/fabric8-wit", "Package Name (e.g.)")
flag.StringVar(&packageName, "packageName", "github.com/fabric8-services/fabric8-auth", "Package Name (e.g.)")
flag.Parse()

wd, err := os.Getwd()
Expand Down
4 changes: 2 additions & 2 deletions .make/docker.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ docker-image-deploy:
.PHONY: docker-publish-deploy
## Tags the runnable image and pushes it to the docker hub.
docker-publish-deploy:
docker tag $(DOCKER_IMAGE_DEPLOY) fabric8-services/fabric8-wit:latest
docker push fabric8-services/fabric8-wit:latest
docker tag $(DOCKER_IMAGE_DEPLOY) fabric8-services/fabric8-auth:latest
docker push fabric8-services/fabric8-auth:latest

.PHONY: docker-build-dir
## Creates the docker build directory.
Expand Down
8 changes: 4 additions & 4 deletions .make/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
# ----------------------------
# Each package generates coverage outputs under tmp/coverage/$(PACKAGE) where
# $(PACKAGE) resolves to the Go package. Here's an example of a coverage file
# for the package "github.com/fabric8-services/fabric8-wit/models" with coverage mode
# for the package "github.com/fabric8-services/fabric8-auth/models" with coverage mode
# "set" generated by the unit tests:
#
# tmp/coverage/github.com/fabric8-services/fabric8-wit/models/coverage.unit.mode-set
# tmp/coverage/github.com/fabric8-services/fabric8-auth/models/coverage.unit.mode-set
#
# For unit-tests all results are combined into this file:
#
Expand Down Expand Up @@ -179,7 +179,7 @@ test-remote-no-coverage: prebuild-check $(SOURCES)
## Runs the migration tests and should be executed before running the integration tests
## in order to have a clean database
test-migration: prebuild-check
F8_RESOURCE_DATABASE=1 go test $(GO_TEST_VERBOSITY_FLAG) github.com/fabric8-services/fabric8-wit/migration
F8_RESOURCE_DATABASE=1 go test $(GO_TEST_VERBOSITY_FLAG) github.com/fabric8-services/fabric8-auth/migration

# Downloads docker-compose to tmp/docker-compose if it does not already exist.
define download-docker-compose
Expand Down Expand Up @@ -402,7 +402,7 @@ gocov-remote-annotate: prebuild-check $(GOCOV_BIN) $(COV_PATH_REMOTE)
#
# Parameters:
# 1. Test name (e.g. "unit", "integration" or "remote")
# 2. package name "github.com/fabric8-services/fabric8-wit/model"
# 2. package name "github.com/fabric8-services/fabric8-auth/model"
# 3. File in which to combine the output
# 4. Path to file in which to store names of packages that failed testing
# 5. Environment variable (in the form VAR=VALUE) to be specified for running
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ COMMIT := $(COMMIT)-dirty
endif
BUILD_TIME=`date -u '+%Y-%m-%dT%H:%M:%SZ'`

PACKAGE_NAME := github.com/fabric8-services/fabric8-wit
PACKAGE_NAME := github.com/fabric8-services/fabric8-auth

# For the global "clean" target all targets in this variable will be executed
CLEAN_TARGETS =
Expand Down
28 changes: 14 additions & 14 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
:experimental:

image:https://ci.centos.org/buildStatus/icon?job=devtools-fabric8-wit-build-master[Jenkins,link="https://ci.centos.org/view/Devtools/job/devtools-fabric8-wit-build-master/lastBuild/"]
image:https://goreportcard.com/badge/github.com/fabric8-services/fabric8-wit[Go Report Card, link="https://goreportcard.com/report/github.com/fabric8-services/fabric8-wit"]
image:https://godoc.org/github.com/fabric8-services/fabric8-wit?status.png[GoDoc,link="https://godoc.org/github.com/fabric8-services/fabric8-wit"]
image:https://codecov.io/gh/fabric8-services/fabric8-wit/branch/master/graph/badge.svg[Codecov.io,link="https://codecov.io/gh/fabric8-services/fabric8-wit"]
image:https://goreportcard.com/badge/github.com/fabric8-services/fabric8-auth[Go Report Card, link="https://goreportcard.com/report/github.com/fabric8-services/fabric8-auth"]
image:https://godoc.org/github.com/fabric8-services/fabric8-auth?status.png[GoDoc,link="https://godoc.org/github.com/fabric8-services/fabric8-auth"]
image:https://codecov.io/gh/fabric8-services/fabric8-auth/branch/master/graph/badge.svg[Codecov.io,link="https://codecov.io/gh/fabric8-services/fabric8-auth"]

== Building from source [[building]]

Expand Down Expand Up @@ -65,7 +65,7 @@ how to build.
Check out the code

----
$ git clone https://github.com/fabric8-services/fabric8-wit $GOPATH/src/github.com/fabric8-services/fabric8-wit
$ git clone https://github.com/fabric8-services/fabric8-auth $GOPATH/src/github.com/fabric8-services/fabric8-auth
----

=== Build [[build]]
Expand All @@ -80,7 +80,7 @@ To fetch the dependencies, generate code and finally build the project you can
type `make` in a freshly clone repository of this project.

----
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-wit
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-auth
$ make
----

Expand All @@ -103,7 +103,7 @@ called `vendor`. This way we can ensure that every developer and our CI system
is using the same version.

----
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-wit
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-auth
$ make deps
----

Expand All @@ -118,7 +118,7 @@ You need to run this command if you just checked out the code and later if
you've modified the designs.

----
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-wit
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-auth
$ make generate
----

Expand All @@ -127,7 +127,7 @@ $ make generate
If you want to just build the ALM server and client, run `make build`.

----
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-wit
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-auth
$ make build
----

Expand All @@ -137,7 +137,7 @@ This removes all downloaded dependencies, all generated code and compiled
artifacts.

----
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-wit
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-auth
$ make clean
----

Expand All @@ -156,7 +156,7 @@ unit-tests::
Unit tests have the minimum requirement on time and environment setup.
+
----
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-wit
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-auth
$ make test-unit
----

Expand All @@ -165,15 +165,15 @@ Integration tests demand more setup (i.e. the PostgreSQL DB must be already
running) and probably time. We recommend that you use `docker-compose up -d db`.
+
----
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-wit
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-auth
$ make test-integration
----

all::
To run both, the unit and the integration tests you can run
+
----
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-wit
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-auth
$ make test-all
----

Expand Down Expand Up @@ -201,7 +201,7 @@ Here's how the <placeholders> expand

[horizontal]
`<package>`::
something like `github.com/fabric8-services/fabric8-wit/models`
something like `github.com/fabric8-services/fabric8-auth/models`

`<test>`::
`unit` or `integration`
Expand Down Expand Up @@ -348,7 +348,7 @@ These files and directory are generated:
Start up dependent docker services using `docker-compose` and runs auto reload on source change tool `fresh`.

----
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-wit
$ cd $GOPATH/src/github.com/fabric8-services/fabric8-auth
$ make dev
----

Expand Down
8 changes: 4 additions & 4 deletions account/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"strings"
"time"

"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/log"
"github.com/fabric8-services/fabric8-auth/application/repository"
"github.com/fabric8-services/fabric8-auth/errors"
"github.com/fabric8-services/fabric8-auth/gormsupport"
"github.com/fabric8-services/fabric8-auth/log"

"github.com/goadesign/goa"
"github.com/jinzhu/gorm"
Expand Down
12 changes: 6 additions & 6 deletions account/identity_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-wit/account"
"github.com/fabric8-services/fabric8-wit/errors"
"github.com/fabric8-services/fabric8-wit/gormsupport/cleaner"
"github.com/fabric8-services/fabric8-wit/gormtestsupport"
"github.com/fabric8-services/fabric8-wit/migration"
"github.com/fabric8-services/fabric8-wit/resource"
"github.com/fabric8-services/fabric8-auth/account"
"github.com/fabric8-services/fabric8-auth/errors"
"github.com/fabric8-services/fabric8-auth/gormsupport/cleaner"
"github.com/fabric8-services/fabric8-auth/gormtestsupport"
"github.com/fabric8-services/fabric8-auth/migration"
"github.com/fabric8-services/fabric8-auth/resource"

uuid "github.com/satori/go.uuid"
"github.com/stretchr/testify/assert"
Expand Down
4 changes: 2 additions & 2 deletions account/init_tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"net/url"

"github.com/fabric8-services/fabric8-wit/account/tenant"
"github.com/fabric8-services/fabric8-wit/goasupport"
"github.com/fabric8-services/fabric8-auth/account/tenant"
"github.com/fabric8-services/fabric8-auth/goasupport"
goaclient "github.com/goadesign/goa/client"
)

Expand Down
10 changes: 5 additions & 5 deletions account/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"strconv"
"time"

"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/log"
"github.com/fabric8-services/fabric8-wit/workitem"
"github.com/fabric8-services/fabric8-auth/application/repository"
"github.com/fabric8-services/fabric8-auth/errors"
"github.com/fabric8-services/fabric8-auth/gormsupport"
"github.com/fabric8-services/fabric8-auth/log"
"github.com/fabric8-services/fabric8-auth/workitem"

"github.com/goadesign/goa"
"github.com/jinzhu/gorm"
Expand Down
14 changes: 7 additions & 7 deletions account/user_blackbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import (
"context"
"testing"

"github.com/fabric8-services/fabric8-wit/account"
"github.com/fabric8-services/fabric8-wit/errors"
"github.com/fabric8-services/fabric8-wit/gormsupport/cleaner"
"github.com/fabric8-services/fabric8-wit/gormtestsupport"
"github.com/fabric8-services/fabric8-wit/migration"
"github.com/fabric8-services/fabric8-wit/resource"
"github.com/fabric8-services/fabric8-wit/workitem"
"github.com/fabric8-services/fabric8-auth/account"
"github.com/fabric8-services/fabric8-auth/errors"
"github.com/fabric8-services/fabric8-auth/gormsupport/cleaner"
"github.com/fabric8-services/fabric8-auth/gormtestsupport"
"github.com/fabric8-services/fabric8-auth/migration"
"github.com/fabric8-services/fabric8-auth/resource"
"github.com/fabric8-services/fabric8-auth/workitem"

uuid "github.com/satori/go.uuid"
"github.com/stretchr/testify/assert"
Expand Down
18 changes: 9 additions & 9 deletions application/application.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package application

import (
"github.com/fabric8-services/fabric8-wit/account"
"github.com/fabric8-services/fabric8-wit/area"
"github.com/fabric8-services/fabric8-wit/auth"
"github.com/fabric8-services/fabric8-wit/codebase"
"github.com/fabric8-services/fabric8-auth/account"
"github.com/fabric8-services/fabric8-auth/area"
"github.com/fabric8-services/fabric8-auth/auth"
"github.com/fabric8-services/fabric8-auth/codebase"

"github.com/fabric8-services/fabric8-wit/comment"
"github.com/fabric8-services/fabric8-wit/iteration"
"github.com/fabric8-services/fabric8-wit/space"
"github.com/fabric8-services/fabric8-wit/workitem"
"github.com/fabric8-services/fabric8-wit/workitem/link"
"github.com/fabric8-services/fabric8-auth/comment"
"github.com/fabric8-services/fabric8-auth/iteration"
"github.com/fabric8-services/fabric8-auth/space"
"github.com/fabric8-services/fabric8-auth/workitem"
"github.com/fabric8-services/fabric8-auth/workitem/link"
)

//An Application stands for a particular implementation of the business logic of our application
Expand Down
16 changes: 8 additions & 8 deletions application/application_db_calls_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import (
_ "github.com/lib/pq"
"golang.org/x/net/context"

"github.com/fabric8-services/fabric8-wit/application"
"github.com/fabric8-services/fabric8-wit/gormapplication"
"github.com/fabric8-services/fabric8-wit/gormsupport"
"github.com/fabric8-services/fabric8-wit/gormsupport/cleaner"
gormbench "github.com/fabric8-services/fabric8-wit/gormtestsupport/benchmark"
"github.com/fabric8-services/fabric8-wit/migration"
"github.com/fabric8-services/fabric8-wit/space"
testsupport "github.com/fabric8-services/fabric8-wit/test"
"github.com/fabric8-services/fabric8-auth/application"
"github.com/fabric8-services/fabric8-auth/gormapplication"
"github.com/fabric8-services/fabric8-auth/gormsupport"
"github.com/fabric8-services/fabric8-auth/gormsupport/cleaner"
gormbench "github.com/fabric8-services/fabric8-auth/gormtestsupport/benchmark"
"github.com/fabric8-services/fabric8-auth/migration"
"github.com/fabric8-services/fabric8-auth/space"
testsupport "github.com/fabric8-services/fabric8-auth/test"

"github.com/jinzhu/gorm"
uuid "github.com/satori/go.uuid"
Expand Down
8 changes: 4 additions & 4 deletions application/repositories.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package application

import (
"github.com/fabric8-services/fabric8-wit/app"
"github.com/fabric8-services/fabric8-wit/application/repository"
"github.com/fabric8-services/fabric8-wit/criteria"
"github.com/fabric8-services/fabric8-wit/workitem"
"github.com/fabric8-services/fabric8-auth/app"
"github.com/fabric8-services/fabric8-auth/application/repository"
"github.com/fabric8-services/fabric8-auth/criteria"
"github.com/fabric8-services/fabric8-auth/workitem"

"context"

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

"github.com/fabric8-services/fabric8-wit/errors"
"github.com/fabric8-services/fabric8-auth/errors"

"github.com/jinzhu/gorm"
errs "github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion application/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

"github.com/fabric8-services/fabric8-wit/log"
"github.com/fabric8-services/fabric8-auth/log"

"github.com/pkg/errors"
)
Expand Down
14 changes: 7 additions & 7 deletions application/transaction_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
_ "github.com/lib/pq"
"golang.org/x/net/context"

"github.com/fabric8-services/fabric8-wit/application"
"github.com/fabric8-services/fabric8-wit/gormapplication"
"github.com/fabric8-services/fabric8-wit/gormsupport/cleaner"
gormbench "github.com/fabric8-services/fabric8-wit/gormtestsupport/benchmark"
"github.com/fabric8-services/fabric8-wit/migration"
"github.com/fabric8-services/fabric8-wit/space"
testsupport "github.com/fabric8-services/fabric8-wit/test"
"github.com/fabric8-services/fabric8-auth/application"
"github.com/fabric8-services/fabric8-auth/gormapplication"
"github.com/fabric8-services/fabric8-auth/gormsupport/cleaner"
gormbench "github.com/fabric8-services/fabric8-auth/gormtestsupport/benchmark"
"github.com/fabric8-services/fabric8-auth/migration"
"github.com/fabric8-services/fabric8-auth/space"
testsupport "github.com/fabric8-services/fabric8-auth/test"
)

type BenchTransactional struct {
Expand Down
10 changes: 5 additions & 5 deletions area/area.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"context"
"time"

"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/log"
"github.com/fabric8-services/fabric8-wit/path"
"github.com/fabric8-services/fabric8-auth/application/repository"
"github.com/fabric8-services/fabric8-auth/errors"
"github.com/fabric8-services/fabric8-auth/gormsupport"
"github.com/fabric8-services/fabric8-auth/log"
"github.com/fabric8-services/fabric8-auth/path"

"github.com/goadesign/goa"
"github.com/jinzhu/gorm"
Expand Down
Loading

0 comments on commit da51d06

Please sign in to comment.