Skip to content

Commit

Permalink
Merge "Rename orderer/config to orderer/localconfig"
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborh-da authored and Gerrit Code Review committed Dec 5, 2016
2 parents 50f5ca9 + 8e97791 commit 97e6c35
Show file tree
Hide file tree
Showing 22 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion orderer/kafka/broadcast.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"time"

"github.com/hyperledger/fabric/orderer/common/bootstrap/static"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
cb "github.com/hyperledger/fabric/protos/common"
ab "github.com/hyperledger/fabric/protos/orderer"

Expand Down
5 changes: 3 additions & 2 deletions orderer/kafka/broadcast_mock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ import (
"fmt"
"testing"

"github.com/golang/protobuf/proto"
"github.com/hyperledger/fabric/orderer/common/bootstrap/static"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
cb "github.com/hyperledger/fabric/protos/common"

"github.com/golang/protobuf/proto"
)

func mockNewBroadcaster(t *testing.T, conf *config.TopLevel, seek int64, disk chan []byte) Broadcaster {
Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"

"github.com/Shopify/sarama"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
)

// Broker allows the caller to get info on the orderer's stream
Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/broker_mock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"testing"

"github.com/Shopify/sarama"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
)

type mockBrockerImpl struct {
Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/client_deliver.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"

"github.com/golang/protobuf/proto"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
cb "github.com/hyperledger/fabric/protos/common"
ab "github.com/hyperledger/fabric/protos/orderer"
)
Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/client_deliver_mock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package kafka
import (
"testing"

"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
ab "github.com/hyperledger/fabric/protos/orderer"
)

Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"time"

"github.com/Shopify/sarama"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package kafka

import (
"github.com/Shopify/sarama"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
)

// Consumer allows the caller to receive a stream of messages from the orderer
Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/consumer_mock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"strconv"
"testing"

"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
cb "github.com/hyperledger/fabric/protos/common"

"github.com/Shopify/sarama"
Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/deliver.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package kafka
import (
"sync"

"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
ab "github.com/hyperledger/fabric/protos/orderer"
)

Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/deliver_mock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package kafka
import (
"testing"

"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
ab "github.com/hyperledger/fabric/protos/orderer"
)

Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/orderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
package kafka

import (
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
ab "github.com/hyperledger/fabric/protos/orderer"
)

Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/orderer_mock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package kafka
import (
"testing"

"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
cb "github.com/hyperledger/fabric/protos/common"
ab "github.com/hyperledger/fabric/protos/orderer"
"google.golang.org/grpc"
Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"time"

"github.com/Shopify/sarama"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
)

// Producer allows the caller to send blocks to the orderer
Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/producer_mock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"testing"

"github.com/Shopify/sarama/mocks"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
)

type mockProducerImpl struct {
Expand Down
2 changes: 1 addition & 1 deletion orderer/kafka/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package kafka

import (
"github.com/Shopify/sarama"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
)

const (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion orderer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (

"github.com/hyperledger/fabric/orderer/common/bootstrap"
"github.com/hyperledger/fabric/orderer/common/bootstrap/static"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/kafka"
"github.com/hyperledger/fabric/orderer/localconfig"
"github.com/hyperledger/fabric/orderer/multichain"
"github.com/hyperledger/fabric/orderer/rawledger"
"github.com/hyperledger/fabric/orderer/rawledger/fileledger"
Expand Down
2 changes: 1 addition & 1 deletion orderer/sample_clients/broadcast_timestamp/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

"github.com/golang/protobuf/proto"
"github.com/hyperledger/fabric/orderer/common/bootstrap/static"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
cb "github.com/hyperledger/fabric/protos/common"
ab "github.com/hyperledger/fabric/protos/orderer"
"golang.org/x/net/context"
Expand Down
2 changes: 1 addition & 1 deletion orderer/sample_clients/deliver_stdout/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"

"github.com/hyperledger/fabric/orderer/common/bootstrap/static"
"github.com/hyperledger/fabric/orderer/config"
"github.com/hyperledger/fabric/orderer/localconfig"
cb "github.com/hyperledger/fabric/protos/common"
ab "github.com/hyperledger/fabric/protos/orderer"
"golang.org/x/net/context"
Expand Down

0 comments on commit 97e6c35

Please sign in to comment.