Skip to content

Commit

Permalink
Migrate to github
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamer Eldeeb committed Feb 21, 2017
1 parent 88308c2 commit b0f94ca
Show file tree
Hide file tree
Showing 72 changed files with 177 additions and 177 deletions.
2 changes: 1 addition & 1 deletion .gen/go/history/constants.go

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

2 changes: 1 addition & 1 deletion .gen/go/history/historyservice.go

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

2 changes: 1 addition & 1 deletion .gen/go/history/tchan-history.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
athrift "github.com/apache/thrift/lib/go/thrift"
"github.com/uber/tchannel-go/thrift"

"code.uber.internal/devexp/minions/.gen/go/shared"
"github.com/uber/cadence/.gen/go/shared"
)

var _ = shared.GoUnusedProtection__
Expand Down
2 changes: 1 addition & 1 deletion .gen/go/history/ttypes.go

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

2 changes: 1 addition & 1 deletion .gen/go/matching/constants.go

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

2 changes: 1 addition & 1 deletion .gen/go/matching/matchingservice.go

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

2 changes: 1 addition & 1 deletion .gen/go/matching/tchan-matching.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
athrift "github.com/apache/thrift/lib/go/thrift"
"github.com/uber/tchannel-go/thrift"

"code.uber.internal/devexp/minions/.gen/go/shared"
"github.com/uber/cadence/.gen/go/shared"
)

var _ = shared.GoUnusedProtection__
Expand Down
2 changes: 1 addition & 1 deletion .gen/go/matching/ttypes.go

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

2 changes: 1 addition & 1 deletion .gen/go/minions/constants.go

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

2 changes: 1 addition & 1 deletion .gen/go/minions/tchan-minions.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
athrift "github.com/apache/thrift/lib/go/thrift"
"github.com/uber/tchannel-go/thrift"

"code.uber.internal/devexp/minions/.gen/go/shared"
"github.com/uber/cadence/.gen/go/shared"
)

var _ = shared.GoUnusedProtection__
Expand Down
2 changes: 1 addition & 1 deletion .gen/go/minions/ttypes.go

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

2 changes: 1 addition & 1 deletion .gen/go/minions/workflowservice.go

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

10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
PROJECT_ROOT = code.uber.internal/devexp/minions
PROJECT_ROOT = github.com/uber/cadence

jenkins::
source .jenkins/test.sh

# define the list of thrift files the service depends on
# (if you have some)
THRIFT_SRCS = idl/code.uber.internal/devexp/minions/minions.thrift \
idl/code.uber.internal/devexp/minions/shared.thrift \
idl/code.uber.internal/devexp/minions/history.thrift \
idl/code.uber.internal/devexp/minions/matching.thrift \
THRIFT_SRCS = idl/github.com/uber/cadence/minions.thrift \
idl/github.com/uber/cadence/shared.thrift \
idl/github.com/uber/cadence/history.thrift \
idl/github.com/uber/cadence/matching.thrift \

# list all executables
PROGS = minions
Expand Down
8 changes: 4 additions & 4 deletions client/clientfactory.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package client

import (
"code.uber.internal/devexp/minions/client/history"
"code.uber.internal/devexp/minions/client/matching"
"code.uber.internal/devexp/minions/common/membership"
"code.uber.internal/devexp/minions/common/metrics"
"github.com/uber/cadence/client/history"
"github.com/uber/cadence/client/matching"
"github.com/uber/cadence/common/membership"
"github.com/uber/cadence/common/metrics"
tchannel "github.com/uber/tchannel-go"
)

Expand Down
6 changes: 3 additions & 3 deletions client/frontend/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"golang.org/x/net/context"

m "code.uber.internal/devexp/minions/.gen/go/minions"
workflow "code.uber.internal/devexp/minions/.gen/go/shared"
"code.uber.internal/devexp/minions/common"
m "github.com/uber/cadence/.gen/go/minions"
workflow "github.com/uber/cadence/.gen/go/shared"
"github.com/uber/cadence/common"
tchannel "github.com/uber/tchannel-go"
"github.com/uber/tchannel-go/thrift"
)
Expand Down
2 changes: 1 addition & 1 deletion client/frontend/interface.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package frontend

import (
"code.uber.internal/devexp/minions/.gen/go/shared"
"github.com/uber/cadence/.gen/go/shared"
)

// Client is the interface exposed by frontend service client
Expand Down
8 changes: 4 additions & 4 deletions client/history/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (

"golang.org/x/net/context"

h "code.uber.internal/devexp/minions/.gen/go/history"
workflow "code.uber.internal/devexp/minions/.gen/go/shared"
"code.uber.internal/devexp/minions/common"
"code.uber.internal/devexp/minions/common/membership"
h "github.com/uber/cadence/.gen/go/history"
workflow "github.com/uber/cadence/.gen/go/shared"
"github.com/uber/cadence/common"
"github.com/uber/cadence/common/membership"
tchannel "github.com/uber/tchannel-go"
"github.com/uber/tchannel-go/thrift"
)
Expand Down
4 changes: 2 additions & 2 deletions client/history/interface.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package history

import (
h "code.uber.internal/devexp/minions/.gen/go/history"
workflow "code.uber.internal/devexp/minions/.gen/go/shared"
h "github.com/uber/cadence/.gen/go/history"
workflow "github.com/uber/cadence/.gen/go/shared"
)

// Client is the interface exposed by history service client
Expand Down
6 changes: 3 additions & 3 deletions client/history/metricClient.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package history

import (
h "code.uber.internal/devexp/minions/.gen/go/history"
workflow "code.uber.internal/devexp/minions/.gen/go/shared"
"code.uber.internal/devexp/minions/common/metrics"
h "github.com/uber/cadence/.gen/go/history"
workflow "github.com/uber/cadence/.gen/go/shared"
"github.com/uber/cadence/common/metrics"
)

var _ Client = (*metricClient)(nil)
Expand Down
8 changes: 4 additions & 4 deletions client/matching/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (

"golang.org/x/net/context"

m "code.uber.internal/devexp/minions/.gen/go/matching"
workflow "code.uber.internal/devexp/minions/.gen/go/shared"
"code.uber.internal/devexp/minions/common"
"code.uber.internal/devexp/minions/common/membership"
m "github.com/uber/cadence/.gen/go/matching"
workflow "github.com/uber/cadence/.gen/go/shared"
"github.com/uber/cadence/common"
"github.com/uber/cadence/common/membership"
tchannel "github.com/uber/tchannel-go"
"github.com/uber/tchannel-go/thrift"
)
Expand Down
4 changes: 2 additions & 2 deletions client/matching/interface.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package matching

import (
m "code.uber.internal/devexp/minions/.gen/go/matching"
workflow "code.uber.internal/devexp/minions/.gen/go/shared"
m "github.com/uber/cadence/.gen/go/matching"
workflow "github.com/uber/cadence/.gen/go/shared"
)

// Client is the interface exposed by matching service client
Expand Down
6 changes: 3 additions & 3 deletions client/matching/metricClient.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package matching

import (
m "code.uber.internal/devexp/minions/.gen/go/matching"
workflow "code.uber.internal/devexp/minions/.gen/go/shared"
"code.uber.internal/devexp/minions/common/metrics"
m "github.com/uber/cadence/.gen/go/matching"
workflow "github.com/uber/cadence/.gen/go/shared"
"github.com/uber/cadence/common/metrics"
)

var _ Client = (*metricClient)(nil)
Expand Down
2 changes: 1 addition & 1 deletion common/cassandra_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"code.uber.internal/devexp/minions/common/logging"
"github.com/uber/cadence/common/logging"

"bytes"
"os/exec"
Expand Down
2 changes: 1 addition & 1 deletion common/convert.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package common

import s "code.uber.internal/devexp/minions/.gen/go/shared"
import s "github.com/uber/cadence/.gen/go/shared"

// IntPtr makes a copy and returns the pointer to an int.
func IntPtr(v int) *int {
Expand Down
2 changes: 1 addition & 1 deletion common/membership/rpServiceResolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"sync"
"time"

"code.uber.internal/devexp/minions/common"
"github.com/uber/cadence/common"

"github.com/dgryski/go-farm"
"github.com/uber-common/bark"
Expand Down
2 changes: 1 addition & 1 deletion common/metrics/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package metrics
import (
"time"

"code.uber.internal/devexp/minions/common"
"github.com/uber/cadence/common"

"github.com/uber-go/tally"
)
Expand Down
2 changes: 1 addition & 1 deletion common/mocks/ExecutionManager.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package mocks

import mock "github.com/stretchr/testify/mock"
import persistence "code.uber.internal/devexp/minions/common/persistence"
import persistence "github.com/uber/cadence/common/persistence"

// ExecutionManager is an autogenerated mock type for the ExecutionManager type
type ExecutionManager struct {
Expand Down
2 changes: 1 addition & 1 deletion common/mocks/ExecutionManagerFactory.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package mocks

import "code.uber.internal/devexp/minions/common/persistence"
import "github.com/uber/cadence/common/persistence"
import "github.com/stretchr/testify/mock"

// ExecutionManagerFactory is an autogenerated mock type for the ExecutionManagerFactory type
Expand Down
6 changes: 3 additions & 3 deletions common/mocks/HistoryClient.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package mocks

import gohistory "code.uber.internal/devexp/minions/.gen/go/history"
import history "code.uber.internal/devexp/minions/client/history"
import gohistory "github.com/uber/cadence/.gen/go/history"
import history "github.com/uber/cadence/client/history"
import mock "github.com/stretchr/testify/mock"
import shared "code.uber.internal/devexp/minions/.gen/go/shared"
import shared "github.com/uber/cadence/.gen/go/shared"

// Client is an autogenerated mock type for the Client type
type HistoryClient struct {
Expand Down
4 changes: 2 additions & 2 deletions common/mocks/MatchingClient.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package mocks

import "code.uber.internal/devexp/minions/.gen/go/matching"
import "code.uber.internal/devexp/minions/.gen/go/shared"
import "github.com/uber/cadence/.gen/go/matching"
import "github.com/uber/cadence/.gen/go/shared"
import "github.com/stretchr/testify/mock"

// Client is an autogenerated mock type for the Client type
Expand Down
2 changes: 1 addition & 1 deletion common/mocks/ServiceResolver.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package mocks

import mock "github.com/stretchr/testify/mock"
import membership "code.uber.internal/devexp/minions/common/membership"
import membership "github.com/uber/cadence/common/membership"

type ServiceResolver struct {
mock.Mock
Expand Down
2 changes: 1 addition & 1 deletion common/mocks/ShardManager.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package mocks

import mock "github.com/stretchr/testify/mock"
import persistence "code.uber.internal/devexp/minions/common/persistence"
import persistence "github.com/uber/cadence/common/persistence"

// ShardManager is an autogenerated mock type for the ShardManager type
type ShardManager struct {
Expand Down
2 changes: 1 addition & 1 deletion common/mocks/TaskManager.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package mocks

import "code.uber.internal/devexp/minions/common/persistence"
import "github.com/uber/cadence/common/persistence"
import "github.com/stretchr/testify/mock"

// TaskManager is an autogenerated mock type for the TaskManager type
Expand Down
4 changes: 2 additions & 2 deletions common/persistence/cassandraPersistence.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/pborman/uuid"
"github.com/uber-common/bark"

workflow "code.uber.internal/devexp/minions/.gen/go/shared"
"code.uber.internal/devexp/minions/common"
workflow "github.com/uber/cadence/.gen/go/shared"
"github.com/uber/cadence/common"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions common/persistence/cassandraPersistence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"

gen "code.uber.internal/devexp/minions/.gen/go/shared"
"code.uber.internal/devexp/minions/common"
gen "github.com/uber/cadence/.gen/go/shared"
"github.com/uber/cadence/common"
)

type (
Expand Down
2 changes: 1 addition & 1 deletion common/persistence/dataInterfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package persistence
import (
"time"

workflow "code.uber.internal/devexp/minions/.gen/go/shared"
workflow "github.com/uber/cadence/.gen/go/shared"
)

// Workflow execution states
Expand Down
Loading

0 comments on commit b0f94ca

Please sign in to comment.